.box-placer {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Quicksand", sans-serif;
    color: #fff;
}

.box-margin {
    width: 80%;
    min-height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    color: #fff;
}

.titleEvenement {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem;
    border: 1px solid rgba(255,255,255,0.5);
    /* backdrop-filter: brightness(40%); */
    backdrop-filter: brightness(40%);
    border-radius: 10px;
    box-shadow: 0 5px 45px rgba(0,0,0,0.1);
    display: inline-block;
    text-align: center;
}

.categorie-title {
    font-size: 1.6rem;
    font-weight: bold;
    padding: 0.5rem;
}

.categorieTitreDate {
    font-size: 1.6rem;
    font-weight: bold;
    padding: 0.5rem;
}

.categorie-texte {
    padding: 8px 30px;
    text-align: left;
    text-justify: none;
    font-size: 1.4rem;
    font-weight: bold;
    overflow-wrap: break-word;
    /* padding: 0.5rem; */
    color: #fff;
}

.categorie-contour {
    box-sizing: border-box;
    margin: 0 0 1rem 0;
    /* width: calc(100% - 10rem); */
    width: 950px;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: brightness(40%);
    border-radius: 10px;
    box-shadow: 0 5px 45px rgba(0,0,0,0.1);
}

.categorieTexteInfo {
    box-sizing: border-box;
    margin: 0 5rem 1rem 5rem;
    width: 950px;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: brightness(40%);
    border-radius: 10px;
    box-shadow: 0 5px 45px rgba(0,0,0,0.1);
    font-size: 20px;
    padding: 8px;
}

.decalage {
    margin: 0 0rem 1rem 7rem;
    width: calc(100% - 7rem);
}

.petit {
    margin: 0 0 1rem 0;
    width: auto;
}

.date {
    border: 1px solid rgb(251, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;

    width: 6rem;
    margin:0;
    margin-bottom:1rem;
    margin-right: 1rem;
}

.soustitre {
    box-sizing: border-box;
    backdrop-filter: brightness(40%);
    border-radius: 10px;
    box-shadow: 0 5px 45px rgba(0,0,0,0.1);

    margin: 0 0 1rem 0;
    width: 100%;
    text-align: center;
    border: 1px solid rgb(251, 255, 0);
}

.contourPetiteDiv {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 0;
}

.categorie ul {
    padding: 0;
    background-color: red;
}

.categorie-evt {
    font-size: 1.2rem;
    list-style-type: none;
    padding: 0.5rem;
}

.tableTitre {
    margin-top: 10px;
    width: 800px;
    /* margin-right: 100px; */
}

.tableTitreGrand {
    width: 100%;
    margin-left: 0;
}

.tableTitreTypeEvenement {
    margin-top: 10px;
    margin-left: 7rem;
}

.tableTitre tr td{
    font-weight: bold;
}

.tableTitreTypeEvenement tr td{
    font-weight: bold;
}

.contenu {
    width: 950px;
}

.contenu table {
    table-layout: fixed;
    width: 660px; /* Important */
}

.contenu table td {
    width: 160px;
}

table
{
    border-collapse: collapse;
    margin: 0 50px 10px 50px; 
    /* margin: 0 50px 0 50px;  Pour enlever la marge du bas*/
}

td, th
{
    text-align: center;
    /* border: 1px solid black; */
    width: 10rem;
}

td {
    border: none;
    width: 162px;
}

.tableTitrePetit {
    display: none;
}


.tableAutreEvenement {
    width: 100%;
    border-collapse: collapse;  /* border-spacing: 5px 0px; */
    margin: 0 0 10px 0; 
}

.tableAutreEvenement tr{
    width: 100%;
}

.tableAutreEvenement tr td{
    width: 16.6%;
}

.boutonRedirection {
    margin-left: 1.5rem;
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
    height: 100%;  
    border: 1px solid rgb(29, 172, 255);
    border-radius: 10px;
    transition: ease-out 0.3s;
    position: relative;
    z-index: 1;
    padding: 2px 0;
    text-align: center;
    box-sizing: border-box;
}

.boutonRedirection:hover {
    background-color: rgb(29, 172, 255);
}

.BoutonEvenement {
    height: 100%;  
    border: 1px solid rgb(169, 224, 255);
    transition: ease-out 0.3s;
    position: relative;
    z-index: 1;
    padding: 2px 0;
}

.BoutonEvenement:hover {
    cursor: pointer;
}

.BoutonEvenement:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: "";
    background-color: rgb(29, 172, 255);
}

.BoutonEvenement:hover:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
    z-index: -1;
}

.BoutonEvenement a {
    width: 100%;
    height: 100%;
}

.horaireEvenement, .dateEvenement {
    height: 100%;  
    border: 1px solid rgb(194, 194, 194);
    position: relative;
    z-index: 1;
    padding: 2px 0;
}

.boutonProfessionnel {
    height: 100%;  
    border: 1px solid rgb(169, 224, 255);
    transition: ease-out 0.3s;
    position: relative;
    z-index: 1;
    padding: 2px 0;
}

