/* 	STYLE - TSW Solutions
	Copyright 2020
	
	Contents
	========
	Fonts (Myriad Pro)
	General Settings
	Header Positions
	
	Accordion
	Buttons
	Check Boxes
	Dataset
	Input (and Spanbox)
	Layout Div (General)
	Layout Div (3 column [jrow/jcolumn])
	Layout Div (2 column [drow/dcolumn])
	Layout Div (2 column 25/75 [qrow/qcolumn])
	PopUps
	Radio Buttons
	Search/Submit boxes
	Select dropdown
	Tables
	Textarea
	Toggle Switch
	Navigation Menu
*/

/*---------------------------- FONTS -------------------------------------*/
@font-face {
    font-family: 'Myriad Pro Regular';
    font-style: normal;
    font-weight: normal;
	src: local('Myriad Pro Regular'), url('https://www.uwcea.org/Fonts/MYRIADPRO-REGULAR.woff') format('woff');
    }
/*--------------------- GENERAL SETTINGS ----------------------------------------------------------*/
body { 
	background: #ffffff; 
	font-family: 'Myriad Pro Regular', Helvetica, Arial, sans-serif;
	font-size: 16px; 
	line-height: 1.3;
	color: #000; 
	-webkit-font-smoothing:antialiased; 
	margin: 10px; 
	padding: 10px; 
}
a, a:visited, a:hover { 
	color: #0064a6; 
	text-decoration: none; 
}
.inherit:link, .inherit:hover, .inherit:visited {
	text-decoration: none; 
	color: inherit; 
	font: inherit;
}

h1 {	font-size: 6vw; 	color: #0064a6; 	font-weight: bold;}
h2 {	font-size: 18px; 	color: #0064a6; 	font-weight: bold;}
h3 {	font-size: 14px; 	color: #000000; 	font-weight: bold;}
h4 {	font-size: 16px; 	color: #6666a6; 	font-weight: bold; text-align: center; text-transform: uppercase; margin: 2px 0 2px 0;}

.small {	font-size: 12px; 	color: #aaa; 	font-style: italic; 	line-height: 12px;}
.heads {	font-size: 16px; 	font-weight: bold;}
.red {		color: #ff0000; 	font-weight: bold;}
.green {	color: #008800; 	font-weight: bold;}
.blue {		color: #000088; 	font-weight: bold;}
.none {		display: none;}

button, input, select {font-family: inherit; font-size:inherit; color:inherit;}
.autobox, .errorbox {
	width:-moz-fit-content;
	width: fit-content;
	max-width: 90%;
	display: table;
	border:2px solid #000088;
	padding:12px;
	padding-left:24px;
	background-color:#f8f8ff;
	line-height: 28px;
	margin-bottom: 12px;
	text-align: left;
	position: relative;
}
.errorbox {
	border: 2px solid #000;
	color: #ff0000;
}
.errorbox:before, .autobox:before {
	background: #ff0000;
	width:12px;
	height:100%;
	content: "";
	display: block;
	position: absolute;
	pointer-events: none;
	top:0;
	left:0;
}
.autobox:before {
	background: #000088;
}
.space40 {display:inline-block; width:40px;}
.space50 {display:inline-block; width:50px;}
.space50r {display:inline-block; width:50px;text-align:right;}
.space50c {display:inline-block; width:50px;text-align:center;border:1px solid #ddd;margin:0; height:100%;float:left;vertical-align:middle;}
.space60 {display:inline-block; width:66px;}
.space80 {display:inline-block; width:80px;}
.space100 {display:inline-block; width:100px;}
.space120 {display:inline-block; width:120px;}
.space145 {display:inline-block; width:145px;}
.space160 {display:inline-block; width:160px;}
.space170 {display:inline-block; width:170px;}
.space180 {display:inline-block; width:180px;}
.space200 {display:inline-block; width:200px;}
.space220 {display:inline-block; width:220px;}
.space250 {display:inline-block; width:250px;}
.space300 {display:inline-block; width:300px;}
.space400 {display:inline-block; width:400px;}


/*---------------------------- HEADER POSITIONS -------------------------------------*/
.logopos {text-align: left; position: absolute; z-index: 601; margin-left: 5px; margin-top: 0;}
.titlepos {text-align: left; position: absolute; z-index: 601; margin-left: 320px; font-size: 24px; font-weight: bold; color:#6666a6; margin-top: 0px;}
.hrheader {width: 100%; position: absolute; left:0; top: 90px; z-index:0;}

@media only screen and (max-width: 900px) {
	body { margin-left: 0px; }
	
	.logopos {
		float:right; 
		position: relative; 
		z-index:598; 
		padding-right: 20px;
	}
	.titlepos {
		position: relative;
		text-align: center; 
		align:center; 
		margin:70px 0 0 0; 
		padding:0;
		z-index:598; 
		font-size: 18px; 
		font-weight: bold;
	}
	.hrheader {
		width: 100%; 
		position: absolute; 
		left:0; 
		top: 150px; 
		z-index:0;
	}
}

/* --------------------  ACCORDION ----------------------- */
#simple-accordion {
  width: 95%;
}
 
#simple-accordion ul.accordion {
  margin: 0;
  padding: 0;
}
 
#simple-accordion ul.accordion li {
  font: 400 12px 'Myriad Pro Regular', Helvetica, Arial, sans-serif;
  list-style-type: none;
  margin: 0 0 10px 0;
}
 
#simple-accordion ul.accordion li h2 {
  font: 700 12px 'Myriad Pro Regular', Helvetica, Arial, sans-serif;
  margin: 0;
}
 
#simple-accordion ul.accordion li h2 a {
  color: #006ba4;
  background-color: transparent;
  width: 90%;
  text-decoration: none;
  padding: 5px 5px 5px 25px;
  border: 1px solid #ccc;
  display: block;
  position: relative;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
 
#simple-accordion ul.accordion li h2 a:hover {
  color: #000;
  background-color: #aaa;
  text-decoration: none;
}
 
#simple-accordion ul.accordion li h2 a::before {
  content: url(images/down.gif) " Click to view";
  position: absolute;
  top: 5px;
  left: 6px;
}

#simple-accordion ul.accordion li h2 a::after {
  content: '+';
  position: absolute;
  top: 5px;
  right: 13px;
}
 
#simple-accordion ul.accordion li h2 a.active {
  color: #fff;
  background-color: #9999bb;
  text-decoration: none;
}
 
#simple-accordion ul.accordion li h2 a.active::before {
  content: url(images/up_white.gif) " Click to hide";
  position: absolute;
  top: 5px;
  left: 6px;
}

#simple-accordion ul.accordion li h2 a.active::after {
  content: '-';
  position: absolute;
  top: 5px;
  right: 13px;
}
 
