* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

::view-transition-group(root) {
    animation-duration: 0.25s;
}
::view-transition-group(nav-top) {
    animation-duration: 0s !important;
}
::view-transition-group(nav-bot) {
    animation-duration: 0s !important;
}
::view-transition-group(back-button) {
    animation-duration: 0s !important;
}
::view-transition-group(nav-msg) {
    animation-duration: 0s !important;
}

html:active-view-transition-type(forwards) {
    &::view-transition-old(root) {
        animation-name: slide-out-to-left;
    }
    &::view-transition-new(root) {
        animation-name: slide-in-from-right;
    }
}
html:active-view-transition-type(backwards) {
    &::view-transition-old(root) {
        animation-name: slide-out-to-right;
    }
    &::view-transition-new(root) {
        animation-name: slide-in-from-left;
    }
}
html:active-view-transition-type(bot) {
    &::view-transition-old(root) {
        animation-name: slide-out-to-top;
    }
    &::view-transition-new(root) {
        animation-name: slide-in-from-bot;
    }
}
html:active-view-transition-type(top) {
    &::view-transition-old(root) {
        animation-name: slide-out-to-bot;
    }
    &::view-transition-new(root) {
        animation-name: slide-in-from-top;
    }
}

::view-transition-old(nav-top),
::view-transition-new(nav-top) {
    animation: none !important;
    opacity: 1 !important;
}

::view-transition-old(nav-bot),
::view-transition-new(nav-bot) {
    animation: none !important;
    opacity: 1 !important;
}

::view-transition-old(nav-msg),
::view-transition-new(nav-msg) {
    animation: none !important;
    opacity: 1 !important;
}


@keyframes slide-out-to-left {
    from {
        right: 0%;
    }
    to {
        right: 100%;
    }
}
@keyframes slide-in-from-right {
    from {
        left: 100%;
    }
    to {
        left: 0%;
    }
}
@keyframes slide-out-to-right {
    from {
        left: 0%;
    }
    to {
        left: 100%;
    }
}
@keyframes slide-in-from-left {
    from {
        right: 100%;
    }
    to {
        right: 0%;
    }
}

@keyframes slide-out-to-bot {
    from {
        top: 0%;
    }
    to {
        top: 0%;
    }
}
@keyframes slide-in-from-top {
    from {
        top: -100%;
    }
    to {
        top: 0%;
    }
}
@keyframes slide-out-to-top {
    from {
        top: 0%;
    }
    to {
        top: -100%;
    }
}
@keyframes slide-in-from-bot {
    0% {
        opacity: 0%;
    }
    50% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}






@font-face {
	font-family: "Gully";
	src: url(fonts/Gully-Light.ttf) format("truetype");
}

html {
    -ms-touch-action: manipulation;
        touch-action: manipulation;
}

body {
    overscroll-behavior-y: contain;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    background-color: #F2F2F2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

hr {
    width: 80%;
    margin-left: 10%;
    border: none;
    border-top: 1px solid #2727277d;
}

select, input {
    background-color: #fff;
    border: 1px solid #272727;
    border-radius: 6px;
    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

button {
    padding: 6px 12px;
    border: 1px solid #272727;
    border-radius: 6px;
    font-size: 16px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

select:disabled, input:disabled, button:disabled {
    opacity: 50%;
}

/****************************************************************************/

main {
    padding: 64px 4vw 120px 4vw;
    color: #272727;
    overflow-x: hidden;
}




/**********************************************************
***********************************************************
**
**
**                      COLORS
**
**
***********************************************************
**********************************************************/

.bg_white_full {
    background-color: #FFF !important;
}

.bg_white {
    background-color: #F2F2F2 !important;
}

.bg_primary {
    background-color: #c3e1ff !important;
}

/* .bg_secondary {
    background-color: #C3C3FF;
} */

.bg_delete {
    background-color: #f6a8a6 !important;
}

.bg_mystic {
    background-color: #c9cefa !important;
}

.bg_green {
    background-color: #c4ebb5 !important;
}

.bg_delete_translucide {
    background-color: #f6a9a661 !important;
}



.red {
    color: #dc3545;
}

.green {
    color: #34b500;
}


.b_red {
    border: 1px solid #dc3545;
}






/**********************************************************
***********************************************************
**
**
**            MISC
**
**
***********************************************************
**********************************************************/

.fullScreen {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    height: 100%;
    width: 100vw;
    background-color: #F2F2F2;
    z-index: 10;
}

.centeredFixed {
    position: fixed;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

.centeredAbs {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100%;
}

.centeredAbs25 {
    position: absolute;
    top: 25%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100%;
}

.statusBottom {
    position: absolute;
    bottom: calc(16vh + env(safe-area-inset-bottom));
    left: 10%;
    width: 80%;
}

.tipsBottom {
    position: absolute;
    bottom: calc(6vh + env(safe-area-inset-bottom));
    left: 10%;
    width: 80%;
    color: #272727d9;
    font-size: 14px;
}

.center_txt {
    text-align: center;
}

.exp {
    margin-top: 20px;
    font-size: 16px;
    color: #272727d9;
}

.top50 {
    margin-top: 50vh;
}

.padding_responsive {
    padding-left: 10vw;
    padding-right: 10vw;
}

.full_width {
    display: block;
    width: 100%;
}

.width_80 {
    display: block;
    width: 80%;
    margin: auto;
}

.width_60 {
    display: block;
    width: 60%;
    margin: auto;
}


.no_borders {
    border: none;
}


#password_requirements {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    font-size: 14px;
}

#password_requirements li {
    color: #27272790;
    transition: color 0.2s ease;
}

#password_requirements li.valid {
    color: #28a745;
}

#password_requirements li.invalid {
    color: #dc3545;
}


.flex_row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

