﻿.slimline-banner {
  background-color: #ffbd59;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 30px;
  width: calc(100% - 60px);
  z-index: 4;
} 
.sticky-slimline-banner {
  position: fixed;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  transform: translate3d(0, -100%, 0);
  transition: transform 0.5s ease;
  will-change: transform;
}

@media (max-width: 1079px) {
  .sticky-slimline-banner {
    display: none !important;
  }
}

.sticky-slimline-banner.sticky {
  transform: translate3d(0, 64px, 0);
}
.slimline-banner .button {
  border: #FFF !important;
  color: #FFF !important;
}

.slimline-banner .button:after,
.slimline-banner .button:before {
  border-color: white !important;
  color: white !important;
}

@media (max-width: 800px) {
  .slimline-banner {
    text-align: center;
    flex-direction: column;
    gap: 5px;
  }
}

/* Reset CookieYes buttons back to plugin defaults */
.cky-consent-container button,
.cky-consent-container .cky-btn,
.cky-modal button,
.cky-modal .cky-btn {
  background: #38B2BD !important;
  color: #FFF !important;
  margin-left: 0px;
}

/* Kill theme pseudo-elements */
.cky-consent-container button::before,
.cky-consent-container button::after,
.cky-consent-container .cky-btn::before,
.cky-consent-container .cky-btn::after,
.cky-modal button::before,
.cky-modal button::after,
.cky-modal .cky-btn::before,
.cky-modal .cky-btn::after,
.cky-btn-revisit::before,
.cky-btn-revisit::after {
  content: none !important;
  display: none !important;
}

/* Full-width hero banner (banner_type = full-width) */
.banner.banner--full-width {
  box-sizing: border-box;
  min-height: 70vh;
  overflow: hidden;
  padding-bottom: 0px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.banner.banner--full-width::after {
  content: none !important;
  display: none !important;
}

.banner--full-width .banner__media {
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.banner--full-width .banner__video-frame,
.banner--full-width .banner__image-frame {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
}

.banner--full-width .banner__image-frame img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.banner--full-width .banner__video-frame iframe {
  background: transparent;
  border: 0;
  height: 115%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 115%;
}

.banner--full-width .banner__scrim {
  background: rgba(0, 0, 0, 0.35);
  background: linear-gradient(47deg,rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.banner--full-width .banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner--full-width .banner__copy {
  max-width: 100%;
  padding: 30px;
  margin-bottom: 30px;
}

.banner--full-width .section-headings .section-subtitle,
.banner--full-width .section-title.banner-heading,
.banner--full-width .button {
  color: #fff !important;
}

.banner--full-width .section-headings .section-subtitle {
  text-transform: none;
  font-size: 20px !important;
}

@media (min-width: 768px) {
  .banner--full-width {
    min-height: 85vh;
    padding-bottom: 64px;
  }

  .banner--full-width .banner__copy {
    max-width: 50%;
    margin-bottom: 0px;
  }
}
