*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f1f1f1;
}

.title h1 {
    text-align: left;
    margin-left: 25px;
    opacity: 0;
    animation: slideRight 1.4s ease forwards;
    animation-delay: 1.7s;
}

.slide-content {
    margin: 0 auto;
    width: 95%;
    position: relative;
}

/*****Card coté****/
.slide-content .img-cont {
    width: 15%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 23%;
    right: 4%;
}

.slide-content .img {
    width: 75%;
    min-width: 53px;
    height: 75px;
    margin-bottom: 15px;
    border-radius: 5px;

    position: relative;

    overflow-y: hidden;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);

}

.slide-content .img h5 {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
    /* Ajustez les valeurs selon vos préférences */
    color: #fff;
    position: absolute;
    bottom: 3px;
    right: 5px;
}



.slide-content .colorimg {
    border-radius: 5px;
    width: 100%;
    height: 100%;


}

/****** fin cote****/

/***********Slider*********/
.slider {
    height: 70vh;
    width: 70%;
    margin: 75px auto;
    position: relative;
    /*mettre les images les une sur les autres pos abs et rel*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    opacity: 0;
    transition: .9s;
}

.slider img.active {
    /*si il y a une classe active sur l'img opacity = 1*/
    opacity: 1;
}

.slider i {
    font-size: 25px;
}

.suivant,
.precedent {
    color: #fff;
    font-size: 3rem;
    z-index: 998;

    /*top: 5%;   /*50% du haut par rapport au coin en au à gauche
    transform:translateY(-5%);*/
}


.suivant i {
    margin-left: 10px;
    cursor: pointer;
}

.precedent i {
    margin-right: 10px;
    cursor: pointer;
}

/************ fin slider **************/

/******Carrelage******/
.carrelage-dim {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

.c-dim {
    padding-left: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-basis: 40%;
    margin-bottom: 125px;
}

/*.c-dim img {
    box-shadow: px;
}*/

.c-text {
    width: 50%;
}

/******fin info carrelage****/

/*****TABLEAU******/
.tableau {
    min-height: 52vh;
}

table {
    margin: auto;
    width: 95%;
    border-collapse: collapse;
    margin-top: 20px;

}

th {
    width: 250px;
}

th,
td {
    font-weight: 600;
    border: 1px solid #dddddd;
    text-align: center;
    padding: 12px 15px;
}

th {
    background-color: #53131E;
    color: #fff;
}

table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

@media(max-width:700px) {

    .slide-content .img h5 {
        font-size: 10px;
        right: 1px;
    }

    /*****carrelage info****/
    .carrelage-dim {
        flex-direction: column;
        justify-content: center;
    }

    .c-dim {
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-basis: 100%;
    }

    .c-dim :nth-child(1) {
        margin-bottom: 15px;
    }

    /*********table*******/
    table thead {
        display: none;
    }

    table,
    table tbody,
    table tr,
    table td {
        display: block;

    }

    table tr {
        margin-bottom: 15px;
    }

    table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    table td::before {
        content: attr(data-label);
        color: #53131E;
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-size: 15px;
        font-weight: bold;
        text-align: left;
    }
}

/***********/
/******fin tableau ******/