.multi-select {
    position: relative;
    width: 100%;
}

#filter-features .select-text.placeholder {
    padding-left: 5px;
}

span.select-text {
    padding-left: 5px;
}

.select-trigger.open {
    border-color: #667eea;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.arrow {
    /*width: 0;*/
    /*height: 0;*/
    /*border-left: 5px solid transparent;*/
    /*border-right: 5px solid transparent;*/
    /*border-top: 6px solid #666;*/
    /*transition: transform 0.3s;*/
    /*margin-right: 5px;*/
}

.arrow::after {
    content: '\2304';
    display: inline-block;
    font-size: 2rem;
    height: 1rem;
    line-height: 0;
    margin-left: 0.5rem;
    position: relative;
    transition: transform 0.25s;
    float: right;
    top: 0;
}

.arrow.open {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #f5f5f5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.dropdown-list.open {
    display: block;
}

.dropdown-item {
    padding: 0 0 0 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    /*accent-color: #f5f5f5;*/
}

.dropdown-item label {
    cursor: pointer;
    user-select: none;
    flex: 1;
}

#cardealerpress-inventory {
    width: 95%;
    margin: 0 auto;
    background: #fcfcfcfc;
    color: #000000;
}

/* LIST PAGE */
/* top pagination */
#inventory-top-container {
    display: block;
    float: none;
    clear: both;
    overflow: hidden;
    width: 100%;
    margin: 1% auto 0;
}

.inventory-pagination-container {
    display: block;
    float: left;
    overflow: hidden;
    border: 2px solid #DBDBDB;
    box-sizing: border-box;
}

.pagination-container {
    display: block;
    width: 100%;
    overflow: hidden;
    clear: both;
    font-size: 16px;
}

.pagination-cdp {
    display: block;
    overflow: hidden;
    float: left;
    box-sizing: border-box;
    padding: 4px;
    cursor: pointer;
}

.pagination-cdp.page-count-container {
    margin: 0 8px;
    padding: 6px 0;
    cursor: default;
}

.page-count-container .inner-count {
    display: block;
    overflow: hidden;
    float: left;
    padding: 0;
    line-height: normal;
    border: none;
    margin: 0 2px;
    width: auto;
    height: auto;
    font-size: 16px;
}

.inner-count.pagination-current {
    background-color: #E9E9E9;
    text-align: center;
    color: #000;
}

.inner-count.pagination-max-page {
    background-color: #7a7979;
    padding: 0 4px;
    color: #FFF;
}

span.page-arrow {
    display: inline-block;
    font-weight: bold;
    line-height: normal;
    color: #085C9A;
}

#inventory-sort-container {
    display: block;
    border: 2px solid #DBDBDB;
    float: right;
    padding: 2px 5px 4px;
    overflow: hidden;
    font-size: 90%;
    box-sizing: border-box;
}

.sort-container {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: center;
    -webkit-justify-content: center;
}

.inventory-sort-item {
    margin: 0 2px;
    overflow: hidden;

    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;
}

.sort-label {
    display: block;
    height: 18px;
    font-size: 90%;
    line-height: 175%;
}

span.sort-value.asc {
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 5px solid #0174AA;
    display: block;
    margin: 1px 2px 0 0;
    cursor: pointer;
}

span.sort-value.desc {
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 5px solid #0174AA;
    display: block;
    margin: 1px 2px 0 0;
    cursor: pointer;
}

.sort-value-container {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: column wrap;
    -webkit-flex-flow: column wrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;

    margin: 0 0 0 5px;
}

/* end top pagination */

#inventory-body-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

#inventory-body-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    column-gap: 10px;
}

#inventory-body-container.search-side {
    flex-wrap: nowrap;
    display: grid;
    grid-template-columns: minmax(250px, 300px) 1fr;
}

#list-filters-container {
    display: grid;
    grid-template-columns: 5% 20% 75%;
    font-size: 1.2rem;
    border: 1px solid #000000;
}

#list-filters-container.search-side {
    grid-template-columns: 100%;
    justify-content: flex-start;

}

#filters-wrapper.search-top {
    width: 100%;
}

.search-top #list-filters-container {
    display: grid;
    grid-template-columns: 5% 5% 90%;
}

div#list-filters-container.search-top {
    grid-template-rows: auto;
    grid-template-areas:
            "count text"
            "filters ."
            "tags resetsearch";
}

.search-top #search-count {
    order: 1;
    grid-area: count;
}

.search-top #search-text {
    order: 2;
    grid-area: text;
    grid-column: 2 / span 3;
}

