
#menu{
	display:none;
}

body,p,td,div,span{
	/* font-family:veranda, arial,helvetica,sans-serif;
	font-size:12pt;
	color:#000; */
}
body{background:#fff;margin:0px;padding:0px;border:0;text-align: center;}

body.unit-converter #contentarea {
	margin-top: 90px;
}

#div_unit_selection {

}
#div_unit_selection div:nth-child(2) {
	/* width: 200px; */
}

#sel_unit{
	width: 100%;
	display: inline-block;
	font-size: 20px;
	padding: 10px;
}
#sel_unit option {
	font-family: Arial;
}
#calResults {
	/*position: absolute;*/
	/*top: 10px;*/
	/*left: 5%;*/
	font-size: 17px;
}
#headerbg{
	/*background: rgb(2,0,36);*/
	/*background: linear-gradient(180deg, rgba(2,0,36,1) 1%, rgba(31,110,191,1) 5%, rgba(255,255,255,1) 17%);*/
	background: rgb(2,0,36);
	background: linear-gradient(180deg, rgba(2,0,36,1) 12%, rgba(31,110,191,1) 41%, rgba(255,255,255,1) 98%);
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100px;
	width: 100%;
	z-index: -1;
}
#content > h3 {
	margin-bottom: -2px;
}

p{margin:5px 0 8px 0;}
img{border:0px;}
h1{font-size: 17px;	font-weight: normal;padding:0;}
#resulth1{background-color:#ffefe7;padding:0px 5px 0px 5px;border-top:#930 1px dotted;}
h2{font-size:18pt;font-weight:bold;color:#012c71;padding:0; margin-bottom: 2px;}
h3{font-size:16pt;font-weight:bold;color:#012c71;}
h3 a{color:#012c71;}
h3 a:hover{text-decoration:none;}
h4{font-size:13pt;font-weight: bold;padding:0; margin: 0px;}
a{color:#012c71;text-decoration:underline;}
a:hover{text-decoration:none;}
#clear{margin-left: auto;margin-right: auto;clear: both;height: 1px;}

#headerarea{ 	text-align: center;}
#header{width:990px;height:60px;padding:0px;margin-left: auto;margin-right: auto;text-align: left;overflow:auto;}
#logo{padding: 16px 0px 0px 0px;width:300px;float:left;}

#contentarea{width:990px;padding-top:5px;margin-left: auto;margin-right: auto;text-align: left;overflow:auto;min-height: 650px;}
#content{padding:0px 0px 15px 0px;width:620px;float:left;}
#right{width:336px;float:right;text-align:center;}

#footer{background:#1c1c1c;padding:50px 0px 70px 0px;font-size:13px;color:#FFF;text-align:center;border-top: solid 2px #cf5307;}
#footer a{color: #012c71;}
#footer a:hover{text-decoration:none;}
#footerarea{width:990px;padding:0px;margin-left: auto;margin-right: auto;text-align: left;overflow:auto;color:#555;}
#footernav{text-align: center;}

/* Start Select styles */
select:hover{cursor:pointer;}
select {
	/* styling */
	background-color: white;
	border: thin solid blue;
	border-radius: 4px;
	display: inline-block;
	font: inherit;
	line-height: 1.5em;
	padding: 0.5em 3.5em 0.5em 1em;

	/* reset */

	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
}

/* arrows */

select.classic {
	background-image:
			linear-gradient(45deg, transparent 50%, blue 50%),
			linear-gradient(135deg, blue 50%, transparent 50%),
			linear-gradient(to right, skyblue, skyblue);
	background-position:
			calc(100% - 20px) calc(1em + 2px),
			calc(100% - 15px) calc(1em + 2px),
			100% 0;
	background-size:
			5px 5px,
			5px 5px,
			2.5em 2.5em;
	background-repeat: no-repeat;
}

select.classic:focus {
	background-image:
			linear-gradient(45deg, white 50%, transparent 50%),
			linear-gradient(135deg, transparent 50%, white 50%),
			linear-gradient(to right, gray, gray);
	background-position:
			calc(100% - 15px) 1em,
			calc(100% - 20px) 1em,
			100% 0;
	background-size:
			5px 5px,
			5px 5px,
			2.5em 2.5em;
	background-repeat: no-repeat;
	border-color: grey;
	outline: 0;
}

select.round {
	background-image:
			linear-gradient(45deg, transparent 50%, gray 50%),
			linear-gradient(135deg, gray 50%, transparent 50%),
			radial-gradient(#ddd 70%, transparent 72%);
	background-position:
			calc(100% - 20px) calc(1em + 2px),
			calc(100% - 15px) calc(1em + 2px),
			calc(100% - .5em) .5em;
	background-size:
			5px 5px,
			5px 5px,
			1.5em 1.5em;
	background-repeat: no-repeat;
}

select.round:focus {
	background-image:
			linear-gradient(45deg, white 50%, transparent 50%),
			linear-gradient(135deg, transparent 50%, white 50%),
			radial-gradient(gray 70%, transparent 72%);
	background-position:
			calc(100% - 15px) 1em,
			calc(100% - 20px) 1em,
			calc(100% - .5em) .5em;
	background-size:
			5px 5px,
			5px 5px,
			1.5em 1.5em;
	background-repeat: no-repeat;
	border-color: green;
	outline: 0;
}

select.minimal {
	background-image:
			linear-gradient(45deg, transparent 50%, gray 50%),
			linear-gradient(135deg, gray 50%, transparent 50%),
			linear-gradient(to right, #ccc, #ccc);
	background-position:
			calc(100% - 20px) calc(1em + 2px),
			calc(100% - 15px) calc(1em + 2px),
			calc(100% - 2.5em) 0.5em;
	background-size:
			5px 5px,
			5px 5px,
			1px 1.5em;
	background-repeat: no-repeat;
}

select.minimal:focus {
	background-image:
			linear-gradient(45deg, green 50%, transparent 50%),
			linear-gradient(135deg, transparent 50%, green 50%),
			linear-gradient(to right, #ccc, #ccc);
	background-position:
			calc(100% - 15px) 1em,
			calc(100% - 20px) 1em,
			calc(100% - 2.5em) 0.5em;
	background-size:
			5px 5px,
			5px 5px,
			1px 1.5em;
	background-repeat: no-repeat;
	border-color: green;
	outline: 0;
}


select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 #000;
}
/* End Select styles */



#logo > a > span.logo-title{
	color: #FFFFFF;
}
.reverse-way{
	width: 28px;
	height: auto;
	float: right;
}
.reverse-way:hover{
	border-radius: 3px;
	border: solid 1px #666666;
	box-shadow: 2px 2px 3px #666;
	zoom: 0.93;
}
#othercalc{
	border:solid 1px #012c71;
	margin: auto;
	text-align:left;
}
#octitle{
	background-color: #012c71;
	padding: 6px 12px;
	color: #fff;
	font-size: 17px;
	font-weight:bold;
}
#octitle a{
	color: #fff;
	text-decoration: none;
}
#octitle a:hover {
	text-decoration: underline;
}
#occontent{
	padding: 0px;
	background-color: #012c71;
	font-weight: bold;
}
#occontent a{
	display: block;
	padding: 6px 12px;
	background-color: #eee;
	color:#012c71;
	text-decoration: none;
	font-size: 15px;
}
#occontent a:hover {
	background-color: #ddd;
	background-image: url('/images/down-arrow.svg');background-repeat: no-repeat;background-position: right 6px center;
	text-decoration: underline;
}
.occontenton{
	display: block;
	padding: 6px 6px;
	background-color: #eee;
	color:#012c71;
}
.occontenton a{
	color:#012c71;
}
#ocsubnav{
	background-color: #fff;
	font-size: 13px;
	font-weight: normal;
}
#ocsubnav a{
	display: inline-block;
	font-size: 13px;
	width: 150px;
	padding: 5px 2px 5px 14px;;
	background-color: #fff;
	text-decoration: none;
	color:#012c71;
}
#ocsubnav a:hover {
	text-decoration: underline;
	background-image: none;
	background-color: #fff;
}

