@font-face {
    font-family: 'AlegreSans';
    src: url('../fonts/AlegreSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


.ays_image_window.ays-pb-modal_2.popup-container.ays-pb-bg-styles_2.ays-pb-border-mobile_2.fadeIn {
    max-width: 1006px;
    width: 100% !important;
    display: grid !important;
    place-content: center stretch;
    place-items: center stretch;
    grid-template-rows: 0 1fr 0;
}

.ays_content_box p {
    margin: 0 !important;
    font-size: 36px;
    font-family: 'AlegreSans';
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.5;
    padding: 0 15px;
}

.ays_content_box {
    padding: 0 !important;
    display: grid;
    place-items: center stretch;
    place-content: stretch;
    gap: 2em;
    grid-template-rows: 1fr 0fr 1fr;
}

.ays_content_box img {
    height: 140px;
    width: auto;
    object-fit: contain;
    margin: 0 !important;
}

.ays_content_box p a {
    font-family: "Saira Condensed", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    border: solid 1px var(--white);
    padding: 1em 2em;
}

.ays_image_window .ays_image_main, .ays_minimal_window .ays_minimal_main {
    overflow-y: visible !important;
    max-height: 100% !important;
}

.ays_image_window .ays_image_main .ays_image_content, .ays_lil_window .ays_lil_main .ays_lil_content, .ays_minimal_window .ays_minimal_main .ays_minimal_content {
    overflow: visible !important;
}

img.close_btn_img {
    transform: translate(-2px, 27px) !important;
}


@media(max-width: 980px) {
    .ays_content_box p {
        font-size: 28px;
    }
    .ays_content_box img {
        height: 100px;
    }
}