.search-top #filters-search {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: stretch;
    order: 3;
    grid-area: filters;
    grid-column: 1 / span 3;
    width: 100%;
    margin: 0 auto;
}

.search-top #search-tag-container {
    order: 4;
    grid-area: tags;
    grid-column: 1 / span 2;
}

.search-top #listing-clear-search {
    order: 5;
    grid-area: resetsearch;
    grid-column: 3;
}

.search-top .search-list {
    border-top: none;
    border-bottom: none;
    margin-right: 5px;
    min-width: 90px;
    width: 100px;
}

.search-top #filter-odometer {
  min-width: 145px;
}

.search-top #filter-vehicleclass {
    min-width: 108px;
}

.search-top #filter-features {
    min-width: 140px;
}

.search-top #filter-transmission {
    min-width: 105px;
}

#search-count {
    text-align: center;
    width: 100%;
    font-size: 1.4rem;
    font-weight: bold;
}

#search-text {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    margin: 5px 0;
    width: 100%;
}

#search-text input {
    font-size: 1.3rem;
    padding: .4em;
    width: 70%;
    border-radius: 5px;
    border: 1px solid #000000;
    color: #000000;
}

#search-text button.text-search-button {
    border-radius: 5px;
    border: 1px solid #000000;
    text-align: center;
    padding: 5px;
    background: green;
    color: #ffffff;
    font-size: 1.2rem;
    width: 28%;
}

#search-text .text-search-button:hover {
    background-color: #99b2c1;
}

.search-list {
    width: 100%;
    margin: 5px 0;
}

.search-label {
    /*text-decoration: underline;*/
    font-weight: bold;
    font-size: 1.5rem;
    padding-left: 5px;
}

.search-side .search-label.show-label {
    background: black;
    padding: 5px;
    margin-bottom: 5px;
    color: #ffffff;
}

.search-content {
    padding: 0 5px;
}

select.input-action, .select-trigger {
    width: 100%;
    font-size: 16px;
    border: 1px solid #000000;
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    user-select: none;
}

select.input-action:hover, .select-trigger:hover {
    border-color: #373636;
    cursor: pointer;
}

.range-dropdown-container.search-dropdown {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
    column-gap: 10px;
}

form {
    display: flex;
}

fieldset.filters {
    border: 0;
    padding: 0;
    width: 100%;
}


ul.filters {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    height: 200px;
}

ul.filters li.filters {
    border-radius: 3px;
    margin: 0;
    padding: 4px 2px;
    display: flex;
}

ul.filters li.filters:hover {
    background: #eee;
}

ul.filters li.filters label {
    font-size: 1.2rem;
    width: 100%;
}

div#inventory-vehicles-container {
    width: 100%;
}

#map-container {
    padding-bottom: 35%;
    height: 0;
    width: 95%;
    margin: 0 auto;
}

/* mobile changes */
@media (max-width: 476px) and (orientation: portrait) {
    div#list-filters-container {
        display: none;
        grid-template-columns: 100%;
    }

    div#filters-search.search-top {
        flex-direction: column;
    }

    .search-top .search-list {
        width: 100%;
    }

    div#filter-mpg {
        width: 100%;
    }

    #inventory-body-container.search-side {
        flex-wrap: wrap;
        grid-template-columns: none;
    }

    div#filters-wrapper {
        width: 100%;
        padding: 5px;
        background: #ffffff;
    }
}

/************ legacy below ***************************************************/

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#inventory-middle-container {
    grid-template-columns: 1fr 5fr;
    width: 94%;
    margin: 0 auto;
}

#inventory-side-search {
    grid-column: 1;
    margin-right: 2%;
}

/* Listing Page - Grid Layout */
.inventory-vehicle-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    grid-gap: 5px;
    margin: 0 auto;
}