#sectitle{
	background-color: #336699;
	padding: 6px;
	color: #fff;
	font-size: 16px;
	font-weight:bold;
}

.topnav{font-size:11px;padding-top: 0px;padding-bottom: 10px;}
.bigtext{font-size: 18px;}
#convert_form{
	position: relative;
	background-color: #eeeeee;
	border-bottom: 1px solid #888888;
	border-left: 1px solid #888888;
	border-right: 1px solid #888888;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	min-height: 210px;
}
#menu {
	font-size: 16px;
	margin: -16px 5px 5px 5px auto 5px auto;
	padding: 16px 0px 7px 0px;
}
#menu ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-align: left;
}
#menu li {
	display: inline;
	margin-left: 0px;
}
#menu a {
	padding: 8px;
	border: 1px solid #888888;
	border-bottom: 0px solid #888888;
	background-color: #012c71;
	text-decoration: none;
	font-weight: bold;
	color: #FFFFFF;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
#menu a:hover {
	background-color: #eeeeee;
	color: #012c71;
}
#menuon {
	font-size: 16px;
	width: 500px;
	margin: 5px auto 5px auto;
	padding: 2px 0px 0px 0px;
	border-bottom: 1px solid #eeeeee;
}
#menuon ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-align: left;
}
#menuon li {
	display: inline;
	margin-left: 1px;
}
#menuon a {
	padding: 8px;
	border: 1px solid #888888;
	border-bottom: 1px solid #eeeeee;
	background-color: #eeeeee;
	text-decoration: none;
	font-weight: bold;
	color: #012c71;
}
#menuon a:hover {
	background-color: #eeeeee;
	color: #012c71;
}

