/***** global *****/

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #3f3f3f;
}

.col-sus {color: #efefef;}
.col-vac {color: #cfcfcf;}
.col-lat {color: #f0c000;}
.col-inf {color: #f00000;}
.col-rec {color: #afc7af;}
.col-dec {color: #1f1f1f;}

.back-sus {background: #efefef;}
.back-lat {background: #f0c000;}
.back-inf {background: #f00000;}
.back-rec {background: #afc7af;}

/***** layout *****/

left {
  float: left;
  padding: 0px;
  width: auto;
  background: #ffffff;
}

right {
  float: right;
  padding: 12px;
  padding-top: 0px;
  background: #ffffff;
}

section:after {
  content: "";
  display: table;
  clear: both;
}

/***** classes *****/

.cellular {
  border-style: solid;
  border-width: 2px;
  border-color: #e0e0e0;
}

.history {
  width: 260px;
  height: 100px;
  border-style: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: #e0e0e0;
  margin-bottom: 8px;
}

.sectiontitle {
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 8px;
}

#presetId {
  width: 200px;
}

#HelpButtonId {
  width: 28px;
}

/***** info panel *****/

.infopanel {
  width: 260px;
  padding: 4px;
  border-style: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: #e0e0e0;
  margin-bottom: 8px;
}

.panelleft {
  float: left;
  width: 50%;
}

.panelright {
  float: left;
  width: 50%;
}

.infopanel:after {
  content: "";
  display: table;
  clear: both;
}

.pagecounter {
  position: absolute;
  right: 20px;
  top: 8px;
}

/***** model *****/

.model {
  float: left;
  width: 100%;
  height: 10px;
  text-align: center;
  margin-bottom: 8px;
}

/***** slider *****/

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  opacity: 0.7;
  width: 200px;
  height: 8px;
  border-radius: 4px;
  background: #d3d3d3;
  outline: none;
  -webkit-transition: .1s;
  transition: opacity .1s;
}

.slider:hover {
  opacity: 1;
}

.slider:disabled {
  opacity: 0.5;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

/***** button *****/

.button {
  opacity: 0.7;
  width: 75px;
  border-style: solid;
  border-width: 2px;
  border-color: #bcbcbc;
  border-radius: 4px;
  background: #d3d3d3;
  outline: none;
  -webkit-transition: .1s;
  transition: opacity .1s;
}

.button:hover {
  opacity: 1;
}

/***** tooltip *****/

.tooltip {
  position: relative;
}

.tooltip .tooltiptext {
  width: 280px;
  padding: 4px 4px;
  text-align: left;
  border-style: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: #bcbcbc;
  background: #ffffe0;
  position: absolute;
  z-index: 1;
  top: -5%;
  right: 102%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-style: solid;
  border-width: 5px;
  border-color: transparent transparent transparent #bcbcbc;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/***** help window *****/

.help-back {
  display: none; /* hidden by default */
  position: fixed; /* stay in place */
  z-index: 1; /* sit on top */
  padding-top: 40px; /* location of the box */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.75); /* black with opacity */
}

.help-content {
  margin: auto;
  padding: 40px;
  width: 80%;
  background-color: #fefefe;
}

.help-table {
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
}

.help-close {
  color: #d3d3d3;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.help-close:hover,
.help-close:focus {
  color: #3f3f3f;
  text-decoration: none;
  cursor: pointer;
}
