:root {
    /* colors */
    --accent-1: #98a2aa;
    --accent-2: #cdd5d5;
    --accent-3: #e6eaea;
    --accent-4: #FFECF1;
    --accent-5: #F9FAFA;
    --brand-alternate: #ffffff;
    --brand-primary: #2e4254;
    --brand-secondary: #ff8e61;
    --brand-tertiary: #FB6E96;
    --custom-corail: #FF8E61;
    --custom-corail-bg: #ffecea;
    --custom-purple: #9F6BB7;
    --custom-purple-bg: #F8EBFF;
    --custom-mint: #32DA94;
    --custom-mint-bg: #f2fdf8;
    --custom-red: #C64527;
    --custom-blue: #3865FD;
    --semantic-error: #fb6e96;
    --semantic-success: #08a798;
    --semantic-warning: #e16200;
    --semantic-info: #0D7988;
    --semantic-bgerror: #fcf0f4;
    --semantic-bgsuccess: #e9f6f4;
    --semantic-bgwarning: #f9f0e5;
    --semantic-bginfo: #e8f0f3;
    --utility-primary-background: #FEF7EC;
    --utility-primary-text: #222c36;
    --utility-secondary-background: #FCEEDB;
    --utility-secondary-text: #4e565e;
    --utility-disabled: #D8E1E9;
    --box-shadow: 0px 16px 20px 0px rgba(100, 51, 7, 0.30);
    --box-shadow-title: 2px 10px 10px rgba(100, 51, 7, 0.2);
    --tableDeskColor: #e8ebeb;
    --tableDeskColorSelect: #dd9c62;
    --color-aesh: #007b6e;
    --color-fille-icon: #de82a7;
    --color-garcon-icon: #6377ff;
    --color-autregenre-icon: #848484;
    --color-align: #3865FD;
    /* Fonts */

    --display-large: 800 6rem "Darker Grotesque", sans-serif;
    --display-medium: 800 4.4rem "Darker Grotesque", sans-serif;
    --display-small: 800 3.5rem "Darker Grotesque", sans-serif;
    --headline-large: 500 4.2rem "Darker Grotesque", sans-serif;
    --headline-medium: 500 3rem "Darker Grotesque", sans-serif;
    --headline-small: 500 2.4rem "Darker Grotesque", sans-serif;
    --title-large: 800 3rem "Darker Grotesque", sans-serif;
    --title-medium: 800 2.4rem "Darker Grotesque", sans-serif;
    --title-small: 800 2rem "Darker Grotesque", sans-serif;
    --label-large: 700 1.6rem "DM Sans", sans-serif;
    --label-medium: 700 1.4rem "DM Sans", sans-serif;
    --label-small: 700 1.1rem "DM Sans", sans-serif;
    --body-large: 400 1.6rem "DM Sans", sans-serif;
    --body-medium: 400 1.4rem "DM Sans", sans-serif;
    --body-small: 400 1.1rem "DM Sans", sans-serif;

    --display-salle: 500 1.3rem "Darker Grotesque", sans-serif;
    --display-classe: 800 1.5rem "Darker Grotesque", sans-serif;
    --dm50010: 500 1rem "DM Sans", sans-serif;

    /* Column Row */
    --heightHour: 40px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--utility-primary-background);
    color: var(--brand-primary);
    font: var(--body-medium);
}

img {
    max-width: 100%;
}

/* ----------------------- */
/* O L E O   B U T T O N S */
/* ----------------------- */
.oleoButton {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 20px;
    width: max-content;
    outline-offset: 2px;
    justify-content: center;
    height: 40px;
    transition: all 0.3s;
    /* Medium par defaut */
    font: var(--label-medium);
}

.oleoButton.large {
    height: 52px;
    font: var(--label-large);
}

.oleoButton.medium {
    height: 40px;
}

.oleoButton.small {
    height: 32px;
}

.oleoButton.primary.style1 {
    color: var(--brand-alternate);
    background-color: var(--brand-secondary);
}

.oleoButton.primary.style1.disabled {
    color: var(--accent-1);
    background-color: var(--utility-disabled);
    cursor: default;
    pointer-events: none;
}


.oleoButton.primary.style2 {
    color: var(--brand-secondary);
    background-color: var(--utility-secondary-background);
}

.oleoButton.primary.style2.disabled {
    color: var(--accent-1);
    background-color: var(--utility-disabled);
    cursor: default;
    pointer-events: none;
}

.oleoButton.primary.style3 {
    border: 1px solid var(--brand-secondary);
    color: var(--brand-secondary);
}

.oleoButton.primary.style3.disabled {
    color: var(--accent-1);
    border: 1px solid var(--accent-1);
    cursor: default;
    pointer-events: none;
}

