html{
  height: 100%;
}
body {
  width: 98%;
  height: 98%;
  /* background-color: #5474BF; */
  background-color: #213565;
  /* background: linear-gradient(to right, #213565, #07A7E1); */
}

.value {
  font-family: 'myFont-bold';
  font-size: 90%;
}

#dashboard {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 1vh 1vh 1vh 1vh;
}

#upper-div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 0px;
}

#this-map {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid white;
  border-radius: 10px;
  margin-bottom: 1vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 10;
}

#sidebar {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap:10px;
  z-index: 1000;
  order: 0;
}

#logo-actu {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: left;
  flex-direction: row;
  align-items: center;
  
  gap: 10px;
}

#logo-actu img {
  height: 60%;
  padding: 5px;
  margin-left: 10px;
}

#last-update {
  height: 50%;
  display: flex;
  align-items: center;
  text-align: center;
  background-color: #ffff;
  color: #257cc4;
  border-radius: 10px;
  font-size: 0.8vw;
  flex-direction: row;
  justify-content: center;
  padding: 2%;
  margin-right: 2%;
}

#sidebar-button {
  position: absolute;
  bottom: 50%;
  left: 5px;
  z-index: 1000;
  background: #ffff;
  border: none;
  cursor: pointer;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  margin-left: 0.5em;
  display: flex;
  align-items: center;
  z-index: 100000000;
  justify-content: center;
}

#sidebar-button img {
  max-width: 60%;
  max-height: 60%;
}


.side-elem {
  /*background-color: #DAEAF3; */
  /* border: solid 1px #213565; */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2%;
  gap: 10%;
  border-radius: 10px;
}

#close-sidebar {
  position: relative;
  margin-top: 5%;
  margin-right: 5%;
  align-self: flex-end;
  cursor: pointer;
  border: 1em;
  border-radius: 50%; 
  width: 25px;
  height: 25px;
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#close-sidebar img {
  max-width: 100%;
  max-height: 100%;
}

#isobands-sel-div {
  display: flex;
  flex-direction: row;
  gap:20px;
  height: 10%;
}

#var-selector-div {
  align-items: start;
  margin-top: 10%;
  height: 80%;
  margin-left: 8%;
}

#title-downscaling{
  display: flex;
  width: 90%;
  font-size: 1.5vw;
  align-self: center;
  justify-content: left;
  margin-top: 5%;
}

#sub-twp{
  display: flex;
  width: 90%;
  font-size: 0.8vw;
  align-self: center;
  color:rgba(255, 255, 255, 0.5);
  margin-top: -10px;
}

#coordinates{
  color:rgba(255, 255, 255, 0.7);
}

#top-selector{
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10%;
}

#checkboxes{
  display: flex;
  flex-direction: column;
  width: 60%;
  gap: 15px;
}

input[type="checkbox"] {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  opacity: 0.5;
  border-radius: 4px;
}

input[type="checkbox"]:checked {
  background-color: white;
  opacity: 1;
}

input[type="checkbox"]:checked::before {
  content: '\2713';
  color: #213565;
  font-size: 14px;
  line-height: 18px;
  opacity: 1;
  text-align: center;
}

label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.1vw;
}

#coord-div {
  text-align: center;
  border: none;
  background-color: #57a3dd45;
  align-content: center;
  width: 80%;
  height: 100%;
  padding: 2%;
  margin-right: 10%;
  border-radius: 10px;
}

#bot-selector {
  display: flex;
  align-items: center;
}

#radio-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#radio-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#value-map {
  font-family: "myFont-bold";
  font-size: 1.4vw;
}

.content-separator {
  height: 1px;
  width: 100%;
  background-color: white;
  margin-left: -5%;
}

#bottom-button {
  position: absolute;
  bottom: 1em;
  left: 50%;
  z-index: 1000;
  background: #ffff;
  border: none;
  cursor: pointer;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  margin-left: 1.5em;
  display: flex;
  align-items: center;
  z-index: 100000000;

  justify-content: center;
}

#bottom-button img {
  max-width: 60%;
  max-height: 60%;
}

#bottom-div {
  position: absolute;
  height: 10%;
  width: 80%;
  bottom: 5em;
  z-index: 100000;
}

#close-timeslider {
  position: relative;
  align-self: auto;
  color: white;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #213565;
  border-radius: 50%; 
  width: 2em;
  height: 2em;
  z-index: 1000;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
}

#close-timeslider img {
  max-width: 100%;
  max-height: 100%;
}

#bot-selector{
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10%;
}


#title-bottom {
  display: flex;
  flex-direction: column;
  z-index: 10000;
  position: absolute; 
  width: 30%;
  left: 5%; 
  bottom: 5%; 
}

#margincolor-1 {
  position: absolute;
  pointer-events: none;
  z-index: 10000;
  background: linear-gradient(to right, #213565 0%, #21356588 0.5vh, #07A7E100 20vw);
  width: 20.5%;
  /* width: 10vh; */
  height: 98.5%;
}
#margincolor-2 {
  position: absolute;
  pointer-events: none;
  z-index: 10000;
  background: linear-gradient(to top, #21356588 0.5vh, #07A7E100 40vh);
  /* height: 10vh; */
  height: 40.5%;

  width: 98.5%;
  bottom:0px
}

#logo-bot {
  width: 100%;
  height: 10%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5%;
  margin-bottom: -10%;
}

#logo-bot img {
  width: 35%;
}

#bot-update {
  display: flex;
  position: absolute;
  left:15px;
  align-items: center;
  text-align: center;
  background-color: #ffff;
  color: #257cc4;
  border-radius: 20px;
  font-size: 0.8vw;
  flex-direction: row;
  justify-content: center;
  padding: 5px;
  z-index: 10000;
  margin-top: 15px;
  margin-left: 15px;
}

#title-bot-downscaling{
  display: flex;
  font-size: 2.5vw;
}

#subtitle-twp{
  display: flex;
  font-size: 1.5vw;
  color:rgba(255, 255, 255, 0.8);
  margin-top: -10px;

}




.switch {
  position: relative;
  display: inline-block;
  width: 2.5vw;
  height: 1.5vw;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1vw;
  width: 1vw;
  left: 0.2vw;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #213565;
}

input:focus + .slider {
  box-shadow: 0 0 1px #213565;
}

input:checked + .slider:before {
  -webkit-transform: translateX(1vw);
  -ms-transform: translateX(1vw);
  transform: translateX(1vw);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#timeslider-div {
  background: #21346555 !important;
  border: none !important;
}

