:root{
    --base-clr: rgb(33, 33, 33);
    --line-clr: #42434a;
    --hover-clr: #222533;

    --text-clr: #e6e6ef;
    --secondary-text-clr: #b0b3c1;
    --text-clr-green:lime;
    --text-clr-red:orangered;

    --accent-clr: #ff5e5e;
    --border-line-clr: #60616b;
    --selection-color: #ff5e5e76;
    --section-background: #42434a;
    --svg-color:var(--text-clr);
    --warning-border:rgba(255, 0, 0, .5);

    --navbar-background-clr:rgb(55, 56, 57);

    --shadow-clr:#171616;

    --table-row-one: #42434a;
    --table-row-two: #565860;

    --fullbrightness:0;
    --fullbrightnessinverted:1;
}
body.light{
    --base-clr: #f5f5f5;;
    --line-clr: #000000;
    --hover-clr: #ffffff;
    
    --text-clr: #000000;
    --secondary-text-clr: #9e9191;
    --text-clr-green:#20cb00;
    --text-clr-red:orangered;

    --accent-clr: #ff0000;
    --border-line-clr: #00000045;
    --selection-color: #ff6c6c;
    --section-background: #f9f9f9;
    --svg-color: var(--text-clr);
    --warning-border: rgba(255, 0, 0, .5);

    --navbar-background-clr:rgb(255, 255, 255);

    --shadow-clr:rgb(205 205 205);

    --table-row-one: #dddddd;
    --table-row-two: #f6f6f6;

    --fullbrightness:1;
    --fullbrightnessinverted:0;

}



*{
    margin: 0;
    padding: 0;
    border-radius: .5em;


    transition: all 500ms cubic-bezier(.31,.84,.01,1.14),
    z-index 0s,
    font-weight 0s,
    background-color 0s, 
    color 0s, 
    box-shadow 0s, 
    border-color 0s, 
    filter 0s;

}

/* @media (prefers-reduced-motion: reduce) {
    *{
        transition: all 0s !important;
    }
} */





*::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

*::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 200px;
}

*::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 200px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #555;
    border-radius: 200px;
    
}




.instantPosition{
    transition: top 0s, left 0s;
}

a:any-link{
    color: var(--text-clr);
}

.rowgroup{
    display: flex;
    flex-direction: row;
    gap: .4em;
}


table{
    *{
        border-radius: 0;
    }
    tbody{
        >tr:nth-child(odd){
            background-color: var(--table-row-one);
        }
        >tr:nth-child(even){
            background-color: var(--table-row-two);
        }
    }
    
}


img::selection{
    background-color: transparent;
}
*::selection{
    background-color: var(--selection-color);
    color:white;
}

svg{
    fill:var(--svg-color);
}

html{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5rem;
}
body{
    width: 100%;
    background-color: var(--base-clr);
    color: var(--text-clr);
    min-width: 350px;
}
.noDefaultGrid{
    display: block;
}
mark{
    background-color: var(--accent-clr);
    color: var(--base-clr);

    padding: 0 .25em;

    border-radius: .5em;
}

button:disabled{
    opacity: .3;
}

.tutorial{
    border: var(--border-line-clr) dashed 2px;

    margin: 0;
    padding: .15em .4em;

    h3{
        color: var(--text-clr);
    }
    p{
        color: var(--secondary-text-clr);
    }

    .separation{
        width: 100%;
        height: .15em;
        margin-top: .4em;
        margin-bottom: .4em;
        background-color: var(--border-line-clr);
    }

    + .tutorial{
        margin-top: .4em;
    }
}
.warning{
    border: var(--warning-border) dotted 2px;
    margin: .5em 0 .5em 0;
    padding: .4em;
    color: red;

    font-weight: bold;
    
    opacity: .8;

}

.link{
    color: dodgerblue;
}
button{
    border-radius: .5em;
    padding: .2em;
    cursor:pointer;
}

button, input, select{
    background-color: rgb(255, 255, 255);
    
    border:outset var(--border-line-clr) 2px;

    font-weight: 500;
    color:black;
    
    border-radius: .5em;
    
    padding:.1em;
}

