#maincontent{
    background-color: rgba(236, 236, 236, 0.2);
}

.search-banner {
    margin-left: -15px;
    margin-right: -15px;
}

#page-header {
    margin-bottom: 24px;
}

.results-panel .filter-bar {
    margin-top: 8px;
}

.results-panel .filter-bar ul {
    margin-block-start: 0;
    margin-block-end: 0;
}

@media (max-width: 768px) {
    .results-panel .filter-bar ul {
        /* margin-block-start: 1em; */
        margin-block-end: 1em;
    }

    .footer-bg {
        flex-direction: column;
    }

    .footer-bg a {
        margin: 0 auto;
    }
}

.search-results{
    max-width: 100%;
    font-family: var(--secondary-font) !important;
}

.search-results.container, .search-results .container {
    padding-left: 15px;
    padding-right: 15px;
}

.search-results .refinement>span{
    font-size: 16px;
}

.site-search{
    max-width: 384px !important;
    width: 100% !important;
    height: 100%;
}

.lexus-select{
    border: none;
    border-bottom: 1px solid #868487;
    border-radius: 0;
    background-color: transparent;
    padding-left: 0;
    background: url('../images/carat_down.svg') no-repeat right 0.75em center/14px 14px;
    padding-left: 5px;
}

.lexus-select:focus{
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #868487;
}

@media (min-width: 769px) {
    .filter-header{
        display: none;
    }
    .refinement-bar {
        min-width: 300px;
        max-width: 400px;
        width: 25%;
    }
}

.card-body ul{
    margin: 0;
    overflow: visible;
}

@media (min-width: 769px){
    .tab-content{
        padding-left: 0;
        padding-right: 0;
    }
}

#product-search-results{
    max-width: 100vw;
}

.refinements .card, .models-refinement{
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    border-top: 1px solid #868487;
    color: #868487;
    margin: 0;
}

.refinements .card-header{
    border: none;
    padding: 0;
}

.refinements .card-header button{
    padding: .375rem .75rem;
    padding-bottom: 24px;
    padding-top: 24px;
    line-height: 24px;
    height: initial;
}

.refinements .card-header button span, .refinements .collapsible-xl .title:after{
    color: #868487;
    font-size: 16px;
    letter-spacing: 0.6px;
}

.refinements .card-body{
    padding-top: 0;
    padding-bottom: 24px;
    padding-left: 0;
    padding-right: 0;
}

.refinements .card-body ul li:not(:last-child){
    padding-bottom: 24px;
}

.refinements li.disabled {
    opacity: 0.2;
}

.refinement-btn {
    color: black !important;
    width: 100%;
    text-align: left;
    padding-left: 10px;
    line-height: inherit;
}

.refinement-btn span{
    padding-left:32px;
    text-transform: none;
    font-size: 16px;
    font-weight: normal;
}

.refinements{
    height: 100%;
}

.refinement-powertrain{
    margin-left: 12px;
}

