#filtres_vehicules {
    box-shadow: var(--ombre-elements-principaux);
    margin: 8px;
    padding: 20px 10px;
    border-radius: 8px;
}

#filtres_vehicules .filtre-vehicule .filtre-titre {
    font-size: 18px;
    font-weight: 400;
    margin: 20px 0px 5px 0px;
    color: var(--couleur-principale);
}

.middle {
    position: relative;
    width: 100%;
}

.multi-range-slider {
    position: relative;
    width: 100%;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}

.slider-track {
    width: 100%;
    height: 5px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: var(--couleur-principale);
}

input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
}

input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 5px;
}

input[type="range"]::-ms-track {
    appearance: none;
    height: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.3em;
    width: 1.3em;
    background-color: var(--couleur-principale);
    cursor: pointer;
    margin-top: -8px;
    pointer-events: auto;
    border-radius: 50%;
    position: relative;
}

input[type="range"]::after {
    content: "";
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    display: block;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 1.3em;
    width: 1.3em;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--couleur-principale);
    pointer-events: auto;
    border: none;
}

input[type="range"]::-ms-thumb {
    appearance: none;
    height: 1.3em;
    width: 1.3em;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--couleur-principale);
    pointer-events: auto;
}

input[type="range"]:active::-webkit-slider-thumb {
    background-color: #ffffff;
    border: 5px solid var(--couleur-principale);
}

#btn_filtre_vehicules {
    width: 100%;
    margin-top: 20px;
}

.btn-filtre-vehicules-fixed {
    position: fixed;
    bottom: 20px;
}

.btn-filtre-vehicules-change{
    animation: animation-btn-filtre-vehicules-change 1.5s infinite linear;
}

@keyframes animation-btn-filtre-vehicules-change {
    0%{box-shadow: 0 0 0px 0px var(--couleur-principale-clair);}
    100%{box-shadow: 0 0 0px 5px var(--couleur-principale-clair);}
}

#scroll_filtres_vehicules{
    position:fixed;
    left: 8px;
    top: 100px;
    cursor: pointer;
    color: #fff;
    width: 16.666667%;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    background: var(--couleur-principale);
    user-select: none
}

.nombre-resultats {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 300;
}

.checkbox-filtres-selection {
    max-height: 105px;
    overflow-y: auto;
}

.checkbox-filtres-selection::-webkit-scrollbar {
    width: 4px;
    height: 8px;
}

.checkbox-filtres-selection::-webkit-scrollbar-thumb {
    background-color: var(--couleur-principale);
    border-radius: 100px;
}

.label-critair-selected {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    transition-duration: .3s;
}

.label-critair {
    opacity: .5;
    filter: grayscale(.5);
    transition-duration: .3s;
}

.label-critair img {
    width: 35px;
}

.filtre-critairs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.filtre-critairs .form-check {
    padding: 0px 10px 10px;
}

/* FAVORIS */

.icones-container {
    position: absolute;
    right: 20px;
    z-index: 99;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}

.icones-container i {
    color: var(--couleur-principale);
    vertical-align: middle;
    padding: 0px 5px;
}

#responsive-bloc-filter {
    display: none;
}

#vehicule-aucun-resultat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-top: 30px;
    color: #b7b7b7;
}

.animate-text-overflow {
    position: relative !important;
    animation: 5s linear infinite alternate leftright !important
}

.fb_dialog {
    z-index: 100 !important
}

#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: var(--couleur-principale);
    font-size: 14px;

}

#loading i {
    font-size: 25px;
    animation: rotation 1200ms infinite linear;
    transform-origin: 50% 50%;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0% {
        transform: translateY(-1%);
    }
    100% {
        transform: translateY(3%);
    }
}

@keyframes line {
    0% {
        stroke-dashoffset: 22;
    }

    25% {
        stroke-dashoffset: 22;
    }

    50% {
        stroke-dashoffset: 0;
    }

    51% {
        stroke-dashoffset: 0;
    }

    80% {
        stroke-dashoffset: -22;
    }

    100% {
        stroke-dashoffset: -22;
    }
}

@keyframes leftright {
    0%, 20% {
        transform: translateX(0);
        left: 0
    }
    100%, 80% {
        transform: translateX(-100%);
        left: 100%
    }
}

/* Bannière */

.occasions-header {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('/assets/img/mosaique-3.webp') no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.occasions-header-contenu {
    z-index: 1;
    color: white;
}

.occasions-header-contenu h1 {
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}

.occasions-header-contenu h1:after {
    content: "";
    width: 200px;
    border-bottom: 3px solid var(--couleur-principale);
    display: block;
    margin: auto;
}

.occasions-header-contenu-p {
    margin-top: 30px;
    text-align: center;
    font-weight: 400;
    word-wrap: break-word;
}

.occasions-titre {
    text-align: center;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    margin: auto;
    z-index: 2;
}

.occasions-titre h2 {
    z-index: 2;
    position: relative;
    text-wrap: pretty;
}

.titre-souligne {
    position: absolute;
    width: 100%;
    height: 15px;
    background-color: var(--couleur-principale);
    bottom: 0;
    left: 0;
    z-index: 1;
}

.occasions-pictos {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    overflow: hidden;
}

.occasions-picto {
    color: initial;
    width: 25%;
    text-align: center;
}

.nombre-vehicule-indicateur {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--couleur-principale);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        animation-timing-function: ease-in;
    }

    50% {
        transform: scale(1.11);
    }
}

.occasions-picto:hover {
    animation: pulse 1s infinite;
}

.occasions-picto img {
    width: 120px;
    margin: 20px 10px;
}

@media screen and (max-width: 885px) {
    .occasions-header-contenu {
        width: 100%;
        padding: 15px;
    }
}

@media screen and (max-width: 990px) {
    .occasions-picto {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 1294px) {
    .titre-souligne {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .filter-select {
        display: none;
    }

    #responsive-bloc-filter {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0px;
    }

    #filtres_vehicules {
        display: none;
    }

    .nombre-resultats {
        margin-bottom: 0px;
    }
}