html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  position: fixed;
  overflow: hidden;
}

.map {
  height: 100%;
  width: 100%;
}

.hidden {
  display: none !important;
}

/* https://dev.to/_phzn/styling-range-sliders-with-css-4lgl */
#rainslider-button {
  display: inline-block;
}

#rainslider-content {
  display: inline-block;
}

#rainslider-container {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  /* padding: 5px 15px; */
  position: absolute;
  bottom: 70px;
  left: 10px;
  /* transform: translateX(-50%); */
  font-size: large;
}

#reload-container {
  position: absolute;
  bottom: 110px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  font-size: large;
}
#reload-container button {
  display: inline-block;
}

#rainslider {
  display: inline-block;
  width: 300px;
  /* width: 50vw; */
}

#rainslider-text {
  display: inline-block;
  font-weight: bold;
  width: 50px;
  margin-right: 10px;
  text-align: right;
}

/*
input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-moz-range-track {
  border: 1px solid black;
  background: white;
  height: 4px;
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb,
input[type="range"]::-moz-range-thumb {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: cornflowerblue;
  border: 1px solid black;
}
*/

#geolocation {
  position: absolute;
  right: 50px;
  top: 8px;
  font-size: 24pt;
}

button.active {
  color: red;
}

button.active.found {
  color: lime;
}

button {
  touch-action: manipulation;
}

#debug {
  position: absolute;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 2px;
  color: white;
  bottom: 8px;
  left: 8px;
  font-size: small;
}

.ol-scale-bar {
  left: unset;
  right: 30px;
  opacity: 0.8;
}

.ol-scale-step-text {
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000;
}

.ol-control.ol-zoom {
  left: unset;
  right: 8px;
}

.ol-control.layer-switcher {
  right: unset;
  top: 8px;
  left: 8px;
  font-size: small;
}

/*
.ol-control.layer-switcher.shown {
  max-height: 80vh;
  width: 250px;
}
*/