.refinement-powertrain h5{
    font-size: 16px;
    margin-left: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.refinement-powertrain .card-body ul li{
    margin-left: 24px;
}

.refinement-powertrain .card-body{
    padding-top: 20px;
    padding-bottom: 36px;
}

.filter-header{
    padding: 0;
    margin: 0;
    margin-bottom: 40px;
}

.header-bar{
    padding: 0;
    margin: 0;
    border-bottom: none;
    background-color: transparent;
}

.header-bar .row, .header-bar .container, .header-bar .col-4, .header-bar .col-2, .header-bar .col-5, .header-bar .col-1{
    padding: 0;
}

.grid-header .result-count{
    align-items: center;
    vertical-align: middle;
    display: block;
    padding-bottom: 0;
}

.result-count .count{
    height: 100%;
    display: flex;
    align-items: center;
    vertical-align: middle;
}

.refinement-bar{
    background-color: white;
    padding-top: 55px;
    padding-bottom: 50px;
}

.filter-bar ul {
    padding-left: 10px;
}

@media (max-width: 769px){
    .refinement-bar{
        top: 0;
        height: 100%;
        z-index: 999;
        padding: 32px;
    }

    .filter-bar ul{
        padding-left: 15px;
    }
}

.refinement-bar .nav{
    margin: 0;
    padding: 0;
    width: 100%;
}

.refinement-bar .nav .nav-link{
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.nav-tabs:not(.flex-column) .nav-link{
    border-bottom: 4px solid white;
}

.productSearchForm{
    height: 100%;
}

.productSearchForm .fa-search, .productSearchForm .fa-times{
    top: 0.6em;
    font-size: 24px;
}

.productSearchForm .search-field{
    border: 1px solid rgba(134, 132, 135, 0.4);
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
}

.productSearchForm .search-search-button{
    background: url('../images/search.svg') no-repeat right 0 center/18px 18px;
    height: 18px;
    width: 18px;
    right: 1em;
}

.productSearchForm .reset-button{
    background: url('../images/close.svg') no-repeat right 0 center/16px 16px;
    height: 18px;
    width: 18px;
    right: 3em;
}

.productSearchForm .search-search-button, .productSearchForm .reset-button {
    position: absolute;
    border: none;
    top: 19px;
    padding: 0;
    background-color: transparent;
}

.filter-bar li.filter-value{
    border-radius: 0;
    display: flex;
    border: none;
    background-color: white;
    padding: 0;
    margin-bottom: .3125em;
}

.filter-bar .filter-value button{
    border-radius: 0;
}

.filter-bar .filter-value button span{
    font-size: 16px;
}

.filter-bar li.filter-value button:after{
    font-size: 20px;
    top: 7px;
    content: "";
}

.filter-bar li.filter-value button .filter-display-value{
    margin-right: 26px;
}

.filter-bar li.filter-value button .color-display{
    height: 16px;
    width: 16px;
    border-radius: 16px;
    margin-right: 4px;
}

.thin-close{    
    background: url('../images/close_thin.svg') no-repeat right 1em center/15px 15px;
    position: absolute;
    width: 100%;
    height: 100%;
}

.reset{
    background-color: transparent;
    border: none;
    color: #868487;
    font-size: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 14px;
    padding-right: 14px;
}

.reset:hover, .reset:active{
    background-color: transparent !important;
    border: none;
    color: black !important;
}

.header-bar .reset{
    padding-top: 0px;
    padding-bottom: 4px;
}

.header-bar.d-md-none .col-4 h3{
    margin-bottom: 0;
}


.filter-results .badge-filters{
    background-color: white;
    color: black;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 50%;
    height: 18px;
    width: 18px;
}

.filter-results.active{
    background-color: black !important;
    color: white;
}

.filter-results span{
    margin-right: 6px;
}

.filter-btn{
    text-transform: uppercase !important;
}

#vehicle-search-input{
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
    border: 1px solid rgba(134, 132, 135, 0.4);
}

#vehicle-search-input:focus{
    border: 1px solid #000000;
}

.btn-filter-white{
    background-color: white !important;
    font-size: 16px !important;
    line-height: 19px !important;
    border: 1px solid rgba(134, 132, 135, 0.4) !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    border-radius: 0 !important;
    text-transform: none;
}

.btn-filter-white img{
    padding-left: 12px;
}

.btn-filter-white:hover{
    opacity: 0.6;
}

.results-panel{
    padding: 0;
    padding-left: 42px;
    padding-top: 36px;
    padding-right: 42px;
}

@media (max-width: 543px) {
    .results-panel{
        padding-left: 12px;
        padding-right: 12px;
    }
}

.refinements .collapsible-xl .title:after{
    content: "";
    background: url('../images/Plus.svg') no-repeat right 0 center/16px 16px;
    height: 16px;
    width: 16px;
    margin-top: 3px;
}

.refinements .collapsible-xl.active .title:after{
    content: "";
    background: url('../images/Minus.svg') no-repeat right 0 center/16px 16px;
    height: 16px;
    width: 16px;
    margin-top: 3px;
}

.search-results .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: white;
    margin-top: 3px;
    margin-left: 8px;
    border: 1px solid black;
    padding-left: 0px !important;
}
  
.search-results .checkmark.checked{
    background-color: black;
}
  
.search-results .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
  
.search-results .checkmark.checked:after {
    display: block;
}
  
.search-results .checkmark:after {
    left: 8px;
    top: 2px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-radius: 1px;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
}

