.lightBox-background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: black;
    opacity: 0.8;
    display: none;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.lightBox {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    display: none;
    max-width: 1024px;
    height: 100%;
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.lightBox-content {
    left: 0;
    position: relative;
    width: 100%;
    z-index: 9999;
    text-align: center;
    border: 3px solid #ffffff;
    max-width: 1024px;
    margin: 0 auto;
}

.lightBoxSlides.active img {
    max-width: 1024px;
    width: 100%;
}

.close {
    color: white;
    position: relative;
    top: 20px;
    font-size: 35px;
    font-weight: bold;
    float: right;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.lightBoxSlides {
    display: none;
}

.cursor {
    cursor: pointer;
}

.light-box-prev,
.light-box-next {
    cursor: pointer;
    position: absolute;
    top: 50px;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    height: 100%;
    width: 25%;
}

.light-box-prev {
    float: left;
    left: 0;
}

.light-box-prev-arrow, .light-box-next-arrow {
    float: left;
    top: 50%;
    left: 0;
    position: relative;
}

.light-box-next-arrow {
    float: right;
}

.light-box-next {
    float: right;
    right: 0;
}

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);
}

#primary-slider ul#primary-slider-list li.splide__slide {
    background-size: contain !important;
    height: 30vw;
    min-height: 300px;
    border: 1px solid #ffffff;
}
#secondary-slider ul#secondary-slider-list li.splide__slide {
    background-size: contain !important;
}

.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;
    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;

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

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

.search-top div#list-filters-container{
    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;
    background: #0074AA;
    color: #ffffff;
    padding: 5px;
}

#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: #0074AA;
    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: #0174AA;
    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;
}

#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 ***************************************************/

.lightBox-background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: black;
    opacity: 0.8;
    display: none;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.lightBox {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    display: none;
    max-width: 1024px;
    height: 100%;
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.lightBox-content {
    left: 0;
    position: relative;
    /*width: 100%;*/
    z-index: 9999;
    text-align: center;
    border: 3px solid #ffffff;
    width: 1024px;
    margin: 0 auto;
}

.lightBoxSlides.active img {
    width: 1024px;
}

.close {
    color: white;
    position: relative;
    top: 20px;
    font-size: 35px;
    font-weight: bold;
    float: right;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.lightBoxSlides {
    display: none;
}

.cursor {
    cursor: pointer;
}

.light-box-prev,
.light-box-next {
    cursor: pointer;
    position: absolute;
    top: 50px;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    height: 100%;
    width: 25%;
}

.light-box-prev {
    float: left;
    left: 0;
}

.light-box-prev-arrow, .light-box-next-arrow {
    float: left;
    top: 50%;
    left: 0;
    position: relative;
}

.light-box-next-arrow {
    float: right;
}

.light-box-next {
    float: right;
    right: 0;
}

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-listing .inventory-vehicle-header span {
    padding-left: 5px;
}

#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: grid;
    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-listing.side.hide, #inventory-detail.hide {*/
/*	display: none;*/
/*}*/

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

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

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

#list-filters-container.sidebar-flamingo {
    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-flamingo {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
    order: 4;
    width: 100%;
}

#list-widget-area.sidebar-flamingo {
    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: #0174AA;
    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: #C50606;
    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-container .inventory-vehicle-image {
    position: relative;
    width: 90%;
    margin: 0 auto;
    max-width: 300px;
}

.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 {
    flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    order: 1;
    -webkit-order: 1;
    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;
    align-items: center;
    -webkit-align-items: center;
}

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

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

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

#inventory-detail .vehicle-information-attributes {
    width: 100%;
    order: 1;
    border: none;
}


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

.info-item .info-label {
    float: left;
    line-height: normal;
}

.info-item .info-label:after {
    content: '\003A';
}

.info-item .info-value {
    float: right;
    font-size: 85%;
    max-width: 62%;
    text-align: right;
    line-height: normal;
}

.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-inner-right-container {
    width: 85%;
    flex: 0 0 25%;
    -webkit-flex: 25%;
    -ms-flex: 25%;
    order: 3;
    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;
    align-items: center;
    -webkit-align-items: center;
    padding: 0 2%;
}


.vdp-form-buttons {
    width: 100%;
    margin: 0 auto 10px;
}

.inventory-vehicle-pricing {
    display: block;
    width: 100%;
    font-size: 90%;
}

.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: #0074AA;
    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;
}


#inventory-detail {
    margin: 2% 0 0 0;
}

#inventory-detail-banner {
    width: 100%;
    background-color: #0174AA;
    margin: 0 auto 2%;
    padding: 1%;
    box-sizing: border-box;
    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-detail-banner.scroll {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    font-size: 90%;
}