.flex_col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.flex_center {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.flex_start {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
}

.gap12 {
    gap: 12px;
}

.access_list {
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
    text-align: left;
    gap: 8px;
}

.access_list div {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 12px;
}

.access_list div span {
    overflow-x: scroll;
}

.access_list hr {
    margin: 24px auto;
}

.btn_selectGroups {
    gap: 6px;
    flex-wrap: wrap;
}
.btn_selectGroups button {
    min-width: fit-content;
}









/**********************************************************
***********************************************************
**
**
**                      FORM
**
**
***********************************************************
**********************************************************/

form {
    width: 100%;
}

.form_block {
    padding: 0 10vw;
}

.form_block input, .form_block button, .form_block select {
    display: block;
    width: 100%;
}

.form_block input, .form_block select {
    margin-bottom: 8px;
}









/**********************************************************
***********************************************************
**
**
**                  SPECIAL ELEMENTS
**
**
***********************************************************
**********************************************************/

.buttonChooseSchool {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    
    width: 80%;

    padding: 0;
    margin: 4vh 10%;

    background-color: #E8E8E8;

    border: 1px solid #272727;
    border-radius: 12px;

    font-size: 22px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}
.buttonChooseSchool img {
    height: 12vh;
}
.buttonChooseSchool div:first-child {
    padding-top: 4vh;
}
.buttonChooseSchool div:last-child {
    padding: 1vh 0 2vh 0;
}
.buttonChooseSchool:hover {
    background-color: #E0E0E0;
    cursor: pointer;
}

.button_invisible {
    border: none;
    background-color: transparent;
}
.button_large {
    padding: 12px 12px;
}

.cb_square_20 {
    width: 20px;
    height: 20px;
}

.cb_square_32 {
    width: 32px;
    height: 32px;
}

.cb_label_container {
    gap: 8px;
    font-size: 14px;
}

.cb_label_container_32 {
    gap: 12px;
    font-size: 18px;
}

.buttonWithIcon {
    display: block;
    margin: 20px auto 0px auto;
    padding: 0;
    width: 70%;
    height: 64px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

    border: 1px solid #272727;
    border-radius: 12px;

    font-size: 20px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}
.buttonWithIcon div:first-child {
    border-right: 1px solid #272727;
    height: 100%;
    -ms-flex-preferred-size: 68px;
        flex-basis: 68px;
    min-width: 68px;
}
.buttonWithIcon div:last-child {
    padding: 0 12px;
    width: 100%;
    overflow: hidden;
}

.searchbar_fixed {
    position: fixed;
    top: 64px;
    left: 0;
    height: 88px;
    width: 100vw;
    padding: 0 10vw;
    background-color: #F2F2F2;
}
.searchbar_fixed input {
    margin-top: 24px;
}

.buttonBig {
    padding: 16px 12px;
}

.selectWithIcon {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    border: 1px solid #272727;
    border-radius: 5px;
}
.selectWithIcon select {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    height: 40px;
    border: none;
    padding: 0px 8px;
    font-size: 16px;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}
.selectWithIcon div {
    width: 40px;
    height: 40px;
    border: none;
    padding: 9px 0px;
}
.selectWithIcon .sep {
    width: 10px;
    height: 40px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #C2C2C2;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}
input:disabled + .slider {
    opacity: 40%;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #F2F2F2;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #a0b4f2;
}
input:focus + .slider {
    -webkit-box-shadow: 0 0 1px #a0b4f2;
            box-shadow: 0 0 1px #a0b4f2;
}
input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}
.slider.round {
    border-radius: 23px;
}
.slider.round:before {
    border-radius: 50%;
}





.checkbox-wrapper .tgl-btn {
    display: block;
    margin: auto;
}
.checkbox-wrapper .tgl {
    display: none;
}
.checkbox-wrapper .tgl,
.checkbox-wrapper .tgl:after,
.checkbox-wrapper .tgl:before,
.checkbox-wrapper .tgl *,
.checkbox-wrapper .tgl *:after,
.checkbox-wrapper .tgl *:before,
.checkbox-wrapper .tgl + .tgl-btn {
    box-sizing: border-box;
}
.checkbox-wrapper .tgl::selection,
.checkbox-wrapper .tgl:after::selection,
.checkbox-wrapper .tgl:before::selection,
.checkbox-wrapper .tgl *::selection,
.checkbox-wrapper .tgl *:after::selection,
.checkbox-wrapper .tgl *:before::selection,
.checkbox-wrapper .tgl + .tgl-btn::selection {
    background: none;
}
.checkbox-wrapper .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 110px;
    height: 40px;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}
.checkbox-wrapper .tgl + .tgl-btn:after,
.checkbox-wrapper .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 44%;
    height: 100%;
}
.checkbox-wrapper .tgl + .tgl-btn:after {
    left: 0;
}
.checkbox-wrapper .tgl + .tgl-btn:before {
    display: inline;
    position: absolute;
    top: 7px;
}
.checkbox-wrapper .tgl:checked + .tgl-btn:after {
    left: 56.5%;
}

.checkbox-wrapper .tgl-ios + .tgl-btn {
    background: #FFF;
    border-radius: 20rem;
    border: 1px solid #272727;
    padding: 4px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.checkbox-wrapper .tgl-ios + .tgl-btn:after {
    border-radius: 2em;
    background: #aab3ff;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
.checkbox-wrapper .tgl-ios + .tgl-btn:before {
    content: "Public";
    right: 6px;
    color: #272727c9;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.checkbox-wrapper .tgl-ios + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.checkbox-wrapper .tgl-ios + .tgl-btn:active:after {
    padding-right: 0.4em;
}
.checkbox-wrapper .tgl-ios:checked + .tgl-btn {
    background: #aab3ff;
}
.checkbox-wrapper .tgl-ios:checked + .tgl-btn:after {
    background: #c9cefa;
}
.checkbox-wrapper .tgl-ios:checked + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.checkbox-wrapper .tgl-ios:checked + .tgl-btn:active:after {
    margin-left: -0.4em;
}
.checkbox-wrapper .tgl-ios:checked + .tgl-btn:before {
    content: "Privé";
    left: 6px;
    color: #fff;
}


.colorPicker {
    flex-wrap: wrap;
    gap: 12px;
}
.colorPicker .box {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #27272725;
    cursor: pointer;
}
.colorPicker .box_selected {
    width: 40px;
    height: 40px;
    border: 1px solid #272727;
    border-radius: 6px;
    cursor: pointer;
}











/**********************************************************
***********************************************************
**
**
**            LOADING SPINNER
**
**
***********************************************************
**********************************************************/

.spinner {
    margin: 0 auto;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 8px;
    height: 8px;
    background-color: #333;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1s infinite ease-in-out both;
    animation: sk-bouncedelay 1s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% { 
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% { 
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}









/**********************************************************
***********************************************************
**
**
**            MAINTENANCE, BANNED & STATUS
**
**
***********************************************************
**********************************************************/

#statusContent {
    padding: 0 12px;
}

#statusContent h5 {
    margin-top: 60px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
}

#statusContent h6 {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 24px;
}

.status_elem_bottom {
    position: absolute;
    bottom: calc(16vh + env(safe-area-inset-bottom));
    left: 10%;
    width: 80%;
}

#containerLoading {
    position: absolute;
    z-index: 2;
    bottom: 100px;
    left: 10%;
    width: 80%;
    height: 20px;
    background-color: transparent;
    border: solid 1px #272727;
    border-radius: 6px;
}

#updateLoadingBar {
    position: absolute;
    z-index: 1;
    bottom: 100px;
    left: 10%;
    height: 20px;
    background-color: #c3e1ff;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

#updateLoadingBar {
    position: absolute;
    z-index: 1;
    bottom: 100px;
    left: 10%;
    height: 20px;
    background-color: #c3e1ff;
    border-radius: 6px;
}






/**********************************************************
***********************************************************
**
**
**                      NAV
**
**
***********************************************************
**********************************************************/

nav {
    display: block;
    width: 100vw;
    text-align: center;
}
nav .currentPage {
    box-shadow: 1px 1px 6px 5px #a3d0ff88 inset;
    -webkit-box-shadow: 1px 1px 6px 5px #a3d0ff88 inset;
    -moz-box-shadow: 1px 1px 6px 5px #a3d0ff88 inset;
}
nav .badge {
    position: absolute;
    border-radius: 50%;
    background-color: rgb(255, 141, 141);
    width: 12px;
    height: 12px;
}
nav .button {
    cursor: pointer;
}
nav .button:hover {
    background-color: #a3d0ff88;
}