.oleoButton.secondary.style1 {
    color: black;
    background-color: var(--utility-secondary-background);
}

.oleoButton.secondary.style1.disabled {
    color: var(--accent-1);
    background-color: var(--utility-disabled);
    cursor: default;
    pointer-events: none;
}

.oleoButton.secondary.style2 {
    color: black;
    background-color: var(--brand-alternate);
    border: 1px solid black;
}

.oleoButton.secondary.style2.disabled {
    color: var(--accent-1);
    border: 1px solid var(--accent-1);
    cursor: default;
    pointer-events: none;
}

.oleoButton.tertiary.style1 {
    color: var(--utility-secondary-text);
    border: 1px solid var(--accent-2);
}

.oleoButton.tertiary.style1.disabled {
    color: var(--accent-1);
    border: 1px solid var(--accent-3);
    cursor: default;
    pointer-events: none;
}

.oleoButton.primary:hover {
    opacity: 0.8;
}

.oleoButton.secondary.style1:hover {
    background-color: #efebe0;
}

.oleoButton.secondary.style2:hover {
    background-color: var(--utility-secondary-background);
}

.oleoButton.tertiary.style1:hover {
    background-color: var(--utility-secondary-background);
    border: 0px;
}

.oleoButton.primary:focus {
    outline: 1px solid var(--brand-secondary);
    border: 1px solid var(--brand-alternate);
}

.oleoButton.secondary.style1:focus {
    background-color: #f4f0e5;
    outline: 1px solid var(--brand-secondary);
    border: 1px solid var(--brand-alternate);
}

.oleoButton.secondary.style2:focus {
    outline: 1px solid var(--brand-secondary);
    border: 1px solid var(--utility-secondary-text);
}

.oleoButton.tertiary.style1:focus {
    outline: 1px solid var(--brand-secondary);
    border: 1px solid var(--utility-secondary-text);
}

.oleoButton.destructive.style1 {
    color: var(--brand-alternate);
    background-color: var(--semantic-error);
}

.oleoButton.destructive.style2 {
    color: var(--semantic-error);
    background-color: var(--brand-alternate);
    border: 1px solid var(--semantic-error);
}

.oleoButton.destructive.style1:hover {
    opacity: 0.8;
}

.oleoButton.destructive.style2:hover {
    background-color: #f9e3ea;
    color: #e67d9d;
}

.oleoButton.destructive:focus {
    outline: 1px solid var(--brand-secondary);
}

.oleoButton.link.style1 {
    padding: 0;
    color: var(--brand-secondary);
    height: 24px;
}


.oleoButton.link.style2 {
    color: var(--utility-secondary-text);
    height: 24px;
    padding: 0;
}

.oleoButton.link.style1:hover {
    border-bottom: 3px solid var(--brand-secondary);
    border-radius: 0px;
}

.oleoButton.link.style2:hover {
    border-bottom: 2px solid var(--utility-secondary-text);
    border-radius: 0px;
}

.oleoButton.link.style1:focus {
    border: 1px solid var(--brand-secondary);
}

.oleoButton.link.style2:focus {
    border: 1px solid var(--utility-secondary-text);
}

.oleoButton>.material-symbols-outlined {
    font-size: 16px;
}

/* Fin Buttons */

#mainDiv {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.initCol {
    align-self: center;
    flex: 1;
    align-items: center;
    gap: 15px;
}

#colLeft {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--brand-alternate);
    z-index: 31;
    box-shadow: 11px 0px 24px 0px rgba(40, 40, 40, 0.05);
    padding-bottom: 16px;
    flex: none;
    transition: width 0.5s ease;
    width: 64px;
}

#colLeft>.colFlex {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 24px;
    padding-left: 16px;
    padding-right: 16px;
}

#colLeft>.colFlex.colFlexBorder {
    margin-top: auto;
    margin-bottom: 16px;
    border-top: 1px solid var(--accent-4);
    border-bottom: 1px solid var(--accent-4);
}

#colLeft .expanded {
    position: absolute;
    font-weight: bolder;
    top: 20px;
    cursor: pointer;
    width: 30px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--brand-secondary);
    z-index: 32;
    box-shadow: 11px 0 24px 0 rgba(40, 40, 40, 0.05);
    right: -30px;
    background-color: white;
    border-radius: 0 8px 8px 0;
}

#colLeft .expanded:hover {
    box-shadow: 11px 0 10px 0 rgba(40, 40, 40, 0.05);
}

#colLeft .expanded span {
    font-size: 1.8rem;
    line-height: 1;
    display: block;
}

#colLeft.active .iconText {
    display: block;
}

#colLeft.active {
    width: 200px;
}

#colLeft.active .expanded {
    right: 0;
    border-radius: 8px 0 0 8px;
    background-color: var(--utility-primary-background);
}