#simple-accordion ul.accordion li .contents {
  width: 100%;
  padding: 2px;
  display: none;
}
 
#simple-accordion ul.accordion li .contents.active {
  width: 100%;
  padding: 2px;
  display: block;
}
 
#simple-accordion ul.accordion li .contents p {
  line-height: 18px;
  margin: 0 0 0 0;
}

/*--------------------- BUTTONS ---------------------------------------------------------- 
	Example html:
		<button type="submit" class="enter blue" name="enter_button">Confabulate</button>
*/
.enter {
  width: auto;
  height: 36px;
  background: #0064a6;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  padding: 8px 15px 10px 15px;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3296c8), color-stop(100%, #0064a6));
	background-image: -webkit-linear-gradient(top, #3296c8, #0064a6);
	background-image: -moz-linear-gradient(top, #3296c8, #0064a6);
	background-image: -ms-linear-gradient(top, #3296c8, #0064a6);
	background-image: -o-linear-gradient(top, #3296c8, #0064a6);
	background-image: linear-gradient(top, #3296c8, #0064a6);
}
a.enter:visited {color:#fff;}
.enter.small { height:24px; font-size: 14px; padding: 4px 15px 6px 15px; font-style:normal;}
.enter.vsmall { height:19px; font-size: 12px; padding: 3px 15px 4px 15px; font-style:normal;}
.enter.lblue {background: #008888;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #008888), color-stop(100%, #00bbbb));
	background-image: -webkit-linear-gradient(top, #008888, #00bbbb);
	background-image: -moz-linear-gradient(top, #008888, #00bbbb);
	background-image: -ms-linear-gradient(top, #008888, #00bbbb);
	background-image: -o-linear-gradient(top, #008888, #00bbbb);
	background-image: linear-gradient(top, #008888, #00bbbb);
}
.enter.red {background: #dd0000;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3232), color-stop(100%, #dd0000));
	background-image: -webkit-linear-gradient(top, #ff3232, #dd0000);
	background-image: -moz-linear-gradient(top, #ff3232, #dd0000);
	background-image: -ms-linear-gradient(top, #ff3232, #dd0000);
	background-image: -o-linear-gradient(top, #ff3232, #dd0000);
	background-image: linear-gradient(top, #ff3232, #dd0000);
}
.enter.green {background: #008000;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32b232), color-stop(100%, #008000));
	background-image: -webkit-linear-gradient(top, #32b232, #008000);
	background-image: -moz-linear-gradient(top, #32b232, #008000);
	background-image: -ms-linear-gradient(top, #32b232, #008000);
	background-image: -o-linear-gradient(top, #32b232, #008000);
	background-image: linear-gradient(top, #32b232, #008000);
}
.enter.blue {background: #0064a6;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3296c8), color-stop(100%, #0064a6));
	background-image: -webkit-linear-gradient(top, #3296c8, #0064a6);
	background-image: -moz-linear-gradient(top, #3296c8, #0064a6);
	background-image: -ms-linear-gradient(top, #3296c8, #0064a6);
	background-image: -o-linear-gradient(top, #3296c8, #0064a6);
	background-image: linear-gradient(top, #3296c8, #0064a6);
}
.enter.purple {background: #800080;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b232b2), color-stop(100%, #800080));
	background-image: -webkit-linear-gradient(top, #b232b2, #800080);
	background-image: -moz-linear-gradient(top, #b232b2, #800080);
	background-image: -ms-linear-gradient(top, #b232b2, #800080);
	background-image: -o-linear-gradient(top, #b232b2, #800080);
	background-image: linear-gradient(top, #b232b2, #800080);
}
.enter.grey {background: #dddddd; color:#000;}

.button_white, .button_orange, .button_grey, .button_black, .button_blue, .button_red {
	background-color:inherit; border:0; font-weight: inherit; text-align:inherit; padding:0;}
.button_white:hover, .button_orange:hover, .button_grey:hover {text-decoration:underline; cursor: pointer;}
.button_black:hover, .button_blue:hover, .button_red:hover {text-decoration:none; cursor: pointer;}
.button_white {color:#FFF;}
.button_orange {color:#e9510e;}
.button_grey {color: #aaa; font-size:16px;}
.button_black {color:#444;}
.button_blue {color: #0064a6;}
.button_red {color: #ff0000;}

/* Legacy buttons */
.button_inherit {background:none!important; color:inherit; border:none; padding:0!important; font: inherit; font-size: inherit; text-align: inherit; cursor: pointer;}
.buttony {background:none!important; color:#ffff00; border:none; padding:0!important; font: inherit; font-size: inherit; cursor: pointer;}
.buttono {background:none!important; color:#002288; border:none; padding:0!important; font: inherit; font-size: 14px; text-align: inherit; cursor: pointer;}

/*--------------------- CHECK BOX ----------------------------- 
	Example html:
		<input class="inp-cbx" id="opt1" name="opt1" type="checkbox" style="display: none;" checked/>
		<label class="cbx" for="opt1"><span>
			<svg width="12px" height="10px" viewbox="0 0 12 10">
			<polyline points="1.5 6 4.5 9 10.5 1"></polyline>
			</svg></span><span>Option 1</span>
		</label>
	..... and repeat
*/

.cbx {
  margin: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  padding-right: 20px;
}
.cbx span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.cbx span:first-child {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  transform: scale(1);
  vertical-align: middle;
  border: 1px solid #0064a6;
  transition: all 0.2s ease;
  margin-bottom: 5px;
}
.cbx span:first-child svg {
  position: absolute;
  top: 4px;
  left: 3px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.cbx span:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #0064a6;
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}
.cbx span:last-child {
  padding-left: 12px;
}
.cbx:hover span:first-child {
  border-color: #0064a6;
}

.inp-cbx:checked + .cbx span:first-child {
  background: #0064a6;
  border-color: #0064a6;
  animation: wave 0.4s ease;
}
.inp-cbx:checked + .cbx span:first-child svg {
  stroke-dashoffset: 0;
}
.inp-cbx:checked + .cbx span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

@keyframes wave {
  50% {
    transform: scale(0.9);
  }
 }

/* --------------------  DATASET ----------------------- */

.dataset {
  border: none;
  background: none;
  font-size: 1em;
  color: #838e95;
  border-bottom: 4px solid rgba(0, 0, 0, 0.3);
  margin-left: 5px;
  padding-left: 10px;
  width: 200px;
}

/*To remove button from IE11, thank you Matt */
dataset::-ms-expand {
     display: none;
}

.datadiv:after {
  content: '\f063';
  font: var(--fa-font-solid);
  font-size: 1.2em;
  color: #0064a6;
  margin-left: -24px;
  pointer-events: none;
}

.dataset::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #838e95;
  font-size: 1.2em;
  font-style: normal;
  opacity: 1; /* Firefox */
}

.dataset:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #838e95;
  font-size: 1.2em;
}

.dataset::-ms-input-placeholder { /* Microsoft Edge */
  color: #838e95;
  font-size: 1.2em;
}

/*--------------------- INPUT BOX & SPANBOX ------------------------------ 
	Example html:
		<input type="text" class="input green" name="textget" placeholder="enter text" value="currentValue">
*/
/* Placeholders */
input::-webkit-input-placeholder {color: #999; font-style: italic;}
input:-moz-placeholder {color: #999; font-style: italic;} /* Firefox 18- */
input::-moz-placeholder {color: #999; font-style: italic;} /* Firefox 19+ */
input:-ms-input-placeholder {color: #999; font-style: italic;}
input.pass::-webkit-input-placeholder {color: #222; font-size: 22px; font-weight: bold;}
input.pass:-moz-placeholder {color: #222; font-size: 22px; font-weight: bold;} /* Firefox 18- */
input.pass::-moz-placeholder {color: #222; font-size: 22px; font-weight: bold;} /* Firefox 19+ */
input.pass:-ms-input-placeholder {color: #222; font-size: 22px; font-weight: bold;}

.input {
  width: 95%;
  border: 3px solid #0064a6;
  padding: 5px;
  border-radius: 5px;
  outline: none;
  color: #0064a6;
  font-size:inherit;
}

.input:focus{
  color: #0064a6;
}

.input.red {border: 3px solid #ff0000; color: #ff0000;}
.input.green {border: 3px solid #00aa00; color: #00aa00;}
.input.blue {border: 3px solid #0064a6; color: #0064a6;}
.input.purple {border: 3px solid #800080; color: #aa00aa;}

.spanbox {
  display: inline-block;
  width: 95%;
  border: 3px solid #888;
  padding: 5px;
  border-radius: 5px;
  outline: none;
  color: #666;
  font-size:inherit;
  background-color: inherit;
}

.input.pass {
	background-color: #ddddff;
}	

/*----------------------------------- LAYOUT DIVS (General) -------------------------------------------------------*/

.maxwidth, .layout, .lay600 {
		font-size:14px; 
		padding: 8px 5px 8px 5px;
		width:95%;
		margin:0 5px 0 5px;
		color: inherit;
}
.maxwidth, .lay600 {
		text-align:center;
}
.layout {
		text-align:left;
		max-width:320px;
}
.lay600 {
		max-width: 600px;
		line-height: 20px;
}

.layout i, .jcolumn i, .dcolumn i {font-weight: normal;}
.jcell1, .jcelll {	width: 33%;
			padding-right: 2px;
			display: inline-block;
			font-weight: normal;
}
.jcell2, .jcellr {	width: 63%;
			padding-left: 2px;
			display: inline-block;
			font-weight: bold;
}
.jcelll, .jcellr { width: 48%; margin-top: 5px; font-weight: bold;}

/*----------------------------------- LAYOUT DIVS (3 column) -------------------------------------------------------*/
/* Create three equal columns that float next to each other      */
/* Or two columns with 1/3-2/3 split if class is uneven          */
.jrow {
	max-width: 1093px;
}

.jcolumn {
	  float: left;
	  width: 33.33%;
	  max-width: 320px;
	  padding: 10px;
	  font-size:14px; 
	  font-weight:normal;
	  text-align:left;
	  line-height: 1.4;
	  margin:0 5px 10px 5px;
	  color: inherit;
}
.jcolumn.uneven:nth-child(2n) {
	  width: 66%;
	  max-width: 640px;
}
.jcolumn.center {
		text-align: center;
}

.jcolumn.jup:nth-child(3n) {margin-top:-24px;}
.jcolumn.jup:nth-child(3n+2) {margin-top:-48px;}

/* Clear floats after the columns */
.jrow:after {
	  content: "";
	  display: table;
	  clear: both;
}
.refs {width: 1092px;}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1093px) {
	.jcolumn {
			width: 95%;
			align: center;
	}
	.jcolumn.uneven:nth-child(2n) {
	  width: 95%;
	  max-width: 640px;
	}
	.jcolumn.jup:nth-child(3n) {margin-top:5px;}
	.jcolumn.jup:nth-child(3n+2) {margin-top:5px;}
	.jrow {
		  max-width: 350px;
	}
	.refs {width: 350px;}
}
/*----------------------------------- LAYOUT DIVS (2 column) -------------------------------------------------------*/
/* Create two equal columns that float next to each other        */
.drow {
	max-width: 729px;
}

.dcolumn {
	  float: left;
	  width: 50%;
	  max-width: 320px;
	  padding: 10px;
	  font-size:14px; 
	  font-weight:bold;
	  text-align:left;
	  margin:0 5px 10px 5px;
	  color: inherit;
}

/* Clear floats after the columns */
.drow:after {
	  content: "";
	  display: table;
	  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 729px) {
	.dcolumn {
			width: 95%;
			align: center;
	}
	.drow {
		  max-width: 360px;
	}
}

/*----------------------------------- LAYOUT DIVS (2 column 25/75) -------------------------------------------------------*/
/* Create two equal columns that float next to each other        */
.qrow {
	width: 95%;
}

.qcolumn {
	  float: left;
	  padding: 10px;
	  width: 320px;
	  min-height: 100px;
	  font-size:16px; 
	  text-align:left;
	  margin:0 5px 10px 5px;
	  color: inherit;
}
	.qcolumn:nth-child(2n) {
		float:none;
		width: auto;
		min-width:320px;
	}


/* Clear floats after the columns */
.qrow:after {
	  content: "";
	  display: table;
	  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 729px) {
	.qcolumn {
			width: 95%;
			align: center;
			min-height: 0;
	}
	.qrow {
		  max-width: 360px;
	}
}

/* --------------------  POPUPS ----------------------- */
#popup, #popup2 {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
	min-height:840px;
	font-size: 14px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    color: #666;
}

.welcome-form {
    width: 320px;
    margin: 0px;
    background-color: white;
    font-family: 'Myriad Pro Regular', Helvetica, Arial, sans-serif;
	line-height: 20px;
    position: relative;
    left: 50%;
    top: 400px;
    margin-left: -210px;
    margin-top: -255px;
	border: 2px solid #0064a6;
    box-shadow: 1px 1px 5px #444444;
    padding: 20px 40px 40px 40px;
	z-index: 605;
}

/* --------------------  RADIO BUTTONS ----------------------- 
	Example html:
		<label for="opt1" class="radio">
			<input type="radio" name="rdo" id="opt1" class="hidden" />
			<span class="label"></span>Option 1
		</label>
	..... and repeat
*/
 
.radiodiv {
	display: inline-block;
}
.radio {
  position: relative;
  cursor: pointer;
  line-height: 20px;
  font-size: 14px;
  margin: -3px 15px 5px 0;
  float: left;
}
.radio .label {
  position: relative;
  display: block;
  float: left;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid #c8ccd4;
  border-radius: 100%;
  -webkit-tap-highlight-color: transparent;
}
.radio .label:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #0064a6;
  transform: scale(0);
  transition: all 0.2s ease;
  opacity: 0.08;
  pointer-events: none;
}
.radio:hover .label:after {
  transform: scale(3.6);
}
input[type="radio"]:checked + .label {
  border-color: #0064a6;
}
input[type="radio"]:checked + .label:after {
  transform: scale(1);
  transition: all 0.2s cubic-bezier(0.35, 0.9, 0.4, 0.9);
  opacity: 1;
}
.cntr {
  width: 100%;
  text-align: center;
}
.hidden {
  display: none;
}

/*--------------------- SEARCH BOX / SUBMIT BOX ----------------------------- 
	Example html:
		<div class="search" style="width:50%;">
		<input type="text" class="searchTerm" name="searchbox" placeholder="Search by name or ID" value="currentValue">
		<button type="submit" class="searchButton" name="search_button"></button>
	OR	<button type="submit" class="inputButton" name="submit_button"></button>
   		</div>
   	Ensure that font-awesome is loaded in the header
*/
.search {
  width: 95%;
  position: relative;
  display: flex;
}

.searchTerm {
  width: 100%;
  border: 3px solid #0064a6;
  border-right: none;
  padding: 5px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #0064a6;
}

.searchTerm:focus{
  color: #aa00aa;
}

.searchButton, .inputButton, .uploadButton {
  width: 40px;
  height: 36px;
  border: 1px solid #0064a6;
  margin-left: -4px;
  outline: none;
  background: #0064a6;
  text-align: center;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 20px;
  font: var(--fa-font-solid);
}

.searchButton:after{ content: '\f002';}
.inputButton:after{ content: '\f054';}
.uploadButton:after{ content: '\f093';}

/*Resize the wrap to see the search bar change!*/
.wrap{
  width: 30%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --------------------  SELECT DROP-DOWN ----------------------- 
  Nomal type    */
.select {
  width: 95%;
  border: 3px solid #0064a6;
  padding: 5px;
  border-radius: 5px;
  outline: none;
  color: #0064a6;
  font-size:inherit;
}

/*	Example html:
		<div class="sel sel--0">
			<select name="select1" id="select1">
				<option value="" disabled>Title or Starting Value</option>
				<option value="opt1">Option1</option>
				... and other options
			</select>
		</div>
		<hr class="rule">
		
		<script src="select_boxes.js"></script>
*/
.rule {
  margin: 10px 0;
  border: none;
  height: 1.5px;
  background-image: linear-gradient(left, #0064a6, #40a4e6, #0064a6);
}

/* ===== Select Box ===== */
.sel {
  font-size: 1.2em;
  display: inline-block;
  margin: 5px;
  width: 200px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.sel::before {
  position: absolute;
  content: '\f063';
  font: var(--fa-font-solid);
  font-size: 1.2em;
  color: #0064a6;
  right: 20px;
  top: calc(50% - 0.5em);
}

.sel.active::before {
  -webkit-transform: rotateX(-180deg);
          transform: rotateX(-180deg);
}

.sel__placeholder {
  display: block;
  font-size: 0.9em;
  color: #838e95;
  padding: 0.2em 0.5em;
  text-align: left;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  visibility: visible;
}

.sel.active .sel__placeholder {
  visibility: hidden;
}

.sel__placeholder::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.2em 0.5em;
  content: attr(data-placeholder);
  visibility: hidden;
}

.sel.active .sel__placeholder::before {
  visibility: visible;
}

.sel__box {
  position: absolute;
  top: calc(100% + 4px);
  left: -4px;
  display: none;
  list-style-type: none;
  text-align: left;
  font-size: 1em;
  background-color: #FFF;
  width: calc(100% + 8px);
  box-sizing: border-box;
}

.sel.active .sel__box {
  display: block;
  -webkit-animation: fadeInUp 500ms;
          animation: fadeInUp 500ms;
}

.sel__box__options {
  display: list-item;
  font-size: 0.8em;
  color: #838e95;
  padding: 0.3em 1em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.sel__box__options::after {
  content: '\f00c';
  font: var(--fa-font-solid);
  font-size: 0.5em;
  margin-left: 5px;
  display: none;
}

.sel__box__options.selected::after {
  display: inline;
}

.sel__box__options:hover {
  background-color: #ebedef;
}

.sel {
  border-bottom: 4px solid rgba(0, 0, 0, 0.3);
}

.sel--0 { z-index: 13;}
.sel--1 { z-index: 12;}
.sel--2 { z-index: 11;}
.sel--3 { z-index: 10;}
.sel--4 { z-index: 9;}
.sel--5 { z-index: 8;}
.sel--6 { z-index: 7;}
.sel--7 { z-index: 6;}
.sel--8 { z-index: 5;}
.sel--9 { z-index: 4;}


/* ===== Keyframes ===== */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
            transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
            transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
/* --------------------  LINE WITH TEXT ----------------------- */

.separator{
  display: flex;
  align-items: center;
}

.separator label{
  padding: 0 10px;
  background: #fff;
  left: 100px; 
  position: absolute;
}

.separator .line{
  flex: 1;
  height: 1px;
  background-color: #000088;
}

/*------------ TABLES (all responsive) ----------------------------------------------------
   Note: norm shows data with data-label and content and uses alternating colours
         shift displays content on the left
         nocol does not use alternating coulours
         shiftnocol combines the above two
-------------------------------------------------------------------------------------*/
table {border-collapse: collapse}
table td {font-size: 14px;}

table.resp {border-collapse: collapse; width: 95%;}
table.resp tr:nth-child(2n) {background-color: #eee;}
table.resp.nocol tr:nth-child(2n), table.resp.shiftnocol tr:nth-child(2n) {background-color: #fff;}
table.resp thead tr th {background-color: #0064a6; color:#ffffff; padding: 6px 0 6px 0;}
table.resp td, table.resp th {padding: 4px 2px 4px 2px; font-size: 14px; text-align: left;}
table.resp .order {background:none!important; color:#eeee00; border:none; padding:0!important; font: inherit; font-size: 14px; text-align: inherit; cursor: pointer;}
table.resp td.leftline {border-left:1px solid #000;padding-left:3px;}
table.resp tr:nth-child(2n) td.pink {background-color:#fff4f4;}
table.resp tr:nth-child(2n+1) td.pink {background-color:#fffbfb;}

@media only screen and (min-width: 901px) {
	table.resp td.maxhide, table.resp th.maxhide{display:none;} /*  hides cells marked as maxhide */
	.maxhide {display:none;}
}

@media only screen and (max-width: 900px) {
	body {width: 100%;}
	table.resp, table.resp td, table.resp tr, table.resp tbody, table.resp thead, table.resp th { 
		display: block; width:100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; float:left; clear:left;}
	table.resp thead tr {position: absolute; top: -9999px; left: -9999px;} /*  hides all table headers */
	table.resp.norm td:before, table.resp.right td:before, table.resp.nocol td:before { position:absolute; top: 2px; left: 2px; white-space: nowrap; content: attr(data-label)':';}
	table.resp.norm td, table.resp.nocol td { border: none; position: relative; padding-left: 7em!important; text-align: left !important;}  /* behaves like  row */
	table.resp.right td { border: none; position: relative; padding-left: 14em!important; text-align: left !important;}  /* behaves like  row */
	table.resp.norm tr td:last-child, table.resp.right tr td:last-child, table.resp.nocol tr td:last-child {border-bottom: 1px solid #0064a6;}
	table.resp.shift td, table.resp.shiftnocol td { border: none; position: relative; padding-left: 0em!important; text-align: center !important;}   
	.login {width: 80%;}
	label.field .psuedo_select {padding-top: 30px;}
	.radio .label:after {top: 2px; left: 2px; width:8px; height: 8px;}
	table.resp td.phonehide, table.resp th.phonehide{display:none;} /*  hides cells marked as phonehide */
	.phonehide {display: none;}
}

/*--------------------- TEXT AREA ----------------------------- 
	Example html:
		<textarea class="textarea green" name="textget" placeholder="enter text" value="currentValue">
*/

textarea.styled {font-family: 'Myriad Pro Regular', Helvetica, Arial, sans-serif; font-size: 14px;}
textarea::-webkit-input-placeholder {color: #ddd; font-style: italic;}
textarea:-moz-placeholder {color: #ddd; font-style: italic;} /* Firefox 18- */
textarea::-moz-placeholder {color: #ddd; font-style: italic;} /* Firefox 19+ */
textarea:-ms-input-placeholder {color: #ddd; font-style: italic;}

.textarea {
  width: 95%;
  border: 3px solid #0064a6;
  padding: 5px;
  height: 60px;
  border-radius: 5px;
  outline: none;
  color: #0064a6;
  font-size:inherit;
}

.textarea:focus{
  color: #0064a6;
}

.textarea.red {border: 3px solid #ff0000; color: #ff0000;}
.textarea.green {border: 3px solid #00aa00; color: #00aa00;}
.textarea.blue {border: 3px solid #0064a6; color: #0064a6;}
.textarea.purple {border: 3px solid #800080; color: #aa00aa;}


/* --------------------  TOGGLE SWITCH ----------------------- 
	Example html:
		    <div class="switch">
		      <input type="radio" class="switch-input" name="view" id="toggle0" checked>
		      <label for="toggle0" class="switch-label switch-label-off">ON</label>
		      <input type="radio" class="switch-input" name="view" id="toggle1">
		      <label for="toggle1" class="switch-label switch-label-on">OFF</label>
		      <span class="switch-selection"></span>
		      </div>
*/


.switch {
  position: relative;
  float: left;
  height: 26px;
  width: 120px;
  margin: 12px 5px 5px 5px;
  background: rgba(255, 255, 239, 0.25);
  border-radius: 3px;
  border: 1px solid #0064a6;
}

.switch-label {
  position: relative;
  z-index: 2;
  float: left;
  width: 60px;
  line-height: 26px;
  font-size: 12px;
  color: rgba(128, 128, 128, 0.35);
  text-align: center;
  cursor: pointer;
}
.switch-label:active {
  font-weight: bold;
}

.switch-input {
  display: none;
}
.switch-input:checked + .switch-label {
  color: #fff;
}
.switch-input + .switch-label-off ~ .switch-label {
  margin-left: 60px;
  margin-top: -26px;
}
.switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 60px;
  /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-selection {
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  display: block;
  width: 60px;
  height: 26px;
  border-radius: 3px;
  background-color: #0064a6;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3296c8), color-stop(100%, #0064a6));
  background-image: -webkit-linear-gradient(top, #3296c8, #0064a6);
  background-image: -moz-linear-gradient(top, #3296c8, #0064a6);
  background-image: -ms-linear-gradient(top, #3296c8, #0064a6);
  background-image: -o-linear-gradient(top, #3296c8, #0064a6);
  background-image: linear-gradient(top, #3296c8, #0064a6);
}

.switch.wide {width:200px;}
.switch-label.wide {width: 100px;}
.switch-selection.wide {width: 100px;}
.switch-input + .switch-label-off ~ .switch-label.wide {margin-left: 100px;}
.switch-input:checked + .switch-label-on ~ .switch-selection.wide { left: 100px;}


/* --------------------  NAVIGATION MENU ----------------------- 
   --------- Nav Menu Base Styles ---------------------------------*/
#nav_menu > ul,
#nav_menu > ul li,
#nav_menu > ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav_menu > ul {
  position: relative;
  z-index: 597;
}
#nav_menu > ul li {
  float: right;
  min-height: 1px;
  line-height: 1.3em;
  vertical-align: middle;
}
#nav_menu > ul li.hover,
#nav_menu > ul li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
}
#nav_menu > ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 598;
  width: 100%;
}
#nav_menu > ul ul li {
  float: none;
}
#nav_menu > ul ul ul {
  top: 1px;
  left: 99%;
}
#nav_menu > ul li:hover > ul {
  visibility: visible;
}
/* Align last drop down RTL */
#nav_menu > ul > li.last ul ul {
  left: auto !important;
  right: 99%;
}
#nav_menu > ul > li.last ul {
  left: auto;
  right: 0;
}
#nav_menu > ul > li.last {
  text-align: right;
}

#nav_menu > ul > li.has-sub i {
  width: 26px;
}
/*--------- Nav Menu Theme Styles ---------------------------------*/
#nav_menu label, #hamburger {
  display: none;
}

#nav_menu > ul {
  /*border-top: 4px solid #eee;*/
  font-family: 'Myriad Pro Regular', Helvetica, Arial, sans-serif;
  font-size: 14px;
  /* background: #eee;
  background: -moz-linear-gradient(top, #eeeeee 0%, #eeeeee 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #eeeeee));
  background: -webkit-linear-gradient(top, #eeeeee 0%, #eeeeee 100%);
  background: linear-gradient(top, #eeeeee 0%, #eeeeee 100%); */
  width: auto;
  zoom: 1;
  padding-right: 10px;
}
#nav_menu > ul:before {
  content: '';
  display: block;
}
#nav_menu > ul:after {
  content: '';
  display: table;
  clear: both;
}
#nav_menu > ul li a {
  display: inline-block;
  padding: 6px 10px 6px 10px;
}
#nav_menu > ul > li > a:link,
#nav_menu > ul > li > a:active,
#nav_menu > ul > li > a:visited {
  color: #666;
}
#nav_menu > ul > li > a:hover {
  color: #ffffff;
}
#nav_menu > ul ul ul {
  top: 0;
}
#nav_menu > ul li li {
  background-color: #ffffff;
  border-bottom: 1px solid #ebebeb;
  font-size: 14px;
  text-align: left;
}
#nav_menu > ul li.hover,
#nav_menu > ul li:hover {
  background-color: #F5F5F5;
}
#nav_menu > ul > li.hover,
#nav_menu > ul > li:hover {
  background-color: #bbbbbb;
  -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}
#nav_menu > ul a:link,
#nav_menu > ul a:visited {
  color: #9a9a9a;
  text-decoration: none;
}
#nav_menu > ul a:hover {
  color: #9a9a9a;
}
#nav_menu > ul a:active {
  color: #9a9a9a;
}
#nav_menu > ul ul {
  border: 1px solid #CCC \9;
  -webkit-box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.15);
  width: 220px;
}

/*--------- Nav Menu Small Screen ---------------------------------*/
@media only screen and (max-width: 900px) {
	#nav_menu label {
		display: inline-block;
	    color: #fff;
	    background: #0064a6;
	    font-style: normal;
	    font-size: 1.2em;
	    padding: 10px;
		position: absolute;
		top: 20px;
	}
	#nav_menu > ul {
	  	font-size: 14px;
	  	background: #0064a6;
	  	width:120px; 
	  	z-index:599;
	  	padding-right:0;
		margin-left:0;
		position: absolute;
		top: 64px;
	}
	#nav_menu > ul > li {
		display: block;
		border-top: 1px solid #333;
		float: left;
		clear: left;
		width: 120px;
	}
		
	/* Turns off icons on phone menu */
	#nav_menu > ul > li.has-sub i {
		display:none;
		width: 0;
	}
	
	#nav_menu > ul > li.hover,
	#nav_menu > ul > li:hover:after {
		content: url('images/right_white.gif');
	}
	#nav_menu > ul > li > a:link,
	#nav_menu > ul > li > a:active,
	#nav_menu > ul > li > a:visited {
		color: #ffffff;
	}
	#nav_menu > ul li li {
		background-color: #0064a6;
		border-bottom: 0;
	}
	#nav_menu > ul > li > ul > li > a:link,
	#nav_menu > ul > li > ul > li > a:active,
	#nav_menu > ul > li > ul > li > a:visited { 
		color: #eeeeee;
	}
	#nav_menu > ul > li > ul > li.hover,
	#nav_menu > ul > li > ul > li:hover {
		background-color: #000000;
		-webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
		-moz-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
		box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
	}
   
	/* Toggle show/hide menu on checkbox click */
	#nav_menu ul {
		display: none;
	}
	#nav_menu input:checked ~ ul {
		display: block;
	}
	#nav_menu input:checked ~ ul ul {
		display: block;
		top: 0;
		left: 100%;
		width: 180px;
	}

	 /* noimg, noimgh are classes used to hide elements on a phone */
	.noimg, .noimgh {
		display:none;
	}
}
/* End of small screen header menu */