.top_searchbar-gazelle .inventory-vehicle-wrapper-grid {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.grid.vehicle-container {
    border: 1px solid #000000;
}

.grid.vehicle-container:hover {
    border: 2px solid #000000;
    box-shadow: 2px 2px 2px #888888;
}

.grid .inventory-vehicle-container {
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.grid .inventory-vehicle-image {
    position: relative;
    margin: 0 auto;
}

.grid .vehicle-image {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #DBDBDB;
    height: 240px;
    object-fit: contain;
}

.nested.inventory-vehicle-titles {
    line-height: normal;
}

.nested .header-make, .nested .header-model, .nested .header-trim {
    padding-left: 5px;
}

.nested .header-trim {
    font-size: 14px;
}

.nested.inventory-vehicle-tier-dealer-name {
    text-align: center;
    margin: 5px;
    font-size: .7em;
}


span.info-label {
    font-weight: bold;
}

.nested .info-item {
    background-color: transparent;
}

.nested.inventory-vehicle-tier4.save-compare-vehicles .info-item {
    display: inline-block;
    width: 45%;
}

.nested .inventory-vehicle-pricing {
    margin: 0 auto 5px;
}

.nested .price-item a, .nested .price-item.price-form {
    background-color: #0074AA;
    padding: 3px;
    font-size: 20px;
}

.grid .inventory-vehicle-tier-extra-boxes.inventory-vehicle-inner-bottom-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.nested .bottom-item {
    -webkit-flex: 0 0 50%;
}

.nested .inventory-vehicle-carfax img {
    margin: 0 auto;
}

.nested .info-item .info-label {
    margin-left: 0;
}

.equipment-disclaimer {
    display: block;
    text-align: center;
    line-height: normal;
    font-size: 10px;
    margin-bottom: 10px;
}

#saved-vehicle-container {
    display: block;
    float: none;
    clear: both;
    overflow: hidden;
    width: 100%;
}

#saved-vehicle-count-container {
    display: block;
    border: 2px solid #DBDBDB;
    float: right;
    padding: 2px 5px 4px;
    overflow: hidden;
    font-size: 90%;
    height: 22px;
    box-sizing: initial;
    padding: 0 1%;
    color: #000;
    background-color: #EFEFEF;
}

#saved-vehicle-count-container.empty {
    opacity: .5;
}

#saved-vehicle-count-container.saved {
    opacity: 1;
    cursor: pointer;
    border-color: #C50606;
}

#compare-vehicle-container.empty {
    display: none;
}

#compare-vehicle-container.visible {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: space-between;
    -webkit-justify-content: space-between;

    width: 100%;
    padding: 12px;
    background-color: #0174aa;
    color: #FFF;
    position: absolute;
    z-index: 8;
    margin: 0 auto;
    max-width: 920px;
    max-height: 118px;

    box-sizing: border-box;
}


.compare-item {
    flex: 0 1 16%;
    -webkit-box-flex: inherit;
    -moz-box-flex: inherit;
    -webkit-flex: 0 1 16%;
    -ms-flex: 0 1 16%;

    display: block;
    width: 100%;
    overflow: hidden;
    height: auto;

    position: relative;
}

.compare-item.empty {
    background-color: #7a7979;
}

.compare-item img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.compare-main {
    display: block;
    float: none;
    clear: both;
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
    max-width: 142px;
    max-height: 80px;
}

.compare-sub {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: #e8e6e0;
    color: #000;
    opacity: .8;
    font-size: 14px;
    line-height: normal;
}

.compare-sub span {
    display: inline-block;
    margin: 0 4px 0 4px;
}

.compare-remove {
    display: block;
    width: 50%;
    font-size: 10px;
    line-height: normal;
    text-align: center;
    background-color: #D13838;
    border-radius: 0 0 8px 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.compare-remove:hover {
    opacity: .9;
}

#compare-vehicle-count-container {
    text-align: center;
    line-height: normal;
    background-color: #7a7979;;
}

#compare-button {
    padding: 4% 0;
    font-size: 16px;
    border: 2px solid #FFF;
    cursor: pointer;
    width: 90%;
    margin: 4% auto;
    box-sizing: border-box;
}

#compare-button:hover {
    opacity: .8;
    border-color: #000;
}

#compare-under-count, #compare-over-count {
    position: absolute;
    top: 0;
    left: 0;
    width: 98%;
    text-align: center;
    background-color: #d13838;
    z-index: 9;
    padding: 1%;
    border-radius: 0 0 8px 8px;
    font-size: 20px;
}

#inventory-sidebar-mobile-search {
    display: none;
}

#inventory-sidebar-mobile-search.open {
    position: fixed !important;
    top: 0 !important;
}

#inventory-top-container.sidebar-gazelle {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
    order: 1;
}

#list-filters-container.sidebar-gazelle {
    flex: 20%;
    -webkit-flex: 20%;
    -ms-flex: 20%;
    order: 2;
    margin: 0 1% 1% 0;
    border: 1px solid #DBDBDB;
    box-sizing: border-box;
    background-color: #FFF;
}

div#listing-clear-search {
    display: block;
    width: 96%;
    margin: 8px auto;
    font-size: 14px;
    color: #d72a19;
    border: 1px solid #d72a19;
    cursor: pointer;
    opacity: .8;
    border-radius: 4px;
    background-color: #FFFFFF;
}

