/* =========================================
   EVENT REGISTRATION MODAL
========================================= */

.event-registration-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event-registration-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.event-registration-box {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 8vh auto 0;
    background: #fff;
    z-index: 2;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    border-radius: 4px;
    overflow: hidden;
    animation: eventModalFadeIn 0.25s ease;
}

@keyframes eventModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-registration-content {
    padding: 40px;
}

.event-registration-content h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 500;
    color: #172c46;
}

.event-modal-event-title {
    margin-bottom: 25px;
    font-size: 17px;
    color: #d47a32;
    line-height: 1.5;
}

.event-registration-content label {
    display: block;
    margin-bottom: 7px;
    color: #172c46;
    font-weight: 500;
}

.event-registration-content .form-control {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: none;
    font-size: 15px;
    padding: 10px 14px;
}

.event-registration-content .form-control:focus {
    border-color: #d47a32;
    box-shadow: none;
}

.event-registration-content .form-group {
    margin-bottom: 20px;
}

.events-submit-btn {
    width: 100%;
    border: 0;
    background: #172c46;
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.events-submit-btn:hover {
    background: #d47a32;
}

.events-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.event-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 3;
    border: 0;
    background: transparent;
    color: #172c46;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.event-modal-close:hover {
    color: #d47a32;
}

#registrationMessage {
    margin-bottom: 15px;
}

.registration-success {
    padding: 12px 15px;
    background: #eaf7ed;
    color: #26733a;
    border: 1px solid #c8e8cf;
    margin-bottom: 15px;
}

.registration-error {
    padding: 12px 15px;
    background: #fff0f0;
    color: #a33a3a;
    border: 1px solid #f0cccc;
    margin-bottom: 15px;
}

/* Mobile */
@media (max-width: 600px) {

    .event-registration-box {
        width: 92%;
        margin-top: 5vh;
    }

    .event-registration-content {
        padding: 30px 22px;
    }

    .event-registration-content h2 {
        font-size: 25px;
    }
}