.x-root {
    background-color: #ebebeb;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.x-breadcrumb-wrap {
    /*height: 50px;*/
    position: relative;
    z-index: 1;
}

.searchParent {
    /* filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.1)); */
    white-space: nowrap;
}

.dropdown-content {
    z-index: 10;
}


/*test*/

.searchHeader {
    width: 100%;
    padding: 1em 0;
    margin-top: 0;
    background: linear-gradient(to top, rgb(10 60 106 / 82%), rgb(10 60 106 / 55%)), 100% / 100% no-repeat;
    background-size: cover;
    overflow: hidden;
}

.refineButton {
    display: block;
    width: auto;
    padding: 9px;
    border-radius: 31px;
    color: white;
    text-align: center;
    background: #00427a;
    /* position: absolute; */
    /* right: 25px; */
    z-index: 1;
}

.searchFilters {
    /*float: left;*/
    display: none;
    position: fixed;
    transform: translate3d(0, 0, 0);
    left: 0px;
    top: 80px;
    padding: 10px 26px;
    padding-bottom: 50px;
    width: 100%;
    min-height: 800px;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0px 0px 13px 2px rgb(185 185 185 / 33%);
    border-radius: 10px;

}

.filterWrap {
    overflow: auto;
    font-weight: 300;
}


.closeFilters {
    float: right;
    font-size: 20px;
}

.filterButton {
    text-align: center;
    background: #00427a;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 20px;
    /* width: 200px; */
    transition: .3s;
    border: none;
}

.last {
    float: right;
}

#prmin,
#prmax,
#mimin,
#mimax {
    width: 50% !important;
    float: left;
}

#ymin,
#ymax {
    width: 50% !important;
    float: left;
}

.preResultArea {
    margin: 10px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    position: sticky;
    top: 0;
    justify-content: center;
    z-index: 1;
    background: #a0cbed85;
    border-radius: 8px;
}

.resultsData {
    display: inline-block;
    width: auto;
    color: var(--hannah-blue);
    font-size: 24px;
    font-weight: 800;
}

.sortField {
    text-align: right;
    width: 130px;
    min-width: 120px;
}

.sortField {
    display: block;
    padding: 5px;
}

.resultsSection {
    /*float: left; */
    display: inline-block;
    width: 100%;
    max-width: 920px;
    vertical-align: top;
}

.loadMore {
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    background-color: #00427A!important;
    background: #00427A!important;
    border-color: #00427A!important;
    width: 70%;
    margin: 20px auto;
}

.searchResults {
    white-space: normal;
    text-align: center;
}

.searchResultUnit {
    position: relative;
    padding: 10px;
    width: 32%;
    min-width: 260px;
    margin: 5px auto;
    /* float: left; */
    text-align: center;
    box-shadow: 0px 0px 13px 2px rgb(185 185 185 / 33%);
    background-color: #fff;
    border-radius: 5px;
    transition: .2s ease-in-out;
}

.searchResultUnit:not(.modelUnit) {
    display: grid;
    padding: 8px 10px 10px;
    align-items: center;
    height: 40rem;
}

.searchResultUnit a,
.searchResultUnit a:hover,
.searchResultUnit a:visited,
.searchResultUnit a:active,
.searchResultUnit a:link {
    color: #999;
    text-decoration: none;
}

.searchResultUnit:hover,
.searchResultUnit:active {
    background-color: #f6f6f6;
}

.modelUnit {
    min-height: 300px;
}

.modal_box_header {
    font-size: 1.2em !important;
}

.modal_box_close {
    top: 0px !important;
    font-size: 1.5em;
}

.modal_box_content {
    padding-top: 10px !important;
}

.srpVehicleImage {
    height: 189px;
    margin: 5px auto;
    background-color: #fff;
}

.srpModelCard {
    background-color: transparent;
}

.srpForm {
    text-align: center;
}

.srpForm input {
    text-align: left;
}

.srpForm textarea {
    width: 100%;
    text-align: left;
}

.srpFormSubmit {
    text-align: center !important;
    background-color: #4AB33B !important;
    border-color: #40a632 !important;
    box-shadow: 0 -2px 0 0 rgba(0, 0, 0, .3) inset !important;
}

.searchResultUnit img {
    max-height: 189px;
    width: 100%;
    max-width: 252px;
}

.image {
    display: none;
}
.image.active {
    display: block;
}

