/* ===== Pop-up Base ===== */

.wdt-popup-box-holder.mfp-bg,
.wdt-popup-box-holder.mfp-wrap { height: auto; bottom: 0; left: 0; right: 0; top: 0; width: auto; cursor: default; }

.wdt-popup-box-holder > .mfp-container { padding: 50px 20px; }

.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder {
    background-color: var(--wdt-elementor-color-white);
    height: -webkit-fit-content; height: -moz-fit-content; height: fit-content;
    margin: auto; max-width: 1200px; padding: 0; width: 100%;
    -webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero);
    -webkit-transition: var(--wdt-elementor-base-transition); transition: var(--wdt-elementor-base-transition); }

.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder .wdt-popup-box-content-inner {
    max-height: calc(80vh - 2*1.5em); overflow-y: auto; }

.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder .wdt-image-box-holder .wdt-content-item .wdt-content-media-group .wdt-social-icons-container ul.wdt-social-icons-list li a {
    width: 35px; height: 35px; background-color: var(--wdtTertiaryColor); color: var(--wdtHeadAltColor); }

.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder .wdt-image-box-holder .wdt-content-item .wdt-content-media-group .wdt-social-icons-container ul.wdt-social-icons-list li a:hover {
    background-color: var(--wdtPrimaryColor); color: var(--wdtAccentTxtColor); }


/* ===== Pop-Up - Close button ===== */

.wdt-popup-box-holder .wdt-popup-box-content-holder .mfp-close {
    margin: 0; font-size: 0; top: -1px; right: -1px; height: 60px; width: 60px; line-height: 60px;
    border-radius: var(--wdtRadius_Zero); -webkit-border-radius: var(--wdtRadius_Zero);
    -webkit-transform: none; transform: none; display: flex; align-items: center; justify-content: center; opacity: 1; }

.wdt-popup-box-holder .wdt-popup-box-content-holder .mfp-close:after {
    content: ''; position: absolute; width: 14px; height: 14px; background-color: currentColor; top: 0; right: 0; bottom: 0; left: 0;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M2.5,90.2L42.7,50L2.5,9.8l7.3-7.3L50,42.7L90.2,2.5l7.3,7.3L57.3,50l40.2,40.2l-7.3,7.3L50,57.3L9.8,97.5L2.5,90.2z'/%3E%3C/g%3E%3C/svg%3E%0A");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M2.5,90.2L42.7,50L2.5,9.8l7.3-7.3L50,42.7L90.2,2.5l7.3,7.3L57.3,50l40.2,40.2l-7.3,7.3L50,57.3L9.8,97.5L2.5,90.2z'/%3E%3C/g%3E%3C/svg%3E%0A");
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; 
    -webkit-mask-size: cover; mask-size: cover; -webkit-transition: var(--wdt-Livi-Transition); 
    transition: var(--wdt-Livi-Transition); margin: auto; }

.wdt-popup-box-holder .wdt-popup-box-content-holder .mfp-close {
    background-color: var(--wdtPrimaryColor); color: var(--wdtAccentTxtColor);
    background-color: transparent !important; 
    background-image: linear-gradient(0deg, rgba(var(--wdtPrimaryColorRgb), 1), rgba(var(--wdtPrimaryColorRgb), 1)), linear-gradient(0deg, rgba(var(--wdtPrimaryColorRgb), 1), rgba(var(--wdtPrimaryColorRgb), 1)), linear-gradient(0deg, rgba(var(--wdtPrimaryColorRgb), 1), rgba(var(--wdtPrimaryColorRgb), 1)), linear-gradient(0deg, rgba(var(--wdtPrimaryColorRgb), 1), rgba(var(--wdtPrimaryColorRgb), 1)); 
    background-repeat: no-repeat; background-size: calc(100% + 50px) 1px, 1px calc(100% + 50px); 
    background-position: 80% calc(0% + 0px), calc(100% + 0px) 80%, 25% calc(100% + 0px), calc(0% + 0px) 25%; 
    display: inline-flex; align-items: center; justify-content: center; border: 8px solid transparent !important; 
    -webkit-transition: var(--wdt-Livi-Transition); transition: var(--wdt-Livi-Transition); 
    transition-behavior: allow-discrete; backface-visibility: hidden; will-change: transform; 
    isolation: isolate; z-index: 1; margin: -8px; }

.wdt-popup-box-holder .wdt-popup-box-content-holder .mfp-close:hover {
    background-color: var(--wdtSecondaryColor); color: var(--wdtAccentTxtColor);
    background-color: transparent !important; background-image: linear-gradient(0deg, rgba(var(--wdtSecondaryColorRgb), 1), rgba(var(--wdtSecondaryColorRgb), 1)), linear-gradient(0deg, rgba(var(--wdtSecondaryColorRgb), 1), rgba(var(--wdtSecondaryColorRgb), 1)), linear-gradient(0deg, rgba(var(--wdtSecondaryColorRgb), 1), rgba(var(--wdtSecondaryColorRgb), 1)), linear-gradient(0deg, rgba(var(--wdtSecondaryColorRgb), 1), rgba(var(--wdtSecondaryColorRgb), 1)); 
    background-size: calc(100% + 0px) 1px, 1px calc(100% + 0px); }

.wdt-popup-box-holder .wdt-popup-box-content-holder .mfp-close:before {
    content: ""; position: absolute; width: 100%; height: 100%; top: 0; right: 0; bottom: 0; left: 0; 
    background-color: var(--wdtPrimaryColor); -webkit-transition: inherit; transition: inherit; z-index: -1; margin: auto; }

.wdt-popup-box-holder .wdt-popup-box-content-holder .mfp-close:hover:before { background-color: var(--wdtSecondaryColor); }

.wdt-popup-box-holder .mfp-close:empty { display: none; }


/* FadeIn Transform Effect */

.wdt-popup-box-holder .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder {
    opacity: 0;
    -webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg); 
    transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}

.wdt-popup-box-holder.mfp-ready .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder {
    opacity: 1;
    -webkit-transform: translateY(0) perspective(600px) rotateX(0);
    transform: translateY(0) perspective(600px) rotateX(0);
}

/* Pop-up None Style */
.wdt-popup-box-trigger-holder.wdt-popup-disable { display: none; }


/* ===== Scrollbar CSS ===== */

/* Firefox */
.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .wdt-popup-box-content-holder .wdt-popup-box-content-inner {
    -webkit-scrollbar-width: none; scrollbar-width: none; scrollbar-color: var(--wdtPrimaryColor) transparent;
}

/* Chrome, Edge, and Safari */
.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .wdt-popup-box-content-holder .wdt-popup-box-content-inner::-webkit-scrollbar {
    width: 0px; display: none;
}

.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .wdt-popup-box-content-holder .wdt-popup-box-content-inner::-webkit-scrollbar-track { background: transparent; }

.wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .wdt-popup-box-content-holder .wdt-popup-box-content-inner::-webkit-scrollbar-thumb { background-color: var(--wdtPrimaryColor); border-radius: 0px; }



/*--------------------------------------------------------------
	Responsive
--------------------------------------------------------------*/

@media only screen and (max-width: 1280px) {
    .wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder { max-width: 1050px; }
}

@media only screen and (max-width: 1024px) {
    .wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder { max-width: 850px; }
}

@media only screen and (max-width: 767px) {
    .wdt-popup-box-holder.mfp-wrap .mfp-container.mfp-inline-holder .mfp-content .wdt-popup-box-content-holder { max-width: 550px; }
}