html,
body {
  height: 100%;
  margin: 0;
}

.leaflet-container {
  height: 100%;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}

#crosshair {
  left: calc(50% - 20px);
  top: calc(50% - 20px);
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 500;
  text-align: center;
  font-weight: normal;
  font-size: 16px;
  color: #f22;
  text-shadow: 1px 1px 3px #fff;
}

.legend {
  padding: 1rem;
  background: #fff;
  line-height: 18px;
}

.leaflet-bottom.leaflet-left .legend {
  clear: none;
}

.legend span {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.7;
  display: block;
  box-sizing: border-box;
}

.legend h3,
.legend h4,
.legend select {
  margin-top: 0rem;
  margin-bottom: 0.5rem;
}

.legend h4:not(:first-of-type) {
  margin-top: 0.5rem;
}

.legend div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.legend div:not(:last-of-type) {
  margin-bottom: 0.25rem;
}
