.block-occasion {
    position: relative;
    padding: 0;
}

.divFiltres {
    width: 100%;
    height: 120px;
    background-color: #111;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.filtresCriteres {
    display: flex;
    align-items: center;
}

.h2titleFiltres {
    color: white !important;
    font-size: 20px;
    margin-top: 5px;
    font-weight: 100;
}

.filtresSearch {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.filtresSearch select {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    width: 150px;
}

.buttonSearchfiltres p {
    color: white !important;
}

.buttonSearchfiltres {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    cursor: pointer;
    padding: 15px 10px 0px 10px;
    color: #01a1df;
}

.buttonSearchfiltres:hover {
    background-color: #555;
}

.header-filtres-occasions {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.label-list {
    cursor: pointer;
}

.div-list-type-square {
    border: 1px solid #999;
    padding: 5px 5px 5px 15px;
    background-color: #bbb;
}

.div-list-type-square img {
    filter: invert(100%);
}

.btn-list-bar,
.btn-list-square {
    cursor: pointer;
}

.div-list-type-bar {
    border: 1px solid #999;
    padding: 5px 5px 5px 15px;
}

.div-list-type-bar:hover,
.div-list-type-square:hover {
    border: 1px solid #999;
    padding: 5px 5px 5px 15px;
    background-color: #888;
}

.div-list-type-bar:hover .img-list-bar,
.div-list-type-square:hover .img-list-square {
    transform: rotate(180deg);
    filter: invert(80%);
    transition-duration: 0.5s;
}

.btn-list-bar:checked .div-list-type-bar,
.btn-list-square:checked .div-list-type-square {
    background-color: antiquewhite;
}

.img-list-bar {
    height: 30px;
    width: 30px;
    margin-left: 5px;
    transition-duration: 0.5s;
}

.img-list-square {
    height: 30px;
    width: 30px;
    transition-duration: 0.5s;
}

.vehicule-list {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.add {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: left;
}

.displayModeSquare {
    margin: 0 auto;
    margin-bottom: 20px;
}

.a-canva-car-square,
.a-canva-car-square:hover {
    text-decoration: none;
    margin: 0;
}

.a-canva-car-bar,
.a-canva-car-bar:hover {
    text-decoration: none;
    margin: 0;
    background-color: #eee;
}

.img-vehicule-responsive-square {
    max-width: 300px;
    height: 200px;
    object-fit: cover;
}

.squareDescriptionDiv {
    width: 300px;
    padding: 10px;
    background-color: #eee;
}

.squareDescriptionDiv2 {
    width: 100%;
}

.square-text-marque {
    font-size: 20px;
    font-weight: bold;
    color: #253652;
    text-transform: uppercase;
    margin-right: 10px;
    margin-bottom: 0;
}

.square-text-modele {
    font-size: 20px;
    font-weight: bold;
    color: #01a1df;
    text-transform: uppercase;
    margin-bottom: 0;
}

.square-text-version {
    font-size: 18px;
    font-weight: 400;
    color: black;
    margin-bottom: 5px;
}

.square-text-prix {
    font-size: 28px;
    font-weight: bolder;
    color: #01a1df;
    margin-bottom: 0;
}

.img-loupe-desc-square {
    width: 30px;
    height: 30px;
    filter: invert(100%);
}

.displayModeBar {
    min-width: 1150px;
    max-width: 1150px;
    margin: 0 auto;
    margin-bottom: 12px;
    display: none;
}

.canva-car-bar {
    position: relative;
    transition-duration: 0.5s;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.canva-car-bar:first-child {
    border-radius: 0 5px 0 0;
}

.canva-car-bar:last-child {
    border-radius: 0 0 5px 0;
}

.prix-vehicule-occasion-list-div {
    position: absolute;
    top: 0;
    right: 20px;
    font-weight: 200;
}

.prix-vehicule-bar {
    font-size: 40px !important;
    font-weight: 700;
    color: #01a1df;
}

.cadre-annonce {
    /*border: 2px solid black;*/
}

.overlay-div-annonce-vehicule-occasion-bar {
    position: absolute;
    background-color: rgba(165, 165, 165, 0.2);
    margin-left: 0;
    margin-right: 0;
    height: 100%;
    width: 0;
    transition-duration: 0.5s;
    z-index: 1;
    background-image: url(/assets/img/loupe.png);
    background-position: center;
    background-size: 150px;
    background-repeat: no-repeat;
}

.canva-car-bar:hover .overlay-div-annonce-vehicule-occasion-bar {
    width: 100%;
    transition-duration: 0.5s;
}

.canva-car-img-bar {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

.img-vehicule-bar {
    text-align: center;
    max-height: 400px;
    max-width: 450px;
    transform: scale(0.99);
}

.img-vehicule-responsive-bar {
    max-height: 300px;
    width: auto;
    max-width: 450px;
    /*min-width: 450px;*/
    
}

.div-txt-annonce-bar {
    padding: 10px;
    width: 700px;
}

.div-txt-annonce-bar h2{
    color: #01a1df;
    text-transform: uppercase;
    font-size: 25px !important;
}

.kilometrage-energie-vehicule-bar {
    color: #01a1df !important;
    font-size: 20px;
}

.picto-occasions-bar {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    margin-right: 4px;
}

.field-slim {
    min-width: 400px;
    color: #666666;
    font-size: 15px !important;
}

.form-name {
    display: flex;
    flex-direction: row;
}

.pastille {
        display: flex;
        flex-direction: row;
    }

/*-----------------------------------------*/
/*               RESPONSIVE                */
/*-----------------------------------------*/

@media screen and (max-width: 1400px) {

    .img-vehicule-responsive-square,
    .squareDescriptionDiv {
        max-width: 260px;
    }

    .squareDescriptionDiv2 {
        width: 100%;
    }
    
    .form-name {
        display: flex;
        flex-direction: column;
    }
    
    .pastille {
        display: flex;
        flex-direction: row;
    }
}

@media screen and (max-width: 1200px) {

    .divFiltres {
        margin-bottom: 20px;
    }

    .header-filtres-occasions {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    
    .h2titleFiltres {
        font-size: 18px !important;
        margin-top: 15px;
    }
    
    .form-name {
        display: flex;
        flex-direction: row;
    }

    .divFiltres {
        height: 270px;
        flex-direction: column;
    }
    
    .filtresSearch {
        flex-direction: column;
    }

    .filtresCriteres {
        flex-direction: column;
    }

    .buttonSearchfiltres {
        height: 60px;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .img-vehicule-responsive-square,
    .squareDescriptionDiv {
        max-width: 300px;
    }

    .squareDescriptionDiv2 {
        width: 100%;
    }
    
    .form-control {
        font-size: 0.8rem !important;
    }
    
    .buttonSearchfiltres {
        margin-left: 0;
    }
}

@media screen and (max-width: 690px) {
    
    .filtresSearch {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}