#colLeft.active .expanded span {
    transform: rotate(180deg);
}

#colRight {
    display: flex;
    position: relative;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

#colMetier {
    display: flex;
    flex-direction: row;
    align-items: start;
    flex: 1;
    background-color: var(--utility-primary-background);
    min-height: 0;
}

.topBarreRow {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 92px;
    background-color: var(--brand-alternate);
    border-bottom: 1px solid var(--accent-4);
    padding-left: 40px;
    padding-right: 40px;
    white-space: nowrap;
    z-index: 3;
}

#currentTitle {
    width: 33%;
    font: var(--title-large);
}

.undoredo {
    font-size: 2.4rem;
    color: var(--primary);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.undoredo:hover {
    background-color: var(--accent-3);
}

.undoredo.disabled {
    color: var(--accent-3);
    cursor: default;
    pointer-events: none;
}

.creerSalle {
    width: 400px;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
    z-index: 6;
}

.twoDigits {
    font: var(--label-large);
    width: 32px;
    padding: 5px;
    border: none;
    background-image: none;
    text-align: center;
    appearance: none;
    outline: 0;
}

.cusorPointer {
    cursor: pointer;
}

.rowFlex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.colFlex {
    display: flex;
    flex-direction: column;
}

.fillSize {
    width: 100%;
}

.flexExpand {
    flex: 1;
}

.headLineSmall {
    font: var(--headline-small);
    color: var(--brand-secondary);
}

.headLineMedium {
    font: var(--headline-medium);
    color: var(--utility-secondary-text);
}

.bodyLarge {
    font: var(--body-large);
}

.labelLarge {
    font: var(--label-large);
}

.titleLarge {
    font: var(--title-large);
}

.titleMedium {
    font: var(--title-medium);
}

.titleSmall {
    font: var(--title-small);
}

.bodyMedium {
    font: var(--body-medium);
}

.displayMedium {
    font: var(--display-medium);
}

.bodySmall {
    font: var(--body-small);
}

.labelMedium {
    font: var(--label-medium);
}

.labelSmall {
    font: var(--label-small);
}

.brandPrimary {
    color: var(--brand-primary);
}

.brandSecondary {
    color: var(--brand-secondary);
}

.primaryText {
    color: var(--utility-primary-text);
}

.input-content {
    padding-left: 16px;
    border: 0;
    color: var(--utility-primary-text);
    width: 100%;
    background-color: var(--brand-alternate);
}

.secondaryText {
    color: var(--utility-secondary-text);
}

.input-content:focus {
    outline: none;
}

.cursorPointer {
    cursor: pointer;
}

.justifyCenter {
    justify-content: center;
}

.justifyRight {
    justify-content: right;
}

.justifySpaceBetween {
    justify-content: space-between;
}

.justifySpaceArround {
    justify-content: space-around;
}

.justifyStart {
    justify-content: flex-start;
}

.alignItemCenter {
    align-items: center;
}

.selectEdt {
    appearance: none;
    outline: 0;
    font: var(--label-large);
    padding: 16px;
    color: var(--utility-primary-text);
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 50%;
    border-radius: 5px;
    border: 1px solid var(--accent-3);
}

.edtNav {
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

#oleo {
    height: 64px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.oleoChoice {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    font: var(--label-medium);
    color: var(--utility-secondary-text);
    cursor: pointer;
}

.oleoChoice:hover .contIcon:not(.selected) {
    background-color: var(--utility-primary-background);
}

.contIcon {
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contIcon span {
    font-size: 18px;
}

.contIcon.selected {
    background-color: var(--brand-secondary);
    color: white;
}

.contIconSmall {
    display: flex;
    flex-direction: row;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 1px solid var(--brand-primary);
}

.contIconSmall span {
    font-size: 18px;
}

.topicItem {
    padding: 5px;
    font: var(--label-medium);
    color: var(--utility-secondary-text);
    border-radius: 5px;
    cursor: pointer;
}

.topicItem:hover {
    background-color: var(--accent-3);
    z-index: 1000;
}

.topicItem.selected {
    font: var(--label-medium);
    color: var(--brand-secondary);
    background-color: var(--brand-alternate);
}

.aTopic {
    width: 100%;
    border: 1px solid var(--accent-3);
    height: 56px;
    border-radius: 5px;
}

.iconText {
    white-space: nowrap;
    transition: opacity 0.5s;
    display: none;
}

.iconTopic {
    color: var(--accent-1);
    display: flex;
    padding: 10px;
    border-right: 2px solid var(--utility-primary-background);
    height: 100%;
    align-items: center;
}

.textTopic {
    padding-left: 10px;
    flex: 1;
    font: var(--label-large);
}

.creerClass {
    width: 400px;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
    z-index: 6;
}

.affClasse {
    padding-left: 10px;
}

.affSalle {
    padding-left: 10px;
}

.className {
    padding-left: 0px;
}

.salleName {
    font: var(--label-large);
}

.displayClasse {
    font: var(--display-classe);
    line-break: anywhere;
}

.displaySalle {
    font: var(--display-salle);
}

.colorsChoice {
    flex-wrap: wrap;
    gap: 16px;
}

.classColorSmall {
    background-color: #F8A623;
    border-radius: 8px;
    width: 16px;
    height: 16px;
}

.classColorVerySmall {
    border-radius: 4px;
    width: 6px;
    height: 6px;
}

.classColorLarge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.classColorLarge:hover {
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.classColorLarge.selected {
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.classColorLarge.selected::after {
    font-family: "Material Symbols Outlined";
    font-size: 2.4rem;
    content: "done";
    color: var(--brand-alternate);
}

/* CoachMark */

.coachMark {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3;
    color: var(--brand-alternate);
    background-color: var(--brand-secondary);
    padding: 12px 16px;
    text-align: left;
    border-radius: 4px;
    width: 350px;
}


/* POPUP MENU */
.popupMenu {
    position: absolute;
    background-color: var(--brand-alternate);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--accent-3);
    box-shadow: var(--box-shadow);
    z-index: 6;
}

.popupMenu:focus {
    outline: none;
}

.popupItemCont {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-style: 16px;
    background-color: var(--brand-alternate);
    cursor: pointer;
}

.popupItemCont:hover,
.active {
    background-color: var(--accent-3);
}

.popupItem {
    font: var(--label-large);
    padding: 5px;
}


/* --------- */
/* Snack Bar */
/* --------- */

.snackBar {
    position: fixed;
    width: 400px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 17px;
    padding-top: 12px;
    padding-bottom: 12px;
    top: 0;
    left: 0;
    animation: fadeinout 4s linear;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    z-index: 6;
}

.snackBarText {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 10px;
}

.snackClose {
    padding-right: 17px;
    color: var(--accent-1);
}

.snackClose:hover {
    color: #000;
    cursor: pointer;
}

.snackBarText>div:first-child {
    font: var(--label-large);
}

.snackBarText>div:last-child {
    font: var(--body-medium);
}

@keyframes fadeinout {

    0%,
    100% {
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }
}


/* -------------------- */
/* Custom Radio Buttons */
/* -------------------- */

.containerRB {
    display: block;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font: var(--body-large);
}

/* Hide the browser's default radio button */
.containerRB input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmarkRB {
    position: absolute;
    top: 0;
    left: 0;
    height: 19px;
    width: 19px;
    border-radius: 50%;
    border: 2px solid var(--brand-secondary);
}

/* On mouse-over, add a grey background color */
.containerRB:hover input~.checkmarkRB {
    border: 2px solid grey;
}

.checkmarkRB:after {
    content: "";
    position: absolute;
    display: none;
}

.containerRB input:checked~.checkmarkRB:after {
    display: block;
}

.containerRB .checkmarkRB:after {
    top: 5px;
    left: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-secondary);
}


/* ------ */
/* DIALOG */
/* ------ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 4;
}

/* Modal Content */
.modal-content {
    position: fixed;
    border: 1px solid #888;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
}

/* The Close Button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--utility-secondary-text);
    font-size: 2.4rem;
    font-weight: bold;
    z-index: 1000;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--utility-primary-text);
    text-decoration: none;
    cursor: pointer;
}

/* ------- */
/* ToolTip */
/* ------- */

.oleoTooltip {
    padding: 8px;
    border-radius: 8px;
    font: var(--body-medium);
    background-color: var(--brand-primary);
    color: var(--brand-alternate);
}

/* Masquer les tooltips quand colLeft est active */
body:has(#colLeft.active) .ui-tooltip {
    display: none !important;
}

/* -------- */
/* COMBOBOX */
/* -------- */

.combo {
    position: relative;
    line-height: 56px;
    background-color: var(--utility-secondary-background);
    border: 1px solid var(--accent-3);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    z-index: 5;
    width: 100%;
}

.combo input {
    padding-left: 10px;
    outline: none;
    border: none;
    font: var(--label-large);
    width: 100%;
}

.combo input:focus {
    outline: none;
}

.combo>div {
    position: absolute;
    width: 100%;
    box-shadow: var(--box-shadow);
}

.comboList {
    font-size: 1.6rem;
    height: 56px;
    padding-left: 10px;
    background-color: var(--brand-alternate);
    font: var(--label-large);
    line-height: 56px;
    border: 1px solid var(--accent-3);
    border-top: none;
}

.comboList:first-child {
    border-top: 1px solid var(--accent-3);
}

.comboList:hover,
.active {
    background-color: var(--accent-3);
}

.dropArrow {
    margin-right: 10px;
    cursor: pointer;
}

.moreHoriz {
    padding: 5px 10px 5px 10px;
    border-radius: 16px;
    cursor: pointer;
}

.moreHoriz:hover {
    background-color: var(--accent-2);
}

.weekSetting {
    padding: 16px;
    border-radius: 10px;
    background: var(--utility-primary-background);
    cursor: pointer;
}

.deleteConfirm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 320px;
    padding: 16px;
    align-items: center;
    text-align: center;
}

.deleteConfirmWarning {
    width: 400px;
    padding: 16px 16px;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logoutConfirm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 420px;
    padding: 16px;
    align-items: center;
    text-align: center;
}

.DelteAccountConfirm {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 520px;
    padding: 16px;
    align-items: center;
    text-align: center;
}

.deleteInEdt {
    width: 400px;
    padding: 16px 16px;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.warningColor {
    color: var(--semantic-warning);
}

.errorColor {
    color: var(--semantic-error) !important;
}

.errorIcon {
    font-size: 4.8rem !important;
}

.delButton {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    font: var(--label-large);
    color: var(--semantic-error);
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid var(--semantic-error);
    gap: 10px;
}

/* Modif Record */

@keyframes spin-animation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Oleo Checkbox */

.oleoCheckbox {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.oleoCheckbox::before {
    content: "check_box_outline_blank";
    font-family: 'Material Symbols Outlined';
    font-size: 21px;
    color: var(--accent-2);
}

.oleoCheckbox.checked::before {
    content: "check_box";
    font-family: 'Material Symbols Outlined';
    font-size: 21px;
    font-variation-settings: 'FILL' 1;
    color: var(--brand-secondary);
}


/* Toggle */

input[type='checkbox'].toggle {
    display: inline-block;
    appearance: none;
    width: 40px;
    height: 20px;
    background-color: grey;
    position: relative;
    border-radius: 10px;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

input[type='checkbox'].toggle:hover:after {
    box-shadow: var(--semantic-success);
    opacity: 0.52;
}

input[type='checkbox'].toggle:after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: lightgray;
    top: -1px;
    left: -2px;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

input[type='checkbox']:checked.toggle {
    box-shadow: inset 0 0 0 15px #a9e6bb;
}

input[type='checkbox']:checked.toggle:after {
    content: '\e876';
    font-family: "Material Symbols Outlined";
    color: white;
    font-size: 22px;
    text-align: center;
    left: 20px;
    background-color: var(--semantic-success);
}

/* TREE */
.tree,
.tree ul {
    padding: 0;
    list-style: none;
    position: relative;
}

.tree ul::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 3px;
    border-left: 1px solid var(--accent-3);
}

.tree li {
    position: relative;
    padding: 5px 5px 5px 20px;
}

.tree li:before {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    border-top: 1px solid var(--accent-3);
    top: 1em;
    left: 3px;
}

.tree .selected {
    background-color: var(--accent-3);
}

/* Checkbox */

.chekboxChoice {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.oleoShowCours {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

#oleoDateTime {
    position: relative;
    font: var(--title-small);
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding-left: 32px;
    line-height: 1;
}

#oleoDateTime span {
    color: var(--brand-tertiary);
}

#oleoAgenda {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#oleoAgenda:not(:empty) {
    width: 435px;
    height: 60px;
    margin-left: 40px;
}

.oleoAgendaGrad {
    position: relative;
    width: 405px;
    height: 60px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 1) 100%);
    z-index: 100;
    pointer-events: none;
}

.timeScroll {
    align-content: center;
    font-family: "Material Symbols Outlined";
    font-size: 24px;
    cursor: pointer;
    height: 60px;
    z-index: 2;
    background-color: var(--brand-alternate);
}

.timeScroll:hover {
    color: var(--brand-secondary);
}

.timeRowScroll {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--brand-alternate);
}

