
/* Default style */
html {
  height: 100%;
}
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0px;
  font-family: Arial, Helvetica, Sans-Serif;
  background-color: black;
  color: white;
}
h1 {
  font-size: 28px;
  font-weight: normal;
  margin: 5px 0px 10px 0px;
}
h2 {
  font-size: 24px;
  font-weight: normal;
  margin: 0px 0px 5px 0px;
}
h3 {
  font-size: 20px;
  font-weight: normal;
  margin: 10px 0px 10px 0px;
}
h4 {
  font-size: 16px;
  font-weight: normal;
  margin: 0px 0px 5px 0px;
}
p {
  color: white;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.5;
}
a:link {
  color: #88c03d;
  text-decoration: none;
}
a:hover {
  color: #88c03d;
  text-decoration: underline;
}


/* Modal popup message */
.modal {
  z-index: 2;
  display: none;
  padding-top: 0px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1350px;
  border-radius: 15px 15px 0px 0px;
  background: #333;
  border: 2px solid white;
  margin-top: 20px;
  padding: 0px 5px 0px 5px;
}
.modal-hover-opacity {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-backface-visibility: hidden
}
.modal-hover-opacity:hover {
  opacity: 0.60;
  filter: alpha(opacity=60);
  -webkit-backface-visibility: hidden
}
.modal-close {
  text-decoration: none;
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin-right: 10px;
}
.container {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #333;
  padding: 10px;
}
.container1 {
  width: 200px;
  display: inline-block;
}
.modal-content, #caption {   
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
  from { -webkit-transform: scale(0) } 
  to { -webkit-transform: scale(1) }
}
@keyframes zoom {
  from { transform:scale(0) } 
  to { transform:scale(1) }
}

.row {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}
.row-menu {
  max-width: 100%;
  width: 100%;
  display: flex;
  padding: 10px 0px 0px 0px;
}
.row-menu-2 {
  width: -webkit-fill-available; 
  text-align: -webkit-right; 
  padding-right: 20px;
}
.col-md-4 {
  width: 100% !important;
  min-width: 100% !important;
  margin-top: 5%;
}

/* Menu buttons */
.button {
  border: 2px solid white;
  border-radius: 15px;
  color: white;
  background: black;
  font-weight: normal;
  font-size: 18px;
  width: 150px;
  cursor: pointer;
  transition: 250ms;
}
.button:hover {
  transform: scale(1.05);
  background-color: rgb(89,126,39);
}
.button-menu {
  border: 2px solid white;
  border-radius: 15px;
  padding: 10px 20px;
  position: relative;
  font-weight: normal;
  font-size: 20px;
  width: 150px;
  cursor: pointer;
  margin: 0px 20px 10px 0px;
}
.button-site {
  border: 2px solid white;
  border-radius: 10px;
  padding: 5px 10px;
  position: relative;
  font-weight: normal;
  font-size: 16px;
  width: 160px;
  height: 40px;
  cursor: pointer;
  margin: 10px 0px 0px 25px;
}
.button-small {
  border: 2px solid white;
  border-radius: 10px;
  padding: 5px;
  font-size: 16px;
  font-weight: normal;
  width: 120px;
  margin: 0px 10px 10px 0px;
}
.button-selected {
  background-color: rgb(89,126,39);
}

/* Main text style */
.form-control {
  font-weight: bold;
  font-size: 18px;
  width: 300px;
  height: 20px;
  margin: 0px 0px 20px 0px;
  padding: 3px;
}

/* Main content container */
.content {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}
.content-center {
  display: flex;
  flex: 1 0 auto;
  margin-top: 15%;
  justify-content: center;
}

/* Flexible containers */
.flex-container {
  display: flex;
  flex-direction: row;
  text-align: center;
  padding-right: 10%;
  padding-left: 10%;
}
/* Special one-off container for login panel */
.flex-container-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid white;
  border-radius: 50px;
  background: black;
  text-align: center;
  padding: 25px;
  width: 500px;
  height: 400px;
}
.flex-container-row {
  display: flex;
  flex-direction: row;
  text-align: left;
  padding: 0px 20px 0px 20px;
  justify-content: left;
}
.flex-container-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0px 20px 0px 20px;
  justify-content: left;
  flex:90%;
}
.flex-item-left {
  background-color: black;
  padding: 10px;
  flex: 50%;
  text-align: left;
}
.flex-item-right {
  background-color: black;
  padding: 10px;
  flex: 50%;
  text-align: right;
}
.flex-item-33 {
  background-color: black;
  padding: 10px;
  flex: 33%;
}
.flex-item-33w {
  background-color: white;
  padding: 10px;
  flex: 33%;
}