#tbl_calcForm{
	padding-top:8px;
}

#uctable{
	width: 620px;
	background-color: #eee;
	border-radius: 4px;
}
#undctable{
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #eee;
	padding: 8px;
	margin-top: 15px;
}
.uccell{
	padding:1.2ex 1.5ex;
	width:230px;
}
.txt-input{
	padding:8px 4px;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 2px 2px 3px #666;
	font-size: 20px;
	width: calc(100% - 8px);
	max-width: 100%;
}
.ucdcinput{
	width:200px;
	padding:8px;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 2px 2px 3px #666;
	font-size: 20px;
}
.ucdcsubmit{
	font-size: 18px;
	padding:6px 15px;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 2px 2px 3px #666;
	background-color: #012c71;
	font-weight:bold;
	color: #ffffff;
}
.ucdcsubmit:hover{
	background-color: #fff;
	color: #012c71;
}
.ucselect{
	width:100%;
	padding:3px;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 2px 2px 3px #666;
	font-size: 16px;
	margin-top: 8px;
}
.ucresulttext{
	padding: 5px 10px;
	font-size: 18px;
}
.datatable{
	font-size: 16px;
}
.datatable th{
	background-color: #012c71;
	color: #FFFFFF;
	padding: 3px 10px;
	border: 1px solid #000;
}
.datatable td{
	padding: 3px 10px;
	border: 1px solid #ccc;
}
.allunits{
	font-size:16px;
}
.allunits li{
	padding-top: 8px;
}
#calResults{
	border-radius: 5px;
	text-align:center;
	font-size: 20px;
	background-color: #FFF;
}
#ucresult{
	margin: 2px 0px;
	border-radius: 5px;
	text-align:center;
	padding: 10px 5px;
}
#toother div{
	display:inline-block;
	width: 295px;
}
#seek_conversion{
	padding: 1px 10px 0px 10px;
	background-color: #e2f0f4;
	border: 1px solid #87adc7;
}
#schResult{
	padding:15px 0px;
}
#schResult div{
	margin-bottom:5px;
	padding: 8px;
	background-color: #fff;
	border-radius: 5px;
}
#schResult div i{
	font-weight: bold;
	color: #f00;
	font-size: 16px;
}
#schResult div span{
	padding-left: 20px;
	color: #012c71;
}

#homelist ul{
	margin-top: 3px;
}

#sciout{
	padding: 2px 2px 5px 5px;
	border-top:1px solid #ccc;
	border-left:1px solid #ccc;
	border-right:1px outset #ccc;
	border-bottom:1px outset #ccc;
	background: #eee;
}
#sciOutPut{
	font-size:17px;
	padding:3px;
	margin:2px;
	cursor:text;
	text-align:right;
	background-color:#333;
	border:1px solid #333;
	border-radius: 0px;
	color:#fff;
}
.scifunc{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	text-align:center;
	width:50px;
	height:28px;
	margin:1px;
	border:1px solid #aaa;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	color:#000;
	background-color:#ddd;
}
.scifunc:active {
	background-color:#000;
	color:#ffffff;
}
.scinm{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	padding: 0px 0px;
	text-align:center;
	width:50px;
	height:28px;
	margin:1px;
	border:1px solid #333;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	color:#fff;
	background-color:#333;
}
.scinm:active {
	background-color:#aaaaaa;
	color:#000000;
}

#txtFrom::selection{
	color: #8bf810;
	background: #161686;
}
.sciop{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	padding: 0px 0px;
	text-align:center;
	width:50px;
	height:28px;
	margin:1px;
	border:1px solid #888;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	color:#000;
	background-color:#ccc;
}
.sciop:active {
	background-color:#000000;
	color:#ffffff;
}
.scird{
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	text-align:center;
	height:28px;
	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: 0px 0px;
	text-align:center;
	width:50px;
	height:28px;
	margin:1px;
	border:1px solid #333;
	border-radius: 3px;
	font-family:arial,helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	color:#fff;
	background-color:#333;
}
.scieq:active {
	background-color:#ff0000;
	color:#ffffff;
}
#sciInPut{
	font-size:16px;
	color:#000;
	text-align:right;
	overflow: hidden;
	width:530px;
	word-wrap: break-word;
	padding:5px 10px 0px 0px;
	margin-bottom:0px;
}
#sciInPut b{
	color:#ccc;
	font-weight:bold;
}
.logo-one{
	display:inline-block;
	vertical-align: middle;
}
.logo-title{
	margin-left: 5px;
	font-size: x-large;
	display:inline-block;
	vertical-align: middle;
}


