/* Events: community welcome card (template-parts/events-community-card.php) */

.events_bottom_card {
    background: url('https://www.parker.edu/wp-content/uploads/2022/08/ParkerSeminars_Dallas_100623_0478_ZL-1-scaled.jpg');
    background-repeat: no-repeat;
    display: grid;
    background-size: cover;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .events_bottom_card {
        min-height: 600px;
        grid-template-columns: 1fr 1fr;
        background-position: center center;
    }

    .elementor-background-overlay {
        position: absolute;
        background-color: #FFFFFFE0;
        right: 0px;
        height: 100%;
        width: 50%;
        top: 0px;
    }

    .container_margins {
        padding: 0px 10px !important;
    }
}

@media (max-width: 767px) {
    .events_bottom_card {
        grid-template-columns: 1fr;
        background-position: bottom;
    }

    .events_right_inner_card {
        background-color: #FFFFFFE0;
    }

    .empty_spacer {
        height: 250px;
    }

    .container_margins {
        padding: 10px !important;
    }
}

/* Contact modal */

.modal_ca_container {
    position: relative;
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
}

.modal_ca {
    position: fixed;
    top: 100px;
    height: 80vh;
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s linear;
    opacity: 0;
    z-index: 9998 !important;
    display: none;
    box-shadow: 0px 0px 0px 100000px rgba(0, 0, 0, 0.5);
}

.heading span {
    position: absolute;
    align-self: end;
    right: 20px;
    top: 3px;
}

.popin {
    display: block;
    opacity: 1 !important;
}

.cross {
    margin-left: auto;
    position: relative;
    height: 25px;
    width: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cross::before,
.cross::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    background-color: gray;
}

.cross::before {
    transform: rotate(45deg);
}

.cross::after {
    transform: rotate(-45deg);
}

.cross:hover::after,
.cross:hover::before {
    background-color: black !important;
}

.embed {
    overflow: auto !important;
}

.content {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content iframe {
    height: 80vh;
    border-radius: 4px;
    width: 100%;
    border: none;
}

#container {
    margin: 0px !important;
}

@media (min-width: 600px) {
    .modal_ca {
        width: 550px;
    }
}

@media (max-width: 599px) {
    .modal_ca {
        width: 95vw;
        margin: 0 2.5vw;
    }
}

/* Wufoo form inside the modal */
#form615 {
    overflow: auto !important;
    height: 86vh !important;
    padding: 10px !important;
}

.recaptcha-text {
    padding: 10px !important;
}

.fxo-widget-iframe {
    display: none;
}

