/*---------------------------- 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: #f8f8f8; font-family: 'Myriad Pro Regular', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; color: #000; -webkit-font-smoothing:antialiased; margin: 10px; padding 10px; }
a, a:visited { color: #aa0000; text-decoration: none; }
a:hover { text-decoration: underline; }
.normal:link, .normal:visited { color: #000; text-decoration: none;}
.normal:hover { text-decoration: underline;}
.lmenu:link, .lmenu:visited { color: #000; text-decoration: none; font-size: 12px;}
.lmenu:hover { text-decoration: underline;}
.inherit:link, .inherit:hover, .inherit:visited {text-decoration: none; color: inherit; font: inherit; font-weight: inherit; font-size: inherit;}
.circle {color:#fff;font-size:10px;}


h2 {font-size: 18px; color: #aa0000; font-weight: bold;}
h3 {font-size: 14px; color: #000000; font-weight: bold;}
h4 {font-size: 18px; color: #aa0000; font-weight: bold; text-transform: uppercase;}
.detail {font-size: 10px;}
.small {font-size: 12px; color: #888; font-style: italic; line-height: 12px;}
.heads {font-size: 16px; font-weight: bold;}
.red {color: #ff0000; font-weight: bold;}
.blue {color: #0000dd; font-weight: bold;}
.orange {font-size: 18px; color: #ff510e; font-weight: bold;}
.normorange {font-size: 14px; color: #ff510e;}
.orange20 {font-size: 20px; color: #ff510e; font-weight: bold;}
.textg {color: #008800;}
.textb {color: #4444aa;}
.textp {color: #880088;}
.textr {color: #ff510e;}
.textgrey {color: #aaaaaa;}
.textlightgrey {color: #cccccc;}
.calibri {font-size: 16px; color: #444444; font-family: Calibri, Helvetica, Arial, sans-serif; line-height: 16px; padding: 10px;}
.headscal {font-size: 20px; font-weight: bold; color: #aaaaaa;}
.tpart {background-color: #ffffdd;text-align: right;}
.filterbox {display:inline-block; background-color:#aa0000; color:#fff; border-radius:3px; padding:5px 7px 5px 7px;margin-bottom:4px;}
.listnum {text-align:left; margin:0 0 -10px 0;color:#bbb;}

.space40 {display:inline-block; width:40px;}
.space70 {display:inline-block; width:70px;}
.space100 {display:inline-block; width:100px;}
.space120 {display:inline-block; width:120px;}
.space150 {display:inline-block; width:150px;}
.space200 {display:inline-block; width:200px;}
.space300 {display:inline-block; width:300px;}
.right {text-align:right;}
.spacepad {padding: 5px;}
.nowrap {white-space:nowrap;}

.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;
}
.tablebox, .table150, .neatbox, .neat150, .quick150 {
	display:inline-block;
	width:300px;
	text-align:left;
	padding:5px;
	border:1px solid #888;
	border-radius: 3px;
	margin:0;
	vertical-align: top;
	min-height: 32px; 
}

@media only screen and (max-width: 900px) {.listnum {margin:0 0 5px 0;}}
/* --------------------  TABLES ----------------------- */
table {border-collapse: collapse}
table td {font-size: 14px;}
table tr.hidden {background-color: #bbbbff;}
table td.hidden {background-color: #bbbbff;}
.backgrey {background-color: #aaaaaa;}
.backlightgrey {background-color: #cccccc;}

table.studlist tr:nth-child(2n+1) {background-color: #dddddd;}
table.studlist tr:nth-child(2n) {background-color: #f8f8f8;}
table.studlist td {padding:2px; margin: 0;}

table.setlist tr:nth-child(2n+1) {background-color: #dddddd; height: 24px;}
table.setlist tr:nth-child(2n) {background-color: #f8f8f8; height: 24px;}
table.setlist td {padding:2px; margin: 0;}
table.setlist td:nth-child(3n+1) {width:20%; text-align:right;}
table.setlist td:nth-child(3n+2) {width:40%;}
@media only screen and (max-width: 900px) {
	table.setlist {table-layout: fixed;}
	table.setlist td:nth-child(3n+1) {width:50%;}
	table.setlist td:nth-child(3n+2) {width:50%;}
	table.setlist td:nth-child(3n) {display:none;}
}


table.rounded {
    border-collapse:separate;
    border:solid #aaaaaa 1px;
    border-radius:6px;
    -moz-border-radius:6px;
}

/*--------- Header positions -------------------------------------*/
.logopos {text-align: left; position: absolute; z-index: 601; margin-left: 10px; margin-top: -10px;}
.titlepos {text-align: left; position: absolute; z-index: 601; margin-left: 140px; font-size: 24px; font-weight: bold;margin-top: 5px;}
.hrheader {width: 100%; position: absolute; left:0; top: 90px; z-index:0;}
.mainpage {position:absolute; top:120px; left:0; width: 100%;}

/* --------------------  BUTTONS ----------------------- */
.buttono {background:none!important; color:#aa0000; border:none; padding:0!important; font: inherit; font-size: 14px; text-align: inherit; cursor: pointer;}
.buttong {background:none!important; color:#aaaaaa; border:none; padding:0!important; font: inherit; font-size: 14px; cursor: pointer;}
.button_inherit {background:none!important; color:inherit; border:none; padding:0!important; font: inherit; font-size: inherit; text-align: inherit; cursor: pointer;}
.button_bl, .buttony {background:none!important; color:#ffdddd; border:none; padding:0!important; font: inherit; font-size: inherit; cursor: pointer;}

.tbg {border:1px solid #005500; border-radius:10px; height: 22px; width: 180px;padding-left:4px;padding-right:4px;box-shadow: 2px 2px #888888;}
.tbs {border:1px solid #005500; border-radius:10px; height: 22px; width: 160px;padding-left:4px;padding-right:4px;box-shadow: 2px 2px #888888;}
.tbsq {border:1px solid #005500; height: 22px; width: 190px;padding-left:4px;padding-right:4px;}
.sbr, .sbg, .sbp {padding: 5px 10px 20px 10px; cursor: pointer; border-radius:10px; height: 22px;box-shadow: 1px 1px #888888;}
.sbr {border: 1px solid #ff0000; color:#aa0000; }
.sbg {border: 1px solid #005500; color:#005500; }
.sbp {border: 1px solid #880088; color:#880088; }
.buttono10 {background:none!important; color:#aa0000; border:none; padding:0!important; font: inherit; font-size: 10px; cursor: pointer;}
.buttontext {background:none!important; color:#4444aa; border:none; padding:0!important; font: inherit; font-size: 16px; font-weight: bold; cursor: pointer;}
.buttonb {background:none!important; color:#006666; border:none; padding:0!important; font: inherit; font-size: 14px; text-align: inherit; cursor: pointer;}
.buttonw {background:none!important; color:#ffffff; border:none; padding:0!important; font: inherit; font-size: 14px; text-align: inherit; cursor: pointer;}
.buttonos {background:none!important; color:#aa0000; border:none; padding:0!important; font: inherit; font-size: 12px; cursor: pointer;}
.button_x {
	background: none; 
	color:red; 
	border:none; 
	position: relative;
	top: -8px;
	padding: 5px 2px 0 10px;
	cursor: pointer;
}

/*--------------------- PARENT STARTPAGE ----------------------------- */
.studreg {
	font-size: 16px;
	font-weight: bold;
	color: #ff6600;
}
.studname {
	font-size: 16px;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
}
.button_bal {
	width: 98%;
	font-size: 22px;
	font-weight: bold;
	color: #fff;
	text-align: right;
	padding: 8px;
	height: 46px;
	border-radius: 18px;
	cursor: pointer;
	background: #ff0000;
 	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);
}
.button_bal.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);
}
/*--------------------- 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 #00cc00;
  border-right: none;
  padding: 5px;
  height: 20px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #00cc00;
}

.searchTerm:focus{
  color: #aa00aa;
}

.searchButton, .inputButton, .uploadButton {
  width: 40px;
  height: 36px;
  border: 1px solid #00cc00;
  margin-left: -4px;
  outline: none;
  background: #00cc00;
  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%);
}



/* --------------------  ACCORDION ----------------------- */
#simple-accordion {
  width: 95%;
}
 
#simple-accordion ul.accordion {
  margin: 0;
  padding: 0;
}
 
#simple-accordion ul.accordion li {
  font: 400 14px Arial, Helvetica, sans-serif;
  list-style-type: none;
  margin: 0 0 10px 0;
}
 
#simple-accordion ul.accordion li h2 {
  font: 700 16px Arial, Helvetica, sans-serif;
  margin: 0;
}
 
#simple-accordion ul.accordion li h2 .accord {
  color: #000;
  background-color: transparent;
  width: 35%;
  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 .accord:hover {
  color: #000;
  background-color: #ccc;
  text-decoration: none;
}
 
#simple-accordion ul.accordion li h2 .accord::before {
  content: url(images/down.gif);
  position: absolute;
  top: 5px;
  left: 6px;
}

#simple-accordion ul.accordion li h2 .accord::after {
  content: '+';
  position: absolute;
  top: 5px;
  right: 13px;
}
 
#simple-accordion ul.accordion li h2 .accord.active {
  color: #fff;
  background-color: #000;
  text-decoration: none;
}
 
#simple-accordion ul.accordion li h2 .accord.active::before {
  content: url(images/up_white.gif);
  position: absolute;
  top: 5px;
  left: 6px;
}

#simple-accordion ul.accordion li h2 .accord.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: 20px;
  margin: 0 0 0 0;
}

/* --------------------  TABS ----------------------- */
.tabs {
	position: relative;
	width: 95%;
	min-height: 500px;
	margin: 1.2em auto 1em auto;
}
.tabs .tab {
	display: inline-block;
	background-color: #bbb;
	margin: 0 -1px;
	border: 1px solid #aaa;
	border-bottom: none;
	-moz-border-radius:.5em;
	-webkit-border-radius:.5em;
	-khtml-border-radius:.5em;
	border-radius: 5px 5px 0 0;
	padding: 8px 10px 8px 10px;
	font-weight: 400;
	cursor: pointer;
}
.tabs .tab:hover {
	color: #aa0000;
	background-color:#ccc;
}
.tabs .tab.selected {
	background-color:#fff;
	color: #000;
}
.tabs .content {
	background-color: #e8e8e8;
	border: 1px solid #555;
	border-radius: 5px;
}
@media screen and (max-width: 1093px) {
	.tabs {width:99%;}
}
/*----------------------------------------- TABS ----------------------------------------------------*/
/* Tab descriptions *******************************
	ntabc   Grey. Selected: Black with blue underline.  Lower case
	ntabc1  Grey. Selected: Green with aqua underline.  Lower case
	ntabc2	Grey. Selected: Blue with orange underline. Uppercase wide
	ntabc3  Grey. Selected: Blue with orange underline. Uppercase
	ntabc4  Grey. Selected: Dark red with yellow underline. Uppercase
*/
.tabcontent {
	display:none;
	width: 100%;
	min-height: 500px;
}
.ntabcontainer {
	width: 100%;
}
.ntab, .ntabp, .ntabc, .ntabw, .ntabc1, .ntabc2, .ntabc3, .ntabc4 {
	display: inline-block;
	background-color: #f8f8f8;
	margin: 0 -1px;
	border: none;
	padding: 8px 10px 8px 10px;
	font-weight: 400;
	cursor: pointer;
}
.ntab:hover, .ntabp:hover, .ntabw:hover, .ntabc:hover, .ntabc1:hover, .ntabc2:hover , .ntabc3:hover, .ntabc4:hover {
	color: #aa0000;
	background-color:#ddd;
}
.ntab.selected {
	background-color:#00aaaa;
	color: #fff;
	border-bottom: 3px solid #ff8800;
}
.ntabp.selected {
	background-color:#0000aa;
	color: #fff;
	border-bottom: 3px solid #ff00ff;
}
.ntabw {
	padding: 2px 5px;
	text-align:left;
}
.ntabw.selected {
	background-color:#f8f8f8;
	color: #6666ff;
	border-bottom: 3px solid #00ffff;
}
.ntabc, .ntabc1, .ntabc2, .ntabc3, .ntabc4 {
	color: #888;
	padding: 8px 15px 8px 15px;
}
.ntabc1 {
	font-size:16px;
}
.ntabc2, .ntabc3, .ntabc4 {
	letter-spacing: 0.5em;
	text-transform: uppercase;
}
.ntabc3 {
	letter-spacing: 0.2em;
}
.ntabc4 {
	letter-spacing: 0.1em;
}
.ntabc.selected {
	background-color:#fcfcfc;
	color:#000;
	border-bottom: 3px solid #000088;
	font-weight:bold;
}
.ntabc1.selected {
	background-color:#fcfcfc;
	color:#008800;
	border-bottom: 3px solid #44dddd;
	font-weight:bold;
}
.ntabc2.selected, .ntabc3.selected {
	background-color:#fcfcfc;
	color:#0000ff;
	border-bottom: 3px solid #ff8800;
	font-weight:bold;
}
.ntabc4.selected {
	background-color:#ffeeee;
	color:#AA0000;
	border-bottom: 3px solid #ff9900;
	font-weight:bold;
}


/*------------ Responsive Tables ----------------------------------------------------
   Note: norm shows data with data-label and content and uses alternating colours
         shift displays content on the left
         nocol does not use alternating colours
         shiftnocol combines the above two
-------------------------------------------------------------------------------------*/
table.resp {border-collapse: collapse; width: 95%; table-layout: fixed;}
table.resp tr:nth-child(2n) {background-color: #e0e0e0;}
table.resp tr:nth-child(2n+1) {background-color: #f8f8f8;}
table.resp.nocol tr:nth-child(2n), table.resp.shiftnocol tr:nth-child(2n) {background-color: #f8f8f8;}
table.resp thead tr th {background-color: #aa0000; color:#ffffff; padding: 6px 0 6px 0;}
table.resp td, table.resp th {padding: 2px; font-size: 14px; text-align: left; line-height:28px;}
table.resp .order {background:none!important; color:#eeee00; border:none; padding:0!important; font: inherit; font-size: 14px; text-align: inherit; cursor: pointer;}

/* four2two is a four-column table that reduces to two coulmns when screen<900px */
.four2two .col {float: left;width:24%;}
.four2two .col:nth-child(8n+1),.four2two .col:nth-child(8n+2),.four2two .col:nth-child(8n+3),.four2two .col:nth-child(8n+4) {background-color: #e0e0e0;}
.four2two .col:nth-child(4n):after {
  content: "";
  display: table;
  clear: both;
}
/* two2one reduces 2 columns to 1 column */
.two2one {float:left; width:48%; padding:5px;}
.two2one:nth-child(2n):after {
  content: "";
  display: table;
  clear: both;
}

@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 {border-top: 1px solid #aa0000; width:95%!important;}
	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 td.nophone {display:none;} /*  hides cells marked as nophone */
	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: 12em!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 #aa0000;}
	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;}

	.four2two .col:nth-child(2n+1) {float: left;width:25%;}
	.four2two .col:nth-child(2n) {float: left;width:65%;}
	.four2two .col:nth-child(2n):after {
	  content: "";
	  display: table;
	  clear: both;
	}
	.two2one {float:left; width:98%; padding:0;}
	.two2one table.resp thead tr {position: relative; top: 0; left: 0;} /*  unhides all table headers */
	.two2one:after {
	  content: "";
	  display: table;
	  clear: both;
	}
}

/*----------------  rtable is a collapse-row responsive table -----------------------*/
.rtable {
    display:table;
    width:100%;
}
.rtable .row {
    display:table-row;
}
.rtable .cell {
    display:table-cell;
    text-align: left;
    padding: 5px;
    vertical-align:top;
    width: 33%;
}
@media only screen and (max-width: 900px) {
    .rtable .cell {
        display:block;
        text-align: center;
        width: 100%;
    }
    .rtable .row {
        display:table-cell;
        width:100%;
        float: left;
    }
}

/*--------- 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 Theme Styles ---------------------------------*/
#nav-menu label, #hamburger {
  display: none;
}
#nav-menu > ul {
  border-top: 4px solid #f8f8f8;
  font-family: Calibri, Tahoma, Arial, sans-serif;
  font-size: 16px;
  background: #f8f8f8;
 /* 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: 70px;
}
#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.active,
#nav-menu > ul > li.active:hover {
  background-color: #eeeeee;
} */
#nav-menu > ul > li > a:link,
#nav-menu > ul > li > a:active,
#nav-menu > ul > li > a:visited {
  color: #999999;
}
#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;
}
li.has-sub i.fas, li.has-sub i.fa-solid {
  width: 24px;
}
li.has-sub button {
	color: #9a9a9a;
}


/*--------- 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;
	  }
	  #nav-menu > ul {
	  	font-size: 14px;
	  	background: #0064a6;
	  	width:300px; 
	  	z-index:599;
	  	padding-right:0;
	  }
	  #nav-menu > ul > li {
	  	display: block;
	      	border-top: 1px solid #333;
	  	float: left;
	  	clear: left;
	  	width: 120px;
	    }
	    #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: #f8f8f8;
	    }
	    #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);
	    }
	   
	    .noimg, .noimgh {display:none;}                /* noimg, noimgh are classes used to hide elements on a phone */
	    .logopos {float:right; position: relative; z-index:598; padding-right: 20px; }
	    .titlepos {text-align: center; align:center; margin:50px 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;}
	    .mainpage {top:165px;}

	    /* 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;
	    }
		li.has-sub i.fas {
		  display: none;
		}
		li.has-sub button {
			color: #fff;
			margin-left: 7px;
		}
}

/*----------------------------------- BUTTONS -------------------------------------------------------*/
/*--------------------- BUTTONS ---------------------------------------------------------- 
	Example html:
		<button type="submit" class="enter blue" name="enter_button">Confabulate</button>
*/
.enter {
  width: auto;
  height: 36px;
  background: #aa0000;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  padding: 8px 15px 12px 15px;
 	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dc3232), color-stop(100%, #aa0000));
	background-image: -webkit-linear-gradient(top, #dc3232, #aa0000);
	background-image: -moz-linear-gradient(top, #dc3232, #aa0000);
	background-image: -ms-linear-gradient(top, #dc3232, #aa0000);
	background-image: -o-linear-gradient(top, #dc3232, #aa0000);
	background-image: linear-gradient(top, #dc3232, #aa0000);
}
.enter.small { height:24px; font-size: 14px; padding: 4px 15px 6px 15px; font-style:normal;}
.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_maroon, .button_grey, .button_black, .button_blue {background-color:inherit; border:0; font-weight: inherit; cursor: pointer; font-size: inherit;}
.button_maroon {color:#aa0000;}
.button_grey {color: #aaa; font-size:16px;}
.button_black {color:#444;}
.button_blue {color: #0064a6;}

/*----------------------------------- HEADERS -------------------------------------------------------*/
.header-grey {
	font-weight: bold;
	font-size: 28px;
	color: #aaa;
	width: 95%;
	border-bottom: 2px solid #aaa;
	margin: 10px 0 10px 0;
}
/*--------------------- INPUT BOX & SPANBOX ------------------------------ 
	Example html:
		<input type="text" class="input green" name="textget" placeholder="enter text" value="currentValue">
*/
/* Placeholders */
input::-webkit-input-placeholder {color: #ddd; font-style: italic;}
input:-moz-placeholder {color: #ddd; font-style: italic;} /* Firefox 18- */
input::-moz-placeholder {color: #ddd; font-style: italic;} /* Firefox 19+ */
input:-ms-input-placeholder {color: #ddd; font-style: italic;}

.input, .input.slim {
  width: 95%;
  border: 3px solid #aa0000;
  padding: 5px;
  border-radius: 5px;
  outline: none;
  color: #aa0000;
  font-size:inherit;
}
.input.slim {
  border-width: 1px;
  padding: 3px;
  height: 14px;
  border-radius: 3px;
  font-size: 12px;
}	
.input:focus{
  color: #aa0000;
}

.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.pink {border: 3px solid #dd44dd; color: #dd44dd;}
.input.purple {border: 3px solid #800080; color: #aa00aa;}
.input.thin {border-width:1px;}
.input.table {
		border-width:1px;
		padding: 3px;
		border-radius: 3px;
		font-size: 12px;
}
/* Chrome, Safari, Edge, Opera */
.noarrows::-webkit-outer-spin-button,
.noarrows::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.noarrows {
  -moz-appearance: textfield;
}
.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;
}

/*------------------------------------ LAYOUTS --------------------------------------------------------------------*/
.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;}

.jcelll {padding-right: 2px;}
.jcellr {padding-left: 2px;}
.jcelll, .jcellr { width: 48%; margin-top: 5px; display:inline-block;}

/*----------------------------------- 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;
}
.jrow.high {
	margin-top: -15px;
}

.jcolumn {
	  float: left;
	  width: 33.33%;
	  max-width: 320px;
	  padding: 10px;
	  font-size:14px; 
	  font-weight:normal;
	  text-align:left;
	  margin:0 0 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) -------------------------------------------------------*/
/* Create two unequal columns (1/4, 3/4) that float next to each other        */
.qrow {
	width: 98%;
	position: relative;
}

.qcolumn {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 320px;
	  padding: 5px;
	  font-size:14px; 
	  font-weight:normal;
	  text-align:left;
	  margin:0 5px 10px 5px;
	  color: inherit;
}

.qcolumn:nth-child(2n) {
	width: auto;
	min-width: 320px;
	margin-left: 330px;
}

.qcolumn i {width: 24px;}


/* 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: 900px) {
	.qcolumn {
			position: relative;
			width: 95%;
			align: center;
			margin-left: 0;
			float: left;
	}
	.qcolumn:nth-child(2n) { left: -330px;}
	.qrow {
		  max-width: 340px;
	}
}
/* --------------------  LINE WITH TEXT ----------------------- */
.separator{
  display: flex;
  align-items: center;
  position: relative;
}

.separator .label{
  padding: 0 10px;
  background: #fff;
  left: 100px;
  position: absolute;
}

.separator .line{
  flex: 1;
  height: 1px;
  background-color: #888;
}

/* --------------------  POPUPS ----------------------- */
div[id^="popup"]:not([id^="popup_"]) {
    position: absolute;
    top: -200px;
    left: 0px;
    height: 100%;
	min-height:840px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    color: #666;
	z-index: 604;
}

.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 #aa0000;
    box-shadow: 1px 1px 5px #444444;
    padding: 20px 40px 40px 40px;
	z-index: 605;
}

/*--------------------- 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 #aa0000;
  border-right: none;
  padding: 5px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #aa0000;
  font-size: inherit;
}

.searchTerm:focus{
  color: #aa00aa;
}

.searchButton, .inputButton, .uploadButton {
  width: 40px;
  height: 36px;
  border: 1px solid #aa0000;
  margin-left: -4px;
  outline: none;
  background: #aa0000;
  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 ----------------------- 
  Normal type    */
.select {
  width: 95%;
  border: 3px solid #aa0000;
  padding: 5px;
  border-radius: 5px;
  outline: none;
  color: #aa0000;
  font-size:inherit;
}

.select.thin {border-width:1px;}

/*--------------------- 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 #aa0000;
  padding: 5px;
  height: 60px;
  border-radius: 5px;
  outline: none;
  color: #aa0000;
  font-size:inherit;
}

.textarea:focus{
  color: #aa0000;
}

.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;
  top: 0px;
  height: 26px;
  width: 100px;
  margin: 12px 5px 5px 5px;
  background: rgba(255, 255, 239, 0.25);
  border-radius: 3px;
  border: 1px solid #aa0000;
}

.switch-label {
  position: relative;
  z-index: 2;
  float: left;
  width: 50px;
  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: 50px;
  margin-top: -26px;
}
.switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 50px;
  /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-selection {
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  display: block;
  width: 50px;
  height: 26px;
  border-radius: 3px;
  background-color: #aa0000;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dd0000), color-stop(100%, #aa0000));
  background-image: -webkit-linear-gradient(top, #dd0000, #aa0000);
  background-image: -moz-linear-gradient(top, #dd0000, #aa0000);
  background-image: -ms-linear-gradient(top, #dd0000, #aa0000);
  background-image: -o-linear-gradient(top, #dd0000, #aa0000);
  background-image: linear-gradient(top, #dd0000, #aa0000);
}

.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;}
.tzs {display:inline-block;}
.usd {display:none;}