#unit_index{ max-width:300px; }
#unitSI {
	background-image: url('/images/searchicon.png'); /* Add a search icon to input */
	background-position: 10px 12px; /* Position the search icon */
	background-repeat: no-repeat; /* Do not repeat the icon image */
	font-size: 16px; /* Increase font-size */
	padding: 12px 20px 12px 40px; /* Add some padding */
	border: 1px solid #ddd; /* Add a grey border */
	margin-bottom: 12px; /* Add some space below the input */
	width: calc(100% - 60px);
}
#unitUL {
	/* Remove default list styling */
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#unitUL li a {
	border: 1px solid #ddd; /* Add a border to all links */
	margin-top: -1px; /* Prevent double borders */
	background-color: #f6f6f6; /* Grey background color */
	padding: 12px; /* Add some padding */
	text-decoration: none; /* Remove default text underline */
	font-size: 18px; /* Increase the font-size */
	color: black; /* Add a black text color */
	display: block; /* Make it into a block element to fill the whole list */
}
#unitUL li a:hover:not(.header) {
	background-color: #eee; /* Add a hover effect to all links, except for headers */
}
#unitUL li a.cat-row{background-color: #cbc9c9;}
#unitUL {
	/* height: 220px; */
	overflow-y: scroll;
	/* display:none; */
}


@media (max-width:800px){
	#logo{padding: 6px 0px 0px 6px;width:250px;float:left;}
	#logo img{width:36px;height: 36px;}
	#header{width:auto;height:46px;}
	#contentarea{width:auto;padding:6px;}
	#content{width:auto;}
	#right{width:100%;}
	#footerarea{width:auto;}
}

@media (max-width:610px){
	.ucdcinput{width:160px;}
	.ucdcsubmit{font-size: 17px;padding:6px 10px;}
	#uctable{width: 400px;}
	.uccell{padding:0.5ex;width:200px;}
	#menu {font-size: 13px;}
	#menuon {font-size: 13px;}
	#qcscif{display:none;}
	#sciInPut{width:auto;}
}

@media (max-width:430px){
	.uclabel{display:none;}
	#uctable{width: 320px;}
	.uccell{padding:0.5ex;width:160px;}
	#menu a {padding: 8px 3px;}
	#menuon a {padding: 8px 3px;}
	#qcscif{display:none;}
	#sciInPut{width:auto;}
}

@media screen and (max-width: 359px) {
	.mcontent {
		margin-left: auto;
		margin-right: auto;
		text-align: left;
		padding: 2px;
	}
}
@media (min-width:420px){
	#tbl_calcForm > tbody > tr > td:nth-child(1) {width:50%;}
}
@media all and (max-width:420px){
	table,tr, td, tbody, td p table div, table table{
		width:100%!important;
		float:left;
		clear:both;
		display:block;
		text-align:center;
	}
	table img {
		max-width:100%;
		height:auto;
	}
	#tbl_calcForm > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) > label:nth-child(1),
	#tbl_calcForm > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(3),
	#tbl_calcForm > tbody > tr:nth-child(3) > td:nth-child(2),
	#tbl_calcForm > tbody > tr:nth-child(3) > td:nth-child(3),
	#tbl_calcForm > tbody > tr:nth-child(4) > td:nth-child(2){
		display: none;
	}
	#txtFrom,
	.ucselect {
		width: calc(100% - 90px);
		padding: 7px 3px;
		font-size: 17px;
		float: right;
		margin-right: 5px;
	}
	#txtFrom{
		width: calc(100% - 100px);
		margin-bottom: 10px;
	}
	#tbl_calcForm tr{
		position: relative;
	}
	#tbl_calcForm > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(1)::before {
		content: "Amount: ";
		font-size: 17px;
		position: absolute;
		top: 10px;
		left: 9px;
	}
	#tbl_calcForm > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(1)::before {
		content: "From: ";
		font-size: 17px;
		position: absolute;
		top: 20px;
		left: 9px;
	}
	#tbl_calcForm > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(3)::before {
		content: "To: ";
		font-size: 17px;
		position: absolute;
		top: 65px;
		left: 9px;
	}
	.reverse-way{
		position: absolute;
		top: 112px;
		rotate: 90deg;
		left: 50px;
		z-index: 200;
	}
	.reverse-way:hover{
		border-radius: 3px;
		border: solid 1px #666666;
		box-shadow: 2px 2px 3px #666;
		zoom: 0;
	}
	#tbl_calcForm{
		margin-bottom: 20px;
	}
	#convert_form{
		padding-bottom: 10px;
	}
	#tbl_calcForm > tbody > tr:nth-child(1){
		height: 32px;
	}
	#calResults{
		position: absolute;
		top: 10px;
		left: 5%;
	}
}