/* Content items */
.div-item {
  flex: initial;
  padding: 0px 0px 0px 20px;
}
.div-item-header {
  flex: initial;
  padding: 0px 0px 0px 20px;
}

/* Charts container */
.charts-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0px 0px;
}
.chart-container {
  display: inline-block; 
  border-radius: 15px; 
  position: relative; 
  padding-top: 20px; 
  width: 33%; 
  text-align: center; 
  border-style: solid; 
  border-color: rgb(138, 138, 138); 
  color: white; 
  background-color: #333;
  font-weight: bold;
  border-style: groove;
  box-sizing: border-box;
}

/* Images container */
.images-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0px;
}
.index-site-image {
  border: 2px solid white;
  border-radius: 15px;
  color: white;
  font-weight: bold;
  font-size: 17px;
  max-width: 100%;
  max-height: 500px;
  margin-left: 10px;
  margin-bottom: 5px;
  object-fit: contain;
}
.image-container {
  display: inline-block; 
  margin: 5px;
  border: 2px solid white; 
  border-radius: 15px; 
  position: relative; 
  width: 33.33%;
  min-width: 300px;
  text-align: center; 
  color: white; 
  background-color: #333;
  font-weight: bold;
  box-sizing: border-box;
}

/* Diagram components */
.drawing-section {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px 0px 20px 0px;
  justify-content: center;
  background: rgb(96,96,96);
  height: 200px;
}
.drawing-note {
  display: block;
  font-size:18px;
  font-weight: normal;
  line-height: 1.25;
  text-align: center;
  color: black;
  margin: 0px;
  padding: 0px;
}
.drawing-image {
  display: block;
  width: 100px;
  margin: 10px 10px 3px 10px;
  vertical-align: top;
}

/* Page footer */
.footer {
  display: block;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  vertical-align: center;
  height: 35px;
  font-size: 16px;
  font-weight: normal;
  padding: 20px 0px 0px 0px;
}

/* Drop-down selection list attached to a menu button */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
  text-align: left;
  border-radius: 15px;
}
.dropdown-button {
  padding: 15px 25px;
  border: 2px solid white;
  border-radius: 12px;
  color: white;
  z-index: 1;
  background: black;
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  width: 150px;
  cursor: pointer;
  }
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 15px;
}
.dropdown-content a:hover {
  background-color: #a3a3a3;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: black; border-radius: 5px;
}

/* Dark grey data table with candy stripe grey */
.datatable {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #ddd;
}
.datatable td, .datatable th {
  border: 1px solid #ddd;
  padding: 5px 8px 5px 8px;
  width: 5%;
  color: black;
}
.datatable tr:nth-child(even) {
  background-color: #888;
}
.datatable tr:nth-child(odd) {
  background-color: #ccc;
}
.datatable tr:hover {
  background-color: rgb(89,126,39);
}
.datatable th {
  background-color: #333;
  color: white;
  font-weight: normal;
}

/* Form Controls */
.form-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin: 10px 5px 5px 0px;
}
.form-control {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  margin: 0px;
  padding: 2px;
}
.form-listbox {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: white;
  background: black;
  margin: 0px;
  padding: 2px;
  height: 30px;
  border: 2px solid white;
  border-radius: 10px;
}
.selected {
  background-color: rgb(89,126,39);
}


/* Empty row */
.nodatarow {
  background-color: #888;
  color: white;
  font-size: 18px;
}

/* Empty bar in place of an empty data table */
.nodata {
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #888;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: normal;
  margin: 5px 20px 20px 0px;
  padding: 5px 10px;
  width: 100%;
}

/* Empty image object */
.noimage {
  display: inline-block;
  margin: 5px;
  min-width: 120px;
  border: 2px solid white;
  border-radius: 15px;
  padding: 20px;
  color: white;
  background-color: #888;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  vertical-align: center;
}

/* Error messages */
.error {
  color: #f44;
}