.coursTime {
    position: absolute;
    /*width: 3360px;*/
    width: 1728px;
    top: 0;
}

.coursTimeItem {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 23px;
    cursor: pointer;
}

.coursTimeCont {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font: var(--label-small);
    border-radius: 8px;
    height: 27px;
    position: relative;
    z-index: 1;
}

.coursTimeCont .salle {
    font-weight: 400;
}

.currentHour {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 0;
    pointer-events: none;
    z-index: 10;
}

.currentHourStyle {
    font: var(--label-small);
    background-color: var(--brand-secondary);
    color: var(--brand-alternate);
    border-radius: 36px;
    padding: 2px 4px 2px 4px;
    line-height: 1;
    width: 40px;
}

.coursHoursCont {
    position: absolute;
    display: flex;
    flex-direction: row;
    top: 0;
    font: var(--label-small);
}

.coursHoursCont .rowFlex {
    gap: 0;
    position: relative;
}

.coursHoursCont .rowFlex:after {
    content: "";
    display: block;
    width: 2px;
    height: 41px;
    background-color: var(--accent-3);
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    transform: translateX(-1px);
    top: 0;
}

.microBilleRed {
    width: 4px;
    height: 4px;
    background-color: var(--brand-secondary);
    border-radius: 4px;
}

.microBarreRed {
    height: 32px;
    border-right: 1px solid var(--brand-secondary);
}

