/****************************
 * Fancybox Custom CSS
*****************************/
/* fix layout shift */
body.compensate-for-scrollbar {margin-right:0 !important; overflow:visible !important;}


/* close button */
body .fancybox-content > .fancybox-button {
    background:none; color:#000; padding:3px;
    transition:all .3s ease; opacity:1;
}
body .fancybox-content > .fancybox-button:hover path {fill:#e60032;}
body .fancybox-slide:before {display:none;}


/* Fancybox Video */
body .fancybox-slide.fancybox-slide--video {}


/* Fancybox HTML > Text */
body .fancybox-slide.fancybox-slide--html {
    display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
}
body .fancybox-slide.fancybox-slide--html .fancybox-content {
    max-width:1280px !important; position:relative; overflow:visible;
    margin:45px 0; padding:45px;
}


/* Fancybox HTML > Map */
body .fancybox-slide.fancybox-slide--html .fancybox-content.fancybox-map {
    max-width:1024px !important; width:100vw; height:70vh; max-height:600px; padding:0;
}
body .fancybox-map.fancybox-content iframe {width:100%; height:100%;}


/****************************
 * Fancybox Custom CSS Responsive
*****************************/
@media only screen and (max-width:1024px) {
    /* Fancybox HTML > Text */
    body .fancybox-slide.fancybox-slide--html .fancybox-content {padding:20px;}
}


/* fix fading effect */
/*
body .fancybox-slide--image {transition:all .3s ease;}
body .fancybox-slide--image:not(.fancybox-slide--current) {opacity:0; visibility:hidden;}
*/