

p {
  margin-top:0px;
  margin-bottom: 10px
}

a:link {
  color: orange;
}

a:visited {
  color: #aaaaaa;
}

a.more {
  color:orange;
}

h1 {
  font-size: medium;	
}
table {
  border-collapse: collapse;
  font-family: arial;
}

td, th {
  text-align: left;  
  padding: 3px;
}

td {
  text-align: right;
}

td.left-align {
  text-align: left;  
}

dl {
  margin: 0px 5px 0px 5px;
  font-size: 85%;
}

dd {
  margin-left: 20px
}

dt {
  font-weight: bold;
}

table.res_tbl td, table.res_tbl th{
  border: 1px solid #aaaaaa;
  padding: 3px;
  text-align: left;
}

table.res_tbl td.left-align, table.cat_table td.left-align {
  text-align: left;  
}
table.res_tbl td.right-align {
  text-align: right;  
}
table.res_tbl td.center-align {
  text-align: center;  
}
table.res_tbl td.space, table.res_tbl th.space{
  border: none;  
}
table.cat_table tr.bg-yellow {
  background-color: #f2d7d7;
}

table.boxtbl, table.cat_table {
  width: 100%;
}

table.boxtbl td, .boxtbl th {
  border: 1px solid #aaaaaa;
  text-align: left;  
  padding: 2px;
}

table.boxtbl td {
  text-align: right;  
}

table.boxtbl td.center-align, table.boxtbl th.center-align {
  text-align: center;  
}

table.boxtbl td.left-align {
  text-align: left;
}
table.boxtbl td.space, table.boxtbl th.space {
  border: none;
  text-align: center;
}

table.start_tbl td {
  border: 1px solid #aaaaaa;
  text-align: center;
}
table.start_tbl td.space {
  border: none;
}

table.start_tbl th {
  border: 1px solid #aaaaaa;
  background-color: #aaaaaa;
  text-align: center;
}

.slidecontainer {
  width: 150px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 20px;
  background: orange;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 5px;
  height: 20px;
  background: orange;
  cursor: pointer;
}

input[type=range]  {
  width: 100%;
}
input[type=text]  {
  width: 98%;
  border-width: 0pt;
}



input[type=button], input[type=submit], input[type=reset], button[type=button] {
  background-color: #f6f6f6;
  border: 1px solid #aaaaaa;
  padding: 4px 16px;
  margin: 4px 2px;
}

input[type=button]:hover, input[type=submit]:hover, button[type=submit].smallbtn:hover, button[type=button].action:hover {
  background-color: #fed8b1;
}
input.selected {
  background-color: #dddddd;
  border-color:#555;
}

button[type=submit].smallbtn {
  background-color: #f6f6f6;
  border: 1px solid #aaaaaa;
  padding: 1px 4px;
  margin: 0px 0px;
}
button[type=button].check_off:hover, button[type=button].check_on:hover {
  background-color: none;
  box-shadow: 2px 2px #aaa;
}
button[type=button].check_on {
  background-color: #fed8b1;
}

input.category-button {
  background-color: #f6f6f6;
  border: 1px solid #aaaaaa;
  width: 38px;
  margin: 1px;
  padding: 1px;
}

input.category-button:hover {
  background-color: #ccc;
}

div.category-button-spacer {
  display:inline-block;
  width: 38px;
  margin: 1px;
}
input.category-button.empty:hover {
  background-color: #f6f6f6;
}
input.category-button.selected {
  border: 2px solid #d25921;
  background-color:#e4a78b;
}
input.category-button.model {
  border: 2px solid;
}


input[type=number] {
  width: 5em;
  background-color: #f6f6f6;
  border: 1px solid #aaaaaa;
  text-align: right;
  font-size: 100%;
}

input.searchInput {
 margin-bottom: 5px;
 border: 1px solid #aaaaaa;
 padding: 2px;
}
select {
/*  width: 90%;*/
  padding: 1px 8px;
  border: 1px solid #aaaaaa;
  border-radius: 4px;
  background-color: #f6f6f6 ;
}

table.cat_table td {
  text-align: center;
  border: 1px solid #aaaaaa;
}

table.cat_table th {
  text-align: center;
  border: 1px solid #aaaaaa;
  background-color: #dddddd;
}

table.cat_table td.space {
  background-color: #f6f6f6;
  border: none;
}

table.cat_table tr:hover {
  background-color: #dddddd;
}

caption {
  font-weight: bold;
  color: whitesmoke;
  background-color: #777777;
  margin-bottom: 5px;
  padding: 2px;
}

caption a {
  color: orange;
}

#bodywrap {
  float: left;
  width: 1000px;
}

#topheader {
  position: relative;
  width: 100%;
  height: 75px;
  border-collapse:collapse;
  /*overflow-y: scroll;*/
}
#header {
  position: relative;
  width: 100%; 
  height: 1.7em;
  border-collapse:collapse;
  z-index: 5;
}

#header ul.primary {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
}