.refinements li.color-attribute{
    position: relative;
    margin: 6px;
    margin-bottom: 0;
    padding: 0;
    padding-bottom: 0 !important;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.refinements li.color-attribute .search-results .checkmark{
    margin-top: 2px;
}

.refinements li.color-attribute button{
    display: flex;
}

.swatch-circle-FFFFFF, .swatch-circle-F9F9F9{
    border: 1px solid rgba(0,0,0,.3) !important;
}

.color-attribute .swatch-circle{
    margin-top: 6px;
    border: none;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    padding-left: 0;
    margin-left: 40px;
    display: inline-block;
    flex-shrink: 0;
}

.color-attribute.disabled{
    display: none !important;
}

.color-attribute .color-text{
    margin-left: 8px;
    padding-left: 0;
}

.color-attribute .swatch-button:hover + .swatch-label{
    display: block !important;
}

.color-attribute .swatch-label{
    bottom: 50px;
}

.swatch-mark.color-value.selected:before{
    height: 20px;
    width: 20px;
    line-height: 10px;
    top: 10px;
    left: 10px;
    border-radius:20px;
    background-color: black;
    content: "";
    display: inline-block;
    position: absolute;
}

.swatch-mark.color-value.selected:after{
    left: 16px;
    top: 12px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-radius: 1px;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
    content: "";
    background-color: transparent;
}

.swatch-mark.color-value.selected{
    border: 1px solid rgba(0,0,0) !important;
}

.refinements .values button{
    font-family: var(--secondary-font) !important;
}

.refinement-hyperlink {
    padding-left: 8px;
    color: black !important;
    text-decoration: underline !important;
}

.Slider {
    position: relative;
    display: block;
    height: 60px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.Slider span {
    position: absolute;
    display: inline-block;
    white-space: nowrap;
}

.Slider-bar {
    z-index: 0;
    width: 100%;
    height: 5px;
    background: #ccc;
    left: 0;
    top: 40px;
}

.Slider-bar:before {
    left: 0;
}

.Slider-bar:after {
    right: 0;
}

.Slider-bar:after, .Slider-bar:before {
    position: absolute;
    top: -5px;
    background-color: #000;
    width: 1px;
    height: 15px;
    content: " ";
}

.Slider-bar--selection {
    z-index: 1;
    background: #000;
}

.Slider-thumb {
    top: 25px;
    font-size: 0;
    z-index: 2;
    width: 30px;
    margin-left: -15px;
    height: 36px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    box-shadow: -1px 1px 3px rgb(0 0 0 / 10%);
    text-align: center;
    font-style: normal;
}

.Slider-thumb:before {
    content: "III";
    font-family: Arimo ,arial,sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-left: -1px;
    line-height: 34px;
    color: #ccc;
}

.Slider-legend {
    top: 0;
    color: #000;
    font-size: 1.0833333333333333rem;
    line-height: 1;
}

.Slider-legend--left {
    left: -1rem;
}

.Slider-legend--right {
    right: -1rem;
}

.product {
    background: white;
    font-size: 14px;
    color: var(--black);
    min-width: 296px;
    box-shadow: 2px 4px 8px rgb(17 17 17 / 25%);
}

@media only screen and (max-width: 768px) {
    .product {
        min-width: initial;
        width: 100%;
    }

    .filter-bar li.filter-value{
        display: none;
    }
}

.product-grid {
    margin-left: -12px;
    margin-right: -12px;
}

.product-grid > .col-12 {
    margin-bottom: 24px;
}

@media only screen and (min-width: 769px) {
    .product-grid > .col-12 {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.filler-col {
    display: none;
}

.filler-col:nth-last-child(3),
.filler-col:nth-last-child(4),
.filler-col:nth-last-child(5),
.filler-col:nth-last-child(6),
.filler-col:nth-last-child(7) {
    display: block;
}

.product-tile {
    position: relative;
}

.product-tile .tile-body {
    padding: 0;
}

.product-tile-name-container {
    margin-bottom: 5px;
}

.product-tile .vehicle-year {
    font-size: 16px;
    color: var(--black);
    margin-bottom: 5px;
}

.product-tile .vehicle-badges {
    background: var(--accent-1);
    color: white;
    border-radius: 40px;
    font-size: 12px;
    padding: 2px 12px;
    margin-left: 2px;
    margin-right: 2px;
}

.product-tile .vehicle-name {
    margin-bottom: 0;
    font-size: 24px !important;
    line-height: 29px;
    color: var(--black);
}

.vehicle-packages-container:hover {
    /* min-height: 42px; */
    height: auto;
    display: block;
}

.vehicle-packages-empty{
    height: 30px;
}

.vehicle-packages a {
    color: black;
}

.vehicle-packages-container {
    position: relative;
    z-index: 2;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* height: 42px; */
    height: 30px;
    min-height: 30px;
}

@media only screen and (max-width: 768px) {
    .vehicle-packages-container {
        -webkit-line-clamp: 1;
        /* height: 21px; */
    }

    .vehicle-packages-container:hover {
        /* min-height: 21px; */
    }
}

/* .vehicle-packages-container:hover .vehicle-packages-condensed, .vehicle-packages-expanded {
    display: none;
}

.vehicle-packages-container:hover .vehicle-packages-expanded {
    display: block;
} */

.product-tile .image-container-container {
    margin-bottom: 12px;
}

@media only screen and (min-width: 769px) {
    .product-tile .image-container-container {
        margin-left: auto;
        margin-right: auto;
    }
}

.product-tile .image-container {
    position: relative;
    padding-bottom: 56.2%;
}

.product-tile .tile-image {
    position: absolute;
    object-fit: cover;
    width: auto !important;
    max-width: 100%;
    max-height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.swatch-container {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
}

.product-tile .swatch-container .swatch-circle {
    width: 20px;
    height: 20px;
    margin: 0;
    min-width: 20px;
    flex-shrink: 0;
}

.swatch-circle-white {
    border: 1px solid #868487;
}

.swatch-label-mobile {
    display: none;
}

/* @media only screen and (max-width: 400px) {
    .product-tile .price {
        margin-left: -20%;
    }
}

@media only screen and (max-width: 325px) {
    .product-tile .price {
        margin-left: -30%;
    }
} */

/* @media only screen and (min-width: 769px) {
    .color-swatches {
        height: 28px;
    }

    .swatches {
        float: right;
    }

    .swatch-container {
        display: inline-block;
        margin-left: 5px;
    }

    .swatches .swatch-container:last-child .swatch-label{
        left: 0;

    }

    .swatch-label {
        background: white;
        border: 1px black solid;
        white-space: nowrap;
        font-size: 16px;
        border-radius: 4px;
        border: 1px solid #868487;
        box-shadow: 2px 4px 4px rgba(17, 17, 17, 0.1);
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px;
    }

    .swatch-link:hover + .swatch-label {
        display: block !important;
    }

    .swatch-link:hover .swatch-circle {
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border: 1px solid #868487;
    }
} */

/* @media only screen and (max-width: 768px) { */
.color-swatches {
    height: 48px;
}

.swatch-container:last-child {
    margin-top: 8px;
}

.swatch-label {
    top: 0;
    left: 0;
    padding-left: 8px;
    color: var(--pahoehoe);
    white-space: nowrap;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
    white-space: normal;
    line-height: 1.25;
}
/* } */

.exterior-label {
    padding-left: 0; 
    padding-right: 8px;
    min-width: 93px;
}

.interior-label {
    padding-left: 0; 
    padding-right: 12px;
    min-width: 93px;
}

/* @media only screen and (max-width: 600px) { */
    .swatch-label-desktop {
        display: none;
    }

    .swatch-label-mobile {
        display: block;
    }
/* } */

.product-tile .price-details, .product-tile .price-msrp, .product-tile .specials-links, .product-tile .vehicle-id {
    font-size: 16px;
}

.product-tile .sales-price {
    font-size: 30px !important;
    margin-bottom: 4px;
}

.product-tile .price {
    margin-bottom: 24px;
}

@media only screen and (max-width: 768px) {
    .product-tile .price {
        margin-bottom: 8px;
    }

    .product-tile .sales-price {
        margin-bottom: 0;
    }

    .product-tile .color-swatches {
        margin-bottom: 20px;
        display: inline-block;
        vertical-align: text-top;
    }
}

.specials-links > div {
    position: relative;
    z-index: 1;
}

.specials-links span {
    font-size: 14px;
}

@media only screen and (max-width: 768px) {
    .specials-links {
        height: 62px;
    }
}

@media only screen and (min-width: 769px) {
    .specials-links {
        height: 57px;
    }

    .specials-links > div {
        margin-right: 10px;
    }
}

.specials-link {
    color: var(--black) !important;
    text-decoration: underline;
    font-size: 14px;
}

.product-tile .vehicle-id {
    color: var(--pahoehoe);
    overflow-wrap: break-word;
}

.product-tile .vehicle-id strong {
    margin-right: 5px;
}

.product-tile .compare {
    margin-bottom: 24px
}

.product-tile-footer-btn {
    border-top: 1px var(--footer-upper-color) solid;
    height: 36px;
    color: var(--pahoehoe) !important;
}

.product-tile-footer-btn:hover {
    text-decoration: none;
}

.product-tile-footer-btn-text {
    margin-right: 8px;
}

.product-tile-footer-btn-text {
    margin-right: 8px;
}

.product-tile-footer-btn[aria-expanded='true'] .img-carat-down {
    display: none;
}

.product-tile-footer-btn .img-carat-up {
    display: none;
}

.product-tile-footer-btn[aria-expanded='true'] .img-carat-up {
    display: inline-block;
}

.product-tile-footer-content {
    position: relative;
}

.vehicle-details-row {
    margin-bottom: 12px;
}

.product-tile-footer-content ul {
    margin: 0;
    padding-left: 15px;
}

#footer-section {
    margin-bottom: 96px;
    padding: 0;
    overflow-x: hidden;
}



#footer-section .footer-bg {
    padding: 24px;
    display: flex;
    background-color: var(--primary-1);
    position: relative;
    margin-bottom: 24px;
}

#footer-section .footer-bg h3 {
    margin-top: 12px;
    margin-left: 12px;
    color: white;
    flex: 0 1 auto;
}

.footer-bg a {
    text-decoration: none;
    flex: 0 1 auto;
    margin-left: auto;
    color: var(--black) !important;
}

#footer-section .footer-bg a {
    display: flex;
    align-items: center;
}

#footer-section .footer-content {
    margin-left: 36px;
}

