*{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding:0;
}
html,body{
    overflow-X: hidden;
}

header{
    position: sticky;
    top:0;
    z-index: 1;
    min-width: 100%;
}
.bg-green{
    background: green;
    color: white;
}
a{
    text-decoration: none;
}
aside{
    /* width: 5vw; */
    min-height: 100vh;
    background-color: rgb(227, 198, 143);
}
section{
    width: 100%;
    min-height: 100vh;
    background: wheat;
}
footer{
    height: 10vh;
}

#tbody_message {
    display: block; /* Assurez-vous qu’il n’est pas en display:none */
    max-height: 300px; /* Ajustez en fonction des besoins */
    overflow-y: auto; /* Pour permettre le défilement */
}
#tbody_menu td:hover{
    cursor: pointer;
    background-color:rgb(240, 209, 151); ;

}

#etat{
    min-width:20px;
    max-width:20px;
    min-height:20px;
    max-height:20px;
    border-radius:50%;
    margin: auto 4px;
    background-color: red;
}
#container_page{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}
#container_page button{
    padding: 10px;
    margin: 5px 15px;
    border-radius:5px;

}

#container_page button:hover{
    background-color: rgb(228, 191, 134);

    
}
/* - --------- menu contextuel */


.contextmenu{
    width: 150px;
    display: block;
    display: none;
    position: absolute;
    background-color: rgba(77, 71, 71, 0.744);
    color: white;
    box-shadow: 5px 5px 5px black;
    z-index: 100;
    padding: 10px;
    border-radius: 5px;
}
.contextmenu ul{
    padding: 0;
    text-align: center;
}

.contextmenu a{
    display:block;
    width: 100%;
    font-weight: 600;
    border-radius: 5px;
    line-height: 50px;
    padding: 0 2px;
}
.contextmenu a:hover{
    background: lightgray;
    color: black;
    padding: 0 10px;
}

/* //--------------- */
.infos{
    text-align: center;
    background: lightgrey;
    font-weight: 600;
    padding: 10px;
}
.line-input{margin: 10px;}
.lab20{float: left;width: 20%; font-weight: Bolder;}
.lab30{float: left;width: 30%; font-weight: Bolder;}
.bouton{
    min-width: 100px;
}
.obligatoire:after{
    content:'   *';
    color:red;
    font-weight: bold;
    font-size: 1.25em;
} 
.hide{
    display: none;
}
.line-button{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 10vh;
}
.titre{
    line-height: 60px;
    text-align: center;
    background:grey;
    color: rgb(255, 255, 255);
    border-radius: 5px;
    margin-top:1.9%;

}

#attente{
    display: flex;
    position: absolute;
    top: 0;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(1px);
    visibility: hidden;
    
}
#categorie {
    background-color: rgb(236, 227, 227);
}

#categorie:hover{
    background-color: wheat;
    cursor: pointer;
}


.scroll tbody {
    display: block;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    cursor: pointer;
    scrollbar-width: none;
}

.table-container{
    min-height: 500px;
}
.scroll tbody tr, .scroll thead, .scroll tfoot {
    display: table;
    width: 100%;
}

.scroll tbody::-webkit-scrollbar { 
    display: none;
} 


.scroll-sm tbody, p.scroll-sm{
    scrollbar-width: none;
    display: block;
    width:100%;
    max-height:150px;
    overflow: auto;
}
.scroll-sm tbody tr, .scroll-sm thead,.scroll-sm tfoot{
    display:table;
    width:100%;
}
.border-white{border:1px solid white;}
#banner{
    max-height: 7vh;
    overflow: hidden;
}
.center{
    text-align: center;
}
.relative{position:relative;}
.w05{width: 5%;}
.w10{width:10%;}
.w20{width:20%;}
.w30{width:30%;}
.w40{width:40%;}
.w50{width:50%;}
.w55{width:55%;}
.w60{width:60%;}
.w70{width:70%;}
.w80{width:80%;}
.w90{width:90%;}
.w100{width:100%;}
li{list-style: none;}
.mv-20{margin:20% 0;}
.mv-30{margin:30% 0;}

.mh-20{margin:0 20%;}
.mh-30{margin:0 30%;}

#login-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/nasa-Q1p7bh3SHj8-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    
}
#login-content{
    min-width: 40vw;
    min-height: 30vh;
    border-radius: 5px;
    padding: 10px;
    background-image: url(../img/login_gris_orange.jpg);
    transition: all 0.4s ease-in-out;
    

}
#login-content:hover{
    box-shadow: 8px 8px 8px grey;
    transform: translateY(-10px) scale(1.1);


}

.bg-theme{
    background-color:rgb(227, 198, 143);
}

.title_container img{
    max-height: 15vh;
    max-width: 80vw;
    width: 100%;

}


@media screen and (max-width:780px){
    .line-input{
        width:100% !important;
    }
    .m-auto{
        width: 100%;
        padding: 0 10px;
    }
    
}