div#listing-clear-search:hover {
    opacity: .6
}

#inventory-bottom-container.sidebar-gazelle {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
    order: 4;
    width: 100%;
}

#list-widget-area.sidebar-gazelle {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
    order: 5;
}

#list-filters-container {
    display: block;
    float: none;
    clear: both;
    width: 100%;
}

#top-search-container {
    position: relative;
    z-index: 8;
}

div#top-search-container.scroll.unfixed {
    position: relative;
}

#list-filters-container.searching {
    opacity: .5;
}

.admin-bar #top-search-container.scroll {
    top: 32px;
}

#top-search-container.scroll {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
}

#search-mobile-banner {
    display: none;
}

#search-mobile-button {
    display: none;
}

.side-search-count, .text-search-button {
    background-color: #000000;
}

#search-item-container {
    background-color: #808080;
    color: #FFF;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    justify-content: center;
    -webkit-justify-content: center;
    width: 100%;
    padding: 8px 0;
}

.search-item {
    padding: 0 2%;
    border-right: 1px solid #fff;
    font-size: 90%;
    position: relative;
    z-index: 6;
    box-sizing: border-box;
}

.search-item-label {
    cursor: pointer;
}

.search-item-icon {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #FFF;
    display: inline-block;
    margin: 0 0 2px 2px;
    border: none;
}

.open .search-item-icon {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #FFF;
    border-top: none;
    border: none;
}

.search-item-dropdown {
    display: none;
    position: absolute;
    color: #000;
    border: 1px solid #D3D3D3;
    font-size: 75%;
    left: 0;
    background-color: #FFF;
}

.search-item-dropdown.large-box {
    width: 320px;
    height: auto;
    padding: 5px;
}

.search-item-dropdown.small-box {
    width: 200px;
    height: auto;
    padding: 5px;
}

.open .search-item-dropdown {
    /*display: block;*/
}

.search-item-dropdown .search-label {
    width: 30%;
    float: left;
    display: block;
    padding: 0 0 0 5px;
}

.search-item-dropdown .search-content {
    float: right;
    display: block;
    overflow: hidden;
    width: 66%;
    padding: 2px;
}

.search-item-dropdown .input-radio {
    display: block;
    overflow: hidden;
    float: left;
    padding: 0 0 0 1%;
}

.input-radio.one-forth {
    width: 24%;
    margin: 0;
}

.input-radio.one-half {
    width: 48%;
    margin: 0;
}

.input-radio input {
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    cursor: pointer;
}

.number-range-list {
    display: block;
    overflow: hidden;
    clear: both;
    float: none;
    width: 100%;
    margin: 5% 0;
    text-align: center;
}

.number-range-list span {
    display: inline-block;
    margin: 0 5px;
    font-weight: bold;
}

.number-range-list .year-count {
    font-weight: normal;
}

.number-range-list input {
    width: 75px;
    border: 1px solid #000;
    font-size: 120%;
}

input.active {
    background-color: #0174aa;
    color: #FFF;
}

#search-color .search-item-icon {
    display: inline-block;
    background-image: url('../../../../images/templates/inventory/color_wheel.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 12px;
    height: 12px;
    border: none;
    vertical-align: middle;
}

#search-color .search-item-dropdown.small-box {
    width: 110px;
}


.tag-item {
    display: block;
    background-color: #0074AA;
    margin: 0 5px;
    padding: 0 14px 0 8px;
    position: relative;
    cursor: pointer;
}

.round-button {
    color: #000;
    position: absolute;
    top: 1px;
    right: 4px;
    font-size: 80%;
}

#inventory-vehicles-container.searching {
    opacity: .5;
}

.inventory-vehicle-page {
    display: none;
}

.inventory-vehicle-page.active {
    display: block;
    width: 100%;
}

#inventory-bottom-container {
    display: block;
    width: 94%;
    overflow: hidden;
    margin: 0 auto;
}

#list-widget-area {
    display: block;
    width: 94%;
    overflow: hidden;
    margin: 0 auto;
}

.inventory-disclaimer {
    display: block;
    width: 90%;
    margin: 15px auto;
    font-size: 70%;
    text-align: center;
    clear: both;
}

.inventory-vehicle-container {
    display: block;
    margin: 0 auto;
    padding: 1%;
    border: 1px solid #DBDBDB;
    box-sizing: border-box;
}

.inventory-vehicle-inner-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;

}

