/* Static-hosting compatibility fixes. */

/* The original desktop header overlays the hero and compacts after scrolling. */
@media (min-width: 992px) {
  body.home .header.fixed:not(.shrink) {
    background-color: transparent !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    box-shadow: none !important;
  }

  body.home .header.fixed.shrink {
    background-color: rgba(129, 134, 140, 0.88) !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    box-shadow: 0 2px 10px rgba(13, 29, 49, 0.14);
  }
}

/* Keyless Google Maps embed, deliberately blocked from mouse/touch navigation. */
.static-google-map {
  overflow: hidden;
  background: #d8d5cd;
}

.static-map-frame,
.static-map-shield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.static-map-frame {
  border: 0;
  pointer-events: none;
}

.static-map-shield {
  z-index: 1;
  cursor: default;
}

.container.gmap-background .on-gmap {
  z-index: 3;
}

/* Waypoints from the old theme can leave footer elements permanently hidden. */
.footer,
.footer-meta {
  display: block !important;
  visibility: visible !important;
  position: relative;
  z-index: 2;
}

.footer .animated,
.footer [data-animation],
.footer .animated .fa {
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-meta {
  min-height: 250px;
}