.nav-top {
    view-transition-name: nav-top;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: calc(65px + env(safe-area-inset-top));
    border-bottom: 1px solid #27272722;

    display: grid;
    grid-template-columns: 64px 1fr 64px;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
#nav_top_admin img {
    height: 32px;
    margin-top: 16px;
}
#nav_top_logo img {
    height: 40px;
    margin-top: 12px;
}
#nav_top_title {
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 100;
    color: #272727;
    line-height: 64px;
    vertical-align: middle;
}


.nav-bot {
    view-transition-name: nav-bot;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: calc(64px + env(safe-area-inset-bottom));

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.nav-bot div {
    border-top: 1px solid #27272722;
}
.nav-bot .badge {
    top: 12px;
    margin-left: calc((25vw/2 - 6px) + 21px);
}
.nav-bot img {
    margin-top: 10px;
}

.nav-top div:not(:last-child):not(.ignore), .nav-bot div:not(:last-child) {
    border-right: 1px solid #27272722;
}


.nav-expandable {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    height: 100vh;
    width: 100vw;
    text-align: left;
    transition: 0.4s;
}
.nav-expandable .currentPage {
    box-shadow: 2px 2px 6px 6px #a3d0ff88 inset;
    -webkit-box-shadow: 2px 2px 6px 6px #a3d0ff88 inset;
    -moz-box-shadow: 2px 2px 6px 6px #a3d0ff88 inset;
}
.nav-expandable .grid {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    background-color: #cde6ff;
    padding: 64px 0 128px 0;

    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 56px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    overflow-y: scroll;
}
.nav-expandable .grid .button {
    border-bottom: 1px solid #27272722;
    border-right: 1px solid #27272722;
    line-height: 56px;
    vertical-align: middle;
    padding: 0 24px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.nav-expandable .grid .button span {
    padding: 0 28px;
}
.nav-expandable .grid .button img {
    width: 24px;
    height: fit-content;
}
.nav-expandable .badge {
    position: relative;
    width: 16px;
    height: 16px;
    margin: 0 4px;
}

#backButton {
    view-transition-name: back-button;
    background-color: #c3e1ff;
    position: fixed;
    z-index: 101;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(64px + env(safe-area-inset-bottom));
    border-top: 1px solid #27272722;
    text-align: center;
    padding-bottom: calc(env(safe-area-inset-bottom) - 1px);
    font-size: 22px;
    font-weight: 100;
}

#backButton .backimg {
    position: fixed;
    left: 20px;
}








/**********************************************************
***********************************************************
**
**
**                       MODAL
**
**
***********************************************************
**********************************************************/

.modal_status {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    height: 100%;
    width: 100%;
    background-color: #F2F2F288;
}
.modal_status h5 {
    margin-bottom: 16px;
}
.modal_status button {
    width: 100%;
    border: 1px solid #27272733;
    margin-top: 24px;
    background-color: #F2F2F2ab;
}
.modal_status .center_card {
    position: fixed;
    z-index: 111;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 84%;
    max-width: 480px;
    background-color: #E6E6E6;
    padding: 12px;

    color: #272727;
    font-size: 14px;
    text-align: center;

    border: solid 1px #27272733;
    border-radius: 6px;
}

.modal_confirm {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    height: 100%;
    width: 100%;
    background-color: #F2F2F288;
}
.modal_confirm .center_card {
    position: fixed;
    z-index: 21;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 84%;
    max-width: 480px;
    background-color: #E6E6E6;
    padding: 12px;

    color: #272727;
    font-size: 14px;
    text-align: center;

    border: solid 1px #27272733;
    border-radius: 6px;
}
.modal_confirm div:not(.modal_spinner) {
    margin-top: 24px;
}
.modal_confirm .modal_spinner {
    margin: 24px 0 36px 0;
    opacity: 70%;
}
.modal_confirm .buttons {
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.modal_confirm button {
    width: 40%;
}









/**********************************************************
***********************************************************
**
**
**                DOCUMENT INFORMATIF
**
**
***********************************************************
**********************************************************/

.info {
    padding: 0 10%;
}
.info img {
    margin-top: 2vh;
    height: 12vh;
}

.info_content {
    width: 100%;
    padding: 0 10%;
    margin-top: 20px;

    height: calc(86vh - 250px);
    background-color: #E9E9E9;

    font-size: 13px;
    text-align: left;
    overflow-x: hidden;
    overflow-y: scroll;

    border: 1px solid #E9E9E9;
    border-radius: 12px;
}
.info_content h3 {
    text-align: center;
    font-weight: 300;
    margin: 4px 0;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
}
.info_content_text {
    font-size: 12px;
}
.info_content_text ul {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 11px;
    padding: 0 10%;
}







/**********************************************************
***********************************************************
**
**
**                ACCEPT_CONFIDENTIAL
**
**
***********************************************************
**********************************************************/

#acceptConfidential {
    width: 80vw;
    height: 52px;
    margin-bottom: 20px;
    
    font-size: 18px;
    font-weight: 200;
    color: #272727;

    border: 1px solid #272727;
    border-radius: 6px;
}

.confidentialTips {
    height: 56px;
    padding: 0px 5vw;

    text-align: center;
    font-size: 12px;
    font-weight: 100;
    color: #27272790;
}

.confidentialTips span {
    font-size: 10px;
}








/**********************************************************
***********************************************************
**
**
**                      HOME
**
**
***********************************************************
**********************************************************/

#container_home .img_category {
    margin: 48px auto 24px auto;
}

#container_home .img_category:last-of-type {
    margin: 96px auto 24px auto;
}

#container_home h2 {
    color: #272727c4;
}

#container_home hr {
    width: 50%;
    margin-left: 25%;
}

#container_home button:not(#calendar_btn) {
    display: block;
    margin: 24px auto;
}

#container_home #calendar_btn {
    display: block;
    margin: 24px auto;
}







/**********************************************************
***********************************************************
**
**
**                      ACTU
**
**
***********************************************************
**********************************************************/

.actu_card {
    margin-top: 28px;
    padding: 0 6%;
}

.actu_card_date {
    color: #272727c4;
    font-size: 14px;
    font-weight: 100;
}

.actu_card_content {
    color: #272727;
    font-size: 15px;
    font-weight: 100;
    text-align: left;

    padding: 4px 8px;
    border-radius: 6px;
    overflow-x: scroll;
}

.actu_card_author {
    margin-top: 4px;
    color: #272727c4;
    font-size: 14px;
    font-weight: 100;
}






/**********************************************************
***********************************************************
**
**
**                      EVENT
**
**
***********************************************************
**********************************************************/

#event_list {
    margin-top: 52px;
    padding: 0 6%;
}

.event {
    margin-top: 32px;
}

.event h6 {
    color: #272727c4;
    font-weight: 100;
    border-bottom: 1px solid #2727277d;
    margin-bottom: 12px;
}

.event div:not(:first-child) {
    margin-top: 8px;
}

/***********************
**
**      .event-r:       seulement texte
**      .event-d:       texte + heure début
**      .event-df:      texte + heure début + date fin + heure fin
**      .event-dfod:    texte + date début + date fin     (heure début pas affichée)
**
***********************/

