/* Styles pour les menus déroulants */
            #barremenu { 
                background-color: black;
                position:relative;   
                width:50%;
                margin-bottom:200px;
            } 
            #barremenu  {
                display:table;
                table-layout : auto;
                width:100%;
            }
            #barremenu .logo{
                height:100%;
                width:auto;
                position:absolute;
            }
            #barremenu .logo img{
                height:100%;
                width:auto;
                max-height:150px;
            }
            #barremenu nav  {
                display:table ;  
                table-layout : fixed; 
                margin:auto!important;
            }           
            /* Gestion des styles de toutes la balise <a> dans <nav> */
            #barremenu nav a{
                font-size: 1.2em;
                text-align: center;
                min-width:100%;  
                display:inline-block;
                box-sizing : border-box; 
                font-size: 0.9rem;
                padding: 8px;
            }
            #barremenu nav a:link,
            #barremenu nav a:visited,
            #barremenu nav a:hover, 
            #barremenu nav a:focus,
            #barremenu nav a:active,
            #barremenu nav a{
                color: white;
                text-decoration: none;
            }
            /* redéfinition du lien <a> de 1er niveau */
            #barremenu nav > ul > li > a{
                font-size: 1.2rem;
            }
            /* 
            1er niveau  =  Accueil Téléchargement Avis Contacter-moi 
            2eme niveau  =  Sous Téléchargement Sous Téléchargement ..
            3eme niveau  =  Sous-sous Téléchargement Sous-sous Téléchargement ..
            5eme niveau  =  Sous-sous-sous Téléchargement Sous-sous-sous Téléchargement ..
            5eme niveau  =  Sous-sous-sous-sous Téléchargement Sous-sous-sous-sous Téléchargement ..
            ....
            */
            /* Gestion du <UL> de 1er niveau */
            #barremenu nav > ul{
                display:table-row; 
            }
            #barremenu nav > ul > li{
                vertical-align:middle; 
                display: table-cell;  
                position:relative;
                text-align:left;
                min-width:100px; 
            } 
            /* Gestion background-color des <li> pairs de 1er niveau */
            #barremenu nav > ul > li:nth-child(even){
                background-color: grey;
            }
            /* Gestion des <UL> de deuxieme niveau et plus  */
            #barremenu nav ul ul {
                position:absolute;
                top: 100%;
                left: 0px;
                white-space : nowrap;
                display:none; 
                font-size:smaller ;
                background-color: #343434 ;
                min-width:100%;
            }
            
            /* Gestion des <UL> de 3eme niveau et plus  */ 
            #barremenu nav > ul > li > ul ul{
                left:100%;
                top:0%; 
            }
            /* Gestion des <li> de deuxieme niveau et plus */ 
            #barremenu nav > ul > li li{
                display: block; 
                position:relative;
                text-align:left;
            }
            /* Affichage du menu associé au <li> */ 
            #barremenu nav li:hover > ul {
                display: inline-block;
            }
            
            
            /* Gestion background-color sur le hover des <li> pairs de 1er niveau */
            #barremenu nav > ul > li:nth-child(even):hover,
            #barremenu nav > ul > li:nth-child(odd):hover{
                background-color: rgb(98, 110, 216); 
            }
            
            /* Gestion background-color sur le hover des <li> des 2er niveau et plus */
            #barremenu nav > ul > li li:hover{
                background-color: rgb(98, 110, 216);
            }
            /* Gestion background-color sur le hover des <li> pairs des 2eme niveau et plus */
            #barremenu nav > ul > li:nth-child(even) li:hover{
                background-color: rgb(98, 110, 216)y;
            }
            
            /* les valeurs de max-width ont été pise au hasard */
            @media all and (max-width: 440px)
            {
                /*A vous de faire votre mise en page */
                #barremenu nav li{
                display: block;
                }
            
                #barremenu .logo    {
                display: none;
                }
            }
            @media all and (max-width: 515px)
            { 
                #barremenu .logo    {
                display: none;
                }
            }

/* Styles pour les tableaux */
            table {
                border-collapse: collapse;
                letter-spacing: 1px;
                font-size: 0.8rem;
                width: 95%; 
                margin-left: 2.5%;
                /*margin-right: 1rem; */
            }

          
            thead {
                border: 4px solid rgb(200,200,200);
            }

            tbody tr {
                border: 4px solid rgb(200,200,200);
            }
            
            th { /*colonnes de l'entete*/
                border: 2px solid rgb(224, 218, 218);
                padding: 10px 20px;
                background-color: rgb(189, 174, 174);    
                text-align: center;
            }
            
            td { /*colonnes du corp*/
                border: 1px solid rgb(190,190,190);
                padding: 5px 5px;
                text-align :left;                
            }

          


/* Tableau de base */
            tbody tr:nth-child(odd) {
                background-color: rgb(177, 186, 238);            
            }
            tbody tr:nth-child(even) {            
                background-color: rgb(149, 174, 224);
            }



/* tableau avec ligne double */
            table.tableaudoubleligne tbody tr:nth-child(4n+1) { 
                background-color: rgb(235, 229, 229);         
            }
            table.tableaudoubleligne tbody tr:nth-child(4n+2) { 
                background-color: rgb(235, 229, 229);         
            }

            table.tableaudoubleligne tbody tr:nth-child(4n+3) {             
                background-color: white;
            }

            table.tableaudoubleligne tbody tr:nth-child(4n+4) {          
                background-color: white;
            }


/* tableau de progression a double ligne                 */
            table.tableauprogression tbody tr.tr_avancement0{ 
                background-color: rgb(235, 229, 229); 
                
            }

            table.tableauprogression tbody tr.tr_avancement1{ 
                background-color: rgb(245, 186, 109);
            }
            
            table.tableauprogression tbody tr.tr_avancement2{ 
                background-color: rgb(245, 232, 112);     
            }

            table.tableauprogression tbody tr.tr_avancement3{ 
                background-color: rgb(173, 252, 177);   
            }




