.hx-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 112px 150px;
    gap: 8px;
    align-items: start;
}

.hx-logo {
    background:url(/asset/images/brand/logo-brandbook.svg) no-repeat center / contain;
    width:85px;
    height:85px;
    position:relative;
}
.hx-logo > a {
    width:100%;
    height:100%;
    position:absolute;
    top:0; left:0;
}

.hx-header {
    background: #111827;
}
.hx-section {
    position: relative;
    min-height: 680px;
    padding: 86px 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 18, 31, .9) 0%, rgba(10, 18, 31, .76) 36%, rgba(10, 18, 31, .26) 68%, rgba(10, 18, 31, .08) 100%),
        url(/asset/images/hero-transfer.jpg) no-repeat center / cover;
}
.hx-section .container {
    position: relative;
    z-index: 1;
}
.hx-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 48px;
    align-items: center;
}
.hx-hero-copy {
    max-width: 660px;
    padding: 42px 0;
}
.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
.hx-title {
    max-width: 640px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 52px;
    line-height: 1.08;
    text-transform: none;
}
.hx-hero-description {
    max-width: 520px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    line-height: 1.55;
}
.hx-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hx-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}
.hx-search-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}
.hx-search-card .hx-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    overflow: visible;
}
.hx-search-card .hx-col {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
}
.hx-search-card .hx-col:focus-within {
    z-index: 30;
}
.hx-search-card .form-wrap.location {
    overflow: visible;
}
.hx-search-card .hx-change {
    height: 46px;
}
.hx-search-card-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    color: #18233d;
    font-size: 17px;
    line-height: 1.25;
}
.hx-search-card-header .mdi {
    color: #2b9277;
    font-size: 24px;
}
.hx-col-4,
.hx-col-5 {
    width:auto;
}
.hx-col-1,
.hx-col-3 {
    width:auto;
}
.hx-col {
    min-width: 0;
    padding: 0;
}
.hx-col-2 {
    width:auto;
}
.hx-change {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:57px;
    border-radius:8px;
    cursor:pointer;
    background:#eef3f7;
    transition: background .2s ease, transform .2s ease;
}
.hx-change:hover {
    background: #e4ecef;
    transform: translateY(-1px);
}
.hx-form .button {
    min-height: 57px;
    border-radius: 8px;
    font-size: 13px;
    letter-spacing: 0;
}
.hx-search-card .form-input {
    border-radius: 8px;
}
.hx-search-card .autocomplete-search-container {
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    box-shadow: none;
}
.hx-search-card .autocomplete-search-container:focus-within {
    border-color: #58b99d;
    box-shadow: 0 0 0 3px rgba(88, 185, 157, .18);
}
.hx-search-card .autocomplete-search-icon {
    right: 14px;
    color: #8190a2;
}
.hx-search-card .autocomplete-search-input-label {
    overflow: hidden;
    max-width: calc(100% - 44px);
    text-overflow: ellipsis;
}

.select-ico {
    width:20px;
    display:inline-block;
    vertical-align:middle;
    margin-right:5px;
}

@media(max-width:1199px) {
    .hx-title {
        font-size:42px;
    }
    .hx-hero-layout {
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 32px;
    }
}
@media(max-width:991px) {
    .hx-section {
        min-height: 0;
        padding: 56px 0 48px;
        background:
            linear-gradient(180deg, rgba(10, 18, 31, .86) 0%, rgba(10, 18, 31, .66) 48%, rgba(10, 18, 31, .8) 100%),
            url(/asset/images/hero-transfer.jpg) no-repeat 74% center / cover;
    }
    .hx-hero-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .hx-hero-copy {
        padding: 0;
    }
    .hx-title {
        font-size:34px;
    }
    .hx-hero-description {
        font-size:16px;
    }
    .hx-search-card {
        padding: 16px;
    }
    .hx-form {
        display: block;
    }
    .hx-col {
        width:100%;
        padding:0;
        margin-bottom:10px;
    }
    .hx-col:last-child {
        margin-bottom:0;
    }
    .hx-section {
        padding:42px 0;
    }
}
@media(max-width:550px) {
    .hx-eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
    }
    .hx-title {
        font-size:28px;
        margin-bottom:14px;
    }
    .hx-hero-description {
        margin-bottom: 16px;
        line-height: 1.45;
    }
    .hx-hero-badges span {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 12px;
    }
    .hx-search-card {
        margin: 0 -1px;
    }
    .hx-section {
        padding: 32px 0;
    }
}

