/* eDigitalized V4.8.1 — scroll-only repair.
   Purpose: keep ONE native vertical scroll container on mobile.
   Do not change layout, design, menu, chat, blog or content. */
@media (max-width: 782px) {
  /* Root is the only vertical scrollport. Hiding X on the root is safe because
     Y is explicitly auto. */
  html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Never turn BODY into a second scrolling ancestor. `overflow-x:hidden`
     together with `overflow-y:visible` computes to an auto scroll container
     in browsers. Keep body visible/native and clip only where supported. */
  body,
  body.edigitalized-site {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    position: relative !important;
    touch-action: auto !important;
    overscroll-behavior-y: auto !important;
  }
  @supports (overflow: clip) {
    body,
    body.edigitalized-site {
      overflow-x: clip !important;
      overflow-y: visible !important;
    }
  }

  /* Menu is the only state allowed to lock the document. */
  body.edigitalized-site.menu-open {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    touch-action: none !important;
  }
  body.edigitalized-site.menu-open .overlay {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Fixed support shell must never own a page-sized touch region. */
  body.edigitalized-site > .ed-live-chat-v22 {
    pointer-events: none !important;
    touch-action: auto !important;
  }
  body.edigitalized-site > .ed-live-chat-v22 .ed-chat-actions,
  body.edigitalized-site > .ed-live-chat-v22 .ed-float-action,
  body.edigitalized-site > .ed-live-chat-v22 .ed-chat-panel {
    pointer-events: auto !important;
  }
}