.boutonProfessionnel:hover {
    cursor: pointer;
}

.boutonProfessionnel:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: "";
    background-color: rgb(29, 172, 255);
}

.boutonProfessionnel:hover:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
    z-index: -1;
}

.boutonProfessionnel a {
    width: 100%;
    height: 100%;
}

.activiteProfessionnel {
    height: 100%;  
    border: 1px solid rgb(194, 194, 194);
    position: relative;
    z-index: 1;
    padding: 2px 0;
}

.idCache, .imagePasEvenement {
    display: none;
}

/* .formFiltre {
    text-align: center;
    color: aqua;
} */

.formFiltre {
    text-align: center;
    padding: 2px;
    border: 1px solid rgb(194, 194, 194);
    border-radius: 15px;
    backdrop-filter: brightness(40%);
}

.formFiltre input {
    text-align: center;
    margin-top: 2px;
    padding: 0 10px;
    font-size: 16px;
    border: 0;
    background: none;
    height: 22px;
    border: 2px solid rgba(0, 170, 255, 0.5);
    outline: none;
    color: #fff;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
    backdrop-filter: brightness(40%);
}

.formFiltre input::placeholder {
    text-align: center;
    color: #fff;
}


@media screen and (max-width: 1100px) {
    .box-margin {
        width: 95%;
    }

    .contenu {
        width: 100%;
    }

    .categorie-contour {
        margin: 0 auto 1rem auto;
        width: 100%;
    }

    .petit {
        width: auto;
        margin: 0 0 1rem 0;
    }

    .contourPetiteDiv {
        display: flex;
        justify-content:center;
        margin: 0 0;
        width: 100%;
    }

    .decalage {
        margin: 0 0rem 1rem 7rem;
        width: calc(100% - 7rem);
    }

    .categorieTexteInfo {
        width: 90%;
    }
}

@media screen and (max-width: 900px) {
    .box-margin {
        width: 95%;
    }
    
    .contenu {
        width: 100%;
    }

    .categorie-contour {
        width: 100%;
    }

    .date {
        width: 6rem;
    }

    .decalage {
        width: calc(100% - 7rem);
    }

    .jourEvenement {
        width: auto;
        margin: 0 0 1rem 0;
    }
    /* ICI */

    .infoMoins {
        display: none; 
    }

    .contenu table {
        table-layout: fixed;
        width: 200px;
    }
    
    .contenu table td {
        width: 100px;
    }

    .tableTitreGrand {
        display: none;
    }

    .categorieTexteInfo {
        font-size: 16px;
    }
}


@media screen and (max-width: 430px) {
    .titleEvenement {
        font-size: 20px;
        margin: 0.5rem 0 0.5rem 0;
    }

    .categorie-contour div, .categorie-title {
        font-size: 16px;
    }
    
    .categorie-texte {
        font-size: 16px;
        padding: 4px 10px;
    }

    .tableAutreEvenement tr td{
        font-size: 12px;
    }

    .boutonRedirection {
        margin: 0 4px 4px 4px;
        box-sizing: border-box;
        width: auto;
    }

    .date {
        
        width: 6rem;
        text-align: center;
    }

    .contenu table {
        table-layout: fixed;
        width: 120px;
        margin: 8px;
    }
    
    .contenu table td {
        width: auto;
        font-weight: bold;
        letter-spacing: 1px;
        font-size: 12px;
        word-wrap: break-word;
    }
    
    .decalage {
        margin: 0 0rem 16px 5.6rem;
        width: auto;
    }

    .formFiltre input {
        font-size: 12px;
    }
}

@media screen and (max-width: 350px) {
    .decalage {
        margin: 0 0rem 16px 5.1rem;
        width: auto;
    }
}


/* @media screen and (max-width: 500px) {

    .box-margin {
        width: 95%;
    }

    .titleEvenement {
        font-size: 2rem;
        font-weight: bold;
        margin: 2.5rem 0 1rem 0;
        padding: 0.5rem;
        border: 1px solid rgba(255,255,255,0.5);
        border-radius: 10px;
        box-shadow: 0 5px 45px rgba(0,0,0,0.1);
    }

    .tableTitrePetit {
        display: block;
        margin-left: 5px;
        margin-right: 5px;
        font-size: 12px;
    }

    .tableTitreGrand {
        display: none;
    }

    .categorie-contour {
        width: 100%;
        margin: 0 0 1rem 0;
    }

    .categorie-title {
        font-size: 14px;
        padding: 8px;
    }

    .categorie-texte {
        font-size: 14px;
        padding: 8px;
    }

    .categorie-contour td {
        font-size: 7px;
    }

    .titleEvenement {
        font-size: 14px;
    }

    table
    {
        border-collapse: collapse;
        margin: 0 8px 10px 8px; 
    }

    .BoutonEvenement {
        border: 2px solid rgb(0, 54, 85);
    }

    td {
        height: 22px;
        
    }

    .nomEvenement {
        min-width: 77px;
        max-width: 77px;
    }
} */