.microTriangle-left {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 5px solid var(--brand-secondary);
    border-bottom: 5px solid transparent;
}

.microTriangle-right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 5px solid var(--brand-secondary);
    border-bottom: 5px solid transparent;
}

.textfield {
    position: relative;
    display: flex;
    flex-direction: row;
    border-radius: 5px;
    border: 1px solid var(--accent-3);
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding-right: 8px;
    width: 100%;
    background-color: var(--brand-alternate);
}

.minusPlus {
    position: relative;
    display: flex;
    width: 32px;
    height: 32px;
    background-color: var(--utility-secondary-background);
    border-radius: 32px;
    justify-content: center;
    align-items: center;
    color: var(--brand-primary);
    cursor: pointer;
}

.minusPlus.secondary {
    color: var(--brand-secondary);
}

.minusPlus.disabled {
    background-color: var(--utility-disabled);
    color: var(--accent-2);
    cursor: auto;
}

/* creating css loader */
#spinner:not([hidden]) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#spinner::after {
    content: "";
    width: 80px;
    height: 80px;
    border: 2px solid #f3f3f3;
    border-top: 3px solid #f25a41;
    border-radius: 100%;
    will-change: transform;
    animation: spin 1s infinite linear
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.newAnnotation {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    width: 450px;
    gap: 10px;
}

