@media (min-width: 768px) {
  #dm-outer-wrapper.dm-layout-home #flex-header,
  #dm-outer-wrapper.dm-layout-home #flex-header[data-sticky],
  #dm-outer-wrapper.dm-layout-home #flex-header[data-overlapping-common=true],
  #dm-outer-wrapper.dm-layout-home #flex-header[data-overlapping-common=true][data-sticky] {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  body.bluebird-scrolled #dm-outer-wrapper.dm-layout-home #flex-header,
  body.bluebird-scrolled #dm-outer-wrapper.dm-layout-home #flex-header[data-sticky],
  body.bluebird-scrolled #dm-outer-wrapper.dm-layout-home #flex-header[data-overlapping-common=true],
  body.bluebird-scrolled #dm-outer-wrapper.dm-layout-home #flex-header[data-overlapping-common=true][data-sticky] {
    background: #446d91 !important;
    background-image: none !important;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18) !important;
  }

  #dm-outer-wrapper.dm-layout-home #flex-header #bd946f29 {
    background: #323a45 !important;
  }
}

@media (max-width: 767px) {
  #flex-header,
  #flex-header[data-sticky],
  #flex-header[data-overlapping-common=true],
  #flex-header[data-overlapping-common=true][data-sticky],
  #dm .dmInner #flex-header {
    background: rgba(50, 58, 69, 0.96) !important;
    background-image: none !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: saturate(120%) blur(4px);
  }

  body.bluebird-scrolled #flex-header,
  body.bluebird-menu-open #flex-header {
    background: rgba(50, 58, 69, 1) !important;
  }

  body.bluebird-menu-open {
    overflow: hidden !important;
  }

  #flex-header .hamburgerButton svg,
  #flex-header .hamburgerButton svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
  }

  #flex-header .dmButtonLink.flexButton[href^="tel:"],
  #flex-header .dmButtonLink.flexButton[href="/request-form-page"],
  #flex-header .dmButtonLink.flexButton[href*="request-form-page"] {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
  }

  #flex-header .dmButtonLink.flexButton[href^="tel:"] *,
  #flex-header .dmButtonLink.flexButton[href="/request-form-page"] *,
  #flex-header .dmButtonLink.flexButton[href*="request-form-page"] * {
    color: #323a45 !important;
    fill: #323a45 !important;
  }
}

body.bluebird-menu-open #hamburger-drawer.layout-drawer {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translate(0, 0) !important;
  z-index: 10010 !important;
  pointer-events: auto !important;
}

body.bluebird-menu-open #layout-drawer-overlay.layout-drawer-overlay,
body.bluebird-menu-open .layout-drawer-overlay {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
}

#hamburger-drawer.layout-drawer {
  transition: transform 220ms ease, opacity 220ms ease !important;
}

.bluebird-gallery-repaired a[data-image-url] {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.bluebird-gallery-repaired .photoGalleryThumbs,
.bluebird-gallery-repaired .thumbnailInnerWrapper,
.bluebird-gallery-repaired .image-container,
.bluebird-gallery-repaired a[data-image-url] {
  min-height: 1px;
}

.bluebird-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.bluebird-video-modal.is-open {
  display: flex;
}

.bluebird-video-dialog {
  width: min(92vw, 680px);
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.bluebird-video-visual {
  position: relative;
  min-height: 220px;
  background: #323a45 center / cover no-repeat;
}

.bluebird-video-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
}

.bluebird-video-body {
  padding: 22px;
  color: #17202a;
  font-family: Arial, Helvetica, sans-serif;
}

.bluebird-video-body h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.bluebird-video-body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
}

.bluebird-video-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bluebird-video-actions a,
.bluebird-video-actions button {
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.bluebird-video-actions a {
  color: #ffffff;
  background: #59894e;
}

.bluebird-video-actions button {
  color: #17202a;
  background: #e8edf3;
}