.inventory-vehicle-inner-top-container {
    width: 100%;
}

.inventory-vehicle-headline {
    background-color: #000000;
    color: #FFF;
    text-align: center;
}

.inventory-vehicle-header {
    text-align: center;
    display: block;
    font-weight: bold;
    width: 100%;
}

.inventory-vehicle-inner-left-container {
    width: 30%;
}

.inventory-vehicle-inner-middle-container {
    width: 44%;
}

.inventory-vehicle-inner-right-container {
    width: 25%;
}

.inventory-vehicle-header a {
    width: 100%;
    display: block;
}

.inventory-vehicle-header span {
    margin: 0 3px;
}

.inventory-vehicle-container .inventory-vehicle-image {
    position: relative;
    margin: 0 auto;
}

.marked-sold-overlay {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 40% !important;
    object-fit: contain !important;
    height: auto !important;
}

.list-video-play-container {

}

.list-video-play-icon {
    position: absolute;
    background-image: url('../../../../images/templates/inventory/play_button.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 100px;
    height: 100px;
    border: none;
    vertical-align: middle;
    cursor: pointer;
    top: 25%;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.list-video-play-icon:hover {
    background-color: #000;
    opacity: .7;
    border-radius: 8px;
}

.vehicle-image {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #DBDBDB;
}

.vehicle-information-attributes {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

.vehicle-information-attributes .info-item {
    padding: 1% 1%;
    width: 44%;
}

.vehicle-information-attributes span.info-value {
    font-size: 90%;
    margin-left: 5px;
}

.info-item.info-mobile.info-vin.row-plain {
    overflow-wrap: break-word;
}


.info-item.row-color {
    background-color: #DBDBDB;
}

.vehicle-information-attributes .info-item.desktop-hide {
    display: none;
}

.inventory-vehicle-left-bottom {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;

    order: 4;
    font-size: 70%;
    text-align: left;

    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;
}

.inventory-vehicle-contact {
    flex: 1 1 100%;
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    font-size: 75%;
    line-height: normal;
    text-align: center;
    margin: 2% 0;
}

.dealer-contact-mobile-wrapper {
    display: none;
}

.saved-compare-container {
    display: flex;
}

.saved-compare-container .info-item {
    width: 48%;
}

.info-item.saved-vehicles-container {
    margin: 2% 2%;
    background-color: #C50606;
    opacity: .8;
    padding: 0 1%;
}

.info-item.compare-vehicles-container {
    margin: 2% 2%;
    background-color: #0074AA;
    opacity: .8;
    padding: 0 1%;
}

.inventory-vehicle-save, .inventory-vehicle-compare {
    display: block;
    overflow: hidden;
    float: none;
    clear: both;
    width: 100%;
    font-weight: bold;
    color: #FFF;
    cursor: pointer;
    position: relative;
}

.saved-vehicles-container:hover, .compare-vehicles-container:hover {
    opacity: .6;
}

.inventory-vehicle-save .save-text {
    display: block;
    overflow: hidden;
    float: left;
}

.inventory-vehicle-save .save-checkbox, .inventory-vehicle-compare .compare-checkbox {
    display: block;
    overflow: hidden;
    width: 15px;
    height: 15px;
    background-color: #FFF;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: #000;
    text-align: center;
    line-height: normal;
}

.inventory-vehicle-container .price-item {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;

    display: block;
    overflow: hidden;
    clear: both;
}

.inventory-vehicle-container .price-item.price-primary {
    font-size: 100%;
    font-weight: bold;
}

.inventory-vehicle-container .price-item.price-loan-payment {
    width: 100%;
    text-align: center;
    background-color: #E9E9E9;
    font-size: 16px;
    border-radius: 4px;
    overflow: visible;
}

.inventory-vehicle-container .price-item.price-information {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 90%;
    color: #FFF;
}

.inventory-vehicle-container .price-information a {
    width: 100%;
    display: block;
    margin: 2% 0;
    color: #FFF;
    background-color: #000000;
    border-radius: 4px;
    background-image: url('../../../../images/templates/inventory/magnify-glass.png');
    background-repeat: no-repeat;
    background-position-x: 10px;
    background-size: contain;
}

.inventory-vehicle-container .loan-payment-wrapper {
    display: block;
    position: relative;
}

.tooltip-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin: 0 0 0 5px;
    color: #FFF;

    border-radius: 2px;
    background-image: url('../../../../images/templates/inventory/info_black.png');
    background-repeat: no-repeat;
    background-position-x: 0;
    background-size: contain;

    opacity: 1;
    vertical-align: baseline;
    cursor: pointer;
    position: relative;
}

.inventory-vehicle-container .price-information a:hover {
    opacity: .7;
    text-decoration: none;
}

.inventory-vehicle-container .price-item.price-form {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #0074AA;
    font-size: 90%;
    border-radius: 4px;
    color: #FFF;
    cursor: pointer;
    background-image: url('../../../../images/templates/inventory/etag.png');
    background-repeat: no-repeat;
    background-position-x: 10px;
    background-size: contain;
}

.inventory-vehicle-container .price-item.price-form:hover {
    opacity: .7;
}

.inventory-vehicle-container .price-item span.text {
    float: left;
}

.inventory-vehicle-container .price-item span.value {
    float: right;
}

.inventory-vehicle-container .price-item span.text.default {
    display: block;
    width: 100%;
    text-align: center;
}

.inventory-vehicle-container .inventory-vehicle-inner-bottom-container {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;

    order: 4;

    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: flex-start;
    -webkit-justify-content: flex-start;
}

.bottom-item {
    flex: 0 0 25%;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;

    text-align: center;
}

.bottom-tags img {
    height: 30px;
    width: 30px;
    margin: 0 5px;
    display: inline-flex;
}

.bottom-form-holder {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
}

#form-active {
    display: block;
    position: relative;
    border-top: 2px solid #DBDBDB;
    border-bottom: 2px solid #DBDBDB;
}

#form-close {
    background-color: #FF0000;
    color: #FFF;
    height: 15px;
    width: 15px;
    font-size: 10px;
    text-align: center;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

#form-container {
    display: block;
    font-size: 12px;
}