.admin-bar #inventory-detail-banner.scroll {
    top: 32px;
}

.banner-container {
    color: #FFF;
    text-transform: uppercase;
    font-size: 80%;
    cursor: pointer;
    padding: 0 2%;
    border-right: 2px solid #FFF;
}

.banner-container.dealer-number {
    border: none;
}

.banner-container.facebook-share {
    border-left: 2px solid #FFF;
    border-right: none;
}

.previous-icon {
    display: inline-block;
    background-image: url('../../../../images/templates/inventory/back-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 18px;
    vertical-align: text-top;
}

.print-icon {
    display: inline-block;
    background-image: url('../../../../images/templates/inventory/print-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 18px;
    vertical-align: text-top;
}

.phone-icon {
    display: inline-block;
    background-image: url('../../../../images/templates/inventory/phone.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 18px;
    vertical-align: text-top;
}

.banner-container.dealer-number a {
    color: #FFF;
}

.banner-container.dealer-number a:visited {
    color: #FFF;
}

.cdp-banner-top.cdp-banner-detail {
    margin-bottom: 10px;
}

#inventory-detail-mobile-top {
    display: none;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    background-color: #0174AA;
}

#inventory-detail-mobile-top > a {
    color: #FFF;
    display: inline-block;
    text-decoration: underline;
}

#phone-icon {
    display: inline-block;
    background-image: url('../../../../images/templates/inventory/phone.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
    vertical-align: text-top;
}

#inventory-detail-top-container {
    background-color: #F2F2F2;
    border-bottom: 1px solid #DBDBDB;
    color: #000;
    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;
    width: 100%;
    position: relative;
}

div.fb-share-button {
    /*    display: block;
        position: absolute;
        right: 25px;
        top: 0;*/
}

.top-inner-top {
    flex: 100%;
    -webkit-flex: 100%;
    -ms-flex: 100%;
    order: 1;
    -webkit-order: 1;
    text-align: center;
    color: #FFF;
    background-color: #C50606;
    border-bottom: 1px solid #DBDBDB;
}

.top-inner-left {
    flex: 50%;
    -webkit-flex: 50%;
    -ms-flex: 50%;
    order: 2;
    text-align: center;
}

.detail-vehicle-header {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 0 0 5px 0;
    font-size: 125%;
    font-weight: bold;
    border-bottom: 2px solid #DBDBDB;
}

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

.top-inner-right {
    flex: 50%;
    -webkit-flex: 50%;
    -ms-flex: 50%;
    order: 3;
    text-align: center;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-flow: column wrap;
    -webkit-flex-flow: column wrap;
    justify-content: center;
    -webkit-justify-content: center;
}

.detail-vehicle-contact {
    width: 90%;
    margin: 0 auto 5px;
    font-size: 90%;
}

.detail-vehicle-pricing .price-item .text {
    display: inline;
    float: none;
}

.detail-vehicle-pricing .price-item .value {
    display: inline;
    float: none;
    margin: 0 0 0 5px;
}

#inventory-detail-body-container {
    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;
    margin: 15px auto 0;
    width: 95%;
}

.detail-body-inner-left {
    flex: 0 0 48%;
    -webkit-flex: 0 0 48%;
    -ms-flex: 0 0 48%;
    margin: 0 auto;
    min-height: 0;
    min-width: 0;
}

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

#vehicle-slider {
    display: none;
    width: 100%;
    margin: 0;
}

#vehicle-slider.slick-initialized, #vehicle-slider-nav.slick-initialized {
    display: block;
}

#vehicle-slider-nav {
    display: none;
    width: 85%;
    margin: 10px auto 0;
}

#vehicle-slider-nav button {
    background-color: #797979;
    border-radius: 4px;
    padding: 1px 0 0;
    height: 20px;
    width: 20px;
    border: none;
}

#vehicle-slider-nav img {
    margin: 0 5px;
    cursor: pointer;
}

button.slick-next:hover, button.slick-next:active, button.slick-next:focus {
    border: none;
    position: absolute;
    top: 50%;
}

button.slick-prev:hover, button.slick-prev:active, button.slick-prev:focus {
    border: none;
    position: absolute;
    top: 50%;
}

img.vehicle-image-large {
    margin: 0 auto;
    width: 100%;
}

img.vehicle-image-small {
    outline: 1px none;
}

img.vehicle-image-small.slick-current {
    outline: 5px double #0074AA;
}

#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;
}

.detail-body-inner-right {
    flex: 0 0 48%;
    -webkit-flex: 0 0 48%;
    -ms-flex: 0 0 48%;
    margin: 0 auto;
}

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

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