/* Style du footer*/
            footer {
                position: relative;
                bottom: 0px;
            }

            

/*Style pour les pages*/
html {
    margin-right: 3%;
    margin-left: 3%;
}

body{
    background-color: rgb(161, 203, 236);
}


.titreSite {
    border: solid;
    text-align: center;
    text-transform: uppercase;
    color: rgb(116, 11, 235);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}

.titrePage{
    text-align: center;
    margin-bottom: 2cm;
    font-weight: bold;
    text-transform: uppercase;

}

.zoneTableau{
    background-color: rgb(97, 97, 230);
    padding-block: 1.5rem;
    border: solid;
    border-color: white;
    border-bottom-width: 2rem;
}

.zoneTableauSecondaire{
    background-color: rgb(235, 194, 84);
    padding-block: 1.5rem;
    border: solid;
    border-color: white;
    border-bottom-width: 1.5rem;
}

h1{
    font-size: 3em;
}

h2{
    font-size: 3em;
}

h3{
    font-size: 2em;
}
h4{
    font-size: 1.5em;
}

p {
    font-size: 1.2em;
}

.green{
    background-color: rgb(186, 226, 186);
    color: green;
    text-align: center;
    margin-left: 3%;
    margin-right: 3%;
}

.zoneLien{
    margin-top: 1rem;
}

.lien{
    border: solid;
    border-radius: 1em;
    background-color: rgb(216, 205, 205);
    padding-inline: 2em;  
    margin-left: 3rem;
}

strong{
    color: red;
    font-weight: bold;
    
}

.zoneTitreTableau{
    margin-left: 2rem;

}

label {
    margin-top:10px;
    display:block;
    }

label.inline {
    display:inline;
}

input, text{
    width: 50%;
}

.zoneFiltre {
    background-color: rgb(190, 226, 196);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.boxFiltre{
    display: flex;
    flex-direction: column;
    
}

.filtre{
    border-style: solid;
    margin: 2px;
    padding-inline: 1rem;
    display: flex;    
    flex-direction: row;
    justify-content:space-between;    
}

.filtre input{
    width: 25px;   
}

.zoneInvisible{
    display: none;
}

.btDanger{
    background-color: rgb(238, 180, 180);
    color: red;
    text-align: center;
    padding: 5px;
}
.btNormal{
    background-color: rgb(199, 218, 252);
    color: rgb(11, 47, 146);
    text-align: center;
    padding: 5px;
}

.btValid{
    background-color: rgb(178, 231, 180);
    color: rgb(12, 116, 38);
    text-align: center;
    padding: 5px;
}

.btStikyG{
    position: sticky;
    top : 90%;
    right: 5%;
}

.btfixeD{
    position: fixed;
    bottom : 5%;
    right: 2%;
}

/*Style les boutons de navigation en tableau*/
.bt_nav {
    border:0;
    line-height: 2.2;
    border-radius: 10px;
    display: block;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    outline: none;
    overflow: hidden;
    position: relative;
    color: #eeeeee;
    font-weight: 600;
    font-size: 12px;
    background-color: rgb(11, 47, 146);
    padding: 15px 50px;
    margin: 0 auto;
    width: 200px;
    height: 80px;
      }

.button:hover:after {
        -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
        transform: translateX(-9%) translateY(-25%) rotate(45deg);
      }

.select_pleine_largeur {
    width: 100%;
    box-sizing: border-box; /* Assure que le padding et les bordures sont inclus dans la largeur totale */
}



/*==== style de la boite de dialogue dans cohorte_activiteeleve_detail =====*/
    /* Styles de la boîte de dialogue */
    dialog#dialogChoix {
        max-width: 900px;
        width: 90%;
        margin: auto;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 20px;
        max-height: 600px;
        overflow-y: auto; /* La boîte de dialogue elle-même gère le défilement */
        box-sizing: border-box; /* S'assurer que le padding ne fait pas déborder l'élément */
    }

    /* Styles pour le menu déroulant personnalisé */
    .custom-select-container {
        position: relative; /* Position relative est maintenue */
        width: 100%;
        box-sizing: border-box;
    }

    .select-selected {
        background-color: #f1f1f1;
        padding: 12px;
        border: 1px solid #ccc;
        cursor: pointer;
        user-select: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .select-selected:after {
        /* La flèche peut rester en position absolue par rapport à son parent .select-selected */
        position: absolute;
        content: "";
        top: 14px;
        right: 10px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #000 transparent transparent transparent;
    }

    .select-items {
        /* Suppression de position: absolute; */
        /* La liste est maintenant dans le flux de la boîte de dialogue */
        background-color: #f1f1f1;
        border: 1px solid #ccc;
        border-top: none;
        max-height: 300px; /* La hauteur maximale de la liste elle-même */
        overflow-y: auto; /* La liste a sa propre barre de défilement si nécessaire */
    }

    .select-hide {
        display: none;
    }

    .select-option,
    .optgroup-label {
        color: #000;
        padding: 12px;
        cursor: pointer;
        border-bottom: 1px solid #ddd;
        white-space: normal;
        word-wrap: break-word;
    }

    .optgroup-label {
        font-weight: bold;
        background-color: #e9e9e9;
        cursor: default;
    }

    .select-option:hover, .same-as-selected {
        background-color: #ddd;
    }
/*==== FIN du style de la boite de dialogue dans cohorte_activiteeleve_detail =====*/

.large-textarea {
    width: 60%;
    box-sizing: border-box;
}