﻿/***********************************************
 Infinite List
***********************************************/
.loader-ellips-infinite-list {
    font-size: 20px;
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto;
}

.loader-ellips__dot-infinite-list {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: #555;
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.scroller-status {
    display: none; /* hidden by default */
    padding-top: 20px;
    border-top: 1px solid #DDD;
    text-align: center;
    color: #777;
}

.loader-ellips__dot-infinite-list:nth-child(1),
.loader-ellips__dot-infinite-list:nth-child(2) {
    left: 0;
}

.loader-ellips__dot-infinite-list:nth-child(3) {
    left: 1.5em;
}

.loader-ellips__dot-infinite-list:nth-child(4) {
    left: 3em;
}

@keyframes reveal {
    from {
        transform: scale(0.001);
    }

    to {
        transform: scale(1);
    }
}

@keyframes slide {
    to {
        transform: translateX(1.5em);
    }
}

.loader-ellips__dot-infinite-list:nth-child(1) {
    animation-name: reveal;
}

.loader-ellips__dot-infinite-list:nth-child(2),
.loader-ellips__dot-infinite-list:nth-child(3) {
    animation-name: slide;
}

/* stylelint-disable-next-line no-duplicate-selectors */
.loader-ellips__dot-infinite-list:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse;
}

/* end of Infinite List */
/***********************************************
  Flex 
***********************************************/

.flex-container-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flex-container-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 5px;
}
.flex-item-features {
    display: flex;
    flex: 1 1 50%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .flex-item-features svg {
        width: 23px;
        height: 20px;
        margin-right: 5px;
    }

    .flex-item-features i {
        margin-right: 5px;
    }

.inventory-list-container .flex-item .inventory-panel {
    margin-bottom: 0px !important;
}

.icon-stroke {
    filter: drop-shadow(1px 2px 1px rgba(0,0,0,0.5));
}

@media (max-width: 600px) {
    .flex-item-features {
        flex-basis: 100%;
    }
}


/* end of Grid Flex Container */
/***********************************************
  Swiper Inventory Slider 
***********************************************/
.swiper-button-next, .swiper-button-prev {
    text-rendering: auto;
}

.swiper {
    width: 100%;
    height: 100%;
}

:root {
    --swiper-theme-color: #FFFFFF;
    --swiper-navigation-size: 60px;
    --swiper-pagination-bullet-inactive-opacity: 0.8;
}

.swipe-buttons {
    text-shadow: 1px 1px 2px #000000;
}

.swiper-pagination > .swiper-pagination-bullet {
    opacity: 1;
    border: white solid 1px;
    background-color: black;
}

.swiper-pagination > .swiper-pagination-bullet-active {
    background-color: white;
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0px !important;
}
/* end of   Swiper Inventory Slider  */
/***********************************************
  Vehicle Thumbnail Element 
***********************************************/
.thumbnail-overlay-car-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 80px 8px 15px;
    font-size: 14px;
    text-wrap: nowrap;
    line-height: .5;
    color: white; /* Assuming you want the text in white for contrast */
    background-image: url('https://automanagerdev.blob.core.windows.net/wmcontent/clients/images/panel-bg.png'); /* Path to your image */
    background-size: cover; /* Cover the entire area of the element */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: bottom; /* Align the gradient to the bottom */
    font-family: 'Roboto',Arial;
}

    .thumbnail-overlay-car-info > div:first-child {
        display: block; /* Ensure the Acura RDX is on its own line */
        margin-bottom: 0.5rem; /* Adds spacing between the title and the info line */
    }

.thumbnail-overlay-car-subinfo {
    display: flex; /* Aligns the year, miles, and price on one line */
    justify-content: start; /* Aligns items to the start of the container */
}

    .thumbnail-overlay-car-subinfo > div {
        margin: 0; /* Removes margin from the items in the flex container */
    }

    .thumbnail-overlay-car-subinfo .thumbnail-overlay-year {
        border: 1px solid rgba(255,255,255,0.3);
        -webkit-border-radius: 4px;
        border-radius: 4px;
        display: inline-block;
        font-size: 13px;
        line-height: 18px;
        height: 21px;
        padding: 0 7px;
    }

    .thumbnail-overlay-car-subinfo .thumbnail-overlay-mileage {
        display: inline-block;
        padding-left: 8px;
        font-size: 13px;
        align-self: center;
    }

.thumbnail-overlay-brand-emblem {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65px !important;
    padding: 10px;
}
 
/* end of   Swiper Inventory Slider  */