/**
 * Quote Form section ("Let's Discuss Your Project").
 *
 * Shared styles for the ss_quote_form module. These rules are the .ex-quote
 * block from assets/extrusions/fabricated-aluminum-extrusions.css, re-scoped
 * from .fabricated-extrusions-page to the module wrapper .ss-quote-form so the
 * section can be reused on any page.
 *
 * The .ex-quote-fields / -note / -submit classes come from the Contact Form 7
 * form markup itself, not from this template.
 */

.ss-quote-form .ex-quote {
    padding-top: 96px;
    scroll-margin-top: 170px;
}
.ss-quote-form .ex-quote-panel {
    position: relative;
    padding: 32px 20px;
    background: #f2f2f2;
}
.ss-quote-form .ex-quote-head {
    max-width: 750px;
    margin: 0 auto 32px;
    text-align: center;
}
.ss-quote-form .ex-quote-head h2 {
    color: #111;
    font-size: 30px;
}
.ss-quote-form .ex-quote-lede {
    margin-top: 16px;
    color: rgba(0, 0, 0, 0.65);
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.68;
}
.ss-quote-form .ex-quote-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}
.ss-quote-form .ex-quote-media {
    overflow: hidden;
    background: #111;
}
.ss-quote-form .ex-quote-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}
.ss-quote-form .ex-quote-form {
    position: relative;
    width: 100%;
}
.ss-quote-form .ex-quote-form .hidden-fields-container {
    display: none;
}
.ss-quote-form .ex-quote-form .ex-quote-fields {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}
.ss-quote-form .ex-quote-form .ex-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    color: #111;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 600;
}
.ss-quote-form .ex-quote-form .ex-field-full {
    position: relative;
    grid-column: 1 / -1;
}
.ss-quote-form .ex-quote-form .wpcf7-form-control-wrap {
    display: block;
}
.ss-quote-form .ex-quote-form br {
    display: none;
}
.ss-quote-form .ex-quote-form input.wpcf7-form-control,
.ss-quote-form .ex-quote-form textarea.wpcf7-form-control {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    color: #111;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: border-color 0.2s ease;
}
.ss-quote-form .ex-quote-form textarea.wpcf7-form-control {
    height: 72px;
    resize: vertical;
}
.ss-quote-form .ex-quote-form input.wpcf7-form-control:focus,
.ss-quote-form .ex-quote-form textarea.wpcf7-form-control:focus {
    border-color: #cf0005;
}
.ss-quote-form .ex-quote-form input[type="file"].wpcf7-form-control {
    padding: 8px 10px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}
.ss-quote-form .ex-quote-form input[type="file"].wpcf7-form-control::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    background: #ececec;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    color: #111;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.ss-quote-form .ex-quote-form .ex-field-hint {
    display: inline-block;
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.55);
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 400;
}
.ss-quote-form .ex-quote-submit {
    margin-top: 4px;
}
.ss-quote-form .ex-quote-form input.wpcf7-form-control.wpcf7-submit {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 13px 32px;
    background: #cf0005;
    border: 0;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ss-quote-form .ex-quote-form input.wpcf7-form-control.wpcf7-submit:hover,
.ss-quote-form .ex-quote-form input.wpcf7-form-control.wpcf7-submit:focus {
    background: #a80004;
}
.ss-quote-form .ex-quote-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #cf0005;
    font-size: 13px;
    font-weight: 400;
}
.ss-quote-form .ex-quote-form .wpcf7-response-output {
    margin-top: 20px;
    padding: 14px 18px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    color: #111;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    text-align: center;
}
.ss-quote-form .ex-quote-form form.sent .wpcf7-response-output {
    border-color: #2e8b41;
    color: #1f6b30;
}
.ss-quote-form .ex-quote-form form.failed .wpcf7-response-output,
.ss-quote-form .ex-quote-form form.aborted .wpcf7-response-output {
    border-color: #cf0005;
    color: #cf0005;
}
.ss-quote-form .ex-quote-note {
    margin-top: 5px;
    color: rgba(0, 0, 0, 0.55);
    font-family: "Lato", sans-serif;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

@media (min-width: 640px) {
    .ss-quote-form .ex-quote-form .ex-quote-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }
}

@media (min-width: 1024px) {
    .ss-quote-form .ex-quote-panel {
        padding: 40px;
    }
    .ss-quote-form .ex-quote-head h2 {
        font-size: 40px;
    }
    .ss-quote-form .ex-quote-lede {
        font-size: 17px;
        line-height: 1.72;
    }
    .ss-quote-form .ex-quote-body {
        grid-template-columns: 45fr 55fr;
        gap: 30px;
        align-items: stretch;
    }
    .ss-quote-form .ex-quote-media img {
        min-height: 100%;
    }
}

@media (max-width: 767px) {
    .ss-quote-form .ex-quote {
        padding-top: 64px;
        scroll-margin-top: 130px;
    }
    .ss-quote-form .ex-quote-panel {
        padding: 28px 16px;
    }
    .ss-quote-form .ex-quote-media img {
        min-height: 220px;
    }
}
