/* Fall On Ray Media: overrides that replace behaviour the WordPress JS used to provide. */
.fr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.fr-banner { position: sticky; top: 0; z-index: 100000; padding: .9rem 1rem; text-align: center;
  font: 600 16px/1.4 Montserrat, Arial, sans-serif; color: #fff; }
.fr-banner-ok { background: #1f7a3a; }
.fr-banner-error { background: #a12a2a; }

/* Popups: Popup Maker CSS hides .pum; we show it with .fr-open. */
.pum.fr-open { display: block !important; opacity: 1 !important; visibility: visible !important;
  position: fixed; inset: 0; z-index: 99999; overflow-y: auto; background: rgba(0,0,0,.7); }
.pum.fr-open .pum-container { display: block !important; opacity: 1 !important; visibility: visible !important;
  position: relative !important; margin: 5vh auto !important; top: auto !important; left: auto !important; }
html.fr-noscroll { overflow: hidden; }

/* Mobile full-screen menu. */
html.fr-menu-open #mobile-fullscreen { display: block !important; opacity: 1 !important; visibility: visible !important; z-index: 99998; }
#mobile-fullscreen .fr-sub-open > .sub-menu { display: block !important; }

/* Desktop dropdowns without superfish. */
#site-navigation-wrap .dropdown-menu li:hover > .sub-menu,
#site-navigation-wrap .dropdown-menu li:focus-within > .sub-menu { display: block; visibility: visible; opacity: 1; }

/* Elementor entrance animations would wait for JS forever. */
.elementor-invisible { visibility: visible !important; }
.e-con.e-parent:not(.e-lazyloaded) { background-image: none; }

/* Carousels: Swiper replaced by scroll-snap. */
.fr-carousel .swiper-wrapper { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory;
  transform: none !important; scrollbar-width: none; }
.fr-carousel .swiper-wrapper::-webkit-scrollbar { display: none; }
.fr-carousel .swiper-slide { flex: 0 0 100%; scroll-snap-align: start; width: 100% !important; }
.elementor-swiper-button { cursor: pointer; z-index: 2; }

/* Lightbox. */
.fr-lightbox { position: fixed; inset: 0; z-index: 100001; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; }
.fr-lightbox img { max-width: 92vw; max-height: 88vh; box-shadow: 0 8px 40px rgba(0,0,0,.6); }
.fr-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px;
  line-height: 1; cursor: pointer; padding: 12px 18px; }
.fr-lb-close { top: 8px; right: 8px; }
.fr-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.fr-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

#scroll-top { display: none; }
#scroll-top.fr-show { display: block; opacity: 1; visibility: visible; }

.fr-total { font-weight: 700; font-size: 1.2em; }
