﻿
.overlay-cta {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

    .overlay-cta.is-open {
        display: flex;
    }

    .overlay-cta .overlay-content {
        background: #ffffff;
        max-width: 640px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        padding: 3rem 1.8rem;
        border-radius: 6px;
        position: relative;
    }


.overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}


.cta-modal__headline {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}


.cta-modal__cta {
    display: flex;
    justify-content: flex-end;
}

body.modal-open {
    overflow: hidden;
}


.cta-modal__button {
    font-size: 1.4rem;
    line-height: 1.07143;
    align-items: center;
    border: 0;
    border-radius: 2px;
    color: #fff;
    display: inline-flex;
    font-weight: 500;
    padding: 1rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}

.cta-modal__cta .button--tertiary {
    background-color: #fff;
    border: 1px solid #fff;
    color: #005093;
}

.cta-TextLink {
    color: #0078d4;
    text-decoration: underline;
}


@media (max-width: 480px) {
    .overlay-cta .overlay-content {
        padding: 1.5rem;
    }
}

