@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap");
/*
 * Remove all defualt whitespace
 */
* {
  padding: 0;
  margin: 0;
}

/*
 * Reset CSS Box model sizing calculations
 */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html,
* {
  font: 14px/1.5 "Roboto", sans-serif;
}
@media (min-width: 900px) {
  html,
  * {
    font-size: 14px;
  }
}
@media (min-width: 1200px) {
  html,
  * {
    font-size: 16px;
  }
}

body,
button,
input,
select,
option,
a {
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  font-weight: 800;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
  padding-bottom: 0.5em;
}

h1 {
  font-size: 2.8em;
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 1.2em;
}

h6 {
  font-size: 1em;
}

.page__heading {
  text-align: center;
  margin-top: 1rem;
}

body {
  background-color: rgb(254, 254, 229);
}

.content-container {
  max-width: 335px;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 600px) {
  .content-container {
    max-width: 640px;
  }
}
@media (min-width: 900px) {
  .content-container {
    max-width: 950px;
  }
}
@media (min-width: 1200px) {
  .content-container {
    max-width: 1290px;
  }
}

.flex-container {
  display: flex;
}
.flex-container--column {
  flex-flow: column wrap;
}
.flex-container--space-btw {
  justify-content: space-between;
}
.flex-container--space-even {
  justify-content: space-evenly;
}
.flex-container--centered {
  align-items: center;
  justify-content: center;
}
.flex-container--rg05 {
  row-gap: 0.5em;
}

.grid-container {
  display: grid;
}
.grid-container--centered {
  align-items: center;
}

.btn-holder {
  width: 100%;
  text-align: center;
}
.btn-submit {
  margin: 20px;
  margin: 20px;
  padding: 10px 50px;
  background-color: transparent;
  border: 5px solid black;
  border-radius: 5px;
}

.nav-btn {
  text-decoration: none;
  padding: 0em 2em;
  margin: 2em 0;
  border: 3px solid black;
  border-radius: 5px;
  color: black;
}

.site-navbar {
  background-color: rgb(254, 254, 229);
  padding: 0.3rem 0;
  border-bottom: 2px solid #919191;
}
.site-navbar__logo-container {
  align-items: center;
  flex: 1;
}
.site-navbar__logo {
  width: 10rem;
  height: 3rem;
  color: black;
}
.site-navbar__logo img {
  width: 100%;
}
.site-navbar__logo span {
  font-size: 1.8rem;
}
.site-navbar__nav-container {
  display: block;
  visibility: hidden;
  position: absolute;
}
.site-navbar__list {
  flex-flow: column;
  list-style: none outside;
  padding: 0;
  margin: 0;
}
.site-navbar__list__item {
  width: 100%;
  background-color: rgb(2, 13, 38);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  padding: 1em 1.5em;
  position: relative;
  align-self: center;
}
.site-navbar__list__item--current {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
}
.site-navbar__list__link {
  display: block;
  font: inherit;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
@media (min-width: 1200px) {
  .site-navbar .content-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  .site-navbar .menu-label {
    display: none;
  }
  .site-navbar__nav-container {
    visibility: visible;
    display: flex;
    flex-flow: row nowrap;
    position: relative;
  }
  .site-navbar__list {
    flex-flow: row nowrap;
    margin: 0;
    padding: 0;
  }
  .site-navbar__list__item {
    border: none;
    background-color: rgb(254, 254, 229);
    text-align: right;
    padding: 0;
    margin: 1em 0 1em 1.5em;
    font-size: 1.2em;
  }
  .site-navbar__list__item:not(:first-child) {
    border-left: 1px solid black;
  }
  .site-navbar__list__link {
    color: black;
    padding-left: 1.5em;
    transition: all 0.3s;
    white-space: nowrap;
  }
  .site-navbar__list__link:hover {
    transform: scale(1.1);
  }
}

svg {
  padding: 0;
}
svg path {
  fill: black;
}

.menu-label {
  transform: translateY(12%);
  margin-bottom: 5px;
}

.menu-btn {
  position: absolute;
  visibility: hidden;
  top: 0;
  left: 0;
}

.menu-btn + .site-navbar .menu-label {
  position: absolute;
  right: 0;
}
.menu-btn + .site-navbar .menu-label .open {
  display: none;
  margin-left: 24px;
  font-size: 1.8em;
}
.menu-btn + .site-navbar .menu-label .close {
  display: block;
  margin-left: 24px;
  font-size: 1.8em;
}

.menu-btn:checked + .site-navbar .menu-label {
  position: absolute;
}
.menu-btn:checked + .site-navbar .menu-label .open {
  display: block;
  color: black;
}
.menu-btn:checked + .site-navbar .menu-label .close {
  display: none;
}

.menu-btn:checked + .site-navbar .site-navbar__nav-container {
  visibility: visible;
  width: 100%;
  order: 1;
  padding: 0;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 10;
  background-color: rgb(37, 45, 57);
}

.timestamp {
  position: relative;
  text-align: left;
  padding: 1em;
  justify-content: space-between;
  grid-template-columns: 30% 30% 30%;
}
.timestamp .time-type,
.timestamp .time-cell {
  font-size: 1.2em;
}
.timestamp .current-time {
  padding-left: 1.6rem;
}
.timestamp .server-date {
  display: flex;
  width: 60%;
  justify-content: space-between;
}

.bg {
  display: inline-block;
}

.lang-options {
  text-align: center;
}

.en {
  display: none;
}

.lng-container {
  position: absolute;
  right: 30%;
}
@media (min-width: 1200px) {
  .lng-container {
    left: 30%;
  }
}

.lng-btn {
  cursor: pointer;
}

.act-lang {
  display: inline;
}

.data-container {
  border: 2px solid;
  border-radius: 5px;
  margin: 20px 0;
}
.data-container .data-name,
.data-container .data-value {
  font-size: 1.2rem;
  flex-basis: 50%;
  text-align: left;
  align-self: center;
  padding-left: 2rem;
}
.data-container .data-name {
  flex: 2;
}
.data-container .data-value {
  flex: 1;
}
.data-container .timestamp {
  grid-area: timestamp;
}

.lng-btn {
  background-color: transparent;
  border-radius: 5px;
  padding: 0.3rem;
}

.index-container {
  margin-top: 4%;
}

.hydro {
  grid-area: hydro;
}

.hg-index {
  grid-area: hg;
}

.data-row {
  background-color: #E6E6E6;
  margin: 3% 0;
  height: 4rem;
}
.data-row__heading {
  text-align: center;
  padding: 20px 20px 0px 20px;
  width: 100%;
}
.data-row__title {
  text-align: left;
  margin: 0.2em;
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
}

@media (min-width: 900px) {
  .index-container {
    padding: 0 2em;
    display: grid;
    grid-template-areas: "timestamp hg" "hydro hg";
    grid-column-gap: 15px;
    grid-template-rows: 45%;
  }
  .timestamp-container,
  .hydro {
    height: -moz-fit-content;
    height: fit-content;
  }
}
.form-title {
  text-align: center;
  width: 100%;
}
.form-title__inside {
  border-top: 1px solid black;
}

@media (min-width: 900px) {
  .hg-section {
    display: grid;
    grid-template-columns: 40% 40%;
    -moz-column-gap: 50px;
         column-gap: 50px;
    justify-content: center;
  }
}
.temp-hum-press {
  grid-area: temp;
}

.wind-solar {
  grid-area: wind;
}

.rain {
  grid-area: rain;
}

.batt {
  grid-area: batt;
}

.wind-direction {
  display: inline;
}

@media (min-width: 900px) {
  .weather-container {
    display: grid;
    grid-template-areas: "temp rain" "batt wind";
    grid-gap: 50px;
    justify-content: space-evenly;
    grid-template-columns: 40% 40%;
    grid-template-rows: 50%;
  }
}
.plot-params {
  margin-bottom: 50px;
  border: 2px solid black;
  padding: 0 2em;
  border-radius: 2em;
}
.plot-params__list {
  list-style: none outside;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  padding-bottom: 20px;
}
.plot-params__item {
  border: 2px solid black;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 5px;
  text-align: center;
  display: flex;
  align-items: center; /* Align checkbox and text vertically */
  gap: 10px;
}
.plot-params .form-title {
  padding: 20px;
}
.plot-params .form-dates {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  grid-gap: 3em;
}

.data-row__title {
  padding: 20px 0;
}

#layer1 {
  border-width: 1px;
  padding: 1px 4px;
}

