﻿* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
html, body {
	margin:0px;
	padding:0px;
	color:#222;
	font-size:16px !important;
	font-family:Arial,Verdana,Helvetica,sans-serif;
	border-style:none;
	min-height: 100%;
	background-color: #f9fafd !important;
}

#header {
	background:#405c70;
	padding:10px 20px 7px 20px;
	height:55px;
	width:100%;
	z-index:100;
}
body {
	line-height:unset !important;
}
#header p, #header a {
	line-height:1;
	font-size:x-large;
	font-weight:bold;
	text-decoration:none;
	color:#ffffff;
}
#header a:hover {
	color:#dd6600;
}
#header>div {
	width:980px;
	margin:0 auto;
	padding:0px;
}
#header>div>div>p {
	margin:0;
}
#header>div>div>p>a:nth-child(2) {
	margin-right:0;
}
.box {
	display:inline-block;
	vertical-align:middle;
	margin:5px;
}
@media only screen and (max-width:799px) {
	#header { height:auto; padding:8px 20px; }
	#header a {
		font-size:large;
	}
	#header>div {
		max-width:100%;
		width:auto;
		padding:0;
	}
}

#wrapper {
	max-width:1000px;
	margin:0 auto;
	border-width:0;
	/*padding:0 5px 20px 5px;*/
	background-color: #ffffff;
}

#nav {
	color:#000;
	clear:left;
	line-height:2;
	font-size:small;
/*	margin:8px 0 0 0;*/
	padding:6px 0;
/*	border-bottom:1px #ddd solid;*/
    background-color: #f9fafd;
}
#nav a {
	line-height:2;
	padding:11px 4px;
	color:#000;
	text-decoration:none;
}
#nav a:first-child { padding-left:15px; padding-right:7px; }


#lcol {
	display:inline-block;
	vertical-align:top;
	width:650px;
	padding-right:10px;
}
#doc {
	padding:15px;
	margin-left:0px;
}
#rcol {
	padding:20px 0px 10px 0px;
	display:inline-block;
	vertical-align:top;
	width:300px;
}

#share { margin-top:20px; }
#share>a>img { width:40px; height:40px; margin-right:5px; }

#fdbk form * { display:block; }
#fdbk textarea { max-width:500px; width:100%; font-size:15px; }
#fdbk textarea:invalid, #fdbk textarea:focus:invalid { border-color:#cc8080; }
#fdbk .btn { width:fit-content; text-decoration:none; color:#fff; border:#6c757d; background:#6c757d; border-radius:.25rem; font-size:1rem; padding:.375rem .75rem; line-height:1.5; margin-top:10px; }
#fdbk .btn:hover { background:#5a6268; }
#fdbk #msg { display:none; }

#top-ad {
   max-width:100%;
	width:728px;
	margin:20px auto 10px auto;
}
#ban-ad {
	margin:40px 0 20px 0;
}
.adslot_1 { display:inline-block; width:728px; height:90px; }
.adslot_2 { display:inline-block; width:300px; height:600px; margin:30px 0px; }
.adslot_3 { display:inline-block; width:100%; max-width:650px; height:90px; }

@media only screen and (max-width: 799px) {
	#nav { margin-top:0; }
	#lcol { width:100%; padding-right:0; }
	#rcol { margin-left:0px; width:100%; padding:20px 0; }
	#ban-ad { margin:30px auto; width:300px; }
	.adslot_2 { display:none; }
	.adslot_3 { width:300px; height:250px; margin:auto }
}
@media only screen and (max-width: 799px) and (orientation: portrait) {
	.adslot_1 { max-width:100%; height:100px; }
}
@media only screen and (max-width: 799px) and (orientation: landscape) {
	.adslot_1 { max-width:320px; height:50px; }
}
@media only screen and (max-width: 320px) and (orientation: portrait) {
	.adslot_3 { margin-left:-10px }
}

#footer {
	padding:55px;
	clear:both;
	text-align:center;
	line-height:200%;
	background:#85b6cd;
}

#footer a {
	padding:8px 5px 8px 5px;
	text-decoration:none; 
	color:#333;
}

#footer a:hover {
	color:#000;
	
}

