/* ================================================================
   QUOTE FORM - DATE INPUTS
   ================================================================ */

.quote-page .alco-form input[type="date"] {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid gray;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font: inherit;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.quote-page .alco-form input[type="date"]:focus {
    border-color: #ff515e;
    outline: 0;
    box-shadow:
        inset 0 1px 1px rgba(255, 81, 94, 0.075),
        0 0 8px rgba(255, 81, 94, 0.6);
}


/* ================================================================
   QUOTE PAGE - 60 / 40 DESKTOP LAYOUT
   ================================================================

   Desktop:

       60%                         40%
       -------------------------------
       Quote form          | Intro
                           |---------
                           | Image

   The quote form occupies the full left column.
   The introduction and image stack in the right column.
   ================================================================ */

.quote-page .quote-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 28px;
    align-items: start;
    margin: 0 0 30px;
}

.quote-page .quote-main-grid .quote-form {
    min-width: 0;
    width: 100%;
}

.quote-page .quote-layout__right {
    min-width: 0;
    width: 100%;
}

.quote-page .quote-layout__right .location-hero__content {
    min-width: 0;
    width: 100%;
}

.quote-page .quote-layout__right .location-hero__media {
    min-width: 0;
    width: 100%;
    margin: 20px 0 0;
}

.quote-page .quote-layout__right .location-hero__media img {
    display: block;
    width: 100%;
    height: auto;
}


/* ================================================================
   QUOTE PAGE - TABLET / MOBILE
   ================================================================

   On smaller screens the explanatory content appears first,
   followed by the image and then the quotation form.
   ================================================================ */

@media screen and (max-width: 850px) {

    .quote-page .quote-main-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .quote-page .quote-layout__right {
        order: 1;
    }

    .quote-page .quote-main-grid .quote-form {
        order: 2;
    }

}