.themeadapt{
    filter: invert(var(--fullbrightness));
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 23px;


    input {
        opacity: 0;
        width: 0;
        height: 0;
    }


    .round {
        border-radius: 34px;
    }
    .round:before {
        border-radius: 50%;
    }

    
    /* The slider */
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;

        transition: all .6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 17px;
        width: 17px;
        left: 3px;
        bottom: 3px;
        background-color: white;

        transition: all .6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    input:checked + .slider {
        background-color: #2196F3;
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(17px);
        -ms-transform: translateX(17px);
        transform: translateX(17px);
    }


}

optgroup{
    color: var(--text-clr);
}

.cursorSelect{
    cursor:pointer;
}
.cursorSelect:hover{
    padding-left:.4em;
    background-color: var(--selection-color);
}

.growingLeftBorder{
    transition: 250ms;
}
.growingLeftBorder:hover{
    border-left:10px solid var(--border-line-clr);
    background-color: var(--hover-clr);
}



main{
    padding:0px;
}

section{
    min-width: inherit;
    overflow: hidden;

    background-color: var(--section-background);
    margin: 0.4em;
    padding:.4em;
    box-shadow: var(--shadow-clr) 0px 2px 10px;
    font-weight: 600;

    h1{
        margin-bottom: .2em;
    }
}




@keyframes openAnimation{
    from{
        scale: .5;
        background-color: transparent;
    }
    to{
        scale: 1;
        background-color: var(--section-background);
    }
}
@keyframes closeAnimation{
    from{
        scale: 1;
        background-color: var(--section-background);
    }
    to{
        scale: 0;
        background-color: transparent;
    }
}

.cpromptContainer{
    position: fixed;
    top: 0; bottom: 0; right: 0; left: 0;
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;


    .cpromptInsideBox{
        overflow: hidden;

        transform-origin: center top;
        animation: openAnimation 200ms cubic-bezier(.31,.84,.01,1.14);

        scale: 1;
        background-color: var(--section-background);
        
        
        -webkit-box-shadow: 0px 0px 33px 5px var(--shadow-clr); 
        box-shadow: 0px 0px 33px 5px var(--shadow-clr);

        border: 2px solid var(--border-line-clr);

        padding: .4em;

        max-width: 560px;
        min-width: 360px;
        width: 50%;


        display: flex;
        flex-direction: column;
        justify-content: space-evenly;

    }
    .cpromptInsideBox.close{
        animation: closeAnimation 200ms;
        scale: 0;
        background-color: transparent;
    }

    .separator{
        margin-top: .4em;
        margin-bottom: .4em;

        border: 2px solid var(--border-line-clr);
    }

    .buttons{
        display: flex;
        flex-direction: row;
        gap: .4em;

        button{
            color: var(--text-clr);
            background-color: transparent;
            width: 100%;
        }
        #promptConfirm{
            border: var(--text-clr-green) 1px solid;
        }
        #promptCancel{
            border: var(--text-clr-red) 1px solid;
        }
    }


    .cpromptCreateMassUser{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: .4em;

        input{
            width: 50%;
        }
        >div{
            display: flex;
            flex-direction: column;

            width: 100%;
            
            >div{
                display: flex;
                flex-direction: row;
                gap: .4em;
                input{
                    width: 100%;
                }
            }
        }
    }

    
    #createdUsers{
        border: var(--border-line-clr) solid 2px;
        padding: .4em;
        display: flex;
        flex-direction: column;

        >div{
            display: flex;
            flex-direction: row;
            gap: .4em;
        }

    }

}






