/*MAP MODAL*/
body.modalOpen {
    overflow: hidden !important;
}

.modalOpener,
.modalCloser {
    cursor: pointer;
}

.modalBdrop {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    background-color: #111111cc;
    top: 0;
    left: 0;
    max-width: 100vw !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 600ms ease-in-out;
    margin: 0 !important;
    overflow: auto;
    z-index: 10000;
}

.modalShown.modalBdrop,
.modalFade.modalBdrop {
    display: flex;
    z-index: 1000000;
}

.modalShown.modalBdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    padding: 20px;
}

.modalCont {
    background-color: var(--wp--preset--color--base-1);
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    overflow: auto !important;
    max-height: 100%;
    width: 100%;
    border-radius: 20px;
    border: 12px solid var(--wp--preset--color--accent-2);
}

.modalHead {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    max-width: 100% !important;
    width: 100% !important;
}

.modalHead h2 {
    margin: 0 !important;
}

.modalBody {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--wp--preset--color--base-2);
}

.modalCont iframe {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}

.modalFooter {
    padding: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 100% !important;
    width: 100% !important;
}

.modalFooter span {
    position: relative;
    z-index: 1;
}

.modalOpener-1,
.modalOpener-2,
.modalOpener-3,
.modalOpener-4,
.modalOpener-5,
.modalOpener-6,
.modalCloser {
    cursor: pointer;
}

.modalHead .btn,
.modalFooter .btn {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--wp--preset--color--base-1);
    position: relative;
    overflow: hidden;
    border: none;
    padding: 18px 30px;
    border-radius: 35px;
    text-transform: uppercase;
}

.modalHead .btn {
    padding: 12px;
    font-size: 1.6em;
    width: 53px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    min-width: 53px;
}

.modalHead .btn::before,
.modalFooter .btn::before,
.modalHead .btn::after,
.modalFooter .btn::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 400ms ease-in-out;
}

.modalHead .btn::before,
.modalFooter .btn::before {
    background-color: var(--wp--preset--color--accent-1);
}

.modalHead .btn::after,
.modalFooter .btn::after {
    background-image: var(--wp--preset--gradient--custom-gradient-3);
}

.modalHead .btn:hover::after,
.modalFooter .btn:hover::after {
    opacity: 0;
}


.modalHead .btn span,
.modalFooter .btn span {
    z-index: 1;
    position: relative;
}

@media (max-width: 767.98px) {
    .modalShown.modalBdrop {
        padding: 0;
    }

    .modalCont {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .modalHead {
        padding-top: 30px;
    }

    .modalBody {
        max-height: 70%;
        flex-grow: 1;
    }

    .modalBody iframe {
        height: 100%;
    }

    .modalFooter {
        padding-bottom: 30px;
        align-items: flex-end;
    }
}