#wrapper p, body h1, body h2, body h3, body h4, body h5
{
	line-height: 1.8;
}
#wrapper a
{
	line-height: 2;
}
#wrapper P
{
	margin-top: 2px;
	margin-bottom: 2px;
}
#wrapper TABLE
{
	margin-bottom: 5px;
}
#wrapper TH
{
	background: #E0E0E0;
	font-style: normal;
}
#wrapper TD
{
	padding-right:5px;
	padding-left:5px;
}
#wrapper UL, UL UL
{
	font-size: 1em;
	list-style-position:outside;
}
#wrapper LI
{
	margin-top:2px;
}
#rcol li {
	margin-left: -11px;
	list-style-type: none;
}
#wrapper H1,H2,H3
{
	font-weight:normal;
}
H1
{
	margin-bottom:4px;
	padding-bottom:0px;
	color: #333333;
}
H1 { font-size: 1.8em; margin-top:0; }
H2 { font-size: 1.4em; letter-spacing: 0px; margin-top: 10px; margin-bottom: 3px;}
H3 { font-size: 1.4em; letter-spacing: 0px; margin-top: 10px; margin-bottom: 3px;}
H4 { font-size: 1.1em; margin-top: 5px; margin-bottom: 2px; font-weight: bold;}
H5 { font-size: 0.9em; margin-top: 5px; margin-bottom: 2px; font-weight: bold;}
H6 { font-size: 1.1em; color: #333333; font-weight: normal; font-style: italic; margin-top: 3px; margin-bottom: 0px; }
#rcol H5 { font-size: 0.9em; font-weight: bold; margin-top: 5px; margin-bottom: 2px; padding:5px 5px 5px 10px}

input		{ font-size: 1em; }
@media only screen and (max-width:799px) {
	.btn { font-size: 1.2em; padding:7px; }
}
@media only screen and (min-width:800px) {
	.btn { font-size: 1.2em; padding:4px; }
}
.intext		{ background: #ffffff; padding-left:3px; border:1px inset #eee}  
.outtext	{ background: #e0f0e0; padding-left:3px; border:1px solid #ccc}

a:link		{ text-decoration: none; color: #083d8d; }
a:visited	{ text-decoration: none; color: #083d8d; }
a:active	{ text-decoration: underline; color: #000000; }
a:hover		{ text-decoration: underline; color: #000; }
a:focus	    { outline: none; }

.math       { font-family: "Times New Roman"; font-size: 1.6em; padding-left: 6px; font-weight: normal;}
.mathsymbol { font-family: "Times New Roman"; font-size: 1.2em;  font-weight: normal; }
.text       { font-family: "Times New Roman", Times, serif; font-size: 1.2em }
.code       { font-family: "Courier New"; font-size: 1.0em; padding-left: 6px;}
.codebg     { font-family: "Courier New"; font-size: 1.0em; color: #000; background:#f0f0f0; margin-top: 0px; margin-bottom: 0px; padding: 10px; }
.codebg.p   { font-family: "Courier New"; font-size: 1.0em; color: #000; background:#f0f0f0; margin-top: 0px; margin-bottom: 0px;}
p.code      { font-family: "Courier New"; font-size: 1.0em; color: #000; background:#f0f0f0; margin:0px; padding:5px; border-width:1px; border-color:#ccc; border-style:solid; line-height:20px}
p.wcode     { font-family: "Courier New"; font-size: 1.0em; color: #000}
p.tcode		{ font-family: "Courier New"; font-size: 1.0em; color: #000; background:#f0f0f0; margin:0px; padding:5px; border-width:1px; border-color:#ccc; border-style:solid; line-height:20px }

.table1 .hov { border: 2px black solid; padding: 4px; }
.table1 .ho2 { border: 2px #707070 solid; padding: 4px; }
.table1 .td  { border: 1px black solid; padding: 5px; }

table.dtable, table.ntable { border: 1px #ccc solid; border-collapse:collapse; padding: 5px;}
table.dtable th, table.dtable td, table.ntable th, table.ntable td  { border: 1px #ccc solid; border-collapse:collapse; padding: 5px; font-weight:normal;}
table.dtable th, table.ntable th { text-align:center }
table.ntable td { text-align:right }

/*table.calc, .calc2 {*/
.calc, .calc2 {
	border-spacing: 0px;
	border-collapse: separate;
	background: #f0f0f0;
	border:1px #ddd solid;
	-moz-border-radius:7px;
	-webkit-border-radius:7px;
	border-radius:7px;
}
table.calc td, .calc2 td {
	padding: 2px;
	border-width: 0px;
	border-style: none;
	background: #f0f0f0;
}

.calc2 select { padding:4px 2px; font-size:1.2em; font-family:Arial, Helvetica, sans-serif }
@media only screen and (max-width: 576px) {
	.calc2 { padding:8px; margin-left:auto; margin-right:auto; }
	.calc2 td { float:left; }
	.calc2 td:nth-child(2) { clear:left; }
	.calc2 tr td:nth-child(3) { padding-top:10px; }
	.calc2 input[type=text], .calc2 input[type=number], .calc2 input[type=url] { width:190px; font-size:x-large; padding-left:3px; }
	.calc2 tr td:nth-child(3) select { margin-top:-8px; }
}
@media only screen and (min-width: 577px) {
	.calc2 { padding:15px; }
	.calc2 tr { line-height:40px; }
	.calc2 input[type=text], .calc2 input[type=number], .calc2 input[type=url] { width:220px; font-size:x-large; padding-left:3px; }
}

#banner { display:none; border-top:1px #eee solid; font-size:14px; position:fixed; z-index:9999; left:0; right:0; bottom:0; padding:1em 1.8em; color:#333333; background:#f8f8f8; }
#banner div { vertical-align:middle; display:inline-block; min-width:300px; }
#banner div:last-child { min-width:320px; line-height:40px; }
#banner a { cursor:pointer; text-decoration:none; }
#bansetbtn { padding:12px 10px; margin-left:20px; color:#333333; border:1px #ccc solid; white-space:nowrap; }
#banokbtn { padding:12px 50px;  margin-left:20px; background:#8EC760; color:#fff; font-weight:bold; }
#bansetbtn:hover { background:#f0f0f0; }
#banokbtn:hover { background:#7EB750; }
@media all and (max-width:1000px) {
   #banner div:last-child { margin-top:10px; }
   #banokbtn { margin-left:0; }
}

.seealso { list-style:none; display:flex; flex-wrap:wrap; padding:0 10px 20px 10px; background:#ffffff !important; }
.seealso li { margin-top:20px !important; margin-right:10px; }
.seealso li a { padding:.5rem .75rem; color:#fff; background:#2f6697 !important; border:1px solid#6c757d; font-size:1rem; border-radius:.25rem; text-decoration:none; vertical-align:middle; }
.seealso li a:hover { background:#5a6268; }

/* Dropdown Button */
.dropbtn {
	display: none;
	width: 49px;
	height: 35px;
    background-color: #eeeeee;
    font-size: 15px;
	border-radius: 2px;
    border: none;
	font-family: "Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",Times,Symbola,Aegyptus,Code2000,Code2001,Code2002,Musica,serif,LastResort;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
	overflow:auto;
    max-height:350px;
    display: none;
    position: absolute;
	text-align:left;
    background-color: #f1f1f1;
    min-width: 190px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	bottom: 30px;
    z-index: 1;
}

.dropdown-content a {
	font-size: 14px;
    color: black;
    padding: 0px 15px !important;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #ddd !important;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #f0f0d0;}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

#sciout{
	padding:5px;
	border-top:1px solid #262626;
	border-left:1px solid #262626;
	border-right:2px outset #262626;
	border-bottom:2px outset #262626;
	background: #f1f5f8;
}
#sciOutPut{
	font-size:20px;
	padding:3px;
	margin:2px;
	cursor:text;
	text-align:right;
	background-color:#e0f0e0;
	border:1px solid #336699;
	border-radius: 0px;
	color:#000;
}
.scifunc{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	text-align:center;
	width:50px;
	height:32px;
	margin:1px;
	border:1px solid #a2bbd4;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:16px;
	font-weight:bold;
	color:#000;
    /*background-color:#e5ecf3;*/
}
.scifunc:active {
	background-color:#000;
	color:#ffffff;
}
.scinm{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	padding: 5px 0px;
	text-align:center;
	width:50px;
	height:30px;
	margin:1px;
	border:1px solid #336699;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:16px;
	font-weight:bold;
	color:#000;
	background-color:#aec0d3;
}
.scinm:active {
	background-color:#aaaaaa;
	color:#000000;
}
.sciop{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	padding: 5px 0px;
	text-align:center;
	width:50px;
	height:30px;
	margin:1px;
	border:1px solid #a2bbd4;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:16px;
	font-weight:bold;
	color:#000;
	background-color:#e5ecf3;
}
.sciop:active {
	background-color:#000000;
	color:#ffffff;
}
.scird{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	text-align:center;
	height:30px;
	margin:1px;
	border:1px solid #eeeeee;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:13px;
	color:#262626;
}
.scieq{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	padding: 5px 0px;
	text-align:center;
	width:50px;
	height:30px;
	margin:1px;
	border:1px solid #336699;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:16px;
	font-weight:bold;
	color:#000;
	background-color:#aec0d3;
}
.scieq:active {
	background-color:#ff0000;
	color:#ffffff;
}
