body {
  padding: 0;
  margin: 0;
}

html,
body,
#map {
  height: 100%;
  width: 100%;
}

html {
  color-scheme: dark;
}

#map {
  background: #0c0c0c;
}

.codes {
  font-weight: bold;
  color: #ffffff;
}

.map-overview .codes {
  display: none;
}

#map-status {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 90px;
  z-index: 1000;
  padding: 8px;
  background: #1c1c1c;
  color: #eee;
  font: 14px Arial, sans-serif;
}

.leaflet-control-layers-expanded {
  font-size: 14px;
}

.leaflet-control-layers,
.leaflet-bar a {
  background: #1c1c1c;
  color: #eee;
  border-color: #444;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
  background: #333;
  color: #fff;
}

.leaflet-control-attribution {
  max-width: calc(100vw - 20px);
  background: rgba(20, 20, 20, 0.9) !important;
  color: #ccc;
}

.leaflet-control-attribution a {
  color: #99c8e5;
}

.info {
  font: 32px Arial, Helvetica, sans-serif;
  color: white;
}
.info h4 {
  margin: 5px 0 5px;
}

/* https://codepen.io/haakseth/pen/KQbjdO */

/*Legend specific*/
.legend {
  padding: 6px 8px;
  font: 14px Helvetica, serif;
  background: rgba(25, 25, 25, 0.94);
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
  /*border-radius: 5px;*/
  line-height: 24px;
  color: #ddd;
  margin: 10px;
}
.legend h3 {
  text-align: center;
  font-size: 24px;
  margin: 2px 12px 8px;
  color: #eee;
}

.legend h4 {
  text-align: center;
  font-size: 16px;
  margin: 0px 0px 0px;
  color: #99c8e5;
}

.legend span {
  position: relative;
  bottom: 3px;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin: 0 8px 0 0;
  opacity: 0.7;
}

.legend i.icon {
  background-size: 18px;
  background-color: rgba(255, 255, 255, 1);
}

@media (max-width: 600px) {
  .legend {
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    padding: 4px 6px;
  }
  .legend h3 { font-size: 16px; margin: 2px 0 6px; }
  .legend h4 { font-size: 13px; }
  .legend i { width: 14px; height: 14px; }
}
