/*********************************************
 * Another popup - Custom
**********************************************/
/* general */
.easy-popup-content {border:1px solid #000;}

/* close button */
.ap-popup-content .close-popup {pointer-events:none;}
.easy-popup-inner > .ep-daiskin-close {opacity:0;}
.easy-popup-inner:has(.ep-daiskin-close:hover) .ap-popup-content .close-popup {text-decoration:underline;}

/* style form */
.another-popup.ap--form {
    --ep-radius:0px;
    --ep-padding:0px;
    --ep-max-width:1130px;
}
.another-popup.ap--form .easy-popup-content {padding:64px calc(var(--vii-spacing-gap-container) + 10px)}
.another-popup.ap--form .easy-popup-content:before {
    content:"";
    position:absolute; inset:10px; border:1px solid var(--vii-color-primary); pointer-events:none;
}
.another-popup.ap--form .gform_wrapper {background:rgba(0, 0, 0, 0); padding:0;}
.another-popup.ap--form .gform_wrapper:before {display:none;}
.another-popup.ap--form .ap-popup-content__text {margin-bottom:var(--vii-spacing-40);}
@media only screen and (max-width:767px) {
    .another-popup.ap--form .easy-popup-content {
        padding-top:36px;
        padding-bottom:36px;
    }
    .another-popup.ap--form .ap-popup-content__text {margin-bottom:28px;}
}

/* style image slider */
.another-popup.ap--images .ap-popup__slider .flickity-button {
    --flkt-color:var(--vii-color-white);
}
.another-popup.ap--images .ap-popup__slider .flickity-page-dots .dot:not(.is-selected) {
    background:rgba(255, 255, 255, .3);
}

.another-popup.ap--images .ap-popup__slider ol.flickity-page-dots {display:none;}

:root {--ep-bg:transparent; --ep-radius:0;--ep-image-mobile-aspect:4/4;}
.easy-popup-master {backdrop-filter:none;}
.easy-popup:not(.ap--text) .ap-popup-content__text {margin-bottom:var(--vii-spacing-24);}

/* style text */
.easy-popup.ap--text .easy-popup-content {padding:32px var(--ep-padding);}


/* close button */
.ep-close-button:not(.show) {opacity:0;}
.ep-daiskin-close {
    --ep-close-width:auto;
    --ep-close-color-hover:var(--vii-color-text);
    aspect-ratio:unset; padding:8px; font-size:13px; transform:none; z-index:10;
    transition:var(--vii-transition);
}
.ep-daiskin-close:hover {text-decoration:underline;}

/* promo */
.another-popup.ap--promo .ap-popup-content__col.content {margin-top:-11px;}
.another-popup.ap--promo .ap-popup-content__text > *:first-child {padding-right:70px;}
.another-popup.ap--promo .ep-daiskin-close {right:calc(var(--vii-spacing-24) - 8px); top:14px;}

@container ap--promo (min-width: 601px) {
    .another-popup.ap--promo {
        --ep-padding:0;
        --ep-max-width:1055px;

        .ap-popup-content {padding:var(--vii-spacing-24); align-items:flex-start}
        .ap-popup-content__col.image {width:347px;aspect-ratio:347/425; /* align-self:flex-start; */}
        .ap-popup-content__col.image img {height:100%;}
        .ap-popup-content__col.content {width:calc(100% - 347px); padding:0 0 0 24px;}
    }
}
@media only screen and (max-width: 920px) {
    .another-popup.ap--promo .ap-popup-content__text {
        --vii-size-h3:32px;
    }
    .another-popup.ap--promo .ap-popup-content__text > *:first-child {padding-right:50px;}
}
@container ap--promo (max-width: 600px) {
    .ap-popup-content__col.image {display:none !important;}
    .another-popup.ap--promo .ep-daiskin-close {top:9px; right:12px;}
}
@media only screen and (max-width: 480px) {
    .another-popup.ap--promo .ap-popup-content__text {
        --vii-size-h3:30px;
        --vii-size-body-large:16px;
    }
}