.hero-left {
    max-width: 408px;
}

.hero-left img {
    right: -133px;
    top: 155px;
}

.hero .one-two-col-layout button {
    max-width: 100%;
    height: 80px;
}

.hero-quote .form-container #search_different_return_location:checked ~ label[for=search_different_return_location]:before {
    background-image: url("/images/icons/tick_green.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px auto
}

.hero-quote .form-container .input-container {
    max-width: 100%;
    margin-bottom: 16px;
    border-color: var(--zest-green);
}

.hero-quote .form-container {
    container-type: inline-size;
    container-name: quoteformWidth;
}


@container quoteformWidth (max-width: 400px) {
    .hero-quote .form-container .two-one-col-layout {
        display: flex;
        flex-direction: column;
    }

    .hero-quote .form-container .two-one-col-layout .button,
    .hero-quote .form-container .two-one-col-layout > div {
        width: 100%;
    }

    .hero-quote .form-container .two-one-col-layout {
        grid-gap: 0;
    }
}


.return-container .return input {
    height: 40px;
    z-index: 1;
    padding-top: 19px;
    cursor: default;
}

.return-container .return span {
    position: absolute;
    top: 24px;
}

@media (max-width: 1080px) {
    .hero-left img {
        display: none;
    }

}

@media (max-width: 480px) {

    .hero-quote.hero {
        background-image: none !important;
    }

    .hero-quote.hero > div {
        background-color: var(--zest-purple);
    }

}

.location.search_form__field--show_suggestions + .search_form__field_suggestions,
.location.search_form__field--show_suggestions + .search_form__field_suggestions,
.search_return_location_name {
    opacity: 1;
    visibility: visible;
    width: auto;
    min-width: 100%;
    max-width: 100%;
    white-space: nowrap;
    z-index: 2;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    left: 0;
    max-height: 226px;
    box-shadow: 0 2px 2px 1px #000;
    box-sizing: border-box;
    top: 77px;
    height: 177px;

}

.location.search_form__field--show_suggestions + .search_form__field_suggestions#return_suggestions {
    top: 102px;
    min-height: 226px;
}


.search_form__field_suggestions, .search_return_location_name {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 44px;
    max-height: 190px;
    background-color: #fff;
    border: 3px solid #2fec87;
    opacity: 0;
    visibility: hidden;
    overflow-y: scroll;
    font-size: 0;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.search_form__field_suggestions .loader,
.search_return_location_name .loader {
    left: 50%;
    display: none;
    width: 50px;
    margin-left: -25px;
}


.field_suggestions__suggestion mark,
.search_return_location_name mark {
    background-color: #ff0;
    color: #2d294b;
    font-weight: normal;
    font-style: normal;
}

mark {
    background: #ff0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

.field_suggestions__suggestion span {
    display: block;
    font-size: smaller;
}

.field_suggestions__suggestion {
    display: block;
    max-width: 100%;
    min-width: 100%;
    padding: 10px 20px 10px 52px;
    background-color: #fff;
    color: #2d294b;
    border: none;
    border-bottom: 1px solid #2fec87;
    font-family: "Clear Sans", Arial, Helvetica;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    line-height: 18px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.field_suggestions__suggestion:hover {
    background-color: var(--zest-confirm-muted);
    cursor: pointer;
}

.field_suggestions__suggestion::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 17px;
    display: block;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.field_suggestions__suggestion.field_suggestions__suggestion--airport::after {
    background-image: url(/images/icons/plane_navy_light.svg);
}

.field_suggestions__suggestion.field_suggestions__suggestion--station::after {
    background-image: url("/images/icons/station_navy_light.svg");
}

.field_suggestions__suggestion.field_suggestions__suggestion--city::after {
    background-image: url("/images/icons/city_navy_light.svg");
}

.hero-quote .form-container .input-container.location.pickup {
    position: unset;
}


.hero-quote .form-container .input-container.lookup label {
    width: 100%;
    display: inline-block;
    color: var(--zest-purple);
    transition: all .2s ease;
    z-index: 99;
    position: absolute;
    font-size: 14px;
    top: 75px;
    left: 0;
    border: 1px solid var(--zest-green);
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}


.hero-quote .form-container input#search_pickup_location_name::placeholder {
    color: var(--zest-purple);
    font-size: 16px;
}

.input-container.location {
    padding: 18px 24px 16px;
}

.input-container.location label {
    top: -1px;
}

.input-container.location.return {
    padding-top: 18px;
}

label.input-container.location.return.relative {
    display: none;
}

.return-container {
    position: relative;
}

label.input-container.location.return.relative:after {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    display: inline-block;
    height: 7px;
    right: 29px;
    position: absolute;
    transform: rotate(135deg);
    vertical-align: top;
    width: 7px;
    z-index: 0;
    top: 33px;
}

.return-container:has(input:checked) > label.input-container.location.return.relative {
    animation-duration: 0.5s;
    animation-name: slidein;
    display: flex;
    justify-content: flex-end;

}

.return-container .search_form__field_suggestions {
    display: none;
    animation-duration: 0.5s;
    animation-name: slideout;
}

.return-container:has(input:checked) .search_form__field_suggestions {
    display: block;
    animation-duration: 0.5s;
    animation-name: slidein;
}

@keyframes slidein {
    from {
        height: 0;
        padding: 0;
        opacity: 0;

    }

    to {
        height: 80px;
        opacity: 1;

    }
}


.quote-form > label.location, .quote-form > div.location {
    position: relative;
}

.quote-form > label.location.search_form__field--show_suggestions + .search_form__field_suggestions,
.quote-form > div.location.search_form__field--show_suggestions + .search_form__field_suggestions {
    opacity: 1;
    visibility: visible;
    width: auto;
    min-width: 100%;
    max-width: 100%;
    white-space: nowrap;
    z-index: 10;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

label.input-container.location.return.relative.search_form__field--explicit_dropdown span {
    position: absolute;
    top: 20px;
}

