/* Runtime-only corrections for the static Enfold snapshots. */
html,
body.legacy-snapshot {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  overflow-y: scroll;
}

body.legacy-snapshot img {
  max-width: 100%;
  height: auto;
}

body.legacy-snapshot img[src$="asset-bd243f8377.bin"] {
  display: none !important;
}

body.legacy-snapshot .lazyload,
body.legacy-snapshot .lazyloading,
body.legacy-snapshot .lazyloaded {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Enfold normally reveals these through JavaScript animations. */
body.legacy-snapshot .container.av-section-cont-open,
body.legacy-snapshot .avia-slideshow-slide:first-child,
body.legacy-snapshot .avia_animate_when_visible,
body.legacy-snapshot .avia_animate_when_almost_visible,
body.legacy-snapshot .avia-icon-circles-inner,
body.legacy-snapshot .avia-icon-circles-icon-text {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.legacy-snapshot .avia-testimonial.avia-first-testimonial {
  opacity: 1;
  visibility: visible;
}

body.legacy-snapshot .avia-video .av-click-to-play-overlay {
  cursor: pointer;
  pointer-events: auto;
}

body.legacy-snapshot .avia-video[data-original_url*="gaoxTruZlWo"] .av-click-to-play-overlay {
  background: url("/assets/legacy/media/video-emotionale-abhaengigkeit.jpg") center / cover no-repeat !important;
}

body.legacy-snapshot .avia-video.is-playing .av-click-to-play-overlay {
  display: none !important;
}

body.legacy-snapshot .avia-slider-testimonials :where(.prev-slide, .next-slide) {
  opacity: 0.65 !important;
}

body.legacy-snapshot .avia-slider-testimonials :where(.prev-slide, .next-slide):is(:hover, :focus-visible) {
  opacity: 1 !important;
}

body.legacy-snapshot #BorlabsCookieBox,
body.legacy-snapshot #BorlabsCookieWidget,
body.legacy-snapshot .brlbs-cmpnt-container,
body.legacy-snapshot [id^="pum-"],
body.legacy-snapshot .pum-overlay,
body.legacy-snapshot .smush-detected-img,
body.legacy-snapshot template {
  display: none !important;
}

body.legacy-snapshot #signup-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  overflow-y: auto;
  background: rgb(20 9 17 / 78%);
}

body.legacy-snapshot #signup-popup.is-open {
  display: flex !important;
}

body.legacy-snapshot #signup-popup > div {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 20px 70px rgb(0 0 0 / 28%);
}

body.legacy-snapshot #popup-close,
body.legacy-snapshot #signup-popup .popup-close {
  cursor: pointer;
}

body.legacy-popup-open {
  overflow: hidden !important;
}

body.legacy-snapshot :where(input, textarea, select, button) {
  max-width: 100%;
}

body.legacy-snapshot :where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #aec017;
  outline-offset: 3px;
}

@media only screen and (max-width: 989px) {
  body.legacy-snapshot .container {
    width: min(100%, 1000px) !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.legacy-snapshot.legacy-menu-open #avia-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 10000 !important;
    display: block !important;
    width: min(92vw, 420px) !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 12px 0 !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgb(0 0 0 / 18%);
  }

  body.legacy-snapshot.legacy-menu-open #avia-menu > li {
    display: block !important;
    width: 100% !important;
  }

  body.legacy-snapshot.legacy-menu-open #avia-menu > li > a {
    display: block !important;
    min-height: 0 !important;
    padding: 12px 20px !important;
    line-height: 1.35 !important;
  }
}

@media only screen and (max-width: 767px) {
  body.legacy-snapshot:is(.page-id-26632, .page-id-25803) h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }

  body.legacy-snapshot .container,
  body.legacy-snapshot .content,
  body.legacy-snapshot .sidebar {
    padding-inline: 18px !important;
  }

  body.legacy-snapshot .av-layout-grid-container {
    display: block !important;
  }

  body.legacy-snapshot .flex_cell,
  body.legacy-snapshot .flex_column,
  body.legacy-snapshot .av_one_full,
  body.legacy-snapshot .av_one_half,
  body.legacy-snapshot .av_one_third,
  body.legacy-snapshot .av_two_third {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.legacy-snapshot #signup-popup {
    align-items: flex-start;
    padding: 12px;
  }

  body.legacy-snapshot #signup-popup > div {
    max-height: calc(100vh - 24px);
  }
}
