:root{
    --TableWidth : 77px;
    --TableHeight: calc(var(--TableWidth) * 41.0 / 44.0);
    --TableFontSize: calc(var(--TableWidth) * 8.0 / 44.0);

    --Back: #181818;
    --BackObject: #262626;
    --BackActive: #37373D;
    --BackHover: #2A2D2E;
    --BackHoverMenu: #36363C;
    --BackText: #DEDEE3;
    --DBackText: #CFCFD3;

    --WBack: #353535;
    --WBackActive: #53535B;
    --WBackHover: #494D4F;
    --WBackHoverMenu: #52525B;
    --WBackText: #F9F9FF;
}

body{
    /* min-height: 100%; */
    background-color: var(--PanelBackHoverMenu);
}

p, span, div{
    color: var(--BackText);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button, input, select{
    border: solid gray 1px;
    border-radius: 5px;
    background-color: var(--BackText);
}
button:focus,
button:hover,
input:focus,
input:hover,
select:focus,
select:hover{
    background-color: var(--WBackText);
}
button:focus,
select:focus,
input:focus{
    outline: solid var(--BluePanelHover) 1px;
}

.maincontainer
{
    display: flex;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
}

.options{
    width: 565px;
    display: flex;
    padding: 5px;
    padding-left: 45px;
    gap: 5px;
    background-color: var(--PanelBack);
}

.column{
    width: 275px;
    min-height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 24px;
}
.column p{
    margin: 0;
    text-align: center;
}

.buttonpanel{
    display: flex;
    height: auto;
    justify-content: center;
    gap: 15px;
}
.liste_classe_container{
    display: grid;
    grid-template-columns: 1fr;
    height: 150px;
    border: solid var(--BackHover) 1px;
    background-color: var(--BackObject);
}
#listeclasse,
#listeplan{
    grid-row-start: 1;
    grid-column-start: 1;
    padding: 2px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.help_container{
    display: none;
    pointer-events: none;
    grid-row-start: 1;
    grid-column-start: 1;
    background-color: #FFFD;
    color: var(--Back);
    border-radius: 5px;
    padding: 3px;
    z-index: 5;
    text-align: center;
    align-content: center;
}

.liste_eleve_container{
    display: grid;
    grid-template-columns: 1fr;
    flex: 1 1 auto;
    overflow-y: hidden;
    border: solid var(--BackHover) 1px;
    background-color: var(--BackObject);
}
#listeeleve{
    grid-row-start: 1;
    grid-column-start: 1;
    padding: 2px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.iconbutton{
    width: 24px;
    height: 24px;
    transition: 150ms;
    border-radius: 5px;
    display: inline-block;
    background-color: var(--HeadMenuButton);
    color: var(--WBackText);;
}
.iconbutton:hover{
    background-color: var(--WBackHover);
}
.iconbutton:active{
    background-color: var(--WBackActive);
}

.listelement{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1px;
}
.listelement input{
    min-width: 0px;
    flex: 1 1 auto;
    height: 24px;
    display: inline-block;
}
.preview_container{
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.preview{
    height: 100%;
    width: 800px;
    margin: 30;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.preview span{
    color: var(--Back);
}

.aspect{
    aspect-ratio: 297/ 210;
    width: 800px;
    max-height: 100%;
    background: var(--WBackText);
    position: relative;
}

.optionpreview{
    display: flex;
    gap: 20px;
}






#titreplan{
    color: var(--Back);
    position: absolute;
    top: 10px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#content
{
    border: solid var(--BackText) 1px;
    position: absolute;
    top: 35px; bottom: 10px; left: 10px; right: 10px;
    overflow: hidden;
}


#Help4{
    background-color: #000D;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    align-content: center;
    position: absolute;
    display: none;
    top: 35px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

.draggable {
    position:absolute;
    width: var(--TableWidth);
    height: var(--TableHeight);
    color: black;
    touch-action: none;
    user-select: none;
    transform: translate(0px, 0px);
}
.draggable_inner{
    position: relative;
    display: grid;
    place-items: center;
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: hidden;
}
.draggable_inner div{
    text-align: center;
    position: absolute;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--TableFontSize);
    margin-top: 27%;
    width: var(--TableWidth);
    max-height: calc(var(--TableHeight) * 0.75);
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: hidden;
    word-wrap: break-word;
    line-height: 15px;
}
.draggable_inner div > span{
    word-wrap: break-word;
}
.draggable_inner div span:first-child{
    font-weight: bold;
    max-height: 30px;
    overflow-x: hidden;
    display: inline-block;
    max-width: var(--TableWidth);
    text-overflow: ellipsis;
}



.context-menu,
.context-menu *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.context-menu { 
    position: absolute; 
} 
.menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgb(64 64 64 / 5%);
    padding: 10px 0;
}
.menu > li > a {
    font: inherit;
    border: 0;
    padding: 10px 30px 10px 15px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: unset;
    color: #000;
    font-weight: 500;
    transition: 0.5s linear;
    -webkit-transition: 0.5s linear;
    -moz-transition: 0.5s linear;
    -ms-transition: 0.5s linear;
    -o-transition: 0.5s linear;
}
.menu > li > a:hover {
    background:#f1f3f7;
    color: #4b00ff;
}
.menu > li > a > i {
    padding-right: 10px;
}
.menu > li.trash > a:hover {
    color: red;
}

.eleveselecteur{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: snow;
    border: ridge;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    width: 250px;
    gap: 10px;
}
.eleveselecteur *{
    width: 100%;
}
.alreadyasign,
.alreadyasign:hover,
.alreadyasign:checked,
.alreadyasign:active{
    color: red;
}
.alreadyasign:disabled{
    color: lightcoral;
}
.notasign,
.notasign:hover,
.notasign:checked,
.notasign:active{
    color: black;
}

