/*
Theme Name: Hello Elementor Child
Description: Custom child theme for Hello Elementor.
Author: Zero Two Digital
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* FOOTER GRAVITY FORM
----------------------------------------- */

.foot-form {
    --form-text: #ffffff;
    --form-field-bg: #ffffff;
    --form-field-text: #263238;
    --form-placeholder: #6e7882;
}

/* Form layout and spacing */
.foot-form .gform_fields {
    row-gap: 22px !important;
    column-gap: 18px !important;
}

/* Only style the labels that are actually visible */
.foot-form .gfield--type-date > .gfield_label,
.foot-form .gfield--type-date > legend,
.foot-form .gfield--type-captcha .gfield_label,
.foot-form .gfield--type-captcha legend {
    margin-bottom: 8px !important;
    color: var(--form-text) !important;
    font-family: "Corbel", sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
}

/* Focus state */
.foot-form input:focus,
.foot-form select:focus,
.foot-form textarea:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 1px #ffffff !important;
}

/* DATE FIELDS
----------------------------------------- */

/* Force check-in and check-out dates onto one row */
.foot-form #input_1_6,
.foot-form #input_1_7 {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
	margin-left:0px;
}

/* Override Gravity Forms' date-column widths */
.foot-form #input_1_6 > div,
.foot-form #input_1_7 > div {
    display: block !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Make each date input fill its column */
.foot-form #input_1_6 > div input,
.foot-form #input_1_7 > div input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px 10px !important;
}

/* Hide Month / Day / Year sublabels */
.foot-form #input_1_6 > div > label,
.foot-form #input_1_7 > div > label {
    display: none !important;
}

/* Remove number-field arrows */
.foot-form .ginput_container_date input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.foot-form
    .ginput_container_date
    input[type="number"]::-webkit-inner-spin-button,
.foot-form
    .ginput_container_date
    input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* TEXTAREA
----------------------------------------- */

.foot-form textarea {
    min-height: 130px !important;
    resize: vertical;
}

/* SUBMIT BUTTON
----------------------------------------- */

.foot-form .gform_footer {
    margin-top: 20px !important;
    padding: 0 !important;
}

.foot-form input[type="submit"],
.foot-form button[type="submit"] {
    min-height: 48px;
    margin: 0 !important;
    padding: 12px 28px !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: "Corbel", sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.foot-form input[type="submit"]:hover,
.foot-form button[type="submit"]:hover {
    background-color: #ffffff !important;
    color: #19351f !important;
}

/* VALIDATION
----------------------------------------- */

.foot-form .gfield_validation_message,
.foot-form .validation_message {
    margin-top: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffd2d2 !important;
    font-family: "Corbel", sans-serif !important;
    font-size: 14px !important;
}

.foot-form .gform_validation_errors {
    padding: 14px 18px !important;
    border: 1px solid #ffd2d2 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffd2d2 !important;
    box-shadow: none !important;
}

.foot-form .gform_validation_errors h2 {
    color: #ffd2d2 !important;
    font-family: "Corbel", sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
}

/* MOBILE
----------------------------------------- */

@media (max-width: 767px) {
    .foot-form .gform_fields {
        grid-template-columns: 1fr !important;
    }

    .foot-form .gfield {
        grid-column: 1 / -1 !important;
    }

    .foot-form #input_1_6,
    .foot-form #input_1_7 {
        gap: 8px !important;
    }

    .foot-form input[type="submit"],
    .foot-form button[type="submit"] {
        width: 100% !important;
    }
}