* {
  box-sizing: border-box;
  font-family: Roboto;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  max-height: 100vh;
  padding: 8px;
}

#map {
  flex-grow: 1;
  margin-bottom: 5ex;
  text-align: center;
}
#map svg {
  max-width: 96vw;
  max-height: 85vh;
  overflow: visible;
  padding: 0.5ex;
}

#controls {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 90px;
  position: relative;
}

#popup {
  background-color: white;
  border: 1px solid #222;
  box-shadow: 15px 15px 23px rgba(0, 0, 0, 0.4);
  display: none;
  position: fixed;
  padding: 1.5ex;
  text-align: center;
  z-index: 20;
}

#slider-background {
  height: 90px;
  object-fit: fill;
  position: absolute;
}

.thumb {
  z-index: 10;
}

.thumb:focus-visible {
  outline: none;
}

#a_label, #b_label {
  background-color: rgba(255, 255, 0, 0.5);
  border: 1px solid orange;
  font-size: small;
  padding: 3px;
  position: absolute;
  text-align: center;
}

.highlighted {
  stroke: #00000055 !important;
  stroke-width: 0.7px !important;
  z-index: 3;
}

.unit {
  color: #aaa;
  margin-left: 3px;
}

.muted_date {
  color: #999;
}

.incr {
  color: green;
}

.decr {
  color: red;
}
