* {
  font-family: 'Roboto', sans-serif;
}

.container {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

#map-container {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0px;
}

.fixed-top2 {
  margin-top: 56px;
}

.marker-icon {
  color: blue;
}

.photo {
  border: 2px solid #666;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 10px;
}

.meta {
  font-size: 12px;
  color: #666;
}

#add-info {
  position: fixed;
  top: 100px;
  width: 250px;
  z-index: 500;
  left: 50%;
  margin-left: -125px;
  text-align: center;
  opacity: 1.0;
}

#overzoom {
  position: fixed;
  top: 100px;
  width: 250px;
  z-index: 450;
  left: 50%;
  margin-left: -125px;
  text-align: center;
  opacity: 0.8;
}

#map {
  background: darkgray;
  display: block;
  position: absolute;
  height: auto;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 55px;
  margin-bottom: 50px;
}

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

.ctl {
  padding: 2px 10px 2px 10px;
  background: white;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  text-align: right;
}
.title {
  font-size: 18pt;
  font-weight: bold;
}
.src {
  font-size: 10pt;
}

#controls {
  width: 300px;
  border: 2px solid #888;
  padding: 5px 5px 10px 5px;
  border-radius: 5px;
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
}

#controls .btn {
  background-color: #00567e;
  border: 1px solid #00567e;
}

#controls ol {
  text-align: left;
}

#controls h1 {
  font-family: 'Pacifico', cursive;
  color: #912324;
  font-size: 28px;
  margin: 0 0 10px 0;
  text-align: center;
}

#controls h1 small {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  display: block;
  opacity: 0.8;
  color: #00567e;
  font-style: italic;
}

#controls .resetButton {
  opacity: 0.8;
}

.buttons {
  margin-top: 10px;
}

.place-marker {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.place-marker a {
  color: white;
  font-weight: bold;
}

#info-window {
  width: 80%;
  height: 400px;
  max-width: 600px;
  position: fixed;
  right: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
  min-height: 10em;
  margin-top: 20px;
  z-index: 200;
  background-color: white;
  border: 3px solid #666;
  border-radius: 5px;
  padding: 20px;
  overflow: auto;
}

#info-window img {
  max-height: 200px;
  border: 2px solid #666;
  border-radius: 5px;
  display: block;
}

#info-window h1 {
  color: #912324;
  font-size: 26px;
  font-weight: bold;
}

#info-window h3 {
  font-size: 12px;
  color: #888;
  font-weight: normal;
}

/* Popups */
.popup-tip-anchor {
  height: 0;
  position: absolute;
  width: 200px;
}
.popup-bubble-anchor {
  position: absolute;
  width: 100%;
  bottom: 8px;
  left: 0;
}
.popup-bubble-anchor::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #00567e;
}
.popup-bubble-content {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -100%);
  background-color: #00567e;
  padding: 5px;
  border-radius: 5px;
  font-family: sans-serif;
  overflow-y: auto;
  max-height: 60px;
  box-shadow: 0px 2px 5px 1px rgba(255,255,255,0.5);
}

.olControlMousePosition {
  background-color: white;
  margin-bottom: 20px;
  margin-right: 20px;
  border: 1px solid #333;
  border-radius: 5px;
}

.non-map {
  padding-top: 80px;
}

.info-photo {
  width: 100%;
  border: 1px solid #666;
  border-radius: 5px;
  display: block;
  margin-top: 10px;
}

.leaflet-popup-content a {
  text-decoration: underline;
  font-size: 16px;
  font-weight: bold;
  text-transform: capitalize;
}

.card-photo {
  width: 100%;
  height: 200px;
  background-size: cover;
}

.pagination {
  justify-content: center;
}

@media only screen and (min-device-width: 768px) {
  #info-window {
    width: 90%;
  }

  #controls {
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
  }
}

@media only screen and (max-width: 600px) {
  #map {
    margin-top: 50px;
  }
}

/* Bootstrap 5 navbars have no side padding without an inner container */
.navbar {
  padding-left: 16px;
  padding-right: 16px;
}