.annotationTitle {
    font: var(--title-medium);
    color: var(--brand-secondary);
    padding-bottom: 20px;
}

.annotationType {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.annotationType:hover {
    border: 1px solid var(--accent-1);
}

.annotationChoices {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}

.elvAnnotRow {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 5px;
    gap: 4px;
    min-height: 31px;
}

.elvAnnotNb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.elvAnnotNbAfter {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    height: 12px;
    color: var(--brand-alternate);
    font: var(--dm50010);
    right: -5px;
    top: -5px;
    border-radius: 6px;
    z-index: 1;
}

.annotationRem {
    font: var(--body-medium);
    color: var(--utility-secondary-text);
    resize: none;
    border: 1px solid var(--accent-4);
    outline-color: var(--accent-4);
    border-radius: 5px;
    Padding: 10px;
}

.annotationDate {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.annotationDateHeure {
    font: var(--label-large);
    padding: 10px;
    border: 1px solid var(--accent-4);
    outline: none;
    border-radius: 5px;
}

.annotationEleves {
    border: 1px solid var(--accent-3);
    border-radius: 5px;
    padding: 10px;
}

.annotElvList {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
}

.inpEleve {
    border: 0;
    color: var(--utility-primary-text);
    font: var(--label-medium);
    flex: 1;
    min-width: 100px;
}

.inpEleve:focus {
    outline: none;
}

.ui-autocomplete.ui-widget {
    font: var(--body-small);
    color: var(--utility-primary-text);
}

.errorNoConf {
    font-family: "Material Symbols Outlined";
    color: var(--semantic-error);
    font-variation-settings: 'FILL' 1;
}

#noPlanClasseReady {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    gap: 10px;
    text-align: center;
}

/* Tables */

.aTable {
    position: absolute;
    width: 104px;
    height: 104px;
    background-color: var(--brand-alternate);
    border-radius: 6px;
    border: 2px solid var(--accent-3);
    box-shadow: var(--box-shadow);
}

.aTable::before {
    position: absolute;
    display: block;
    content: "";
    left: calc(50% - 15px);
    top: -12px;
    width: 30px;
    height: 12px;
    border-radius: 15px 15px 0 0;
    background-color: var(--accent-3);
}

.aTable.selected {
    border-color: var(--brand-secondary) !important;
}

.aTable.selected::before {
    position: absolute;
    display: block;
    content: "";
    left: calc(50% - 15px);
    top: -12px;
    width: 30px;
    height: 12px;
    border-radius: 15px 15px 0 0;
    background-color: var(--brand-secondary);
}

.aTable.tableAlert {
    border-color: var(--semantic-error) !important;
}

.aTable.tableAlert::before {
    position: absolute;
    display: block;
    content: "";
    left: calc(50% - 15px);
    top: -12px;
    width: 30px;
    height: 12px;
    border-radius: 15px 15px 0 0;
    background-color: rgba(251, 110, 150, 0.6);
}

.aDesk {
    position: absolute;
    width: 144px;
    height: 70px;
    background-image: url(../images/desk.svg);
    filter: drop-shadow(1px 10px 5px rgba(100, 51, 7, 0.30));
}

.aDesk.showForEleve {
    position: absolute;
    width: 144px;
    height: 70px;
    background-image: url(../images/deskDark.svg);
    filter: drop-shadow(1px 10px 5px rgba(100, 51, 7, 0.30));
}

.rightEleve>.affGenre {
    height: 24px;
}

.rightEleve>.affNom {
    height: 14px;
}

.rightEleve>.affPrenom {
    height: 24px;
}

.rightEleve {
    position: absolute;
    flex-direction: column;
    width: 100px;
    height: 100px;
    text-align: center;
    justify-content: space-evenly;
    margin-top: 2px;
    margin-left: 2px;
}

.rightEleve.move {
    width: 80px;
    height: 80px;
    margin-left: 12px;
    margin-top: 12px;
}

.rightEleve.tableAlert::after {
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    content: "exclamation";
    position: absolute;
    right: -12px;
    top: -12px;
    width: 18px;
    height: 18px;
    border-radius: 8px;
    color: var(--brand-alternate);
    padding: 2px;
    background-color: var(--semantic-error);
    line-height: 18px;
}

/* Combo Select */

.combo-select {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: min-content;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.combo-select-row {
    position: relative;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--brand-alternate);
    padding-left: 10px;
    border-bottom: 1px solid var(--accent-2);
}

.combo-select-option {
    white-space: nowrap;
    width: min-content;
    border-bottom: 1px solid var(--accent-3);
}

.combo-select-arrow {
    position: relative;
    display: flex;
    border-left: 1px solid var(--accent-3);
    height: 38px;
    width: 25px;
    align-items: center;
    justify-content: center;
}

.combo-select-arrow::after {
    content: "keyboard_arrow_down";
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    color: var(--accent-1);
}

.combo-select-input {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.combo-select-input .combo-select-option {
    border: none !important;
}

.combo-select-list {
    position: absolute;
    left: 0px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    z-index: 1000;
}

.combo-select-list .combo-select-option {
    position: relative;
    cursor: pointer;
    padding: 10px;
    background-color: var(--brand-alternate);
}

.combo-select-list .combo-select-option:hover {
    background-color: #ffe7dd;
}

.combo-select-option.selected {
    background-color: var(--brand-secondary);
}

input[type='radio'] {
    filter: hue-rotate(150deg);
}

/* Parameters */

.dashParameters {
    width: 468px;
    background-color: var(--utility-primary-background);
    box-shadow: var(--box-shadow);
}

.dashParametersTitle {
    font: var(--title-large);
    padding: 20px 20px 0px 20px;
}

#dashParametersTabs {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    padding: 20px 20px 0px 20px;
}

#dashParametersAllTabs {

    padding: 32px 16px 32px 16px;
    background-color: var(--brand-alternate);
}