.buttons {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.buttons button {
    padding: 2px;
    margin: 0 5px;
    border: none;
    background-color: #ffffff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} 
.arrow {
    width: 20px;
    height: 20px;
}

.vehicleYearMake {
    text-align: left;
    font-size: .9em;
    line-height: 1;
    padding: 0 5px;
    font-family: arial;
}

.vehicleModelTrim {
    text-align: left;
    font-size: 1.1em;
    color: #555;
    padding: 0 5px;
    font-family: arial;
    padding-left: 0px;
    font-size: 16.2px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 5px;
    margin-top: 10px;
    padding-right: 0px;
    height: 33px;
    overflow: hidden;
}

.vehicleSeriesDetail {
    text-align: left;
    font-size: .9em;
    line-height: 1;
    color: #777;
    padding: 0 5px;
}

.vehicleInfo {
    text-align: left;
    font-size: .8em;
    color: #666;
    padding: 5px 10px 5px 0;
}

.vehicleInfoLabel {
    display: inline-block;
    width: 90px;
    vertical-align: top;
}

.vehicleInfoDetail {
    display: inline-block;
    width: 100%;
    max-width: 130px;
}

.vehicleIDs {
    text-align: left;
    font-size: .8em;
    padding: 20px 0px 5px;
}

.vehicleIDLabel {
    font-weight: bold;
    color: #777;
    margin-right: 15px;
}

.priceStrike {
    text-decoration: line-through;
}

.priceArea {
    text-align: left;
    min-height: 115px;
    display: grid;
}

.price {
    color: #03a804;
    font-size: 1.285em;
}

.priceValue {
    float:right;
}

.buyOnline {
    display: none;
    background-color: #00427A;
    border-radius: 3px;
    cursor: pointer;
}

.eprice {
    background-color: #84c449;
    border-radius: 3px;
    padding: 0 5px;
    margin-bottom: 5px;
}

.slimEPrice {
    background-color: #368ce1;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 5px;
    border: 2px solid #358CE1;
    box-sizing: border-box;
    border-radius: 5px;
}

.paymentOptions {
    background-color: #368ce1;
    color: #fff !important;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 5px;
    /* border: 2px solid #358CE1;
    box-sizing: border-box;
    border-radius: 5px; */
}

.nissanPaymentOptions {
    border: solid 2px #C3002F;
    color: #C3002F !important;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border-radius: 5px;
}

.paymentOptions a,
.paymentOptions a:hover,
.paymentOptions a:visited {
    color: #fff !important;
}

.paymentOptionsWrap {
    width: 100%;
    padding: 0 10px;
}

.priceArea>div:nth-child(2) {
    line-height: 0.5;
}

.srp-blue-btn {
    background-color: #368ce1;
    color: #fff !important;
    cursor: pointer;
    padding: 5px;
    font-weight: 600;
    display: block;
    border-radius: 5px;
    margin-bottom: 8px;
}

.srp-blue-btn a,
.srp-blue-btn a:hover,
.srp-blue-btn a:visited {
    color: #fff !important;
}

.srp-white-btn {
    background-color: #fff;
    border: 2px solid #368ce1;
    color: #368ce1 !important;
    cursor: pointer;
    font-weight: 600;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.srp-white-btn a,
.srp-white-btn a:hover,
.srp-white-btn a:visited {
    color: #368ce1 !important;
}

.srp-card-phone,
.srp-card-phone>a {
    margin-bottom: 8px;
    color: #368ce1 !important;
    cursor: pointer;
    font-weight: 600;
}

.nissanRoadster-btn {
    background-color: transparent !important;
    color: #C3002F !important;
    font-weight: bold;
}

.nissanRoadster-btn img {
    width: 30px;
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
}

.seePrice {
    background-color: #fff;
    color: #368ce1;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #368ce1;
}

.seePrice img {
    width: 16px;
    display: inline-block;
    margin-right: 5px;
    margin-top: -5px;
}

.textEprice {
    display: block;
}

.certifiedBadge {
    font-size: 10px;
    padding: 3px 7px;
    background-color: #0a3c6a;
    color: white;
    border-radius: 10px;
    float: right;
}

.modelCount {
    float: right;
    font-size: 0.9em;
}

.modelCardCTA {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    width: 45%;
}

.modelCardCTA a:link,
.modelCardCTA a:active,
.modelCardCTA a:visited,
.modelCardCTA a:hover {
    color: #fff;
}

.searchFilterNumAvailable {
    float: right;
}

select,
input {
    width: 100% !important;
    margin: 6px 0 !important;
}

input[type="checkbox"] {
    width: auto !important;
}

.searchSuggest {
    position: relative;
    top: 35px;
    left: 45px;
    z-index: 1;
    width: 75%;
    max-height: 200%;
    overflow: auto;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.searchSuggest ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.searchSuggest li {
    padding: 5px 10px;
    cursor: pointer;
}

.searchSuggest li:hover {
    background-color: #eee;
}

.searchSuggestListHeader {
    font-weight: bold;
    color: #666;
}

.activeSearchTerms {
    display: none;
    list-style-type: none;
    padding-left: 5px;
    margin: 20px 0 0 5px;
    font-family: arial;
}

.activeSearchTerms li {
    float: left;
    margin: 5px;
    padding: 7px 10px;
    text-transform: capitalize;
    color: #000000;
    background-color: #f1f1f1;
    cursor: pointer;
    border-radius: 20px;
}

.searchTermCancelMark {
    color: #d00000;
    margin-left: 5px;
    text-transform: lowercase;
}

#clearSearchTerm {
    color: #d00000;
}

.full_width {
    width: 100%;
}


/* Toggle switch styles */

.switch {
    position: relative;
    height: 30px;
    width: 224px;
    margin: 20px auto;
    background: #368ce1;
    border-radius: 16px;
}

.switch-label {
    position: relative;
    z-index: 2;
    float: left;
    width: 112px;
    line-height: 30px;
    font-size: 11px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.switch-label:active {
    font-weight: bold;
}

.switch-label-off {
    padding-left: 2px;
}

.switch-label-on {
    padding-right: 2px;
}

.switch-input {
    display: none;
}

.switch-input:checked+.switch-label {
    font-weight: bold;
    color: #368ce1;
    -webkit-transition: 0.15s ease-out;
    -moz-transition: 0.15s ease-out;
    -ms-transition: 0.15s ease-out;
    -o-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
    -webkit-transition-property: color, text-shadow;
    -moz-transition-property: color, text-shadow;
    -ms-transition-property: color, text-shadow;
    -o-transition-property: color, text-shadow;
    transition-property: color, text-shadow;
}

.switch-input:checked+.switch-label-on~.switch-selection {
    left: 110px;
    /* Note: left: 50%; doesn't transition in WebKit */
}

.switch-selection {
    position: absolute;
    z-index: 1;
    top: 2px;
    left: 2px;
    display: block;
    width: 112px;
    height: 26px;
    border-radius: 16px;
    background-color: #fff;
    -webkit-transition: left 0.15s ease-out;
    -moz-transition: left 0.15s ease-out;
    -ms-transition: left 0.15s ease-out;
    -o-transition: left 0.15s ease-out;
    transition: left 0.15s ease-out;
}

.switch-blue .switch-selection {
    background-color: #fff;
    color: #368ce1;
}


/* Ajax loading effect */

.ajaxModal {
    display: none;
    position: fixed;
    transform: translate3d(0, 0, 0);
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8) url('https://www.dickhannah.com/wp-content/themes/dh-x/framework/img/icons/dh-loading.gif') 50% 50% no-repeat;
}

body.loading .ajaxModal {
    overflow: hidden;
}

body.loading .ajaxModal {
    display: block;
}

.formVehicleTitle {
    padding-bottom: 10px;
}

.formImage {
    display: inline-block;
    vertical-align: top;
    padding-bottom: 5px;
    max-width: 200px;
}

.formVehicleID {
    display: inline-block;
    padding-left: 10px;
}

.formHidden {
    display: none !important;
}

.formName {
    width: 49% !important;
}

.first {
    margin-right: 5px;
}

.srpBannerWrapper {
    position: relative;
    width: 32%;
    min-width: 260px;
    margin: 5px auto;
    text-align: center;
}

.mobileBanner {
    display: block;
}

.desktopBanner {
    display: none;
}


/* ============================================ 
    Screen Width between 700px and 999px
=============================================*/

@media screen and (min-width: 700px) and (max-width: 999px) {
    .searchTextInput input {
        left: 15%;
    }
    .goSearch {
        left: 15%;
    }
    .sortField {
        display: block;
        float: left;
        margin-top: -63px;
        padding: 5px;
    }
    .resultsSection {
        width: 100%;
    }
    .searchSuggest {
        left: 26.5%;
        width: 56%;
        max-height: 400%;
    }
    .textEprice {
        display: none;
    }
    .buyOnline {
        display: block;
    }
    .searchResultUnit {
        margin: 5px;
        float: left;
    }
    .srpBannerWrapper {
        position: relative;
        width: 100%;
        min-width: 260px;
        margin: 5px auto;
        text-align: center;
    }
    .mobileBanner {
        display: none;
    }
    .desktopBanner {
        display: block;
    }
}


/* ============================================ 
            Screen Width >= 1000px
=============================================*/

@media screen and (min-width: 1000px) {
    /* Desktop Styles */
    .blueSearchOverlay {
        margin-top: 5px;
        position: absolute;
        right: 0px;
        width: 53%;
        height: 116px;
        background-color: #368ce1;
        opacity: 0.7;
    }
    .searchTextInput {
        margin-top: 5px;
        position: absolute;
        right: 0px;
        width: 53%;
        height: 116px;
    }
    .searchTextInput input::placeholder {
        color: #fff;
    }
    .searchTextInput input {
        max-width: 450px;
        position: relative;
        top: 45px;
        left: 10%;
        border: solid 2px #fff;
        border-radius: 15px !important;
        background-color: transparent !important;
        color: #fff !important;
        text-align: center;
    }
    .searchSuggest {
        position: relative;
        top: 35px;
        left: 11.5%;
        z-index: 1;
        width: 76.5%;
        max-width: 430px;
        max-height: 400%;
        background-color: white;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
    .searchSuggest ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
    }
    .searchSuggest li {
        padding: 5px 10px;
        cursor: pointer;
    }
    .searchSuggest li:hover {
        background-color: #eee;
    }
    .searchSuggestListHeader {
        font-weight: bold;
        color: #666;
    }
    .refineButton {
        display: none;
    }
    .filterButton {
        margin-bottom: 10px;
    }
    .seeInventory {
        display: none;
    }
    .closeFilters {
        display: none;
    }
    .searchFilters {
        /*float: left;*/
        display: inline-block;
        position: static;
        padding: 10px 26px;
        padding-bottom: 50px;
        margin-top: -20px;
        width: 280px;
        min-height: 500px;
        background-color: #fff;
    }
    .filterUnit {
        color: #000000;
    }
    .resultsSection {
        width: 75%;
        padding-left: 30px;
    }
    .searchResults {
        white-space: normal;
        padding: 10px;
        width: 100%;
        max-width: 920px;
    }
    .searchResultUnit {
        margin: 5px;
        float: left;
    }
    .preResultArea {
        display: flex;
        justify-content: space-between;
        background: transparent;
        position: relative;
    }
    .resultsData {
        display: inline-block;
    }
    .sortField {
        display: inline-block;
        float: none;
        margin-top: 0px;
    }
    .activeSearchTerms {
        display: inline;
    }
    .textEprice {
        display: none;
    }
    .buyOnline {
        display: block;
    }
    .srpBannerWrapper {
        position: relative;
        width: 100%;
        min-width: 260px;
        margin: 5px auto;
        text-align: center;
    }
    .mobileBanner {
        display: none;
    }
    .desktopBanner {
        display: block;
    }
}

@media screen and (max-width: 1305px) {
    .resultsSection {
        padding-left: 0px;
    }
}

.srpFakeLink {
    color: #006598;
    cursor: pointer;
    text-decoration: underline;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 130px;
    padding-top: 5px;
    font-size: 12.8px;
    font-weight: bold;
}

.srpFakeLink:hover {
    color: #333333;
}

.searchResultUnit .paymentOptionsWrap .roadster-btn {
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    /* color: transparent !important; */
    position: relative;
    z-index: 99;
}

.searchResultUnit .paymentOptionsWrap .paymentOptions {
    border-radius: 5px;
    margin-bottom: 8px;
}


/* NoUI slider style corrections */

.noUi-horizontal {
    height: 5px;
    margin-left: 16px;
}

.noUi-horizontal .noUi-handle {
    top: -12px;
}

.noUi-connect {
    background: #054177;
}

.ui-slider-container {
    width: 212px;
    margin-top: 20px;
    margin-bottom: 20px;
}