#header ul.primary li  {
	display: inline;
	list-style: none;
}

/* #### Menu: not selected tabs */
#header ul.primary a { 	 /*was: #header ul.primary a,#header ul.primary span,#header ul.primary a.current {*/
	display: block;
	float: left;
	padding: 4px 1em;
	margin: 1px 0px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 85%;
	text-decoration: none;
	color: #777777;
	background: #dddddd;
	border: 1px solid #777777;
	border-right: 2px solid #777777;
	border-radius: 0px 10px 0px 0px;


}
/* #### Menu: not selected tab: hover */
#header ul.primary a:hover {
	margin-top: 0;
	border-color: #555;
	background: #f6f6f6;
	padding-bottom: 5px;
	border-right: 2px solid #777777;
}


/* #### Menu: selected tab */    
#header ul.primary span,#header ul.primary a.current,#header ul.primary a.current:hover {
	border: 1px solid #777777;
	border-bottom: none;
	background: #f6f6f6;
	padding-bottom: 6px;
	margin-top: 0;
	font-family: tahoma, verdana, sans-serif;
	
}
#login {
 position: absolute;
 right: 0px;
 margin: 2px 0px 0 0;
 padding: 4px 1em 0 0;
 font-family: tahoma, verdana, sans-serif;
 font-size: 85%;
}

#instructions {
  background-color: #f6f6f6;
  border: 1px solid #777777;
  padding: 5px;
  border-radius: 0px 10px 10px 0px;
  font-family: tahoma, verdana, sans-serif;
  font-size: 85%;
  min-height: 50px;
}

#footer {
    text-align: center;
    margin: auto;
    width: 100%;
}

.flex {
  display: flex;
  flex-wrap: nowrap;
}

.box {
  padding: 5px;	
  width: 33%; 
}

.box_pad {
  margin: 5px;
}

.box50 {
  padding: 5px;	
  width: 50%; 
}

.varDiv {
  float: left;
  border: 1px solid #777777;
  padding: 5px;
  border-radius: 5px 5px 5px 5px;  
}

div.subtitleDiv, div.toggleSubtitleDiv, div.spaceSubtitleDiv{
  font-family: arial;
  display:inline-block;
  background-color: #777777;
  color: #f6f6f6;
  font-weight: bold;
  padding: 2px;
  margin-bottom: 5px;
}

div.toggleSubtitleDiv {
  width: 5%;
  cursor:default;
}
div.subtitleDiv {
  width: 90%;
  text-align:center;
}
div.spaceSubtitleDiv {
  width: 5%;
  cursor:default;
}
div.spaceSubtitleDiv:hover {
  color: orange;
}


div.spaceDiv {
  height: 1em;
}
div.infoDiv {
  display: none;
  border-top: 1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-top: 5px;
}

div.vscrol {
  background-color: #f6f6f6;
  height: 220px;
  overflow: scroll;
  padding: 0px 10px 0px 0px;
  border: 1px solid #777777;
  margin-bottom: 8px;
}

tr.mapTableRow:hover {
  background-color: white;
}

tr.mapTableRowSelected {
  background-color: #fed8b1;
}

#subheader, #infoline {
  position: relative;
  height: 1.6em;
  background-color: #f6f6f6;
  border: 1px solid #777777;
  padding: 0px;
  border-radius: 0px 10px 10px 0px;
  font-family: tahoma, verdana, sans-serif;
  font-size: 85%;
  border-collapse:collapse;
  z-index: 3;
}
#infoline {
	padding: 5px 0 0 5px;
	font-weight: bold;
}
    
    #subheader ul {
    	position: absolute;
    	margin: 0;
    	padding: 3px 0 3px 0;
    	width:100%;
    }
    
    #subheader ul li {
    	display: inline;
 		list-style: none;
	
	}
    #subheader ul li a {
    	width: auto;
    	float: left;
    	padding: 0 10px;
    	margin: 0;
    	text-align: auto;
    	border: none;
    	border-right: 1px solid #AAA;
    	background: none;
    	color: orange;
    	text-decoration: none;
    	text-decoration: underline;
    }
        
    #subheader ul li a:hover {
    	color: #FFC88A;
    	background: transparent;
    	padding: 0 10px;
    	border: none;
    	border-right: 1px solid #AAA;
    }
    
    #subheader ul li a.current {
    	color: #777777;
    	background: transparent;
    }
    
    #subheader ul li:last-child a { border: none; }

#main {
  background-color: #f6f6f6;
  border: 1px solid #777777;
  padding: 5px;
  border-radius: 0px 10px 5px 5px;
  font-family: tahoma, verdana, sans-serif;
  font-size: 85%;
  border-collapse:collapse;
  min-height: 500px;
}


#map {
  height: 320px;
}

img.equation {
  display: block;
  margin-left: auto;
  margin-right: auto;
  scale: 60%;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #f6f6f6;
  text-align:left;
  color: black;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid #aaaaaa;
  position: absolute;
  z-index: 1;
  bottom: 110%;
  font-weight: normal;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}