.event-r, .event-d {
    padding: 12px 8px;
    border-radius: 6px;
    font-weight: 100;
}

/**/
.event-r {
    text-align: center;
    vertical-align: middle;
}

/**/
.event-d {
    padding: 12px 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: left;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    gap: 12px;
}

.event-d span:first-child {
    -ms-flex-preferred-size: 56px;
        flex-basis: 56px;
    font-size: 16px;
    color: #272727c4;
    vertical-align: middle;
}

.event-d span:not(:first-child) {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 18px;
    color: #272727;
}

/**/
.event-df {
    border-radius: 6px;
    padding: 4px 8px 0 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    text-align: left;
    gap: 12px;
}

.event-df span:nth-child(odd) {
    -ms-flex-preferred-size: 56px;
        flex-basis: 56px;
    font-size: 16px;
    color: #272727c4;
    vertical-align: middle;
}

.event-df span:nth-child(even) {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 18px;
    color: #272727;
}

.event-df-sub {
    text-align: left;
    color: #272727c4;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    padding-left: 64px;
}

/**/
.event-dfod {
    border-radius: 6px;
    padding: 8px 8px;
    text-align: center;
}

.event-dfod span:first-child {
    font-size: 18px;
    color: #272727;
}

.event-dfod div:not(:first-child) {
    font-size: 14px;
    color: #272727c4;
}






/**********************************************************
***********************************************************
**
**
**            CALENDRIER
**
**
***********************************************************
**********************************************************/

#container_calendar {
    text-align: center;
}

#calendar_fixed {
    position: fixed;
    top: 64px;
    z-index: 2;
    background-color: #F2F2F2;
    width: 92vw;
}

#closeCalendar {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 300;
}

.calendar_header {
    margin-top: 10px;
    font-size: 14px;
    color: #2727277d;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #2727277d;
}

.calendar_header td {
    width: 20%;
}

.calendar_dates {
    margin-top: 20px;
    font-size: 14px;
    color: #27272790;
    text-align: center;
    width: 100%;
    padding: 0 10px;
    table-layout: fixed;
}

.calendar_dates td {
    width: 20%;
    vertical-align: top;
    height: 90px;
    padding-bottom: 20px;
}

.calendar_dates td div {
    margin-top: 4px;
    padding: 2px 2px;
    font-size: 12px;
    color: #272727;
    border: 1px solid #27272790;
    border-radius: 6px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
}

.calendar_dates td span {
    border-bottom: 1px solid #27272766;
}

.calendar_dates h3 {
    margin-top: 44px;
    font-size: 22px;
    color: #272727EE;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

.calendar_dates h6 {
    margin-top: -2px;
    color: #272727BB;
    font-weight: 100;
}

.calendar_today {
    font-weight: 800;
    color: #272727;
}






/**********************************************************
***********************************************************
**
**
**                INFOS PERSONNE
**
**
***********************************************************
**********************************************************/

#person_choice_list div {
    margin-top: 32px;
    width: 80%;
    margin-left: 10%;
    padding: 32px 0 8px 0;
    border: 1px solid #27272710;
    border-radius: 12px;
}
#person_choice_list div:hover {
    border: 1px solid #27272780;
}
#person_choice_list div img {
    border-radius: 12px;
}
#container_infos div h4 {
    margin-top: 10px;
    font-weight: 100;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}


#person_infos #pi_pic {
    margin-top: 40px;
    margin-bottom: 20px;
    border: 1px solid #272727;
    border-radius: 12px;
}

#person_infos .buttons .buttonWithIcon:not(:first-child) {
    margin-top: 12px;
}


.infos_persons_list {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.infos_persons_list .card {
    width: 100%;
    padding: 24px 2%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    text-align: left;
}

.infos_persons_list .card div:first-child {
    -ms-flex-preferred-size: 96px;
        flex-basis: 96px;
    min-width: 96px;
    display: flex;
    align-items: center;
}

.infos_persons_list .card div:last-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
}

.infos_persons_list .card .eleve {
    justify-content: center;
}

.infos_persons_list .card div:last-child h6 {
    text-align: center;
    color: #27272790;
    font-weight: 100;
}

.infos_persons_list .card div:last-child hr {
    width: 40%;
    margin-left: 30%;
    margin-bottom: 8px;
}

.infos_persons_list .card div:last-child:not(.eleve) h5 {
    text-align: left;
    font-size: 16px;
    color: #27272790;
    font-weight: 100;
    margin-left: 12px;
}

.infos_persons_list .card .eleve h5 {
    text-align: center;
    color: #272727;
    font-weight: 100;
}

.infos_persons_list .card div:last-child:not(.eleve) h4 {
    text-align: left;
    color: #272727;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    margin-left: 12px;
    margin-top: -2px;
}

.infos_persons_list .card .eleve h4 {
    text-align: center;
    color: #272727;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

.infos_persons_list .card div:last-child span {
    text-align: center;
    font-size: 16px;
    color: #272727;
    font-weight: 100;
    margin-top: 12px;
}

.infos_persons_list .card div:last-child:not(.eleve) .badge {
    padding: 4px 6px;
    margin-right: 6px;
    border: 1px solid #272727;
    border-radius: 4px;

    font-size: 12px;
}

.infos_persons_list .card .eleve .badge {
    padding: 4px 6px;
    margin: 0 6px;
    border: 1px solid #272727;
    border-radius: 4px;

    font-size: 12px;
}







/**********************************************************
***********************************************************
**
**
**                AFFICHAGE HORAIRE
**
**
***********************************************************
**********************************************************/

.horaireHeader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
}

.horaireHeader .square {
    width: 5%;
    border-bottom: 1px solid #27272760;
    border-right: 1px solid #27272760;
}

.horaireHeader .days {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 95%;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    border-bottom: 1px solid #27272760;
}

.horaireHeader .days div {
    text-align: center;
    font-size: 16px;
    font-weight: 100;
    color: #27272790;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.horaireContent {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 1%;
}

.horaireContent .hours {
    width: 5%;
    min-width: 5%;
    border-right: 1px solid #27272760;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 4px;
}

.horaireContent .hours div {
    -ms-flex-preferred-size: 50px;
        flex-basis: 50px;
    text-align: center;
    margin-left: -5px;
}

.horaireContent .hours div:not(.hoursPadding) {
    color: #27272790;
    font-size: 18px;
}

.hoursPadding {
    height: 1px;
    max-height: 1px;
    -ms-flex-preferred-size: 1px;
        flex-basis: 1px;
}

#divSelect {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 80%;
    margin-left: 10%;
    margin-bottom: 16px;
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}

select {
    width: 80%;
    height: 40px;
}

.horaireCol {
    width: 18%;
    max-width: 18%;
    padding-top: 6px;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 4px;

    color: #272727;
    font-size: 12px;
}
.horaireCell {
    height: 50px;
    width: 100%;
    padding: 4px;

    border: 1px solid #272727;
    border-radius: 6px;
}
.horaireCell div {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: scroll;
    text-align: center;
    
    display: -webkit-box;
    
    display: -ms-flexbox;
    
    display: flex;
    direction: ltr;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.horaireCell div::before, .horaireCell div::after {
    content: '';
    margin: auto;
}







/**********************************************************
***********************************************************
**
**
**                      PAIEMENTS
**
**
***********************************************************
**********************************************************/

#paiements_list {
    margin-top: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 12px;
}

