#map {
  height: 680px;
}
/* Leaflet overrides */
.leaflet-popup-content {
  width: 280px;
  margin: 0 !important;
  line-height: 1.5 !important;
}
@media screen and (max-width: 700px) {
  .leaflet-popup-content {
    width: 220px !important;
  }
}
.leaflet-container a.leaflet-popup-close-button {
  font-size: 18px;
  padding: 8px 20px 0 0 !important;
  color: #eee;
}
.leaflet-container a.leaflet-popup-close-button:hover {
  color: #fff;
}
.leaflet-container .needs-contrast a.leaflet-popup-close-button {
  color: #888 !important;
}
.leaflet-container .needs-contrast a.leaflet-popup-close-button:hover {
  color: #555 !important;
}

/* Leaflet cluster */
.marker-cluster {
  background-color: #111 !important;
  height: 36px !important;
  width: 36px !important;
  border-radius: 18px;
}
.marker-cluster div {
  background-color: #222e44 !important;
  color: #fff;
  margin-top: 2px;
  margin-left: 2px;
  height: 32px !important;
  width: 32px !important;
  border-radius: 16px;
  font-size: 14px;
}
/*.marker-cluster span {
  line-height: 32px;
}*/

/* Leaflet additions */
.leaflet-popup-status {
  padding: 10px 15px;
  text-transform: uppercase;
}
.leaflet-popup-rounded-top {
  border-radius: 12px 12px 0 0;
}
.leaflet-popup-header {
  background: #f5f5f5;
  padding: 15px;
}
.leaflet-popup-header h5 {
  /*font-size: 1.4rem;*/
  font-weight: 300;
}
.leaflet-popup-body {
  padding: 15px 15px 20px;
}
.leaflet-popup-subtitle {
  text-transform: uppercase;
  font-size: 0.95rem;
}
.leaflet-popup-subtitle span {
  text-transform: none;
  color: #777;
  font-size: 0.8rem;
}
.leaflet-popup-body table {
  margin-bottom: 10px;
}
.leaflet-popup-body td {
  min-width: 25px;
}
span.leaflet-popup-unit {
  color: #666;
  margin-left: 4px;
  font-size: 0.9rem;
}
.leaflet-popup-body hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.leaflet-popup-body a {
  color: inherit;
}

.air-legend {
  line-height: 18px;
  padding: 6px 8px;
  font: 14px Arial, Helvetica, sans-serif;
  line-height: 16px;
  background: #fff;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: .25rem;
}
.air-legend table {
  font-size: 1rem;
}
.air-legend thead th {
  font-weight: 400;
  border-bottom: 2px solid #ddd;
  padding-top: 4px;
  padding-bottom: 2px;
}
.air-legend tbody tr:nth-child(3) td, .air-legend tbody tr:nth-child(6) td, .air-legend tbody tr:nth-child(9) td {
  border-bottom: 1px solid #ddd;
  padding-bottom: 3px;
}
.air-legend tbody tr:nth-child(1) td:nth-child(2), .air-legend tbody tr:nth-child(4) td:nth-child(2), .air-legend tbody tr:nth-child(7) td:nth-child(2), .air-legend tbody tr:nth-child(10) td:nth-child(2), .noise-legend tbody tr:nth-child(1) td:nth-child(1) {
  padding-top: 3px;
}
.legend-icon {
  width: 18px;
  height: 18px;
}
.air-legend #aqih-link-container {
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
}

.leaflet-attribution-flag {
  display: none !important;
}

.leaflet-control-layers {
  font-size: 1rem;
}
.leaflet-control-layers label {
  font-size: 1rem !important;
  margin-bottom: 0.1rem !important;
}
/*.leaflet-control-layers-selector {
  top: 0px !important;
}*/
/*.leaflet-control-layers .layer-map-marker {
  height: 22px;
  width: 22px;
  position: relative;
  top: -1px;
}*/
.leaflet-control-layers #map-overlay-radio-container {
  margin-bottom: 10px;
}
.leaflet-control-layers .control-layer-title {
  font-weight: bold;
  margin-bottom: 3px;
}
.leaflet-control-layers .control-layer-select {
  margin-bottom: 5px;
}

#networks-control-layer-title {
  margin-top: 10px;
}
#aqih-map-control-container {
  margin-top: 15px;
}
#nowcast-generated, #forecast-generated {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #666;
}