.tabSwitcher {
    font: var(--label-large);
    color: var(----brand-primary);
    background-color: transparent;
    cursor: pointer;
    padding: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tabSwitcher.selected {
    color: var(--brand-secondary);
    background-color: var(--brand-alternate);
    border-top: 3px solid var(--brand-secondary);
}

.tabContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashParametersButtons {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-left: 32px;
    padding-right: 32px;
}

#annotsList {
    border: 1px solid var(--accent-3);
    border-radius: 5px;
    padding: 8px 12px 8px 12px;
}

#annotsList1 {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.addAnnot {
    color: var(--brand-secondary);
    background-color: var(--utility-secondary-background);
    width: 32px;
    height: 32px;
    border-radius: 24px;
    align-content: center;
    text-align: center;
    cursor: pointer;
}

.addAnnot.disabled {
    color: var(--accent-1);
    background-color: var(--accent-3);
}

.addAnnotCtx {
    background-color: var(--brand-alternate);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    max-height: 280px;
    border: 1px solid var(--accent-3);
    padding: 5px;
    z-index: 1000;
}

/* annotations */
.annotRow {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.eleveAnnotations {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 520px;
    padding: 16px 24px 16px 24px;
}

.descEleve {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.eleveWithAesh {
    display: inline-block;
    font-family: "Material Symbols Outlined";
    font-size: 16px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-aesh);
    border-radius: 24px;
    color: var(--color-aesh);
    background-color: white;
    text-align: center;
}

.annotArrow {
    cursor: pointer;
    color: var(--accent-2);
}

.annotName {
    font: var(--label-medium);
    color: var(--utility-primary-text);
}

.annotName.italique {
    font-style: italic;
}

.anotBulNumber {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    color: var(--utility-secondary-text);
    background-color: var(--utility-secondary-background);
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font: var(--label-medium);
    flex-shrink: 0;
}

.anotRowBoth {
    position: relative;
    display: flex;
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between;
}

.anotRowBoth:hover {
    background-color: var(--accent-4);
}

.annotAlert {
    background-color: #fb6e961e !important;
}

.anotRowBoth:first-child {
    margin-top: 16px
}

.anProgBar {
    width: 48px;
    height: 4px;
    background-color: var(--accent-2);
}

.anProgBarPs {
    background-color: var(--utility-primary-text);
    height: 4px;
}

.anProgBarPs.alert {
    background-color: var(--semantic-error);
}

.anProgBarText {
    font: var(--label-small);
    color: var(--utility-primary-text);
}

.anProgBarText.alert {
    color: var(--semantic-error);
}

.anIconAlert {
    display: flex !important;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    color: var(--semantic-error);
    width: 32px;
    height: 32px;
    border: 1px solid var(--semantic-error);
    border-radius: 32px;
    font-size: 24px !important;
    cursor: pointer;
}

.anIconAlert:hover {
    background-color: var(--accent-3);
}

.anIconRefresh {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--accent-4);
    border-radius: 32px;
    font-size: 24px !important;
    cursor: pointer;
}