.NotationTableDisplay{
    >h1{
        font-size: xx-large;
    }
    

    .focusConcoursSelector{
        margin-bottom: .4em;
        
        display: flex;
        flex-direction: column;
        
        .flexrow{
            display:flex;
            flex-direction: row;
            gap: .4em;
        }

        select{
            background-color: transparent;
            border: 2px solid var(--border-line-clr);
            color: var(--text-clr);
            padding: .2em .4em;
            font-weight: 500;
        }


        option{
            background-color: var(--section-background);
        }

        .reset{
            overflow: hidden;
            display: flex;
            align-items: center;

            width: 85px;
            scale: 1;
            opacity: 1;

            button{
                padding: .3em;
                border: 1px solid var(--selection-color);
                padding: .3em .5em;
                background-color: transparent;
                color: var(--text-clr);
            }
        }
        .reset.hidden{
            width: 0px;
            scale: .5;
            opacity: .5;
        }

    }



    table * {
        border-radius: 0;
        text-align: center;
    }
    .tableParent > table{
        margin-right: 100px;
    }
    .tableParent{
        margin-bottom: 1em;
        width: max-content;
    }
    .tableParent:last-child{
        margin-bottom: 0;
    }





    .tableParent{
        counter-reset: rownumber;

        tbody tr{
            counter-increment: rownumber;
        }

        .classement::before{
            content: counter(rownumber);
        }
    }








    .clickNote{
        cursor: pointer;
        text-decoration:underline;
        /* background-color: var(--border-line-clr); */
    }

    .nom{
        padding: .2em .6em;
        text-align: left;
    }
    .MT{
        font-size: large;
        font-weight:550;
    }
    .e{
        color: var(--accent-clr);
        border-left: var(--text-clr) 2px solid !important;
    }
    

    .autoTextSize{
        white-space: nowrap;
    }

    .spacing{
        width: 20px;
    }

    .coefficient{
        color: var(--secondary-text-clr);
    }
    .coefficient::before{
        content: " (";
    }
    .coefficient::after{
        content: ")";
    }

    .tableParent table tbody tr td{
        border: var(--border-line-clr) 1px solid;
    }


    .tableTitle{
        color: var(--accent-clr);

        text-align: center;
        vertical-align: bottom;
        padding: 0.3em;
        text-transform: uppercase;
    }

    .epreuve{
        color:var(--accent-clr);
        text-transform: capitalize;
        >div{
            border-left: var(--text-clr) 3px solid !important;
        }
    }
    .moyenneTotale{
        width: 20px;
        text-align: center;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .tableRotate{
        height: 100px;
        width: 40px;
        position: relative;
        vertical-align: bottom;
        padding: 0;
        font-size: 12px;
        line-height: 0.8;

        >div {
            transition: none;
            position: relative;
            top: 2px;
            left: 51px;
            height: 100%;
            transform:skew(-45deg,0deg);
            overflow: hidden;
            border-left: 2px solid var(--border-line-clr);
            border-right: 2px solid var(--border-line-clr);
            border-top: 2px solid var(--border-line-clr);      
            
            > a {
                transition: none;
                text-align: left;
                transform:skew(47deg,0deg) rotate(317deg);
                position: absolute;
                bottom: 34px;
                left: -24px;
                display: inline-block;
                width: 100%;
                width: 85px;
                font-size: larger;
            }
        }

    }
}


.concoursEdit{

    .edit_owner_coowner{
        
        .coowner{
            display: flex;
            flex-direction: row;
            gap: .4em;
        }

        button{
            background-color: transparent;
            color: var(--text-clr);
            padding: .2em;
        }
        .addassoc{
            border: var(--text-clr-green) solid 1px;
        }
        .removeassoc{
            border: var(--text-clr-red) solid 1px;
        }
    }

    section{
        > * a{
            white-space: nowrap;
            text-transform: capitalize;
        }


        .importantActions{
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;

            gap: .4em;

            button{
                border: 2px solid var(--border-line-clr);
                background-color: transparent;

                width: 100%;

                color: var(--text-clr);
                font-size: large;
                font-weight: 700;

                text-decoration: underline;
            }
            .title{
                white-space: nowrap;
            }
        }


        .templateCreate{
            display: flex;
            flex-direction: column;
            align-items: flex-start;

            gap: .4em;

            overflow: hidden;
            margin-top: .4em;
            padding: .4em;

            border: 2px dashed var(--selection-color);

            .separator{
                width: calc(100% - .4em);
                border: var(--text-clr) solid 2px;
            }

            .checkniveau, .checkepreuve, .checkpoint, .checkpointferrage{
                overflow: hidden;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: .4em;

                width: 100%;

                border-radius: 0;

                transform-origin: center left;
                
                opacity: 1;
            }
            .hide{
                opacity: .35;
            }



            .niveau, .epreuve, .point{
                padding: 0em .4em;
                border: 1px solid var(--text-clr);
            }
            .niveau:hover, .epreuve:hover, .point:hover{
                border-style: outset;
            }

            .submitbtn{
                color: var(--text-clr);
                background-color: transparent;

                
                padding: .2em .5em;

                font-size: 16px;

                border: 1px dashed var(--text-clr-green);
                border-style: groove;
            }
        }


        .addableNote{
            color: var(--text-clr-green);
            opacity: .5;
        }
        .addableEpreuve{
            color:var(--text-clr);
            opacity: .5;
        }

        * .click:hover{
            cursor: pointer;
            text-shadow: rgba(255, 255, 255, 0.491) 0px 0px 6px;
        }

        .concoursAnonymizer{
            width: fit-content;
            padding: .2em .2em .2em .4em;
            /* border: rgba(180, 180, 180, .5) 2px dashed; */
            display: flex;
            flex-wrap: wrap;
            gap: 1em;
            align-items: center;

            .checkanonymization{
                overflow: hidden;

                background-color: var(--section-background);
                border: 2px solid var(--border-line-clr);
                color: var(--text-clr);
                padding: .2em;
                white-space: nowrap;

                width: 319.2px;
                height: 24px;
                scale: 1;
                transform-origin: left center;
            }
            .checkanonymization.closed{
                width: 0;
                height: 0;
                padding: 0;
                border: none;
                scale: 0;
            }
        }

        .addConfirm{
            opacity: 1;
        }
        .deleteConfirm{
            color: var(--text-clr-red);
            opacity: 1;
        }

        .addableSousConcours{
            color:var(--text-clr-green) !important;
        }


        .users{
            display: flex;
            flex-direction: row;
            border: var(--selection-color) dotted 3px;
            width: fit-content;
            padding: .2em;
            margin: .2em 0 .4em 0;
            gap: .5em;
        }
        .usercard{
            border: var(--border-line-clr) solid 2px;
            display: flex;
            flex-direction: row-reverse;
            padding: .1em .5em .1em .1em;

            >div{
                display: flex;
                flex-direction: column;
            }
            svg{
                width: 30px;
                cursor: pointer;
                fill: var(--text-clr-red);
            }
        }

        .addUserDiv{
            transition: all 200ms;
            background-color: var(--hover-clr);

            cursor: pointer;

            width: 55px;
            height: 55px;

            display: flex;
            align-items: center;
            justify-content: center;

            opacity: .6;

            >img{
                border-radius: 0;
                object-fit: cover;
                position: relative;
                width: 70%;
                height: 70%;
                filter:brightness(var(--fullbrightnessinverted));
            }
        }
        .addUserDiv:hover{
            transition: all 200ms;

            opacity: .8;
        }

        .coefficient{
            color: var(--secondary-text-clr);
            opacity: 1;
            font-size: small;
        }




        .first>div{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            width: fit-content;
        }

        
        .second{
            margin-bottom: 1em;
            padding: .4em;
        }
        .second h3{
            margin-top: 0;
            color: var(--accent-clr);
            width: fit-content;
        }
        .second>div{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        
        .third{
            border: var(--selection-color) 3px dotted;
            margin-right: .4em;
            padding: .3em;
            min-width: 130px;

            >a{
                font-weight:bold;
            }
            >div{
                display: flex;
                flex-direction: column;
            }
            >div>div:last-child{
                margin-top: .4em;
                margin-bottom: 0;
            }
            
        }
        .third:last-child{
            border: rgba(50, 205, 50, .5) 2px solid;
            text-orientation: sideways;
            writing-mode: vertical-lr;
            text-align: center;
            margin-right: 0;
            min-width: 0;
        }


        .fourth{
            color:var(--text-clr);
            font-weight: lighter;
            font-size: small;
        }
    }
}



.gestionConcours{
    .createConcoursBtn{
        transition: all 250ms;

        padding: .3em .7em;
        margin: 0em;
        color:var(--text-clr);
        background-color: var(--border-line-clr);
        border:none;
    }
    .createConcoursBtn:hover{
        padding: .3em 1em;
    }
    .concoursDiv{
        >h4{
            font-size: large;
            font-weight: normal;
        }
    }
}


.noterConcours{
    .colorinfo{
        margin-top: .4em;

        display: flex;
        align-items: center;
        gap:.3em;

        >div{
            background-color: var(--border-line-clr);
            width: 60px;
            height: 30px;
        }

        white-space: nowrap;
    }

    .concoursDiv h4{
        font-weight: normal;
    }
}


.selectionConcours{
    .concoursSelect{
        cursor: pointer;
        
    }
}


.ihide2{
    display: none;
}





.horizontalSeperator{
    background-color: var(--border-line-clr);
    height: .2em;
    margin: .4em;
    border-radius: .5em;
}
.horizontalSeparator{
    background-color: var(--border-line-clr);
    height: .2em;
    margin: .4em;
    border-radius: .5em; 
}


.accountConnectPage{
    margin: auto;
    margin-top: .5%;
    width: 300px;
    padding: 1em 20px;

    text-align: center;

    h1{
        font-size: xx-large;
    }
 
    form{
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .inputParam{
        margin-top: .6em;
        display: flex;
        flex-direction: column;

        label{
            text-align: left;
        }
        input{
            padding:.2em;
            font-size: medium;
        }
    }

    .connectButton
    {
        width: 100%;
        text-align: right;
        button{
            color:var(--text-clr);
            border: none;
            margin-top: .2em;
            padding: .3em .8em;
            font-size: 15px;
            background-color: limegreen;
        }
    }
    
    .gotoCreatePage{
        display: flex;
        flex-direction: row-reverse;
        
        justify-content: space-between;

        width: 100%;
        text-align: left;
        .createLink{
            color:var(--text-clr);
            text-align: left;
            text-decoration: none;
            font-size: small;
            /* background-color: var(--selection-color); */
            opacity: .8;
            padding: .2em .6em;
            border-radius: .6em;
        }
    }
    
}

.accountCreatePage{
    width: fit-content;
    margin: auto;
    margin-top: .5em;
    padding: 2em 20px;



    .ppzone{
        border: dotted 3px var(--border-line-clr);
        padding: .4em;
        margin-bottom: .4em;

        h3{
            display: flex;
            flex-direction: row;
            gap: 1em;

            white-space: nowrap;
        }

        input[type="file"]{
            border-radius: .5em;
            color:var(--text-clr);
            background-color: transparent;
            border: none;
        }
        input[type="file"]::file-selector-button{
            color:black;
            margin: 0.4em;
            border: thin solid grey;
            border-radius: .5em;
        }
    }


    form div div .textAreaBio{
        text-align:left; 
        margin:0;
        
        textarea{
            width:-webkit-fill-available;
            height:50px;
            border-radius: .5em;
            padding: .2em;
            resize:vertical; 
            overflow:hidden;

        }
    }

    .flexfullinfosparent{
        display: flex;
        flex-direction: column;
        gap: 0.2em;
    }

    .flexfull{
        display: flex;
        flex-direction: row;
        gap: .2em;
        flex-wrap: nowrap;
        
        a{
            white-space: nowrap;
        }
    }

    input{
        width: 100%;
    }



    * .requiredStar{
        color:red;
    }

    .boutonAction{
        display: flex;
        flex-direction: row;
        gap:.4em;
        *{
            width: 50%;
            color:white;
        }
        .anuller{
            background-color: var(--accent-clr);
        }
        .create{
            background-color: limegreen;
        }
    }
}


.homeProfile{
    display: flex;
    flex-direction: row;
    
    div:first-child img{
        width: 200px;
        height: 200px;
        margin: .2em .5em .2em .2em;
    }
    .aware{
        color:var(--accent-clr);
        text-decoration: underline;
    }
}







.userPP{
    width: 75px;
    height: 75px;

    object-fit: cover;

    border-radius: .5em;
}


.administration{
    

    table{
        
        thead{
            border: 2px white solid;
        }
        td{
            padding: .2em .4em;
        }
    }
}

.smallIdText{
    font-size: 15px;
    color: var(--secondary-text-clr);
}




.show_concours_list{

    table{
        border-spacing: .2em .2em;
        margin: auto;
        width: 100%;

        thead{
            text-align: center;
            td{
                border: 1px solid var(--border-line-clr);
                text-transform: uppercase;
            }
        }
        
        td{
            padding: .3em .5em;
            
        }
        .center{
            text-align: center;
            justify-items: center;
        }
        .buttonAction{
            cursor: pointer;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: .4em;
            width: fit-content;

            text-decoration: underline;
        }
        thead{
            td{
                border-radius: .5em;
            }
        }
        tbody{
            tr:first-child{
                td:first-child{
                    border-radius: .5em 0 0 0;
                }
                td:last-child{
                    border-radius: 0 .5em 0 0;
                }
            }
            tr:last-child{
                td:first-child{
                    border-radius: 0 0 0 .5em;
                }
                td:last-child{
                    border-radius: 0 0 .5em 0;
                }
            }
        }

    }
}


























.navbar{
    background-color: var(--navbar-background-clr);
    border-radius: 0;
    width: calc(100vw - 2 * margin);
    box-shadow: var(--shadow-clr) 0px 5px 15px;
    

    *{
        transition: all 400ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .normal{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        opacity: 1;
        height: 46.38px;
    }
    .compacted{
        overflow: hidden;
        opacity: 0;
        height: 0px;

        .top{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
        .bottom{
            border-radius: 0;
            display: flex;
            flex-direction: column;
            border-top: var(--border-line-clr) 2px solid;
            
            div a{
                display: flex;
                flex-direction: row;
                align-items: center;

                height: 40px;

                svg{
                    height: 33px;
                    width: 47px;
                }
            }


            .compactedSettings{
                display: flex;
                flex-direction: column;

                padding-left: 2em;

                svg{
                    width: 24px;
                    height: 24px;
                }
                .svghide{
                    width: 0;
                    height: 0;
                }
                .settingsplace{
                    display: flex;
                    flex-direction: row;
                    align-items: center;

                    height: 30px;

                    a{
                        margin-left: .4em;
                    }
                }
            }
        }

        .id{
            color: var(--secondary-text-clr);
        }
    }
    

    .settings{
        transition: visible 0s;

        position: absolute;
        background-color: transparent;
        width: 100%;
        height: 100%;

        top: 0;
        left: 0;
        bottom: 0;
        right: 0;

        visibility: hidden;
        opacity: 0;

        z-index: 200;

        *::selection{
            background-color: transparent;
            color: var(--text-clr);
        }

        .insettings{
            position: absolute;
            padding: .4em;
    
            overflow: hidden;
    
            background-color: var(--navbar-background-clr);
            border: 2px solid var(--border-line-clr);
    
            transform-origin: top right;

            width: 250px;
            opacity: 0;
            scale: .6;
    
            right: 1%;
            top: 1%;
    

            .settingsplace{
                cursor: pointer;
                display: flex;
                flex-direction: row;
                align-items: center;
                
                gap: .4em;

                svg{
                    width: 20px;
                    height: 20px;
                }
                
                .svghide{
                    width: 0px;
                    width: 0px;
                    margin-left: -.4em;
                }

                .button{
                    width: 100%;
                    border: 1px dashed var(--selection-color);
                    white-space: nowrap;
                    padding:.2em;
    
                    a{
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                    }
                }
            }

            .id{
                color: var(--secondary-text-clr);
            }
    
            .separator{
                width: 100%;
                height: 2px;
                margin: 0.6em 0;
                background-color: var(--selection-color);
            }
    
            .namenclose{
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
    
                img{
                    width: 24px;
                    filter: invert(var(--fullbrightnessinverted));
                }
            }
        }
    }
    .settings.opened{
        opacity: 1;
        visibility: visible;

        .insettings{
            width: 320px;
            opacity: 1;
            scale: 1;
        }
    }


    .leftpart, .rightpart{
        gap:1em;

        a{
            display: flex;
            align-items: center;
        }

        cursor:pointer;
    }

    .leftpart{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .rightpart{
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-right: .4em;
    }

    span, a{
        color:var(--text-clr);
        text-decoration: none;
    }

    .active a span, .active a svg{
        color:var(--accent-clr);
        fill: var(--accent-clr);
    }
}



@media(max-width: 800px){
    .navbar{
        margin: 0;
        border-radius: 0;
        margin-bottom: .3em;
        padding-top: .2em;

        .leftpart{
            align-items: stretch;

            >div{
                display: flex;
                flex-wrap: nowrap;
                align-items: center;
            }
            >div:not(:last-child)::after{
                content: "";
                height: calc(100% - .8em);
                position: relative;
                left: .5em;
                border: 1px dashed var(--border-line-clr);
            }
        }
        
        
    }

    section{
        margin: 0;
        border-radius: 0;
        margin-bottom: .3em;
        padding: .2em;
    }

    .tutorial{
        border-right: none;
        border-left: none;
        border-radius: 0;
        width: 100vw !important;
        padding: .1em;
        h3{
            font-weight: 500;
        }
    }
    .warning{
        border-right: none;
        border-left: none;
        border-radius: 0;
        width: 100vw !important;
        padding: .1em;
    }

    .templateCreate{
        border-right: none !important;
        border-left: none !important;
        border-radius: 0 !important;
        width: 100vw !important;
        padding: 0 !important;
    }

    .NotationTableDisplay{
        

        .tableParent > table{
            margin-right: 0;
            border-spacing: 0px;
        }
        
        .epreuve > div{
            border-left: var(--text-clr) 2px solid !important;
        }


        .tableRotate{
            height: 100px;
            width: 35px;
            position: relative;
            vertical-align: bottom;
            padding: 0;
            font-size: 12px;
            line-height: 0.8;

            >div {
                transition:all 200ms linear;
                position: relative;
                top: 0px;
                left: 35.6px;
                height: 100%;
                transform:skew(-35deg,0deg);
                overflow: hidden;
                border-left: 2px solid var(--border-line-clr);
                border-right: 2px solid var(--border-line-clr);
                border-top: 2px solid var(--border-line-clr);      
                
                > a {
                    transition: none;
                    text-align: left;
                    transform:skew(35deg,0deg) rotate(305deg);
                    position: absolute;
                    bottom: 34px;
                    left: -24px;
                    display: inline-block;
                    width: 100%;
                    width: 85px;
                    font-size: larger;
                }
            }
        }
    }


    .show_concours_list{

        table{
            border-spacing: 0;
            margin: auto;
            width: 100%;

            thead{
                text-align: center;
                td{
                    border: 1px solid var(--border-line-clr);
                    text-transform: uppercase;
                }
            }
            
            td{
                padding: .2em .1em;
                
            }
            .buttonAction{
                gap: .2em;
            }

        }
    }
}


@media(max-width: 700px){
    .navbar{
        .normal{
            overflow: hidden;
            opacity: 0;
            height: 0;
        }
        .compacted{
            overflow: hidden;
            opacity: 1;
            
            height: fit-content;

            display: flex;
            flex-direction: column;
            gap: .2em;
            

            .bottom{
                display: grid;
                grid-template-rows: 0fr;

                >div{
                    overflow: hidden;
                }
            }
        }
        .compacted.opened{
            
            .bottom{
                grid-template-rows: 1fr;
            }
        }
    }
}

@media(max-width:567px){
    .hide1{
        display: none;
    }
}
@media(max-width:400px){
    .hide2{
        display: none;
    }
    .ihide2{
        display: block;
    }
}