.paiements_list_card {
    width: 100%;
    padding: 12px;
    border: 1px solid #272727;
    border-radius: 12px;
}

.paiements_list_card .money {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 8px;
}

.paiements_list_card .money progress {
    height: 20px;
}

.paiements_list_card .transactions {
    margin-top: 12px;
    padding: 8px 16px;
    max-height: 140px;
    background-color: #ecececb5;
    overflow: scroll;
    border: 1px solid #27272722;
    border-radius: 6px;
}

.paiements_list_card .transactions .transactions_list .line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 4px;
}

.paiements_list_card .transactions button:not(.bg_delete) {
    padding: 3px 24px;
    background: transparent;
}

.paiements_list_card .transactions .see_more {
    margin-top: 16px;
}









/**********************************************************
***********************************************************
**
**
**                      PRESENCES
**
**
***********************************************************
**********************************************************/

.select_date {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 12px;
    margin: 24px 0px;
}

.select_date select {
    width: fit-content;
}

#recap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: normal;
        -ms-flex-align: normal;
            align-items: normal;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 12px 24px;
    width: fit-content;
    margin: 24px auto 64px auto;
    gap: 0px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #272727;
}

#recap h4 {
    margin-bottom: 8px;
}

#recap .line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    font-size: 16px;
    gap: 32px;
}

#recap .line div:last-child {
    font-size: 18px;
}










/**********************************************************
***********************************************************
**
**
**                      PARAMETRES
**
**
***********************************************************
**********************************************************/

.parametres_disconnect_buttons, .parametres_notifications, .parametres_password, .parametres_rgpd {
    margin: 24px 0;
}
.parametres_disconnect_buttons button {
    margin: auto;
    display: block;
    background-color: #FFF;
}
.parametres_disconnect_buttons button:first-of-type {
    margin-bottom: 12px;
}

.parametres_notifications h4 {
    margin-bottom: 8px;
}
.parametres_password h4, .parametres_rgpd h4 {
    margin-bottom: 16px;
}
.parametres_notifications h5 {
    margin-bottom: 16px;
}
.parametres_notifications h6 {
    font-size: 14px;
}

.parametres_password form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.parametres_password button {
    margin: 12px 0;
}
.parametres_password input:first-of-type {
    margin-bottom: 8px;
}
.parametres_password label {
    margin-top: 8px;
    font-size: 14px;
    color: #272727;
}
.parametres_password #password_requirements {
    margin-bottom: 16px;
}

.parametres_rgpd button {
    margin-bottom: 12px;
}
.parametres_rgpd h6 {
    margin-top: 24px;
}
.parametres_rgpd .confidential_text {
    text-align: left;
    font-size: 14px;
    margin-top: 6px;
    font-family: 'Courier New', Courier;
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.parametres_rgpd .confidential_text a {
    color: #3d6dff;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
}

#rgpd_mydata_data h5 {
    margin-top: 24px;
}
#rgpd_mydata button {
    display: block;
    background-color: #FFF;
}
#rgpd_mydata button:first-of-type {
    margin: 32px auto 12px auto;
}
#rgpd_mydata button:last-of-type {
    margin: 0px auto 48px auto;
}
.rgpd_mydata_data_div {
    margin: 8px 12px;
    font-size: 14px;
    padding: 8px 12px;
    background-color: #F7F7F7;
    border: 1px solid #21212116;
    border-radius: 5px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
}
.rgpd_mydata_data_div img {
    border-radius: 6px;
}

#rgpd_edit h5 {
    margin: 32px 0 16px 0;
}
#rgpd_edit input {
    margin-bottom: 8px;
}
#rgpd_edit button {
    margin-top: 24px;
}
#rgpd_edit span {
    display: block;
    font-size: 14px;
    margin-top: 24px;
}
#rgpd_edit hr {
    margin-top: 32px;
}

#person_select {
    margin-bottom: 16px;
}

#rgpd_edit .person_cb {
    margin-top: 12px;
    font-size: 16px;
}

#person_photo {
    margin-right: 8px;
}









/**********************************************************
***********************************************************
**
**
**                   ALBUMS & PHOTOS
**
**
***********************************************************
**********************************************************/

.albums_list {
    margin-top: 24px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    flex-wrap: wrap;
    gap: 12px;
}

.album_card {
    display: block;
    padding: 8px;
    width: calc(50% - 6px);
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
}

.album_card:hover {
    background-color: #27272710;
}


.photos_list {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
}
.photos_list img {
    width: 100vw;
    max-width: fit-content;
    max-height: 88vh;
    cursor: pointer;
}

.photoFullScreen {
    z-index: 100;
    background-color: #000;
    position: fixed;
}

.photoFullScreen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#backPhoto {
    background-color: #c3e1ff;
    position: fixed;
    z-index: 102;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(64px + env(safe-area-inset-bottom));
    border-top: 1px solid #27272722;
    text-align: center;
    font-size: 18px;
    font-weight: 100;
}

#back, #download {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 50%;
    height: 100%;
}

#back div:first-child, #download div:first-child {
    margin-top: 7px;
    margin-bottom: -4px;
}

#back {
    border-right: 1px solid #27272722;
}










/**********************************************************
***********************************************************
**
**
**                      DOCUMENTS
**
**
***********************************************************
**********************************************************/

.documents_list {
    margin-top: 20px;
    word-wrap: break-word;
}

.documents_list .document {
    padding: 12px 5%;
    margin-bottom: 8px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

    font-size: 18px;
    color: #272727;
    border: 1px solid #27272733;
    border-radius: 12px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;

    background-color: #FFF;
}
.documents_list .document div:first-child {
    height: 100%;
    -ms-flex-preferred-size: 68px;
        flex-basis: 68px;
    min-width: 68px;
}
.documents_list .document div:first-child img {
    display: block;
    margin: auto;
}
.documents_list .document div:last-child {
    padding: 0 12px;
    width: 100%;
    max-width: calc(100% - 68px);
}
.documents_list .document_file div:first-child {
    -ms-flex-preferred-size: 68px;
        flex-basis: 44px;
    min-width: 44px;
}
.documents_list .document_file div:last-child {
    max-width: calc(100% - 44px);
}
.documents_list .category {
    background-color: #EBD5B5;
}











/**********************************************************
***********************************************************
**
**
**                    ADMIN MENU
**
**
***********************************************************
**********************************************************/

#admin_requests_badge {
    fill: #C2C2C2;
    height: 36px;
    margin-top: 14px;
}

#admin_requests_badge text {
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    -webkit-font-feature-settings: 'lnum';
            font-feature-settings: 'lnum';
    fill: #272727;
}


.admin_persons_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    padding: 12px 6vw;
}
.admin_persons_list .person_element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    border-bottom: 1px solid #2727277d;
    padding: 12px 0px;
}
.admin_persons_list .person_element div:first-child {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: left;
    font-weight: 100;
    font-size: 18px;
}
.admin_persons_list .person_element div button {
    background-color: #FFF;
    padding: 0;
    height: 44px;
    width: 60px;
}

