body {
  display: flex;
}

#map,
#map-overlay {
  height: 100%;
  width: 100%;
  z-index: 0;
}
#contour-map, #map-overlay {
  max-height: 90%;
}
#contour-map > img {
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
}

#full-screen-btn:hover {
  filter: brightness(95%);
}

.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: rgba(255, 255, 255, 0.911);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow-y: auto;
  max-height: 70vh;
  text-align: center;
}
.info h4 {
  margin: 0 0 5px;
  color: #777;
}
.info span {
  color: #777;
  font-weight: bold;
}
.info table {
  text-align: left;
  border-collapse: separate;
  border-spacing: 12px 0px;
}

.legend {
  color: #555;
  text-align: left;
  display: inline-flex;
  flex-direction: column;
}
.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

#map-panel {
  display: inline-flex;
  flex-direction: column;
  background-color: white;
  justify-content: center;
  border-top: 2px solid #dbdbdb;
  width: 100%;
  align-items: center;
  padding: 1.5%;
  margin: 1.5%;
  padding-bottom: 1%;
  padding-top: 1%;
}
#map-header {
  width: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  padding-bottom: 0.5%;
}

#map-footer {
  width: 100%;
  align-self: flex-end;
}
.map-footer-btn {
  color: white;
  border: none;
  background-color: #0071e3;
  border-radius: 20px;
  padding: 4px 11px 4px 11px;
  margin-top: 3px;
  margin-right: 1%;
  float: left;
  font-size: smaller;
}
.map-footer-btn:hover {
  color: white;
}

#map-type-select {
  text-align-last: center;
  width: fit-content;
  margin-left: 1%;
  border: none;
  cursor: pointer;
  padding-top: 0;
  padding-bottom: 0;
}

.full-screen {
  position: fixed !important;
  width: 100vw !important;
  height: 100vh !important;
  top: 0;
  left: 0;
  border: 5px solid white;
}
#full-screen-btn {
  border: none;
  background-color: white;
  float: right;
  font-size: 22px;
}
.full-screen-btn-mode {
  position: fixed !important;
  border-top-left-radius: 10px;
  width: 35px;
  text-align: center;
  bottom: 5px;
  right: 0;
  padding: 0 !important;
  margin: 0 !important;
}

/* Leaflet Controls Button */
.leaflet-control-layers-toggle {
}
.leaflet-control-layers-expanded {
  text-align: left;
}
.leaflet-control-layers-expanded label {
  padding: 0;
  margin: 0;
}

/* Required to see overlaying heat maps */
.leaflet-zoom-hide {
  position: absolute !important;
}
