:root {
  --border: 1px solid rgba(255,255,255,0.5);
  --color: #3694d7;
}


html, body {
/*  height: 100vh;
*/
  color: #d4d4d4;
  background: #26272c;
}
html {
  height: 100%;
}
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;  
  display: flex;
  flex-direction: column;
  background: radial-gradient(#17539B, #000);
  font-family: Lato,HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
  font-weight: lighter;
  line-height: 1.5;
}
input, select, button {
  color: #d4d4d4;
  background: transparent;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}
input, select {
  border: none;
  border-bottom: var(--border);
}
button {
  border: var(--border);
  border-radius: 0px;
  cursor: pointer;
}
a img { border: none; }
* {
  box-sizing: border-box;
}

header {
  flex-shrink: 0;  
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 80px;
}
footer {
  /*
  margin-top: auto;
  */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 80px;
}

header .title {
  margin: 0 auto;
}

.main {
  flex: 1 0 auto;
  padding: 40px 100px;
}


.status {
  display: flex;
  gap: 10px 20px;
  justify-content: space-around;
  flex-wrap: wrap;
  height: max-content;
  border: var(--border);
  border-radius: 0px;
  padding: 10px 10px;
  margin-bottom: 20px;
  cursor: default;
}
.status__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
/*    width: 100%; */
}
.status__title {
  display: flex;
  flex-direction: row;
  text-transform: uppercase;
  color: rgba(200, 200, 200, 1);
  font-size: 14px;
  white-space: nowrap;
}
.status__value {
  display: flex;
  flex-direction: row;
  gap: 20px;

  text-align: center;
  white-space: nowrap;

  font-size: 20px;
}

.status__unit-fan .status__value {
  color: rgba(0, 250, 100, 1);
}
.status__unit-freezer .status__value {
  color: rgba(50, 250, 250, 1);
}
.status__unit-heater .status__value {
  color: rgba(250, 80, 100, 1);
}
.status__unit-temp_probe_high .status__value {
  color: rgba(200, 200, 200, 1);
}
.status__unit-temp_sensor_high .status__value {
  color: rgba(200, 200, 200, 1);
}
.status__unit-temp_probe_low .status__value {
  color: rgba(200, 200, 200, 1);
}
.status__unit-temp_sensor_low .status__value {
  color: rgba(200, 200, 200, 1);
}
.status__unit-temp_sensor_evaporator .status__value {
  color: rgba(200, 200, 200, 1);
}


.charts {
  width: 100%;
  overflow: hidden;
}

.chart__container {
  width: 100%;
  overflow: hidden;
  height: 540px;
  0border-top: 1px solid rgba(255, 255, 255, 0.1);
  0border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.chart {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-height: 540px;
  0border: 1px solid rgba(0, 255, 0, 0.1);
}

.chart {
  position: relative;
}

.chart__header {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
}


.chart__legend {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5px 10px;
  flex-wrap: wrap;
}

.legend__item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}
.legend__item:hover {
  cursor: pointer;
}
.legend__header {
  text-align: center;
  pointer-events:none;
  color: rgba(200, 200, 200, 1);
  font-size: 14px;
  width: 100%;
  padding: 5px;
  white-space: nowrap;
  border-bottom: 2px solid;
/*  text-transform: uppercase; */
}
.legend__item.disabled .legend__header {
  text-decoration: line-through;
  color: rgba(150, 150, 150, 1);
  border-color: rgba(150, 150, 150, 1) !important;
}
.legend__value {
  pointer-events:none;
  padding: 5px;
  font-size: 13px;
  white-space: nowrap;
}
.legend__item.disabled .legend__value {
  color: rgba(150, 150, 150, 1);
}

.chart__range button {
  width: 80px;
}
.chart__range button.hidden {
  display: none;
}

@media screen and (max-width: 920px) {
  .main {
    padding: 10px 10px;
  }
  .status__unit {
    min-width: 50px;
  }
  .status__title {
    font-size: 14px;
  }
  .status__value {
    font-size: 14px;
  }
  .legend__header {
    padding: 0px;
  }
  .legend__value {
    padding: 0px;
  }
  .chart__container {
    height: 320px;
  }
  .chart {
    min-height: 320px;
  }
}