/*Copyright ©2017 Valley West Controls Ltd. All Rights Reserved*/
html{
  margin:0;
  padding:0;
  font-family: arial;
  height: 100%;
}

#wrapper{
  padding: 0 0 40px;
  position: relative;
  min-height: 100%;
  box-sizing: border-box;
}

body{
  background:#fafafa;
  margin:0;
  padding:0;
  min-width: 800px;
  height: 100%;
}

h2{
  padding: 20px 0px 10px 0px;
  margin: 0px;
}

#header{
  background: gainsboro;
  border-bottom: 1px solid #999;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
  height: 70px;
  margin-bottom: 30px;
  padding: 10px 0px;
}

h1.letterhead{
  font-family: "Times New Roman";
}

#headercontent{
  margin: 0 auto;
  max-width: 1020px;
  padding: 0px 20px;
}

#headercontent img{
  float:left;
}

#headercontent h1{
  float:left;
  padding: 0px 20px;
  margin: 15px 0px;
}

#pagewrapper{
  margin: 0 auto;
  max-width: 1020px;
  padding: 0px 20px;
}

.button{
  float: right;
  color: black;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #999;
  border-radius: 3px;
  background: whitesmoke;
  text-align: center;
}

.headerbutton{
  float: bottom;
  margin-top: 40px;
}

.button:hover{
  background: darkgrey;
}

a.button{
  text-decoration: none;
  width: 50px;
}

.tablebuttons{
  float:right;
  margin-left: 2px;
}

.tabs{

}

.tab{
  float: left;
  padding: 0px 50px;
  border-left: 1px solid #999;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  margin-top: 10px;
  height: 40px;
  cursor: pointer;
}

.tab:nth-child(n+2){
  margin-left: -1px;
}

.tab.active{
  height: 50px;
  margin-top: 0px;
  padding-bottom: 1px;
  margin-bottom: -1px;
}

.tab span{
  display:block;
  font-size: 18px; 
  padding: 10px 0px;
  cursor: pointer;
}

.tab.active span{
  font-weight: bold;
  font-size: 20px;
  padding: 17px 0px;  
}

.panels{
  clear: both;
}

.panel{
  border: 1px solid #999;
  padding: 0px 40px 40px 40px;
  display: none;
}

.panel.active{
  display:block;
}

.datatable{
  width: 100%;
  border-spacing: 0px;
  border-collapse:collapse;
  border:1px solid black;
}

.datatable th{
  padding: 5px;
  background-color: #8baac0;
  color: white;
  font-weight: bold;
  border-collapse:collapse;
  border:1px solid black;
}

.datatable td{
  padding: 5px;
  border-collapse:collapse;
  border:1px solid black;
}

.datatable tr:nth-child(odd) {
  background-color: #f3f3f3;
}

.datatable tr:nth-child(even) {
  background-color: #ffffff;
}

tr.tabletotal td{
  background: gainsboro;
  font-weight: bold;
}

.tablefooter{
  background: #8BAAC0;
}

.adminpanel{
  padding-bottom: 30px;
}

#disclaimer{
  font-style: italic;
  font-size: 12px;
}

#footer{
  height: 40px;
  background: #000;
  bottom: 0px;
  position: absolute;
  left: 0px;
  right: 0px;
}

.formtable{
  margin: 80px auto;
  border: 1px solid #999;
  padding: 10px 25px 25px 25px;
  font-size: 18px;
  background: #f3f3f3;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}

#loginerrors{
  color: red;
  font-size: 14px;
  padding: 0px;
}

#loginerrors p{
  margin: 0px;
  text-align: center;
}

.textbox{
  width: 200px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.inputtext{
  float:right;
}

.formtable td{
  padding: 3px 3px;
}

.formtable th{
  font-size: 22px;
  text-align: center;
  padding: 5px 0px 5px 0px;
}

td.hideleftborder {
  border-left: 0px none black;
}

td.hiderightborder{
  border-right: 0px none black;
}

.right{
  text-align: right;
}

.green{
  background: #C8E6C9;
}

.red{
  background: #ffcfd4;
}

.hide{
  display:none;
}

.noselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none; 
            user-select: none;
}

input, select{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}