/* Static migration safeguards and responsive repairs. The original production
   stylesheets remain the primary visual implementation. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body[data-static-migration] [data-static-form-shell] {
  display: block;
  height: auto !important;
  min-height: 100%;
}

body[data-static-migration] img,
body[data-static-migration] video,
body[data-static-migration] iframe {
  max-width: 100%;
}

body[data-static-migration] [data-animation],
body[data-static-migration] .animated {
  visibility: visible;
}

/* Stable static equivalent of the live Revolution Slider hero. */
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: calc(100vh - 60px);
  min-height: 560px;
  overflow: hidden;
  background: #171b1e;
}

.home-hero__video,
.home-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__video {
  z-index: -2;
  max-width: none !important;
  object-fit: cover;
}

.home-hero__overlay {
  z-index: -1;
  background: rgba(24, 28, 30, 0.53);
}

.home-hero__content {
  align-self: center;
  justify-self: center;
  width: min(1180px, calc(100% - 40px));
  color: #fff;
  text-align: center;
  transform: translateY(38px);
}

.home-hero__content h1,
.home-hero__content p {
  margin: 0;
  font-family: Raleway, "Open Sans", Helvetica, Arial, sans-serif;
  line-height: 1.08;
}

.home-hero__content h1 {
  color: #fff;
  font-size: clamp(42px, 4.9vw, 70px);
  font-weight: 800;
}

.home-hero__content p {
  margin-top: 12px;
  color: #ffd935;
  font-size: clamp(38px, 4.9vw, 70px);
  font-weight: 400;
}

.home-hero__button {
  display: inline-block;
  margin-top: 72px;
  padding: 18px 46px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: #fff !important;
  font-family: Raleway, "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.home-hero__button:hover,
.home-hero__button:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* The carousel was captured after Owl initialized. Reset transient transforms. */
.owl-carousel.static-carousel {
  display: block !important;
}

.owl-carousel.static-carousel .owl-stage-outer,
.owl-carousel.static-carousel .owl-stage {
  width: 100% !important;
  overflow: visible !important;
  transform: none !important;
}

.owl-carousel.static-carousel .owl-stage {
  display: block !important;
}

.owl-carousel.static-carousel .owl-item {
  display: none !important;
  width: 100% !important;
  margin-right: 0 !important;
}

.owl-carousel.static-carousel .owl-item.static-active {
  display: block !important;
}

.owl-carousel.static-carousel .owl-nav button,
.owl-carousel.static-carousel .owl-dots button {
  cursor: pointer;
}

#cookieNotify.static-dismissed {
  display: none !important;
}

/* Static replacement for the fancybox inline lightbox. */
.static-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.75);
}

.static-lightbox[hidden] {
  display: none;
}

.static-lightbox__panel {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 100%;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.static-lightbox__body {
  max-height: calc(100vh - 68px);
  overflow: auto;
}

.static-lightbox__body img {
  display: block;
  width: 100% !important;
  height: auto;
}

.static-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 22px;
  line-height: 32px;
  cursor: pointer;
}

html.static-lightbox-open {
  overflow: hidden;
}

body[data-static-migration] .static-form-note {
  margin: 14px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .home-hero {
    height: 400px;
    min-height: 400px;
  }

  .home-hero__content {
    width: min(100% - 32px, 680px);
    transform: none;
  }

  .home-hero__content h1 {
    font-size: clamp(30px, 7vw, 46px);
  }

  .home-hero__content p {
    margin-top: 8px;
    font-size: clamp(27px, 6.4vw, 40px);
  }

  .home-hero__button {
    margin-top: 42px;
    padding: 14px 30px;
    font-size: 14px;
  }

  #mainMenu nav {
    display: none !important;
  }

  #mainMenu.static-menu-open nav {
    display: block !important;
  }

  #mainMenu.static-menu-open {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  #mainMenu .dropdown-menu {
    display: none !important;
  }

  #mainMenu li.static-dropdown-open > .dropdown-menu {
    display: block !important;
  }

  #mainMenu li.dropdown > .toggle {
    cursor: pointer;
  }

  .row > [class*="col-"] {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .home-hero {
    height: 360px;
    min-height: 360px;
  }

  .home-hero__content {
    width: calc(100% - 28px);
  }

  .home-hero__content h1 {
    font-size: 28px;
  }

  .home-hero__content p {
    font-size: 25px;
  }

  .home-hero__button {
    margin-top: 34px;
    padding: 12px 24px;
    font-size: 12px;
  }

  body[data-static-migration] input,
  body[data-static-migration] select,
  body[data-static-migration] textarea {
    max-width: 100%;
  }

  body[data-static-migration] .container {
    max-width: 100%;
  }
}
