body {
  margin: 0;
  font-family: sans-serif;
}

nav {
  white-space: nowrap;
  overflow-x: scroll;
  font-size: x-large;
  background-color: #333;
}

nav a {
  color: white;
  padding: 1em;
  text-decoration: none;
}

nav a:hover {
  background-color: #ddd;
  color: black;
}

section {
  margin: auto;
  max-width: 1180px;
}

#logo {
  float: right;
}

#map {
  position: fixed;
  width: 100%;
  top: 3.5em;
  bottom: 0;
}

ul {
  list-style-type: none;
  padding: 0;
}

input {
  vertical-align: bottom;
}

#close {
  display: none;
}

#close + label:before {
  font-size: x-large;
  content: "⊟ ";
  color: blue;
}

#close:checked + label:before {
  content: "⊞ ";
}

label {
  background: white;
}

#intro div {
  width: 46em;
  font-size: larger;
  background: white;
  overflow-y: auto;
  height: 50vh;
  resize: both;
}

#intro :checked + label + div {
  max-height: 0;
}

h1 {
  display: inline;
}

h1, h2 {
  font-size: medium;
}

label {
  font-size: medium;
}

.mapboxgl-popup-content {
  overflow-y: auto;
  padding-right: 5em;
  white-space: nowrap;
  max-height: 50vh;
}

.mapboxgl-popup-content i {
  background: lightyellow;
  display: inline-block;
  margin-top: 1em;
}

.active {
  background-color: #4caf50;
}

td {
  vertical-align: top;
  padding: 0 1em 0 0;
}