.anIconRefresh:hover {
    background-color: var(--accent-2);
}

.incAlert {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    width: 32px;
    height: 32px;
    border-radius: 16px;
    border: 1px solid var(--accent-1);
    font-size: 24px !important;
    cursor: pointer;
}

.incAlert:hover {
    background-color: var(--accent-3);
}

.accPanel {
    display: none;
    flex-direction: column;
    background-color: var(--accent-4);
    padding: 0px 16px 16px 16px;
    gap: 10px;
}

.remarqueRow {
    display: flex;
    flex-direction: row;
    padding: 8px 12px 8px 12px;
    justify-content: space-between;
    background-color: var(--brand-alternate);
    border: 1px solid var(--accent-5);
    border-radius: 8px;
}

.remarque {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.remarqueDate {
    font: var(--label-medium);
    color: var(--utility-primary-text);
}

.remarqueText {
    font: var(--body-medium);
    color: var(--utility-secondary-text);
}

.remButtonsRow {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.remButtons {
    display: flex;
    flex-direction: row;
    align-items: center;
    font: var(--label-small);
    padding: 4px 8px;
}

#tableEleves {
    font: var(--label-medium);
    border-collapse: collapse;
    background-color: var(--brand-alternate);
    vertical-align: middle;
    width: 100%;
}

#tableEleves.isConsult>tr {
    cursor: pointer;
}

.contTableEleves {
    position: relative;
    display: block;
    flex: 1;
    overflow: auto;
}

#tableEleves>tr.disabled {
    opacity: 0.5;
}

#tableEleves>tr>td.disabled {
    visibility: hidden;
}

#tableEleves>tr>td>input[type=text] {
    font: var(--label-medium);
    border: none;
    outline: none;
    background-color: transparent;
    width: 100%;
}

#tableEleves>tr>td>input[type=text]::placeholder {
    color: var(--accent-1);
}

#tableEleves>tr>td>input[type=date] {
    font: var(--label-medium);
    border: none;
    outline: none;
    background-color: transparent;
}

#tableEleves>tr>td>input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

#tableEleves>tr {
    border-bottom: 1px solid var(--accent-2);
}

#tableEleves:not(.noShadow)>tr>td:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    background-color: var(--brand-alternate);
    height: 100%;
    box-shadow: 5px 0px 14px #050505;
}


#tableEleves>tr>td {
    padding: 10px;
}

#tableEleves>tr>td.selected {
    background-color: var(--accent-3) !important;
}

#firstRow {
    cursor: auto !important;
    position: sticky;
    top: 0;
    background-color: var(--brand-alternate);
    z-index: 2;
}

.updownArrow {
    color: var(--accent-2);
    vertical-align: middle;
    cursor: pointer;
}

.toolIcon {
    padding: 5px;
    cursor: pointer;
    font: var(--label-medium);
    border-radius: 8px;
}

.toolIcon.disabled {
    color: var(--accent-3);
}

.toolIcon.red {
    color: var(--semantic-error);
}

.toolIcon:hover {
    background-color: var(--accent-3);
}

.divButtonPC {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #00000015;
}

#error {
    color: var(--semantic-error);
}

#error:hover {
    border-bottom: 2px solid var(--semantic-error);
    border-radius: 0px;
}