.detail-tab-container {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-flow: column wrap;
    -webkit-flex-flow: column wrap;
    width: 100%;
    margin: 20px 0 0;
    order: 2;
}

.tab-name-container {
    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;
}

.tab-name {
    background-color: #E9E9E9;
    margin: 0 3px 0 0;
    padding: 2px 5px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}

.tab-name.active {
    background-color: #CDDEF2;
}

.tab-content-container {
    display: block;
    width: 100%;
    background-color: #CDDEF2;
    padding: 0 3%;
    box-sizing: border-box;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

#loan-calculator {
    display: block;
    width: 100%;
    float: none;
    clear: both;
    position: relative;
    overflow: hidden;
}

.loan-value {
    display: block;
    float: none;
    clear: both;
    overflow: hidden;
    padding: 2px 10px;
}

.loan-value label {
    display: block;
    float: left;
}

.loan-value input {
    display: block;
    float: right;
}

.loan-payment {
    display: block;
    float: left;
    text-align: center;
    margin: 0 10px 0 0;
}

.loan-total {
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
}

#loan-calculator-submit {
    display: block;
    float: right;
}

#loan-calculator-submit button {
    background-color: #0074AA;
    padding: 5px;
    color: #FFF;
}

.detail-body-inner-bottom {
    flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    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;
}

.detail-bottom-item {
    flex: 25%;
    -webkit-flex: 25%;
    -ms-flex: 25%;
    text-align: center;
}

.detail-bottom-item.bottom-tags img {
    margin: 10px 10px 0;
    height: 40px;
    width: 40px;
}

.detail-bottom-item.vehicle-information-container {
    flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
}

.vehicle-information-container .tab-name-container {
    margin: 3% 0 0 0;
}

.vehicle-information-container .tab-name {
    flex: 1 1 30%;
    -webkit-flex: 1 1 30%;
    -ms-flex: 1 1 30%;
}

.vehicle-information-container .tab-name.active {
    background-color: #0074AA;
    color: #FFF;
}

.vehicle-information-container .tab-content-container {
    display: block;
    overflow: hidden;
    background-color: #FFF;
    border-top: 2px solid #0074AA;
    border-bottom: 2px solid #0074AA;
}

.standard-equipment-container {
    display: block;
    overflow: hidden;
    clear: both;
    float: none;
    max-height: 800px;
    height: 100%;
    overflow-y: scroll;
    width: 100%;
    text-align: left;
    margin: 2% 0 0 0;
}

.standard-equipment-container .equipment_group {
    display: block;
    width: 100%;
    margin: 0 0 2%;
}

.standard-equipment-container h4 {
    text-indent: 10px;
    font-size: 125%;
    text-decoration: underline;
    cursor: pointer;
    background-color: #E9E9E9;
    border-radius: 8px;
    margin: 0 0 1%;
}

.standard-equipment-container h4:hover {
    opacity: .6;
}

.equipment_group ul {
    list-style: disc;
    width: 90%;
    margin: 0 auto;
    display: none;
}

.dealer-notes-container {
    display: block;
    width: 100%;
    padding: 5px 0;
}

.dealer-option-container {
    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;
    text-align: left;
    padding: 5px 0;
}

.dealer-option {
    flex: 0 0 25%;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
}

span.spacer {
    font-size: 85%;
    margin: 0 2%;
    width: 94%;
    box-sizing: border-box;
    overflow: hidden;
    text-indent: -10px;
    padding-left: 10px;
    display: block;
}

.tab-mobile-button {
    display: none;
    width: 100%;
    background-color: #0174AA;
    color: #FFF;
    padding: 8px 2%;
    text-align: left;
    overflow: hidden;
    clear: both;
    float: none;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 22px;
    box-sizing: border-box;
}

span.tab-mobile-icon.close {
    border: none;
    background-image: url('../../../../images/templates/inventory/minus.png');
    margin: 8px 0 -4px 10px;
}

span.tab-mobile-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: 4px 0 4px 10px;
    vertical-align: middle;
}

span.tab-mobile-icon {
    display: block;
    float: right;
}

#similar-vehicle-wrapper {
    margin: 20px auto;
}

.similar-vehicle-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    margin: 10px 0;
    text-align: center;
}

.similar-vehicle.similar-image img {
    width: 200px;
    object-fit: contain;
}

#similar-title {
    text-align: center;
    font-weight: bold;
    font-size: 120%;
    color: #FFF;
    background-color: #0074AA;
}

.similar-headline span {
    margin: 0 2px;
}

.similar-vehicle-container a {
    color: #000;
    cursor: pointer;
}