.admin_persons_list .person_element div button img {
    margin-top: 5px;
}









/**********************************************************
***********************************************************
**
**
**                    ADMIN PHOTOS
**
**
***********************************************************
**********************************************************/

.admin_albums_list {
    margin-top: 24px;
    gap: 12px;
}
.admin_albums_list .row {
    background-color: #E3E3E3;
    border: 1px solid #2727277d;
    border-radius: 6px;
    width: 100%;
}
.admin_albums_list .row div:first-of-type {
    padding: 12px 6px;
    font-size: 18px;
}
.admin_albums_list .row div:last-of-type {
    padding: 6px 6px 12px 6px;
    gap: 12px;
}
.admin_albums_list .row button {
    min-width: 60px;
    min-height: 44px;
}
.admin_albums_list .row span {
    display: none;
    margin-left: 12px;
}

#select_photo {
    padding: 24px;
    margin: 24px auto;
}
#select_photo div:first-of-type {
    margin-bottom: 12px;
    opacity: 68%;
}
#select_photo div:last-of-type {
    font-size: 18px;
}

#list_photos {
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

#list_photos img, #list_photos_sent img {
    width: 30%;
    height: fit-content;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #27272721;
}

#list_photos_sent {
    margin-top: 24px;
    gap: 12px;
}
#list_photos_sent .row {
    width: 100%;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid #272727;
}
#list_photos_sent .row .col_img {
    width: 64px;
}
#list_photos_sent .row .col_img img {
    display: block;
    margin: auto;
    width: 64px;
}
#list_photos_sent .row .col_progress {
    width: 100%;
}
#list_photos_sent .row .col_progress div:first-of-type {
    padding: 0 12px;
    font-size: 14px;
}


#list_photos_view {
    width: 100%;
    flex-wrap: wrap;
    margin-top: 24px;
}
#list_photos_view .card {
    position: relative;
    width: 50%;
    padding: 4px 8px;
}
#list_photos_view .card img {
    object-fit: cover;
    width: 100%;
    height: auto;
}
#list_photos_view .card input {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 1;
}
#list_photos_view .deleted {
    border: 1px solid #dc3545;
    opacity: 50%;
}










/**********************************************************
***********************************************************
**
**
**                    ADMIN DOCUMENTS
**
**
***********************************************************
**********************************************************/

.list_icons {
    margin: 24px auto;
    flex-wrap: wrap;
    gap: 12px;
}
.list_icons div {
    width: 88px;
    padding: 8px;
    cursor: pointer;
}
.list_icons .selected {
    border: 1px solid #27272788;
    border-radius: 6px;
    background-color: #fff;
}
.list_icons div img {
    height: auto;
    width: 100%;
    object-fit: contain;
}

#select_doc {
    padding: 24px;
    margin: 24px auto 8px auto;
}
#select_doc div:first-of-type {
    margin-bottom: 12px;
    opacity: 68%;
}
#select_doc div:last-of-type {
    font-size: 18px;
}
#list_document {
    font-size: 14px;
}











/**********************************************************
***********************************************************
**
**
**                    ADMIN ACTUS
**
**
***********************************************************
**********************************************************/

.admin_actus_list {
    margin-top: 24px;
    gap: 32px;
}
.admin_actus_list .row {
    width: 100%;
    border-top: 1px solid #2727277d;
    padding-top: 32px;
}
.admin_actus_list .row button {
    min-width: 60px;
    min-height: 44px;
}
.admin_actus_list .row span {
    display: none;
    margin-left: 12px;
}
.admin_actus_list .row h6 {
    margin-top: 8px;
    font-size: 14px;
    opacity: 80%;
}
.admin_actus_list .actu_card {
    margin-top: 0px;
}
.admin_actus_list .buttons {
    margin-top: 16px;
}

#actu_body {
    margin-top: 24px;
    height: 180px;
    width: 80%;
    padding: 6px 8px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 12px;
    resize: none;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}











/**********************************************************
***********************************************************
**
**
**                    ADMIN EVENTS
**
**
***********************************************************
**********************************************************/

.admin_events_list {
    margin-top: 24px;
    gap: 32px;
}
.admin_events_list .row {
    width: 100%;
    padding: 0 6%;
}
.admin_events_list .row button {
    min-width: 60px;
    min-height: 44px;
}
.admin_events_list .row .spanBtn {
    display: none;
    margin-left: 12px;
}
.admin_events_list .row h6 {
    margin-top: 8px;
    font-size: 14px;
    opacity: 80%;
}
.admin_events_list .buttons {
    margin-top: 16px;
}











/**********************************************************
***********************************************************
**
**
**                ADMIN CARD EDIT & SUP
**
**
***********************************************************
**********************************************************/

.admin_card_ed {
    margin-top: 24px;
}
.admin_card_ed .row {
    width: 100%;
    border: 1px solid #272727;
    border-radius: 6px;
    padding: 8px 8px 8px 16px;
    font-size: 18px;

    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.admin_card_ed .buttons {
    gap: 8px;
}
.admin_card_ed .buttons button {
    width: 48px;
    height: 48px;
}








/**********************************************************
***********************************************************
**
**
**                  ADMIN HORAIRES
**
**
***********************************************************
**********************************************************/

#list_importHoraire {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 12px;
}

#list_importHoraire .row_name {
    border-bottom: 1px solid #27272799;
    padding-bottom: 2px;
    margin-top: 24px;
    text-align: left;
    width: 90%;
}

#list_importHoraire .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border: 1px solid #272727;
    border-radius: 6px;
    width: 80%;
    padding: 4px 8px;
    font-size: 16px;
    text-align: left;
}

#list_importHoraire .e {
    background-color: #fffec4;
}

#list_importHoraire .p {
    background-color: #ffdbfd;
}

#list_importHoraire .row div:nth-child(1) {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}










/**********************************************************
***********************************************************
**
**
**                  ADMIN PERSONS
**
**
***********************************************************
**********************************************************/

.admin_persons_list .person_element_2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    border-bottom: 1px solid #2727277d;
    padding: 12px 0px;
    gap: 8px;
}
.admin_persons_list .person_element_2 div:first-child {
    width: 60px;
}
.admin_persons_list .person_element_2 div:first-child img {
    display: block;
    margin: 0;
    width: 60px;
}
.admin_persons_list .person_element_2 .name {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: left;
    font-weight: 100;
    font-size: 18px;
}
.admin_persons_list .person_element_2 div button {
    background-color: #FFF;
    padding: 0;
    height: 44px;
    width: 60px;
}
.admin_persons_list .person_element_2 div button img {
    margin-top: 4px;
}

.admin_persons_selectRole div:first-of-type {
    max-width: 64px;
}
.admin_persons_selectRole div:first-of-type img {
    display: block;
    width: 40px;
}
.admin_persons_selectRole select {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

#p_photo_img {
    max-width: 128px;
    height: 128px;
}










/**********************************************************
***********************************************************
**
**
**                  ADMIN USERS
**
**
***********************************************************
**********************************************************/

.admin_rights_select {
    background-color: #FFF;
    margin: 24px auto 0 auto;
    width: 100%;
    border: 1px solid #272727;
    border-radius: 6px;
    padding: 16px 24px;
}

