/* =========================================================
   VR NAVIGO ENQUIRY FORM
   ========================================================= */

.vrnavigo-enquiry-form {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.vrnavigo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 52px;
    row-gap: 20px;
}


/* =========================================================
   FIELD
   ========================================================= */

.vrnavigo-field {
    width: 100%;
}


/* =========================================================
   LABEL
   ========================================================= */

.vrnavigo-field label {
    display: block;
    margin-bottom: 8px;

    font-size: 17px;
    line-height: 1.4;
    font-weight: 400;

    color: #121212;
}

.vrnavigo-field label span {
    color: #e32626;
}


/* =========================================================
   INPUT / SELECT / TEXTAREA
   ========================================================= */

.vrnavigo-field input,
.vrnavigo-field select,
.vrnavigo-field textarea {
    width: 100%;
    box-sizing: border-box;

    /* BLACK BORDER */
    border: 1px solid #000000 !important;

    border-radius: 0;

    background: #ffffff;

    color: #333333;

    font-size: 16px;

    padding: 15px 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   FULL NAME AND EMAIL
   ========================================================= */

.vrnavigo-name-field,
.vrnavigo-email-field {
    grid-column: 1 / -1;
}


/* =========================================================
   INPUT HEIGHT
   ========================================================= */

.vrnavigo-field input,
.vrnavigo-field select {
    height: 50px;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.vrnavigo-field textarea {
    min-height: 150px;
    resize: vertical;
}


/* =========================================================
   FOCUS
   ========================================================= */

.vrnavigo-field input:focus,
.vrnavigo-field select:focus,
.vrnavigo-field textarea:focus {
    /* KEEP BORDER BLACK WHEN CLICKED */
    border-color: #000000 !important;

    /* REMOVE GREY/COLOURED GLOW */
    box-shadow: none !important;

    outline: none;
}


/* =========================================================
   FULL WIDTH FIELD
   ========================================================= */

.vrnavigo-full-width {
    grid-column: 1 / -1;
}


/* =========================================================
   SELECT
   ========================================================= */

.vrnavigo-field select {
    appearance: auto;
    cursor: pointer;
}


/* =========================================================
   ERROR
   ========================================================= */

.vrnavigo-error {
    display: none;

    margin-top: 5px;

    font-size: 13px;
    line-height: 1.4;

    color: #d32f2f;
}


/* RED BORDER WHEN THERE IS A VALIDATION ERROR */

.vrnavigo-field.vrnavigo-has-error input,
.vrnavigo-field.vrnavigo-has-error select,
.vrnavigo-field.vrnavigo-has-error textarea {
    border-color: #d32f2f !important;
}


.vrnavigo-field.vrnavigo-has-error .vrnavigo-error {
    display: block;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.vrnavigo-submit-wrapper {
    margin-top: 25px;
}


.vrnavigo-submit {
    position: relative;

    min-width: 170px;
    min-height: 52px;

    padding: 14px 28px;

    border: 0;
    border-radius: 0;

    background: #222222;
    color: #ffffff;

    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}


.vrnavigo-submit:hover {
    background: #000000;
}


.vrnavigo-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}


/* =========================================================
   LOADING TEXT
   ========================================================= */

.vrnavigo-submit-loading {
    display: none;
}


.vrnavigo-submit.is-loading .vrnavigo-submit-text {
    display: none;
}


.vrnavigo-submit.is-loading .vrnavigo-submit-loading {
    display: inline;
}


/* =========================================================
   RESPONSE
   ========================================================= */

.vrnavigo-response {
    display: none;

    margin-top: 20px;
    padding: 14px 18px;

    font-size: 15px;
    line-height: 1.5;
}


.vrnavigo-response.success {
    display: block;

    background: #edf8ef;
    border: 1px solid #b8dfbd;

    color: #27632a;
}


.vrnavigo-response.error {
    display: block;

    background: #fff0f0;
    border: 1px solid #edb8b8;

    color: #a32121;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.vrnavigo-hp-field {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vrnavigo-form-grid {
        grid-template-columns: 1fr;

        column-gap: 0;
        row-gap: 18px;
    }


    .vrnavigo-full-width {
        grid-column: auto;
    }


    .vrnavigo-field label {
        font-size: 16px;
    }


    .vrnavigo-field input,
    .vrnavigo-field select {
        height: 56px;
    }


    .vrnavigo-field textarea {
        min-height: 130px;
    }


    .vrnavigo-submit {
        width: 100%;
    }

}