#footer-section .inventory-phone-number {
    color: var(--black);
}

#footer-section .search-options {
    margin-top: 48px;
}

#footer-section .search-options .search-inventory {
    background-color: white;
    margin: 8px;
}

#store-name-team {
    font-family: var(--primary-font) !important;
    font-size: 16px;
    font-weight: normal;
}

#store-phone-number {
    font-weight: bolder;
}

.out-of-stock {
    margin-top: 96px;
    margin-left: -36px;
}

.out-of-stock ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-left: 0;
    width: 100%;
}

.out-of-stock ul li {
    text-decoration: underline;
    list-style-type: none;
}

.out-of-stock ul li a {
    color: black;
}

.out-of-stock ul > * {
    flex: 1 1 30%;
}


@media screen and (min-width: 768px) {
    #footer-section .search-option-btns {
        display: flex;
        flex-direction: row;
    }

    .search-suggestions a:first-of-type {
        margin-left: -2px !important;
    }

    #footer-section .footer-bg a {
        margin-right: 32px;
    }
}

@media screen and (max-width: 768px) {

    .mobile-filter-search {
        position: sticky;
        top: var(--header-height-full); 
        box-shadow: 2px 8px 8px 0px rgba(0, 0, 0, 0.05); 
        z-index: 7;
        padding: 12px 24px 0px;
        background-color: #F5F5F5;
        overflow-x:hidden;
        margin-left: -15px;
        margin-right: -15px;
    } 

    #footer-section .footer-content {
        text-align: center;
        padding: 24px;
        margin-left: 0;
    }

    #footer-section .footer-bg {
        text-align: center;
        margin-left: -20px;
        margin-right: -20px;
    }

    #footer-section .footer-bg h3 {
        margin-bottom: 24px;
        position: unset;
        left: unset;
        transform: unset;
        flex: 0 1 auto;
    }

    #footer-section .search-option-btns {
        flex-direction: column;
        align-items: center;
    }

    .out-of-stock ul {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .results-panel{
        padding-left: 0;
        padding-right: 0;
    }
    
}

@media screen and (max-width: 544px){
    #footer-section .footer-bg {
        text-align: center;
        margin-left: -1px;
        margin-right: -4px;
    }

    .mobile-sticky-filter {
        margin-left: -12px;
    }

    .mobile-filter-search {
        margin-left: -12px;
    }
}

.filterHead {
    display: table;
    padding-left: 15px;
    margin-right: auto;
}

.filterTitle {
    display: table-cell;
    padding: 10px;
}

.inventoryLabel-col {
    max-width: 100% !important;
    padding-left: 15px;
}

.inventoryLabel {
    font-family: var(--secondary-font);
    font-size: 24px;
    margin-top: 0;
    font-weight: bold;
    padding-left: 10px;
    max-width: 100% !important;
}

.btn-back-to-top {
    position: fixed;

    background: url('../images/back_to_top.svg');
    background-size: 75px;
    background-repeat: no-repeat;
    background-position: center;

    width: 75px;
    height: 75px;
    
    bottom: 0;
    margin-bottom: 20px;
    left: 2%;

    z-index: 10;
    border: none;
}