#pTitle {
  text-align: center;
}

.legend {
  position: relative;
  bottom: -22px;
  z-index: 10;
}

.legend > label {
  padding: 2px 9px 2px 3px;
  color: #fff;
  font-weight: bold;
  font-family: "Open Sans", verdana, arial, sans-serif;
  font-size: 15px;
}

.inline {
  display: inline-block;
}

.container {
  display: inline-block;
  padding: 5px;
}

#pTitle {
  margin-bottom: 0;
}

#nav {
  font-size: 16px;
  text-align: center;
}

#date {
  font-weight: bold;
}

.arrow {
  font-size: 20px;
  line-height: 20px;
  padding: 3px 6px;
  margin: 3px;
  border: 3px solid #003366;
  border-radius: 20px;
  cursor: pointer;
}

.left-arrow {
  transform: rotate(180deg);
  margin-right: 40px;
}

.right-arrow {
  margin-left: 40px;
}

.inactive {
  cursor: default;
  color: #bbccaa;
  border-color: #bbccaa;
}

#pPlot, #uPlot {
  margin-right: 20px;
  position: relative;
}

#table {
  margin-top: 20px;
}

.graph-nav {
  display: flex;
  border-bottom: 2px solid rgb(0, 51, 102);
  padding: 1rem;
}

.graph-nav__list {
  display: flex;
  list-style: none;
  font-size: 1rem;
  font-weight: bold;
}

.graph-nav__item {
  text-decoration: none;
  margin: 0 4em 0 0;
  color: rgb(0, 51, 102);
  padding: 0.5em 1em;
}

.overview-title {
  text-align: center;
}

.active {
  border: 2px solid rgb(0, 51, 102);
  border-radius: 8px;
}

.hidden {
  visibility: hidden;
  /* position:absolute; */
  opacity: 0;
  max-height: 0;
}

.visible {
  visibility: visible;
  opacity: 1;
}

.zero-height {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
}

.full-height {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 1s ease;
}

.btn-container {
  width: 100%;
  margin: 15px;
}

.show-btn {
  padding: 10px;
  font-size: 1.2rem;
  background-color: transparent;
  border: 3px solid rgb(0, 51, 102);
  border-radius: 5px;
}

.day-date-input {
  margin: 1em;
}

/* .js-plotly-plot,
.plotly,
.plot-container,
.svg-container {
    width: 100% !important;
    max-width: none !important;
} */