#inventory-search-data {
    display: none;
}


#vehicle-video-container {
    display: block;
    width: 100%;
}

#video-play-container {
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;
    color: #FFF;
    background-color: #808080;
    cursor: pointer;
}

#video-play-container:hover {
    opacity: .6;
}

#video-play-icon-container {
    display: inline-block;
    padding: 2px 8px 2px 10px;
    background-color: #000000;
    border-radius: 4px;
    text-align: center;
    margin: 0 5px -2px 0;
}

#video-play-icon {
    border-left: 6px solid #FFF;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    display: block;
}

#inventory-ajax-icon {
    display: none;
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 0;
    top: 150px;
}

#inventory-ajax-icon.searching {
    display: block;
    z-index: 100;
}

#inventory-ajax-icon.scroll {
    position: fixed;
    left: 0;
}

#inventory-ajax-icon img {
    width: 250px;
    height: 250px;
    max-width: 250px;
}

.data-na {
    opacity: .4;
    font-size: 90%;
}

span.dropdown-box-close {
    position: absolute;
    bottom: -1px;
    right: -20px;
    display: block;
    width: 20px;
    height: 18px;
    background-color: #0174AA;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.autocheck-list {
    cursor: pointer;
}

span.tooltip-icon:hover span.tooltip {
    background: #f95252;
    border-radius: 5px;
    left: 10px;
    padding: 5px 15px;
    position: absolute;
    z-index: 98;
    display: block !important;
    color: #FFF;
    width: 200px;
    opacity: .9;
    font-size: 90%;
    line-height: normal;
}

.inventory-vehicle-carfax.list-page-carfax img {
    width: 80px;
}

/*
MPG Search Style
*/
div#filter-mpg {
    /*width: 205px;*/
    /*min-width: 200px;*/
}

#filter-city, #filter-highway {
    border-bottom: 0;
}

.mpg-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: baseline;
    flex-direction: column;
}

.search-top .mpg-container {
    flex-direction: row;
}

input.input-number {
    max-width: 90px;
    width: 100%;
}

#search-tag-container .tag-item {
    margin: 2px;
    border: 1px solid #000;
}

.search-from-row, .search-to-row {
    width: 100%;
    height: 40px;
}


