/* ==========================================================
   FORMS MODULE
   ========================================================== */

.forms_module {
    --forms-module-bg: #ffffff;
    --forms-module-color: #232426;
    --forms-module-accent: #b02020;
    --forms-module-decoration: #b02020;
    --forms-module-form-bg: transparent;
    --forms-module-form-color: #232426;
    --forms-module-submit-bg: #b02020;
    --forms-module-submit-color: #ffffff;
    --forms-module-submit-hover-bg: #232426;
    --forms-module-submit-hover-color: #ffffff;

    position: relative;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(
        --forms-module-bg
    );
    color: var(--forms-module-color);
}

.forms_module,
.forms_module * {
    box-sizing: border-box;
}


/* Section watermark
   ========================================================== */

.forms_module--has-watermark::before {
    position: absolute;
    z-index: 0;
    top: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 520 / 890;
    background-image: url(
        "/wp-content/uploads/2026/09/autosales-identity-icon2.png"
    );
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    opacity: 0.055;
    pointer-events: none;
}

.forms_module--dark.forms_module--has-watermark::before {
    filter: brightness(0) invert(1);
    opacity: 0.07;
}

.forms_module--watermark-left::before {
    right: auto;
    left: 0;
    transform: none;
}

.forms_module--watermark-center::before {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.forms_module--watermark-right::before {
    right: 0;
    left: auto;
    transform: none;
}


/* Module width
   ========================================================== */

.forms_module .text-wrapper {
    position: relative;
    z-index: 1;
    width: 90%;
    margin: 0 auto;
}

.forms_module--width-compact
.text-wrapper {
    max-width: 760px;
}

.forms_module--width-standard
.text-wrapper {
    max-width: 1100px;
}

.forms_module--width-wide
.text-wrapper {
    max-width: 1500px;
}


/* Module layout
   ========================================================== */

.forms_module .form-container {
    width: 100%;
}

.forms_module
.form-container.layout-side {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.forms_module
.form-container.layout-side
.form-content {
    width: 38%;
    flex: 0 0 38%;
}

.forms_module
.form-container.layout-side
.form-form {
    width: 62%;
    min-width: 0;
    flex: 1 1 auto;
}

.forms_module
.form-container.layout-stacked {
    display: block;
}

.forms_module
.form-container.layout-stacked
.form-content {
    max-width: 850px;
    margin-bottom: 42px;
}

.forms_module
.form-container.layout-stacked
.form-form {
    width: 100%;
}

.forms_module
.form-container:not(
    .form-container--has-content
)
.form-form {
    width: 100%;
    flex-basis: 100%;
}

.forms_module
.form-container--no-form
.form-content {
    width: 100%;
    max-width: 850px;
    flex-basis: 100%;
}


/* Introductory content
   ========================================================== */

.forms_module .form-content {
    color: var(--forms-module-color);
}

.forms_module .fc-title {
    position: relative;
    margin: 0 0 24px;
    padding-top: 18px;
    color: var(--forms-module-color);
    line-height: 1.15;
}

.forms_module .fc-title::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(
        --forms-module-decoration
    );
    content: "";
}

.forms_module .fc-text {
    color: var(--forms-module-color);
    line-height: 1.5;
}

.forms_module
.fc-text > :first-child {
    margin-top: 0;
}

.forms_module
.fc-text > :last-child {
    margin-bottom: 0;
}

.forms_module .fc-text p,
.forms_module .fc-text li {
    color: inherit;
}

.forms_module .fc-text a {
    color: var(--forms-module-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.forms_module .fc-text a:hover {
    text-decoration-thickness: 2px;
}

.forms_module
.fc-text a:focus-visible {
    outline: 3px solid var(
        --forms-module-accent
    );
    outline-offset: 3px;
}

.forms_module
.fc-text li::marker {
    color: var(--forms-module-accent);
}


/* Contextual Gravity Forms colours
   ========================================================== */

.forms_module .form-form {
    padding: 0;
    background-color: var(
        --forms-module-form-bg
    );
    color: var(
        --forms-module-form-color
    );
}

.forms_module .form-form__title {
    color: var(
        --forms-module-form-color
    );
}

.forms_module .gform_wrapper,
.forms_module
.gform_wrapper.gravity-theme {
    color: var(
        --forms-module-form-color
    );
}

.forms_module
.gform_wrapper .gform_title,
.forms_module
.gform_wrapper .gform_description,
.forms_module
.gform_wrapper
.gfield > .gfield_label,
.forms_module
.gform_wrapper
.ginput_complex label,
.forms_module
.gform_wrapper .gsection_title,
.forms_module
.gform_wrapper .gform_subtitle,
.forms_module
.gform_wrapper
.gfield_consent_label,
.forms_module
.gform_wrapper
.gform_required_legend,
.forms_module
.gform_wrapper
.gfield_description,
.forms_module
.gform_wrapper .instruction,
.forms_module
.gform_wrapper
.gform_fields .description,
.forms_module
.gform_wrapper
.gfield_checkbox label,
.forms_module
.gform_wrapper
.gfield_radio label,
.forms_module
.gform_wrapper
.ginput_container_consent
.gfield_consent_label,
.forms_module
.gform_confirmation_message {
    color: var(
        --forms-module-form-color
    );
}

.forms_module
.gform_wrapper .gfield_required,
.forms_module
.gform_wrapper a {
    color: var(
        --forms-module-form-color
    );
}

.forms_module
.gform_wrapper
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus-visible,
.forms_module
.gform_wrapper
textarea:focus-visible,
.forms_module
.gform_wrapper
select:focus-visible {
    border-color: var(
        --forms-module-form-color
    );
    outline-color: var(
        --forms-module-form-color
    );
}


/* Contextual Gravity Forms buttons
   ========================================================== */

.forms_module
.gform_wrapper .gform_button,
.forms_module
.gform_wrapper
input[type="submit"],
.forms_module
.gform_wrapper
button[type="submit"],
.forms_module
.gform_wrapper
.gform_previous_button,
.forms_module
.gform_wrapper
.gform_next_button {
    border-color: var(
        --forms-module-submit-bg
    );
    color: var(
        --forms-module-submit-color
    );
    background-color: var(
        --forms-module-submit-bg
    ) !important;
}

.forms_module
.gform_wrapper
.gform_button:hover,
.forms_module
.gform_wrapper
input[type="submit"]:hover,
.forms_module
.gform_wrapper
button[type="submit"]:hover,
.forms_module
.gform_wrapper
.gform_previous_button:hover,
.forms_module
.gform_wrapper
.gform_next_button:hover {
    border-color: var(
        --forms-module-submit-hover-bg
    );
    color: var(
        --forms-module-submit-hover-color
    ) !important;
    background-color: var(
        --forms-module-submit-hover-bg
    ) !important;
}

.forms_module
.gform_wrapper
.gform_button:focus-visible,
.forms_module
.gform_wrapper
input[type="submit"]:focus-visible,
.forms_module
.gform_wrapper
button[type="submit"]:focus-visible,
.forms_module
.gform_wrapper
.gform_previous_button:focus-visible,
.forms_module
.gform_wrapper
.gform_next_button:focus-visible {
    outline-color: var(
        --forms-module-color
    );
}


/*
 * All other Gravity Forms styling, including inputs,
 * validation messages and layout, is inherited from
 * the global Gravity Forms stylesheet.
 */


/* Tablet
   ========================================================== */

@media only screen and (max-width: 991px) {

    .forms_module .text-wrapper {
        width: 86%;
    }

    .forms_module
    .form-container.layout-side {
        gap: 50px;
    }

    .forms_module
    .form-container.layout-side
    .form-content {
        width: 40%;
        flex-basis: 40%;
    }

    .forms_module
    .form-container.layout-side
    .form-form {
        width: 60%;
    }

}


/* Mobile
   ========================================================== */

@media only screen and (max-width: 767px) {

    .forms_module .text-wrapper {
        width: 90%;
    }

    .forms_module
    .form-container.layout-side {
        display: block;
    }

    .forms_module
    .form-container.layout-side
    .form-content,
    .forms_module
    .form-container.layout-side
    .form-form {
        width: 100%;
    }

    .forms_module
    .form-container.layout-side
    .form-content {
        margin-bottom: 36px;
    }

    .forms_module
    .form-container.layout-stacked
    .form-content {
        margin-bottom: 36px;
    }

    .forms_module .form-form {
        padding: 28px 22px;
    }

}