#inventory-wrapper .similar-vehicle-container a:visited {
    color: #0074AA;
}

.similar-vehicle.similar-headline {
    order: 2;
}

.similar-vehicle.similar-headline a {
    text-decoration: none;
}

.similar-vehicle.similar-image {
    order: 1;
    -webkit-order: 1;
    margin: auto;
}

.similar-vehicle.similar-text-link {
    order: 3;
}

.similar-headline span {
    margin: 0 2px;
}

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

#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;
}

.inventory-vehicle-carfax.detail-page-carfax img {
    width: 180px;
}

.inventory-vehicle-carfax.detail-embed-carfax {
    display: block;
    float: none;
    clear: both;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    background-color: #DBDBDB;
}

.carfax-snapshot-embedded {
    margin: 20px auto;
    box-shadow: 0 6px 8px 6px #4D4D4D;
}

/*
MPG Search Style
*/
.side-search 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;
    }

    .banner-container.facebook-share {
        border-left: none;
        margin: 5px 0;
    }

    div#inventory-wrapper {
        font-size: 20px;
    }

    #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: #0174AA;
        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;
    }

    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.list-video-play-icon {
        display: none;
    }

    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.inventory-vehicle-pricing {
        width: 100%;
        font-size: 70%;
    }

    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-flamingo {
        display: none;
    }

    div#list-filters-container.sidebar-flamingo.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;
    }

    /**
        Detail
    **/
    div.banner-container {
        text-align: center;
        padding: 0 10%;
    }

    span.banner-text {
        display: none;
    }

    div#inventory-detail-top-container {
        background-color: #FFF;
        border: none;
        text-align: center;
        display: block;
    }

    div.detail-vehicle-contact {
        border-bottom: 2px solid #000000;
    }

    div.detail-vehicle-pricing .price-primary {
        background-color: #FFF;
        color: #000;
        font-weight: bold;
    }

    div#inventory-detail-body-container {
    }

    div.detail-body-inner-left {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
    }

    div.detail-body-inner-right {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;

        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-detail div.vehicle-information-attributes .info-item {
        background-color: #FFF;
        width: 95%;
    }

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

    div.vehicle-information-attributes .info-item.row-color {
        background-color: #FFF;
    }

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

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

    div.detail-tab-container {
        order: 1;
        -webkit-order: 1;
    }

    div.dealer-option {
        flex: 0 0 48%;
        -webkit-flex: 0 0 48%;
        -ms-flex: 0 0 48%;
    }

    div.similar-vehicle-container {
        flex: 0 0 90%;
        -webkit-flex: 0 0 90%;
        -ms-flex: 0 0 90%;
    }

    div.detail-bottom-item.bottom-tags {
        display: none;
    }

    div.detail-tab-container .tab-name-container {
        display: none;
    }

    div.detail-tab-container .tab-content-container {
        width: 100%;
        padding: 0;
        background-color: #FFF;
    }

    div.detail-tab-container .tab-content-container .tab-content {
        display: block;
    }

    div.detail-tab-container .tab-content-container .tab-content-inner {
        display: none;
    }

    div.detail-tab-container .tab-content-container .tab-content-inner.active {
        display: block;
        background-color: #E6E6E6;
        padding: 2%;
        margin: 0 0 5% 0;
    }

    div.tab-mobile-button {
        display: block;
    }

    div.detail-bottom-item.vehicle-information-container .tab-name-container {
        display: none;
    }

    div.detail-bottom-item.vehicle-information-container .tab-content-container {
        border: none;
        margin: 2% 0 0;
        width: 100%;
        padding: 0;
    }

    div.detail-bottom-item.vehicle-information-container .tab-content {
        display: block;
    }

    div.detail-bottom-item.vehicle-information-container .tab-content-inner {
        display: none;
    }

    div.detail-bottom-item.vehicle-information-container .tab-content-inner.active {
        display: flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;

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

    div.detail-bottom-item.vehicle-information-container .tab-content-inner.active > div {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
    }

    div#similar-container {
        margin: 0 auto 10px;
    }

    div#similar-title {
        display: none;
    }

    div#similar-container .tab-content-inner {
        display: none;
    }

    div#similar-container .tab-content-inner.active {
        display: block;
    }

    div#similar-container .similar-image img {
        margin: auto;
    }
}

@media (max-width: 736px) and (orientation: landscape) {
    .banner-container.facebook-share {
        border-left: none;
        margin: 5px 0;
    }

    div#inventory-wrapper {
        font-size: 16px;
    }

    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;
}

.grid .vehicle-information-attributes .info-item {
    margin: 0 auto;
    width: 95%;
}