.admin_rights_select h6 {
    width: 100%;
    border-bottom: 1px solid #2727277d;
    padding-bottom: 12px;
}

#ar_school_rights {
    width: 100%;
}













/**********************************************************
***********************************************************
**
**
**                      MESSAGERIE:
**                         MENU
**
**
***********************************************************
**********************************************************/
#container_messenger_list {
    margin-top: 32px;
}

.messagerie_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100vw;
    height: 100px;
    overflow-y: hidden;
    background-color: #DFE5F2;
    border-top: 1px solid #c4c9d5;
    cursor: pointer;
}

.messagerie_card:last-of-type {
    border-bottom: 1px solid #c4c9d5;
}

.m_pic {
    width: 90px;
    min-width: 90px;
}

.m_pic img {
    display: block;
    margin: auto;
    border-radius: 50%;
}

.m_body {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    gap: 6px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.m_body div {
    text-align: left;
}

.m_body_name {
    font-size: 16px;
    width: calc(100vw - 186px);
    -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    overflow: hidden;
}

.m_body_text {
    font-size: 14px;
    color: #373737;
    height: 20px;
    width: calc(100vw - 186px);
    -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.m_date {
    width: 96px;
    min-width: 96px;
    font-size: 14px;
}

.unread {
    background-color: #B3C8F2; /* A5C8E4 B3C8F2 */
    border-top: 1px solid #9eb1d6;
}












/**********************************************************
***********************************************************
**
**
**                      MESSAGERIE:
**                         CHAT
**
**
***********************************************************
**********************************************************/
#messages_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0;
}

.messagerie_msg_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    width: 100%;
    margin-bottom: 6px;
}

.msg_pic {
    width: 64px;
    min-width: 64px;
}

.msg_pic img {
    display: block;
    margin: auto;
    border-radius: 50%;
}

.msg_container {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.msg_title {
    font-size: 14px;
    text-align: left;
    padding-left: 12px;
}

.msg_body {
    text-align: left;
    font-size: 15px;
    background-color: #DFE5F2;
    border: 1px solid #c4c9d5;
    border-radius: 12px;
    padding: 12px;
    max-width: calc(80vw - 64px);
}

.msg_date {
    width: 100vw;
    font-size: 12px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.msg_fromMe {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}

.msg_fromMe .msg_body {
    background-color: rgb(193, 207, 241);
    border: 1px solid rgb(185, 198, 231);
}

.msg_fromMe .msg_deleted {
    background-color: #f6a8a666;
    border: 1px solid #f6a8a6ee;
}

.msg_deleted {
    background-color: #f6a8a666;
    border: 1px solid #f6a8a6ee;
}

.sep {
    width: 10vw;
    min-width: 10vw;
}



#write_message {
    position: fixed;
    z-index: 20;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(80px + env(safe-area-inset-bottom));
    border-top: 1px solid #27272722;
    font-weight: 100;
    gap: calc((20vw - 48px) / 3);
    background-color: #F2F2F2;
    padding-bottom: env(safe-area-inset-bottom);
}

#write_message textarea {
    resize: none;
    font-size: 18px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    padding: 11px;
    border: 1px solid #27272722;
    border-radius: 20px;
    width: 80%;
    background-color: #c3e1ffbb;
}

#write_message_send {
    padding: 0;
    margin: 0;
    background-color: #c3e1ff;
    border: 1px solid #aec9e5;
    border-radius: 40%;
    width: 48px;
    height: 48px;
}

#write_message_send:disabled {
    background-color: rgb(201, 213, 225);
    border: 1px solid rgb(201, 213, 225);
    opacity: 40%;
}

#write_message_send img {
    display: block;
    margin: auto;
    height: 32px;
}


#container_messagerie_create {
    width: 100%;
}

#container_messagerie_create_top {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: #F2F2F2;
}

#container_messagerie_create input {
    width: 80%;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #272727;
    font-size: 16px;
}

#container_messagerie_create_list {
    margin-top: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    border-bottom: 1px solid #c4c9d5;
    margin-bottom: calc(180px + env(safe-area-inset-bottom));
}

#container_messagerie_create_list .messagerie_card {
    height: 80px;
    min-height: 80px;
    cursor: pointer;
}

#container_messagerie_create_bot {
    position: fixed;
    bottom: calc(64px + env(safe-area-inset-bottom));
    left: 0;
    width: 100vw;
    text-align: center;
    background-color: #F2F2F2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: #F2F2F2;
    gap: 8px;
    padding: 8px 0px 12px 0px;
}

#container_messagerie_create_selected {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    gap: 6px;
    overflow: auto;
    padding: 0px 2vw;
}

#container_messagerie_create_selected div {
    margin: auto;
}

#create_groupName {
    margin-bottom: 8px;
    margin-left: 10%;
    height: 42px;
}

#container_messagerie_create_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100vw;
    height: 100px;
    font-weight: 100;
    gap: calc((20vw - 48px) / 3);
    background-color: #F2F2F2;
}

#container_messagerie_create_content {
    resize: none;
    font-size: 18px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    padding: 11px;
    border: 1px solid #27272722;
    border-radius: 20px;
    width: 80%;
    background-color: #c3e1ffbb;
}

#container_messagerie_create_send {
    padding: 0;
    margin: 0;
    background-color: #c3e1ff;
    border: 1px solid #aec9e5;
    border-radius: 40%;
    width: 48px;
    height: 48px;
}




#msg_nav {
    view-transition-name: nav-msg;
    background-color: #c3e1ff;
    position: fixed;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(65px + env(safe-area-inset-top));
    border-bottom: 1px solid #27272722;
}

#msg_nav_back, #msg_nav_pic, #msg_nav_admin {
    width: 64px;
}

#msg_nav_back, #msg_nav_admin {
    cursor: pointer;
}

#msg_nav_back:hover, #msg_nav_admin:hover {
    background-color: #a3d0ff88;
}

#msg_nav_admin {
    text-align: center;
}

#msg_nav_name {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 20px;
    line-height: 68px;
    overflow: hidden;
    vertical-align: middle;
    text-align: left;
}

#msg_nav_back_elem {
    margin-left: 16px;
    margin-top: 19px;
    height: 32px;
    width: 32px;
    display: block;
}

#msg_nav_pic_elem {
    margin-top: 14px;
    margin-left: 12px;
    height: 40px;
    width: 40px;
    display: block;
    border-radius: 50%;
}

#msg_nav_admin img {
    margin-top: 14px;
    height: 40px;
    width: 40px;
}

.spin_cog {
    -webkit-animation: cog-spin 10s infinite linear;
        animation: cog-spin 10s infinite linear;
}

@-webkit-keyframes cog-spin {
    from { 
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes cog-spin {
    from { 
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}



#container_messagerie_params {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    width: 100%;
    padding-top: 32px;
}

.div_deaf {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 12px;
}

#div_group_rename input {
    margin-top: 32px;
    width: 80vw;
}

#group_rename:disabled {
    opacity: 40%;
}

#div_group_members_manage {
    margin-bottom: 32px;
}

#div_group_members {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: normal;
        -ms-flex-align: normal;
            align-items: normal;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    gap: 10px;
    margin: auto;
    padding: 32px 8px;
}