/*Autocomplete */
.autocomplete-search {
    height: 55px;
    position: relative;
    overflow: visible;
}

.autocomplete-search-container {
    position: relative;
    width: 100%;
    min-height: 55px;
    padding: 0 40px 0 26px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    background: #fff;
    border-radius: 4px;
    -webkit-appearance: none;
    transition: .3s ease-in-out;
    border: 1px solid #ebebeb;
    /*max-width: 500px;*/
    max-height: 70vh;
    pointer-events: auto;
    overflow: visible;
    box-shadow: 1px 6px 8px 0 rgb(75 81 91 / 60%);
}
.autocomplete-search-container:focus-within {
    z-index: 999;
}

/*.autocomplete-search-container:focus-within {*/
/*    background-color: #fff;*/
/*}*/

/*.autocomplete-search-container:focus-within .autocomplete-search-suggestions {*/
/*    display: block;*/
/*}*/

.autocomplete-search-input-container {
    position: relative;
    height: 55px;
}
.autocomplete-search-input {
    width: 100%;
    padding-top: 24px;
    background: transparent;
    border: none;
    height: 100%;
}

.autocomplete-search-input:focus {
    outline: none;
}

.autocomplete-search-input.not-empty {
    padding: 12px 0 12px 0;
}

.autocomplete-search-input-label {
    white-space: nowrap;
    text-overflow: ellipsis;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.5s;
    width: 100%;
    display: block;
    pointer-events: none;
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
}

.autocomplete-search-input:focus + .autocomplete-search-input-label:not(.not-empty) {
    top: 12px;
    font-size: 13px
}

.autocomplete-search-input-label.not-empty {
    display: none;
}

.autocomplete-search-input::placeholder {
    opacity: 0.5;
}

.autocomplete-search-icon {
    position: absolute;
    top: 50%;
    right: -20px;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%);
}

.autocomplete-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    width: 100%;
    height: auto;
    max-height: 320px;
    overflow: auto;
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
    /*box-sizing: border-box;*/
    /*overflow: hidden;*/
    /*display: none;*/
}

/*.autocomplete-search-suggestions-scroll {*/

/*}*/


.autocomplete-search-suggestion {
    padding: 6px 20px;
    min-height: 40px;
    /*line-height: 1.8;*/
    cursor: pointer;
    font-size: 14px;
}

.autocomplete-search-suggestion_branch-number {
    /*font-weight: bold;*/
}
.autocomplete-search-suggestion_branch-address {
    opacity: 0.5;
    font-size: 13px;
}
/*.autocomplete-search-suggestion:hover,*/
.autocomplete-search-suggestion.active {
    background-color: #EDEFF3;
}

.display-none {
    display: none;
}

.manual-quote-thanks {
    padding-top: 70px;
    padding-bottom: 80px;
    background: #f5f7fb;
}

.manual-quote-thanks-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(18, 31, 52, .12);
}

.manual-quote-thanks-card h1 {
    margin: 8px 0 12px;
    color: #172033;
    font-size: 34px;
    line-height: 1.2;
}

.manual-quote-thanks-card p {
    color: #667085;
    font-size: 17px;
    line-height: 1.55;
}

.manual-quote-thanks-route {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 24px 0;
    padding: 16px;
    border-radius: 8px;
    background: #f4fbf8;
    color: #172033;
    font-size: 18px;
    line-height: 1.35;
}

.manual-quote-thanks-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.manual-quote-thanks-details div {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.manual-quote-thanks-details dt {
    margin-bottom: 4px;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.manual-quote-thanks-details dd {
    margin: 0;
    color: #172033;
    font-weight: 800;
}

@media(max-width:550px) {
    .manual-quote-thanks-card {
        padding: 22px;
    }

    .manual-quote-thanks-card h1 {
        font-size: 27px;
    }

    .manual-quote-thanks-details {
        grid-template-columns: 1fr;
    }
}
