/* Small replacements for the original pagebuilder's runtime behavior. */
/* Cover preserves the photo's proportions and crops the edges on narrow screens. */
.bbalance-home .elementor-29 .elementor-element.elementor-element-855589e{background-image:url("media/home-background.jpeg");background-size:cover;background-position:center center;background-repeat:no-repeat;background-attachment:scroll}
.bbalance-home .elementor-156 .elementor-element.elementor-element-e509cb8:not(.elementor-motion-effects-element-type-background){background-image:none}
.elementor-invisible{visibility:visible}
.bb-standard{max-width:1100px;margin:60px auto;padding:0 30px}
.swiper-wrapper{height:auto}
.wdt-image-box-container .swiper-wrapper{display:flex;gap:40px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;transform:none!important}
.wdt-image-box-container .swiper-wrapper::-webkit-scrollbar{display:none}
.wdt-image-box-container .swiper-slide{width:calc((100% - 120px)/4)!important;flex:0 0 calc((100% - 120px)/4);scroll-snap-align:start}
@media(min-width:1541px){.wdt-image-box-container .swiper-wrapper{gap:70px}.wdt-image-box-container .swiper-slide{width:calc((100% - 210px)/4)!important;flex-basis:calc((100% - 210px)/4)}}
@media(max-width:1280px){.wdt-image-box-container .swiper-wrapper{gap:20px}.wdt-image-box-container .swiper-slide{width:calc((100% - 40px)/3)!important;flex-basis:calc((100% - 40px)/3)}}
@media(max-width:1024px){.wdt-image-box-container .swiper-slide{width:calc((100% - 20px)/2)!important;flex-basis:calc((100% - 20px)/2)}}
@media(max-width:767px){.wdt-image-box-container .swiper-wrapper{gap:10px}.wdt-image-box-container .swiper-slide{width:100%!important;flex-basis:100%}}
.bb-menu{box-sizing:border-box;position:fixed;inset:0 0 0 auto;width:300px;max-width:90vw;height:100dvh;max-height:100dvh;margin:0;border:0;padding:50px 0 0;background:#fff;color:#000;overflow-y:auto}
.bb-menu::backdrop{background:rgba(0,0,0,.5)}
.bb-menu nav{display:flex;flex-direction:column;gap:0}
.bb-menu nav a{box-sizing:border-box;display:block;height:43px;line-height:42px;padding:0 15px;color:#000;border-bottom:1px solid #f2f2f2;font-size:16px}
.bb-menu nav a[aria-current=page],.bb-menu nav a:hover{color:#fff;background:#738b69}
.bb-menu-close{position:absolute;top:0;right:0;width:50px;height:50px;color:#000;background:transparent!important;border:0!important;padding:0!important;line-height:50px;font-size:28px}
.bb-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#222;overflow:hidden auto}
.bb-dialog:not([open]){display:none}
.bb-dialog::backdrop{background:rgba(11,11,11,.8);backdrop-filter:blur(10px)}
.bb-dialog .mfp-content{height:100%;width:100%}
.bb-dialog .wpz-insta-lightbox-wrapper > .swiper > .swiper-wrapper{height:100%}
.bb-dialog .bb-photo-content{height:100%;width:100%}
.bb-dialog .wpz-insta-album-images,.bb-dialog .wpz-insta-album-image{height:100%}
.bb-dialog .wpz-insta-album-image{width:100%!important}
.bb-dialog .swiper-button-next,.bb-dialog .swiper-button-prev{cursor:pointer}
.bb-gallery-button{cursor:pointer}
@media(max-width:479px){.bb-menu{width:260px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.bb-dialog .mfp-close{pointer-events:all;position:absolute;top:0;right:0;width:44px;height:44px;line-height:44px;margin:25px 15px 0 0;padding:0;border:0;background:transparent;color:#fff;font-size:50px;font-weight:100;font-family:Arial,Baskerville,monospace;text-align:center;opacity:.65;box-shadow:none;cursor:pointer}
.bb-dialog .mfp-close:hover{opacity:1;background:transparent}
html:has(.bb-dialog[open]){overflow:hidden}
.bb-dialog .swiper-button-prev,.bb-dialog .swiper-button-next{display:inline-block;margin:10px 0 0;padding:var(--wdtPadding_Btn);border-radius:var(--wdtRadius_Part);background-color:var(--wdtSecondaryColor);font-family:var(--wdtFontTypo_Base);font-size:clamp(.875rem,.8462rem + .1282vw,1rem);line-height:var(--wdtLineHeight_Ext)}

.bb-dialog .mfp-close{line-height:62.5px}