/* Begin Mobile */
@media (max-width: 476px) and (orientation: portrait) {
    div#compare-vehicle-container.visible {
        left: 0 !important;
        margin-left: 0 !important;
        flex-wrap: wrap;
        flex-direction: column;
        max-width: 170px;
        max-height: inherit;
    }

    div#inventory-side-search {
        margin-right: 0;
    }

    div.inventory-vehicle-inner-middle-container {
        width: 95%;
    }

    #inventory-middle-container {
        grid-template-columns: 1fr;
    }

    /**
        Listing
    **/
    div#search-item-container {
        font-size: 90%;
    }

    div.pagination-cdp.page-controls {
        margin-left: 15px;
        max-width: 60px;
    }

    div.page-controls span.next {
        margin-left: 10px;
    }

    div#search-mobile-banner {
        display: block;
        width: 100%;
        color: #FFF;
        background-color: #000000;
        font-size: 20px;
        text-align: center;
        order: 1;
        box-sizing: border-box;
        padding: 5px;
    }

    div#search-mobile-banner.mobile-show {
        border-bottom: 2px solid #FFF;
        font-size: 20px;
        padding: 5px;
    }

    div.search-item {
        display: none;
        flex: 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        text-align: left;
        border: none;
    }

    div.search-item.search-mobile-main {
        display: block;
        text-align: center;
        order: 1;
    }

    .search-mobile-main .text-input {
        margin-top: 5px;
        width: 50%;
    }

    div.search-item.mobile-show {
        /*display: block;*/
    }

    div#search-filter {
        order: 2;
    }

    div#search-tags {
        order: 4;
    }

    div#search-price {
        order: 5;
    }

    div#search-year {
        order: 6;
    }

    div#search-odometer {
        order: 7;
    }

    div#search-color {
        order: 8;
    }

    div.search-item .mobile-hide {
        display: none;
    }

    div.search-item.search-action.mobile-default-open {
        border-bottom: none;
    }

    div.search-item.mobile-default-open .search-item-dropdown {
        display: block !important;
        margin: 0 auto 10px;
        position: relative;
        width: 90%;
        border-bottom: 2px solid #DBDBDB;
    }

    div.search-item.search-action.mobile-default-open.mobile-show .search-item-icon {
        display: none;
    }

    div.search-item.search-action {
        border-bottom: 2px solid #DBDBDB;
    }

    div.search-item.mobile-show .search-item-label {
        margin: 8px 0;
        padding: 0 0 6px 0;
    }

    div#search-mobile-banner.mobile-show .search-item-icon {
        background-image: url('../../../../images/templates/inventory/minus.png');
        margin: 0 0 -4px 10px;
        border: none;
    }

    div.search-item.mobile-show.open .search-item-icon {
        border: none;
        background-image: url('../../../../images/templates/inventory/minus.png');
        margin: 0 0 -4px 10px;
    }

    div.search-item span.search-item-icon {
        width: 16px;
        height: 15px;
        display: inline-block;
        background-image: url('../../../../images/templates/inventory/plus.png');
        background-repeat: no-repeat;
        background-size: contain;
        border: none;
        margin: 0 0 4px 10px;
        vertical-align: middle;
    }

    div#search-color.search-item.mobile-show.open .search-item-icon {
        border: none;
        background-image: url('../../../../images/templates/inventory/minus.png');
        margin: 0 0 -4px 10px;
    }

    div#search-color .search-item-icon {
        width: 16px;
        height: 15px;
        display: inline-block;
        background-image: url('../../../../images/templates/inventory/plus.png');
        background-repeat: no-repeat;
        background-size: contain;
        border: none;
        margin: 0 0 4px 10px;
        vertical-align: middle;
    }

    div#search-color .search-item-dropdown.small-box {
        margin: 0 auto 10px;
        position: relative;
        width: 90%;
        border-bottom: 2px solid #DBDBDB;
    }

    div.search-item.search-action.mobile-show .search-item-icon {
        float: right;
        margin: 4px 0 0 0;
        display: block;
    }

    div.mobile-show .search-item-dropdown.large-box {
        height: auto;
    }

    div.mobile-show .search-item-dropdown.large-box.geo-height {
        height: 275px;
    }

    div.search-item-dropdown.large-box.geo-height.geo-zip {
        height: 296px;
    }

    div.input-radio input {
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
    }

    div.search-content .input-radio span {
        margin: 0 0 0 10%;
    }

    div.mobile-show.open .search-item-dropdown {
        /*display: block;*/
        margin: 0 auto 10px;
        position: relative;
        width: 90%;
        border-bottom: 2px solid #DBDBDB;
    }

    div.mobile-show .search-item-dropdown {
        display: none;
    }

    div.number-range-list input {
        width: 40%;
        padding: 0;
        border-radius: initial;
        height: 25px;
    }

    ul.data-range-list {
        display: none;
    }

    span.dropdown-box-close {
        display: none;
    }

    div#search-mobile-button.mobile-show {
        order: 8;
        display: block;
        margin: 12px auto;
        padding: 5px 20px;
        background-color: #DBDBDB;
        color: #0174AA;
        font-weight: bold;
        border: 1px solid #000;
    }

    div#search-tag-container {
        font-size: 70%;
    }

    div#search-tag-container .round-button {
        font-size: 120%;
        top: -2px;
        right: 2px;
    }

    div.tag-item.remove-action {
        margin: 2px 5px 4px;
    }

    div.inventory-vehicle-header {
        margin: 5px 0;
    }

    div#inventory-top-container {
        text-align: center;
        width: 100%;
    }

    div.inventory-pagination-container {
        float: none;
        padding: 2% 0;
    }

    div.pagination-container {
        width: 56%;
        margin: 0 auto;
    }

    div#inventory-sort-container {
        float: none;
        padding: 2% 0;
    }

    div.inventory-vehicle-container {
        width: 100%;
    }

    div.inventory-vehicle-inner-left-container {
        flex: 0 0 60%;
        -webkit-flex: 0 0 60%;
        -ms-flex: 0 0 60%;

        font-size: 60%;
        margin: 0 auto;
    }

    div.inventory-vehicle-inner-right-container {
        margin: 10px;
        font-size: 1.2em;
        width: 95%;
    }

    div.inventory-vehicle-container .inventory-vehicle-pricing {
        margin: 0 auto;
    }

    div.inventory-vehicle-inner-left {
        flex: 0 0 90%;
        -webkit-flex: 0 0 90%;
        -ms-flex: 0 0 90%;
    }

    div.inventory-vehicle-image { /*possible removal todo*/
        flex: 50%;
        -webkit-flex: 50%;
        -ms-flex: 50%;
    }

    div.inventory-vehicle-contact {
        display: none;
        text-align: center;
    }

    div.dealer-contact-mobile-wrapper {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;

        order: 5;
        display: block;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .dealer-contact-mobile-wrapper a {
        display: block;
        width: 90%;
        background-color: #000;
        padding: 4px 8px;
        margin: 4px auto 0;
        color: #FFF;
        border-radius: 8px;
        cursor: pointer;
        text-decoration: none;
        font-size: .8em;
    }

    .dealer-contact-mobile-wrapper a span {
        margin: 0 4px;
    }

    div.price-item {

    }

    div.inventory-vehicle-container.price-item.price-primary {
        display: block;
        font-weight: bold;
        color: #000;
        text-align: center;
    }

    div.price-item.price-primary .text {
        float: none;
    }

    div.price-item.price-primary .value {
        float: none;
    }

    div.price-item.price-information a {
        background-image: none;
        padding: 4px 0;
    }

    div.price-item.price-form {
        background-image: none;
    }

    .nested .bottom-item {
        -webkit-flex: 0 0 100%;
    }

    /**
        List Sidebar
    **/
    div#list-filters-container.sidebar-gazelle {
        display: none;
    }

    div#list-filters-container.sidebar-gazelle.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
        background-color: #FFF;
        width: 88%;
    }

    .mobile div#side-search-container {
        display: block;
        position: fixed;
        background-color: #FFF;
        top: 0;
        left: -1000px;
        z-index: 99;
        width: 88%;
        overflow-y: scroll;
        box-sizing: border-box;
    }

    div#inventory-sidebar-mobile-search {
        display: block;
        padding: 0 2%;
        background-color: #0174AA;
        border: 2px solid #000;
        color: #FFF;
        width: 100%;
        text-align: center;
        font-weight: bold;
        text-transform: uppercase;
        cursor: pointer;
        z-index: 100;
        font-size: 18px;
        position: relative;
        box-sizing: border-box;
    }

    div#inventory-sidebar-mobile-search.running {
        opacity: .8;
    }

    div#inventory-sidebar-mobile-search.open {
        z-index: 10;
        text-align: right;
        font-size: 20px;
        background-color: #d13838;
        opacity: .9;
        padding-right: 12px;
    }

}

@media (max-width: 736px) and (orientation: landscape) {
    div.inventory-pagination-container {
        max-width: 32%;
        width: 100%;
    }

    div.search-item-dropdown.large-box {
        width: 300px;
    }

    div.search-item-dropdown .search-content {
        width: 200px;
    }

    .info-item.info-transmission .info-value {
        max-width: 50%;
    }

    div.price-item.price-information a {
        background-image: none;
        padding: 4px 0;
    }

    div.price-item.price-form {
        background-image: none;
    }
}


.grid .inventory-vehicle-pricing {
    display: flex;
    justify-content: space-evenly;
}

.grid .price-text-value-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.grid .price-item span.text {
    order: 2
}

.grid .price-item span.value {
    order: 1;
    font-size: 20px;
}
