/* ------------------------------------- FORM BANNER ------------------------------------- */

.form-banner {
    margin: 0;
    padding: 20px 0;
    width: 100%;
    display: flex;
    min-height: 400px;
    position: relative;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 5px;
}
.big-form-banner {
    min-height: 575px !important;
}

.form-banner.big-banner {
    min-height: 575px !important;
}

.form-banner::after {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    position: absolute;
    background-color: rgba(57, 19, 0, 0.3);
}

.form-banner-content-wrapper {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    max-width: 1300px;
    max-height: 410px;
    align-items: center;
    justify-content: space-between;
}

.dark-banner::after {
    background-color: rgba(57, 19, 0, 0.45);
}

.form-banner-content-wrapper * {
    z-index: 1;
}

.form-title-wrapper {
    width: 100%;
    max-width: 600px;
}

.form-banner-content-wrapper h1 {
    max-width: 500px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 4rem;
    text-align: center;
    letter-spacing: .05rem;
    color: white !important;
}


/* ------------------------------------- QUOTE FORM ------------------------------------- */

form.quote-form {
    width: 50%;
    height: auto;
    margin: 0 !important;
    background-color: white;
    transform: translateY(250px);
    transition: all 0.2s ease-in-out;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--default-border-color);
    border-radius: var(--default-border-radius);
}

.form-field {
    flex: 1;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-field input, .form-field select, .form-field textarea {
    height: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: var(--default-border-radius);
}

.address1 {
    flex: auto;
    width: 100% !important;
}

.marketing-consent {
    color: gray;
    margin: 0 auto;
    max-width: 475px;
    font-size: .6rem;
    text-align: center;
}

.quote-form-submit-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}
.quote-form-submit-container:focus {
    outline: unset !important;
    background-color: transparent !important;
}

.text-block {
    padding: 1.5rem;
}

.form-text-container {
    width: 100%;
    display: flex;
    max-width: 1300px;
    min-height: 350px;
    margin-bottom: 115px;
    align-items: center;
    justify-content: space-between;
}

.form-text-content {
    width: 100%;
    color: black;
    max-width: 600px;
    margin-top: 0 !important;
}

.form-text-spacer {
    width: 100%;
    min-width: 540px;
}


/* ------------------------------------- RESPONSIVE ------------------------------------- */

@media (max-width: 1260px) {
    .form-banner-content-wrapper {
        padding: 1.5rem;
        flex-direction: column;
    }

    form.quote-form {
        width: 100%;
        height: auto;
        transform: translateY(0);
    }

    .form-banner-content-wrapper h1 {
        font-size: 2.9rem;
        padding: 3rem 0 !important;
    }

    .form-text-container {
        width: 100%;
        flex-direction: column-reverse;
    }

    .form-text-spacer {
        width: 100%;
        height: 540px;
    }

    .form-text-spacer.form-has-message {
        width: 100%;
        height: 650px;
    }
}

@media (max-width: 768px) {
    .form-banner-content-wrapper h1 {
        font-size: 2rem;
    }

    form.quote-form h2 {
        font-size: 1.5rem;
    }

    .form-text-spacer {
        height: 500px;
    }

    .form-text-spacer.form-has-message {
        height: 600px;
    }
}

@media (max-width: 583px) {
    .form-text-spacer.form-has-message {
        height: 850px;
    }
}

@media (max-width: 543px) {
    .form-text-spacer {
        height: 750px;
    }
}

@media (max-width: 534px) {
    .form-text-spacer {
        height: 500px;
    }

    .form-banner-content-wrapper {
        padding: 0;
    }
}

@media (max-width: 495px) {
    .form-text-spacer {
        height: 750px;
    }

    .form-text-spacer.form-has-message {
        height: 900px;
    }
}

@media (max-width: 300px) {
    .quote-form {
        padding: 20px !important;
    }

    .form-text-spacer {
        height: 700px;
    }
}