/*---------------------common styles------------*/
* ,body,html{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/*--------------Menu contextuel----------- */
.contextmenu{
    width: 250px;
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 5px 5px 5px black;
    z-index: 100;
    padding: 10px;
}
.contextmenu ul{
    padding: 0;
}

.contextmenu a{
    display: block;
    width: 100%;
    line-height: 50px;
    padding: 0 10px;

}
.contextmenu a:hover{
    background-color: gray;
    color: white;
}

li{
    list-style: none;
}

/* ------------------------------------------------------- */

/*-------- Login------------*/
#login-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/asus.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#login-content{
    width: 40vw;
    height: 15vh;
    border-radius: 10px;
    box-shadow: 10px 10px 10px gray;
    background-color: rgba(115, 48, 7, 0.623);
    padding: 10px;
}


.bg-gradient{
     background-color:linear-gradient(180deg, rgba(rgb(107, 107, 107), .15), rgba(rgb(49, 48, 48), 0));
}
.bg-1{
     background-color: rgba(164, 164, 164, 0.591);
}
.page{
    min-width: 40px;
    max-width: 40px;

    min-height: 40px;
    max-height: 40px;

    border-radius: 5px;
    margin: 0 5px;

    font-size: 1.25em;
    

}
.btn-in{
    color: rgb(255, 255, 255);
    background-color: rgba(138, 1, 1, 0.7);
}
.btn-in1{
    color: rgb(255, 255, 255);
    background-color: hsla(127, 97%, 40%, 0.7);
}

.titre{
    line-height: 60px;
    text-align: center;
    color: rgb(176, 177, 177);
    border-bottom: 4px solid rgb(173, 170, 170);
}
.line-button{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
}
.line-input{
    margin: 10px;
}
.lab20{float: left; width: 20%; font-weight: bolder;}
.lab30{float: left; width: 30%; font-weight: bolder;}
#container_page{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}
.line-input input{
    height: 30px;
    border-radius: 4px;
} 
.obligatoire:after{
    content:'  *';
    color:red;
    font-size: 1.25em;
} 
.hide{
    display:none;
}

#entete {
    margin-bottom: 20px;
}
header{
    position: sticky;
    top: 0;
    z-index:100;
    background-color: black;
}
aside{
    min-height: 100vh;
    background-color: rgba(128, 115, 111, 0.799);
}
section{
    min-height: 100vh;
    background-color: rgba(99, 95, 101, 0.888);
}

footer{
    min-height: 10vh;
    background-color: rgb(54, 53, 60);
    color: azure;
}

a {
    text-decoration: none;
}

.w5 {width: 5%;}
.w10 {width: 10%;}
.w15 {width: 15%;}
.w20 {width: 20%;}
.w25 {width: 25%;}
.w30 {width: 30%;}
.w35 {width: 35%;}
.w40 {width: 40%;}
.w50 {width: 50%;}
.w55 {width: 55%;}
.w60 {width: 60%;}
.w70 {width: 70%;}
.w80 {width: 80%;}
.w90 {width: 90%;}
.w100 {width: 100%;}

.scroll-sm tbody,p.scroll-sm {
    display: block;
    width: 100%;
    height: 150px;
    overflow: auto;
    scrollbar-width: none;
}

.scroll-sm tbody tr, .scroll-sm thead, .scroll-sm tfoot {
    display: table;
    width: 100%;
}

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

.scroll tbody tr, .scroll thead, .scroll tfoot {
    display: table;
    width: 100%;
}

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

#banner {
    max-height: 7vh;
    overflow: hidden;
}

#etat {
    min-height: 20px;
    max-height: 20px;
    min-width: 20px;
    max-width: 20px;
    border-radius: 50%;
    display: block;
    text-decoration: none;
    margin: auto 20px;
    background-color: red;
}

#attente {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(2px);
    visibility: hidden;
}
@media screen and (max-width:1000px){
    input{
        width: 100% !important;
    }
    .line-input{
        display: flex;
        flex-direction: column;
    }
    .lab30, .lab20{
        clear: both !important;
    }
    .form-container{
        width: 100% !important;
        padding: 5px;
    }
}


@media print {
    header, footer, aside, .ligne-button, .aside-left, .aside-right {
        display: none;
    }
    section {
        background-color : transparent;
        width: 100%;
    }
    .print_area {
        width: 100%;
    }
    .form-container{
        width: 100%!important;
    }
    .scroll tbody {
        display: table;
        width: 100%;
        max-height: 100%;
        overflow-y: visible;
    }
}
