

   /* =========================================================
   EVENT CONTACT POPUP
   ========================================================= */

#eventContactOverlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 999999;

    padding: 15px;
    box-sizing: border-box;
}

#eventContactPopup {
    position: relative;

    width: 500px;
    max-width: calc(100vw - 30px);

    /*
     * Keep the complete popup inside the browser viewport.
     * No popup scrollbar.
     */
    max-height: calc(100vh - 30px);

    background: #ffffff;
    border-radius: 16px;

    box-sizing: border-box;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   HEADER
   ========================================================= */

.event-contact-header {
    padding: 22px 42px 18px;
    border-bottom: 1px solid #eeeeee;

    position: relative;
}

.event-contact-header h2 {
    margin: 0 55px 6px 0;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 400;

    color: #111111;
}

.event-contact-header p {
    margin: 0;

    font-size: 16px;
    line-height: 1.5;

    color: #777777;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

#eventContactClose {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 44px !important;
    height: 44px !important;

    min-width: 44px !important;
    min-height: 44px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: #f5f5f5 !important;

    color: #555555 !important;

    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 300 !important;

    line-height: 44px !important;
    text-align: center !important;

    cursor: pointer;

    box-sizing: border-box !important;

    z-index: 10;

    transition: all 0.2s ease;
}

#eventContactClose:hover {
    background: #eeeeee !important;
    color: #222222 !important;
}

.event-contact-close:hover {
    background: #eeeeee;
}


/* =========================================================
   FORM
   ========================================================= */

#eventContactForm {
    padding: 20px 42px 22px;
    box-sizing: border-box;
}

.event-contact-field {
    margin-bottom: 13px;
}

.event-contact-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 16px;
    line-height: 1.3;

    color: #111111;
}

.event-contact-required {
    color: #c62828;
}

.event-contact-field input,
.event-contact-field textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d8d8d8;
    border-radius: 9px;

    background: #ffffff;

    color: #222222;

    font-family: inherit;
    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.event-contact-field input {
    height: 50px;
    padding: 0 17px;
}

.event-contact-field textarea {
    height: 85px;
    padding: 12px 17px;

    resize: none;
}

.event-contact-field input::placeholder,
.event-contact-field textarea::placeholder {
    color: #8a8a8a;
}

.event-contact-field input:focus,
.event-contact-field textarea:focus {
    border-color: #888888;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   ERROR MESSAGE
   ========================================================= */

.event-contact-error {
    display: none;

    margin-top: 6px;

    font-size: 13px;
    color: #c62828;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

#eventContactSubmit {
    width: 100%;
    height: 48px;

    margin-top: 2px;

    border: none;
    border-radius: 8px;

    background: #202020;
    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

#eventContactSubmit:hover {
    background: #000000;
}

#eventContactSubmit:active {
    transform: translateY(1px);
}


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

#eventContactSuccess {
    display: none;

    padding: 55px 42px 60px;

    text-align: center;
}

#eventContactSuccess h3 {
    margin: 0 0 12px;

    font-size: 28px;
    font-weight: 400;

    color: #111111;
}

#eventContactSuccess p {
    margin: 0;

    font-size: 16px;
    line-height: 1.6;

    color: #777777;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {



    #eventContactOverlay {
        padding: 10px;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

   #eventContactPopup {
    width: 100%;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);

    margin: 0;

    border-radius: 13px;

    overflow: hidden;
}

    .event-contact-header {
        padding: 24px 22px 20px;
    }

    .event-contact-header h2 {
        font-size: 25px;
        margin-right: 45px;
    }

    .event-contact-header p {
        font-size: 14px;
    }

    .event-contact-close {
        top: 17px;
        right: 17px;

        width: 40px;
        height: 40px;

        line-height: 40px;
        font-size: 24px;
    }

    #eventContactForm {
    padding: 18px 22px 20px;
}

.event-contact-field {
    margin-bottom: 13px;
}

.event-contact-field input {
    height: 48px;
}

.event-contact-field textarea {
    height: 80px;
}

    #eventContactSubmit {
        height: 50px;
    }
}


