/* CSS reset */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Body styles */
body {
	font-family: Arial, sans-serif;
	font-size: 11pt;
	line-height: 1.5;
}

/* Header styles */
header {
	position: fixed;
	top: 0px;
	width: 100%;
	display: flex;
	justify-content: center;
	border-bottom: 1px solid #ccc;
}

header > div {
	padding-top: 5px; padding-left: 20px;
	overflow: hidden;
	width: 100%;
	max-width: 1140px;
	display: flex;
}

header h1 {
	font-size:18pt;
}

nav {
	margin-top: 3px;
	text-align: left;
}


nav ul {
	list-style: none;
	display: flex;
    justify-content: center;
	font-size:0.9em;
}

/* border right 1px except last. margin left 10px except first */
nav li {
	display: inline-block;
	margin-left: 20px;
	padding-right: 20px;
	border-right: 1px solid #006c6c;
}
nav li:first-child { margin-left: 0; }
nav li:last-child { padding-right: 0; border-right: 0px; }

nav a {
	color: #006c6c;
	text-decoration: none;
}

/* Main styles */
main {
	max-width: 1024px;
	margin: 95px auto;
	padding: 30px;
	background-color: #fff;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

section {
	margin-bottom: 40px;
}

section h2 {
	font-size: 1.5em;
	margin-bottom: 15px;
	color: #000088;
	border-bottom: 1px solid #000088;
}

section h3 {
	margin-top: 15px;
	margin-bottom: 10px;
}

section p {
	line-height: 1.5;
	margin-bottom: 10px;
}

section ul {
	margin: 10px 15px 20px 15px;
	border: 1px solid #ccc; border-radius: 5px;
	padding: 10px 5px 10px 25px;
}
section ul:hover {border: 1px solid #9e9ee6;}

section ol {
	margin: 10px 15px 20px 15px;
	padding: 10px 5px 10px 25px;
}

section dl {
	margin: 0 0 20px 15px;
	border: 1px solid #ccc; border-radius: 5px;
	padding: 10px;
}
section dt {font-weight: bold;}
section dd {margin-left: 20px; font-size: 0.9rem; margin-bottom: 10px;}
section dl:hover {border: 1px solid #9e9ee6;}

section > article {padding: 0px 5px 5px 5px; border: 1px solid white; border-radius: 5px;}
section > article > h5 {
	margin:5px 12px 5px 12px; padding:10px;
	background-color: #eee; border-radius: 5px;
}
section > article:hover {border: 1px solid #9e9ee6;}
section > article:hover > h3 {color:#8e0061;}
section > article:hover > h4 {color:red;}
section > article code {
	font-family: 'Courier New', Courier, monospace;
	color: #0000ff;
}

.shell {
	background-color: #222; color:white; font-family: 'Courier New', Courier, monospace;
	overflow-x: auto;
	padding-left: 10px;
	border-radius: 5px;
	margin-top: 10px; margin-bottom: 10px;
	font-weight: normal; font-size: 0.95rem;
}
.shell > code {
	white-space: pre-wrap;
}

.pair-table {
	display: flex; margin:20px 0 20px 0;
}
.pair-table > div {
	flex-grow: 1;
	vertical-align:top;
	margin: 5px;
	background-color: #333;
	border: 1px solid #333;
	border-radius: 5px;
}
.pair-table > div > .code-title {
	font-weight: bold;
	text-align: center;
	padding: 10px;
	background-color: #eee;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}
.pair-table > div > .code-text {
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.9rem;
	white-space: pre-wrap;
	padding: 10px;
	color: white;display: flex;
}
/* Navigation panel styles */
#navigation-panel {
	position: fixed;
	top: 78px;
	right: 3px;
	width: 200px;
	padding: 20px;
	background-color: #eee;
	border-left: 1px solid #ccc;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#navigation-panel ul {
	list-style: none;
}

#navigation-panel li {
	margin-bottom: 10px;
}

#navigation-panel a {
	color: #333;
	text-decoration: none;
}

#navigation-panel a:hover {
	color: #f00;
}

#navigation-panel .active {
	color: #f00;
}

#navigation-panel a:hover::after {
	content: '*';
	color: #f00;
}

/* Language styles */
.change-lang {
    margin-right:10px; margin-top: 10px;
}
.change-lang a {
    text-decoration: none;
    padding: 10px 7px 10px 7px;
    background-color: #670874;
    color: white;
}
/* first and last <a> has border-radius */
.change-lang a:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding-left: 20px;
}
.change-lang a:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-right: 20px;
}

.lang_korean { display: none;}
.lang_english { display: none;}
.lang_spanish { display: none;}

.template {
	white-space: pre-wrap;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.93rem;
	margin:12px;
	background-color: black;
	color: white;
	border-radius: 5px;
	padding-left: 10px;
}

.dbdbtap-template {
	white-space: pre-wrap;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.93rem;
	margin:12px;
	background-color: #333;
	color: white;
	border-radius: 5px;
	padding-left: 10px;
}

.dbdbtap-tag { background-color: #0000aa; }
/* inner-template */
.dbdbtap-tag .dbdbtap-intem { color: #ff0; }

.dbdbtap-tag-inline {
	display:'inline-block';
	color: darkblue;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.9rem;
}
.dbdbtap-tag-inline .dbdbtap-intem { color: #00b; }

.dbdbtap-intem-inline {
	color: #00b; /* background-color: #ffc;  */
	font-family: 'Courier New', Courier, monospace;
}

.dbdbtap-script-box {
	background-color: #333;
	color: #fff;
	border: 1px solid #000;
	border-radius: 5px;
	margin: 10px;
	font-family: 'Courier New', Courier, monospace;
}
.dbdbtap-script-box .title {
	font-weight: bold;
	color: #ff0;
	border-bottom: 1px solid #777;
	padding: 10px;
}
.dbdbtap-script-box .content {
	padding: 10px;
	white-space: pre-wrap;
}

.dbdbtap-script-box .btn-copy {
	background-color: #1c2020;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	float: right;
	cursor: pointer;
}

.tag-table {border:none; width: 100%;}
.tag-table thead th {border-bottom: 1px solid #8fa5a5;}
.tag-table tbody {font-size: small;}
.tag-table tbody td {padding:5px 2px 5px 5px;border-bottom: 1px solid #c8cbcb;}
.tag-table tbody tr:hover {background-color: rgb(230, 233, 248);}
.tag-table .tag {
	font-family: 'Courier New', Courier, monospace; min-width: 40px;
}

.info-table {border:none; width: 100%;}
.info-table thead th {border-bottom: 1px solid #8fa5a5;}
.info-table tbody {font-size: small;}
.info-table tbody td {padding:5px 2px 5px 5px;border-bottom: 1px solid #c8cbcb;}
.info-table tbody tr:hover {background-color: rgb(219, 243, 242);}
.info-table .code {
	font-family: 'Courier New', Courier, monospace; min-width: 40px;
}


.arrow {
	border: solid black;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

.arrow-right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.arrow-left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.arrow-up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

.arrow-down {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}