/* Popup */
html .easy-popup-master {
    --ep-bg:rgba(0, 0, 0, .9);

    .nectar-flickity .flickity-prev-next-button.previous {
        left:10px;
    }
    .nectar-flickity .flickity-prev-next-button.next {
        right:10px;
    }

    .another-popup.ap--image-slider .ap-popup__items,
    .another-popup.ap--image-slider .ap-popup-img,
    .another-popup.ap--image-slider .ap-popup-img-bg {
        height:auto;
    }

    .another-popup.ap--image-slider .ep-close-button {right:0;}

    /* fix align arrow middle */
    .another-popup .flickity-slider {
        display:flex; align-items:center;
    }

    /* Ensure correct translateX for images in Flickity fade mode when opening popups https://github.com/viivue/another-popup/issues/25 */
    .another-popup.ap--image-slider .flickity-enabled.is-fade .ap-popup-img {
        transform:translateX(-50%) !important;
    }

    /* custom override transform nectar */
    @media only screen and (max-width:690px) {
        .another-popup.ap--image-slider .flickity-prev-next-button {
            transform:scale(.65) translateY(-50%);
        }
    }

    @media only screen and (max-width:999px) {
        .another-popup.ap--image-slider .flickity-prev-next-button {
            transform:scale(.75) translateY(-50%);
        }
    }
}