.div_group_members_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
    font-size: 14px;
}

.div_group_members_card div:first-child img {
    height: 40px;
    width: 40px;
    display: block;
    border-radius: 50%;
}

.div_group_members_card div:last-child {
    margin-left: auto;
}

.div_group_members_card div:last-child button {
    width: 32px;
    height: 32px;
}

#div_conversation_delete {
    margin-top: 20px;
    width: 100vw;
}

#div_group_quit {
    margin-top: 12px;
    width: 100vw;
}

#btn_delete_messages:disabled, #div_group_quit:disabled {
    opacity: 70%;
    background-color: #d0d0d0;
}


#container_messagerie_params_add_user {
    text-align: center;
    width: 100%;
}

#container_messagerie_params_add_user input {
    margin: 12px auto;
    width: 80%;
}

#container_messagerie_params_add_user #container_messagerie_create_bot {
    bottom: 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

#container_messagerie_params_add_user #container_messagerie_create_list {
    margin-top: 0px;
    margin-bottom: calc(24px + env(safe-area-inset-bottom));
}

#container_messagerie_params_add_user #add_selected_users {
    width: 60%;
    margin-left: 20%;
    margin-top: 12px;
}

#container_messagerie_params_change_icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: normal;
        -ms-flex-align: normal;
            align-items: normal;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    gap: 10px;
    margin: auto;
    padding: 32px 8px 0px 8px;
}

#change_bg_list, #change_icon_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

#change_bg_list div {
    height: 48px;
    width: 48px;
}

#change_icon_list .selected, #change_bg_list .selected {
    border: 1px solid #272727;
}

#change_icon_list div {
    background-color: #F9F9F9;
    padding: 12px 24px;
    font-size: 26px;
}

#change_icon_list div:first-child {
    height: 60px;
    width: 74px;
}















/**********************************************************
***********************************************************
**
**
**                      MEDIA
**
**
***********************************************************
**********************************************************/

/* MOBILES */
@media screen and (height < 400px) {

    .buttonChooseSchool {
        width: 60%;
        margin: 4vh 20%;
        grid-template-columns: 128px 1fr;
        grid-template-rows: 24vh;
    }
    .buttonChooseSchool img {
        height: 18vh;
        margin-top: 3vh;
    }
    .buttonChooseSchool div:first-child {
        padding-top: 0;
    }
    .buttonChooseSchool div:last-child {
        padding: 0;
        line-height: 24vh;
        vertical-align: middle;
    }

}

@media screen and (width > 600px) and (width < 900px) and (height >= 400px) and (height <= 500) {

    .form_block {
        padding: 0 20vw;
    }

    .buttonChooseSchool {
        width: 60%;
        margin: 4vh 20%;
    }

    .admin_albums_list .row span {
        display: block;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media screen and (width >= 900px) and (width < 1200px) and (height >= 400px)  and (height <= 500) {

    .form_block {
        padding: 0 20vw;
    }

    .buttonChooseSchool {
        width: 50%;
        margin: 4vh 25%;
    }

    .admin_albums_list .row span {
        display: block;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media screen and (width >= 1200px) and (width < 1800px) and (height >= 400px) and (height <= 500) {

    .form_block {
        padding: 0 30vw;
    }

    .buttonChooseSchool {
        width: 40%;
        margin: 4vh 30%;
    }

    .admin_albums_list .row span {
        display: block;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media screen and (width > 600px) and (width < 900px) and (height >= 400px) and (height <= 500) {

    .form_block {
        padding: 0 20vw;
    }

    .buttonChooseSchool {
        width: 60%;
        margin: 4vh 20%;
    }

    .admin_albums_list .row span {
        display: block;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}


/* LAPTOP */
@media screen and (width > 600px) and (width < 900px) and (height > 500px) {

    .form_block {
        padding: 0 20vw;
    }

    .buttonChooseSchool {
        width: 60%;
        margin: 4vh 20%;
    }


    .calendar_dates td div {
        padding: 6px 3px;
    }


    #person_choice_list div {
        opacity: 80%;
    }
    #person_choice_list div:hover {
        opacity: 100%;
    }

    .infos_persons_list .card {
        padding: 24px 8%;
    }

    .admin_albums_list .row span {
        display: block;
    }

    #list_photos_view .card {
        width: 25%;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media screen and (width >= 900px) and (width < 1200px) and (height > 500px) {

    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }

    .form_block {
        padding: 0 20vw;
    }

    .buttonChooseSchool {
        width: 50%;
        margin: 4vh 25%;
    }



    main:not(.dont_resize_with_media) {
        padding: 64px 20vw 120px 20vw;
    }



    .statusBottom {
        left: 20%;
        width: 60%;
    }

    .calendar_dates td div {
        padding: 12px 4px;
    }


    #person_choice_list div {
        opacity: 80%;
    }
    #person_choice_list div:hover {
        opacity: 100%;
    }


    .infos_persons_list .card {
        padding: 24px 20%;
    }


    .album_card {
        width: calc(25% - 9px);
    }

    .admin_albums_list .row span {
        display: block;
    }

    #list_photos_view .card {
        width: 20%;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media screen and (width >= 1200px) and (width < 1800px) and (height > 500px) {

    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }

    .form_block {
        padding: 0 30vw;
    }

    .buttonChooseSchool {
        width: 40%;
        margin: 4vh 30%;
    }



    main:not(.dont_resize_with_media) {
        padding: 64px 24vw 120px 24vw;
    }


    .statusBottom {
        left: 24%;
        width: 52%;
    }

    .calendar_dates td div {
        padding: 12px 4px;
    }


    #person_choice_list div {
        opacity: 80%;
    }
    #person_choice_list div:hover {
        opacity: 100%;
    }


    .infos_persons_list .card {
        padding: 24px 30%;
    }


    .album_card {
        width: calc(25% - 9px);
    }

    .admin_albums_list .row span {
        display: block;
    }

    #list_photos_view .card {
        width: 20%;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media screen and (width >= 1800px) and (height > 500px) {

    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }

    .form_block {
        padding: 0 36vw;
    }

    .buttonChooseSchool {
        width: 30%;
        margin: 4vh 35%;
    }



    main:not(.dont_resize_with_media) {
        padding: 64px 30vw 120px 30vw;
    }



    .statusBottom {
        left: 30%;
        width: 40%;
    }

    .calendar_dates td div {
        padding: 12px 4px;
    }


    #person_choice_list div {
        opacity: 80%;
    }
    #person_choice_list div:hover {
        opacity: 100%;
    }


    .infos_persons_list .card {
        padding: 24px 36%;
    }


    .album_card {
        width: calc(25% - 9px);
    }


    .admin_albums_list .row span {
        display: block;
    }

    #list_photos_view .card {
        width: 20%;
    }

    .admin_actus_list .row span {
        display: block;
    }

    .admin_events_list .row .spanBtn {
        display: block;
    }

}

@media (prefers-reduced-motion) {
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }
}

@media print {
    #backButton, nav .nav-bot, nav .nav-top, .dont_print {
        display: none !important;
    }
    main {
        padding: 0 !important;
    }
}