/* Meal Time Ninja Form Popup */

.mealtime-form-popup-overlay {
    position: fixed !important;
    inset: 0 !important;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 15px 40px;
    background: rgba(0, 0, 0, 0.55);
    overflow-y: auto !important;
    z-index: 999999 !important;
}

.mealtime-form-popup-overlay.form-open {
    display: flex !important;
}

body.mealtime-form-popup-active {
    overflow: hidden;
}

.mealtime-form-popup-box {
    position: relative !important;
    width: min(650px, 100%);
    padding: 45px 30px 30px;
    background: #111;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    z-index: 1000000 !important;
}

/* Meal Time coloured stripe */
.mealtime-form-popup-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        #ef2b2d 0 6px,
        #111 6px 11px,
        #00a651 11px 17px,
        #111 17px 22px,
        #f47b20 22px 28px,
        #111 28px 33px
    );
    pointer-events: none;
    z-index: 1;
}

.mealtime-form-close {
    position: absolute;
    top: 13px;
    right: 10px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.mealtime-form-close:hover,
.mealtime-form-close:focus {
    color: #f47b20;
    background: transparent;
    outline: none;
}

.mealtime-form-popup-box h3 {
    margin: 0 0 25px;
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
    text-align: center;
}

.mealtime-form-popup-content {
    position: relative;
    color: #fff;
    z-index: 2;
}

.mealtime-form-popup-content .nf-form-content {
    max-width: none;
    padding: 0;
}

.mealtime-form-popup-content .nf-form-fields-required,
.mealtime-form-popup-content .nf-field-label label {
    color: #fff;
}

.mealtime-form-popup-content .nf-form-content input:not([type="button"]):not([type="submit"]),
.mealtime-form-popup-content .nf-form-content select,
.mealtime-form-popup-content .nf-form-content textarea {
    width: 100%;
    color: #111;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
}

.mealtime-form-popup-content .nf-form-content input:not([type="button"]):not([type="submit"]) {
    height: 46px;
}

.mealtime-form-popup-content .nf-form-content textarea {
    min-height: 120px;
}

.mealtime-form-popup-content .nf-form-content input[type="button"],
.mealtime-form-popup-content .nf-form-content input[type="submit"],
.mealtime-form-popup-content .nf-form-content button {
    min-height: 46px;
    padding: 10px 28px;
    color: #fff;
    background: #00a651;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.mealtime-form-popup-content .nf-form-content input[type="button"]:hover,
.mealtime-form-popup-content .nf-form-content input[type="submit"]:hover,
.mealtime-form-popup-content .nf-form-content button:hover {
    color: #fff;
    background: #f47b20;
}

.mealtime-form-popup-content .nf-error-msg,
.mealtime-form-popup-content .ninja-forms-req-symbol {
    color: #ff7373;
}

@media (max-width: 640px) {
    .mealtime-form-popup-overlay {
        padding-top: 40px;
    }

    .mealtime-form-popup-box {
        padding: 42px 20px 25px;
    }

    .mealtime-form-popup-box h3 {
        padding-right: 25px;
        padding-left: 25px;
        font-size: 24px;
    }
}