* {box-sizing: border-box;}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  overflow: hidden;
  background-color: #e9e9e9;
}

.topnav a, .topnav span {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #8ebffa;
}

.topnav .login-container {
  float: right;
}

.topnav input[type=text], .topnav input[type=password] {
  padding: 6px;
  margin-top: 8px;
  margin-right: 8px;
  font-size: 17px;
  border: none;
  width:120px;
}

.topnav .login-container input[type=button] {
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background-color: #8ebffa;
  color: black;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.topnav .login-container input[type=button]:hover {
  background-color: #7eafea;
}

.bodynav {
  background-color: #8ebffa;
}

.bodynav a, .bodynav span {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.bodynav a:hover {
  background-color: #7eafea;
  color: black;
}

.bodynav a.active {
  background-color: #2196F3;
  color: white;
}

.divbody {
	margin-left:10px;
  margin-right:10px;
  margin-bottom:10px;
}

.bodypanel {
  overflow: hidden;
}

.divpanel {
  border: 1px solid black;
  padding: 5px;
  margin: 10px;
  height: 250px;
  width: 400px;
  float: left;
  display: block;
}

table {
  /* border: 1px solid black; */
  border-collapse: collapse;
}

th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding:5px;
}

td.flat {
  padding: 0px;
  margin: 0px;
  background-color: #8ebffa;
}

.scrollTableTitle {
  margin-bottom: 5px;
}

.scrollTableAccessory {
  border: 1px solid #5e8fca;
  padding: 5px;
  display: inline-block;
  background-color: #f0fff0;
}
/* Set a fixed scrollable wrapper */
.scrollTable {
  /* border: 1px solid black; */
  overflow-y: scroll;
  width: fit-content;
  height:200px;
  display:block;

  border-width: 2px;
  border-color: #5e8fca;
  border-style: inset;
  padding-left: 40px;
  padding-top: 0px;
  background-color: #ffffff;
}
/* Set header to stick to the top of the container. */
.scrollTable thead tr th {
  position: sticky;
  top: 0;
  z-index: 5;
}

/* Because we must set sticky on th,
 we have to apply background styles here
 rather than on thead */
.scrollTable th {
  /* padding: 16px;
  padding-left: 15px; */
  border-top-width: 0px;
  /* border-left: 1px dotted rgba(200, 209, 224, 0.6);
  border-bottom: 1px solid #e8e8e8; */
  background: #8ebffa;
  /* text-align: left; */
  /* With border-collapse, we must use box-shadow or psuedo elements
  for the header borders */
  box-shadow: 0px 0px 0 1px #5e8fca;
}




.thresholdOn {
	background-color: #5ffa5f;
}
.thresholdOff {
	background-color: #5f6f5f;
}



.field {
	background: #8ebffa;
	border:1px solid #03306b;
	padding:10px;
	margin:5px 0px;
	width:215px;
	color:#000;
}

.field:disabled {
   cursor: not-allowed;
   border:1px solid #c3c0cb;
	 pointer-events: none;
	 color: #c0c0c0;
	 background-color: #EEE;
}

.btn {
	background-color: #8ebffa;
	border:1px solid #03306b;
	font-weight:bold;
  cursor: pointer;
	color: #000;
	padding:10px;
	margin:5px 0px;
}
.btn.flat{
  border:None;
  margin: 0px;
  padding: 4px 4px;
  width:100%;
  text-align: left;
}

.btn.square {
  width:40px;
}

.btn:hover {
  background-color: #7eafea;
}

.btn:disabled {
   cursor: not-allowed;
	 pointer-events: none;
	 color: #c0c0c0;
	 background-color: #EEE;
 }

input:disabled+label {
  color: #ccc;
}

.error {
	color:#F00;
	font-weight:bold;
}

.errorLabel {
	/* color:#FFF; */
	font-weight:bold;
}

.forgot {
	color:#f33;
}
