/*
* Escale
*/

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

@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;
    background-color: #F2F2F2;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding-top: 64px;
}

main {
    padding-bottom: 120px;
}

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

select, input {
    background-color: #fff;

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

    padding: 8px 10px;
    color: #272727;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

select:disabled, input:disabled {
    opacity: 60%;
}




/* STATUS & MAINTENANCE & BANNED */

#maintenance, #status, #banned {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    height: 100%;
    width: 100vw;
    z-index: 100;
}

#maintenance .imageDiv, #banned .imageDiv, #status .imageDiv {
    position: absolute;
    top: 25%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
    width: 100%;
}

#maintenance div h3 {
    margin: 30px 0px 20px 0px;
}

#banned div h3 {
    margin: 30px 0px 20px 0px;
    font-size: 18px;
}

#maintenance div .exp, #banned div .exp {
    margin-top: 20px;
    font-size: 16px;
    opacity: 70%;
}

#status .status_div {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    height: 100%;
    width: 100vw;
}

.status_div h3 {
    margin-top: 60px;
    font-size: 18px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
}

.status_div h4 {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 24px;
}

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

.abs_center_on_page {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100%;
    text-align: center;
    padding: 0 20px;
}


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

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

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


/* 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);
    }
}



/* BUTTONS */

button {
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
}

.btn_thin {
    padding: 6px 12px;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 16px;
}

.medium_width {
    width: 60%;
}

.long_width {
    width: 80%;
}

.full_width {
    width: 100%;
}

/* 
#loginButton {
    margin-top: 10px;
    width: 50%;
    padding: 10px 12px;
    
    font-size: 16px;
    font-weight: 200;
    color: #272727;

    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #c3e1ff;
} */






.btn_adminPanel {
    padding: 12px;
    width: 80%;
    background-color: #FFF;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 18px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    margin-bottom: 24px;
}

.btn_edit {
    height: 40px;
    width: 40px;
    min-width: 40px;
    padding: 8px 8px;
    background-color: #FFF;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 16px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.btn_plus {
    height: 40px;
    width: 40px;
    min-width: 40px;
    background-color: #FFF;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 24px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.btn_delete {
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #f6a8a6;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 12px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.btn_delete_square {
    padding: 2px 10px 4px 10px;
    background-color: #f6a8a6;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 18px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.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;
    background-color: #F2F2F2;
}

.selectWithIcon select {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    height: 40px;
    border: none;
    background-color: #F2F2F2;
    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;
}




/* COLORS */

.white_full {
    background-color: #FFF;
}

.white_main {
    background-color: #F2F2F2;
}

.blue_main {
    background-color: #c3e1ff;
}

.red_delete {
    background-color: #f6a8a6;
}




/* INPUTS */

.input_long {
    width: 80%;
    padding: 10px 12px;

    font-size: 16px;
    font-weight: 200;
    color: #272727;

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

.input_txt {
    display: block;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 60%;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

.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%;
}



.short_modal {
    display: none;
    position: fixed;
    z-index: 19;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 8%;
    width: 84%;
    background-color: #E6E6E6;
    padding: 10px 4px;

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

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

.short_modal h3 {
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
}

.short_modal div:first-child {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    max-height: 60vh;
    overflow-y: hidden;
}

.short_modal div:last-child {
    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%;
    text-align: center;
}

.short_modal button {
    font-size: 16px;
    width: 42%;
    margin: 0 4%;
}

.short_modal button:first-child {
    background-color: #f6a8a6;
}

.short_modal button:last-child {
    background-color: #dfe5f2;
}


.addList {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.addList div {
    font-size: 14px;
}

.addList div button {
    margin-right: 8px;
}


/**********************************************************
***********************************************************
**
**
**            OFFLINE
**
**
***********************************************************
**********************************************************/

#offline {
    display: none;
    position: fixed;
    z-index: 200;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 8%;
    width: 84%;
    background-color: #dfe5f2ff;
    padding: 20px 0;
    
    color: #272727;
    font-size: 14px;
    text-align: center;

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

.offlineEaseout {
    background-color: #c4ebb5ee;
    -webkit-animation-name: offlineEaseout;
            animation-name: offlineEaseout;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes offlineEaseout {
    from {
        opacity: 100%;
        background-color: #c4ebb5ee;
    }
    to {
        opacity: 0%;
        background-color: #c4ebb5ee;
    }
}

@keyframes offlineEaseout {
    from {
        opacity: 100%;
        background-color: #c4ebb5ee;
    }
    to {
        opacity: 0%;
        background-color: #c4ebb5ee;
    }
}






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



/**********************************************************
***********************************************************
**
**
**            NAVIGATION
**
**
***********************************************************
**********************************************************/

nav .currentPage {
    box-shadow: 1px 1px 40px 5px rgba(39,39,39,0.2) inset;
    -webkit-box-shadow: 1px 1px 6px 5px #a3d0ff88 inset;
    -moz-box-shadow: 1px 1px 40px 5px #b3d8ffff inset;
}

/***********************
**
**      Top Nav
**
***********************/
nav .top-nav {
    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: 68px;
    border-bottom: 1px solid #27272722;
}
nav .top-nav div {
    text-align: center;
}
nav #navtop_logo, #navtop_admin {
    width: 64px;
}
#navtop_pageName {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 20px;
    line-height: 68px;
    overflow: hidden;
    vertical-align: middle;
}
#navtop_logo img {
    margin-top: 10px;
    margin-left: 8px;
    height: 48px;
    width: 48px;
}
#navtop_admin img {
    margin-top: 18px;
    height: 32px;
    width: 32px;
}


/***********************
**
**     Bottom Nav
**
***********************/

nav .bottom-nav {
    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;
    bottom: 0;
    width: 100vw;
    height: calc(64px + env(safe-area-inset-bottom));
    border-top: 1px solid #27272722;
}
nav .bottom-nav div {
    width: 25%;
    text-align: center;
}
nav .bottom-nav div:not(:last-child) {
    border-right: 1px solid #27272722;
}
.bottom-nav img {
    margin-top: 10px;
}

#navbot_contact_badge {
    position: absolute;
    top: 11px;
    right: calc((25% / 2) - 27px);
    border-radius: 50%;
    background-color: rgb(255, 141, 141);
    width: 12px;
    height: 12px;
}





/***********************
**
**     Back button
**
***********************/

#backButton {
    background-color: #c3e1ff;
    position: fixed;
    z-index: 12;
    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;
    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;
}





/**********************************************************
***********************************************************
**
**
**            NOTIFICATION MESSAGERIE
**
**
***********************************************************
**********************************************************/

#notification_messagerie {
    background-color: #c3e1ff;
    position: fixed;
    z-index: 30;
    top: 80px;
    left: 5vw;

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

    border: 1px solid #27272722;
    border-radius: 25px;

    width: 90vw;
    height: 80px;
}


.nm_animation_in {
    -webkit-animation-name: nm_animation_in;
            animation-name: nm_animation_in;
    -webkit-animation-duration: 0.6s;
            animation-duration: 0.6s;
    -webkit-animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
            animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes nm_animation_in {
    from {
        opacity: 0%;
        transform: scale(0.1);
    }
    to {
        opacity: 100%;
        transform: scale(1.0);
    }
}
@keyframes nm_animation_in {
    from {
        opacity: 0%;
        transform: scale(0.1);
    }
    to {
        opacity: 100%;
        transform: scale(1.0);
    }
}

.nm_animation_out {
    -webkit-animation-name: nm_animation_out;
            animation-name: nm_animation_out;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes nm_animation_out {
    from {
        opacity: 100%;
    }
    to {
        opacity: 0%;
        display: none;
    }
}
@keyframes nm_animation_out {
    from {
        opacity: 100%;
    }
    to {
        opacity: 0%;
        display: none;
    }
}

.nm_animation_fast_out {
    -webkit-animation-name: nm_animation_fast_out;
            animation-name: nm_animation_fast_out;
    -webkit-animation-duration: 1.2s;
            animation-duration: 1.2s;
    -webkit-animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
            animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes nm_animation_fast_out {
    from {
        opacity: 100%;
        transform: scale(1.0);
    }
    to {
        opacity: 0%;
        transform: scale(0.2);
        display: none;
    }
}
@keyframes nm_animation_fast_out {
    from {
        opacity: 100%;
        transform: scale(1.0);
    }
    to {
        opacity: 0%;
        transform: scale(0.2);
        display: none;
    }
}


#notification_messagerie .nm_img {
    min-width: 64px;
    text-align: center;
}

#notification_messagerie .nm_text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow: hidden;
    padding-right: 12px;
}

#nm_name {
    font-size: 18px;
    font-weight: 900;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
}

#nm_body {
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
}





/**********************************************************
***********************************************************
**
**
**            LOGIN PAGE
**
**
***********************************************************
**********************************************************/

#container_login {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    height: 100%;
    width: 100vw;
    z-index: 99;
}

#container_login .imageDiv {
    position: absolute;
    top: 25%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
    width: 100vw;
}

#container_login form {
    margin-top: 20vh;
}

#container_login form input {
    margin-top: 16px;
}

#loginError {
    margin-top: 8px;
    height: 24px;
    font-size: 14px;
    color: #e60806cc;
}

#loginTips {
    position: absolute;
    bottom: 32px;
    left: 5%;
    width: 90%;

    text-align: center;
    font-size: 14px;
    font-weight: 100;
    color: #888;
}





/**********************************************************
***********************************************************
**
**
**            ACCEPT CONFIDENTIAL & NOTIF PAGE
**
**
***********************************************************
**********************************************************/

#container_confidential {
    position: absolute;
    top: 0%;
    left: 0%;
    text-align: center;
    width: 100vw;
    height: 100%;
}

#container_confidential img {
    margin-top: 20px;
    height: 12vh;
}

#confidentialDiv  {
    width: 80%;
    margin-left: 10%;
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc(88vh - 300px);
    background-color: #E9E9E9;
    border: 1px solid #E9E9E9;
    border-radius: 10px;
    padding: 8px 16px;
    
}

#confidentialDiv h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 12px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
}

#confidentialDiv #TermOfService {
    font-size: 12px;
}

#confidentialDiv ul {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    width: 80vw;
    margin-left: 10vw;
}

.divAcceptThis {
    width: 90vw;
    margin-left: 5vw;
}

#acceptThis {
    width: 20px;
    height: 20px;
    margin: 20px 0px;
}

#labelAcceptThis {
    font-size: 14px;
    vertical-align: text-top;
}

#notifDiv  {
    position: absolute;
    top: 40%;
    margin-top: 40px;
    width: 80%;
    margin-left: 10%;
    font-size: 14px;
    text-align: center;
}

#notifDiv h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 12px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
}

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

    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #c9cefa;
}

#acceptConfidential:disabled {
    opacity: 40%;
}

#acceptNotifications {
    position: absolute;
    bottom: 18%;
    left: 0;
    margin-left: 10%;
    width: 80%;
    padding: 12px 12px;
    
    font-size: 18px;
    font-weight: 200;
    color: #272727;

    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #c9cefa;
}

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

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

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

#declineNotifications {
    position: absolute;
    bottom: 10%;
    left: 0;
    margin-left: 10%;
    width: 80%;
    padding: 14px 12px;
    
    font-size: 18px;
    font-weight: 200;
    color: #272727;

    border: none;
    border-radius: 5px;
    background-color: transparent;
}









/**********************************************************
***********************************************************
**
**
**            HOME PAGE
**
**
***********************************************************
**********************************************************/

#container_home {
    text-align: center;
}

#container_home img {
    margin-top: 32px;
}

#container_home h1 {
    margin-top: 20px;
    font-size: 30px;
    color: #595959;
    font-weight: 100;
}

.actu, .event {
    margin-top: 30px;
    padding: 0 10%;
}

.actu h5, .event h5 {
    color: #595959;
    font-size: 16px;
    font-weight: 100;
}

.actu-bg {
    font-size: 15px;
    padding: 4px 8px;
    text-align: left;
    border-radius: 3px;
    overflow-x: scroll;
}

#container_home hr {
    width: 44%;
    margin-left: 28%;
    margin-top: 5px;
}

#container_home button:not(.btn_delete_square, .admin_button) {
    margin-top: 30px;
    padding: 6px 12px;

    font-size: 18px;
    color: #272727;
    font-weight: 300;

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

#actuShowMore, #eventsShowMore {
    background-color: #f2f2f2;
}

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

#openCalendar {
    background-color: #fff;
    margin-bottom: 60px;
}

.event h5 {
    color: #888;
    border-bottom: 1px solid #88888888;
    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: 3px;
    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: 10px;
}

.event-d span:first-child {
    -ms-flex-preferred-size: 56px;
        flex-basis: 56px;
    font-size: 16px;
    color: #999;
    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: 3px;
    padding: 4px 8px 0 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    text-align: left;
    gap: 10px;
}

.event-df span:nth-child(odd) {
    -ms-flex-preferred-size: 56px;
        flex-basis: 56px;
    font-size: 16px;
    color: #999;
    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: #999;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    padding-left: 64px;
}

/**/
.event-dfod {
    border-radius: 3px;
    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: #999;
}







/**********************************************************
***********************************************************
**
**
**            INFOS PAGE
**
**
***********************************************************
**********************************************************/

#container_infos {
    text-align: center;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}



#container_infos .choix_enfant {
    margin-top: 30px;
    width: 80%;
    margin-left: 10%;
    padding: 30px 0 10px 0;
    border-radius: 10px;
}

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




#titulaire_picture {
    margin-top: 30px;
}

#container_infos .titulaire {
    margin-top: 8px;
}

#container_infos .titulaire h3 {
    display: inline-block;
    font-size: 18px;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
}

#container_infos h4 {
    color: #272727;
    font-size: 16px;
    font-weight: 100;
}

#container_infos .titulaire h5 {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 100;
    color: #595959;
}

#container_infos .buttons {
    margin-top: 30px;
}

.buttonWithIcon {
    width: 70%;
    margin-left: 15%;
    margin-top: 20px;
    height: 74px;

    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: 10px;

    font-size: 22px;
    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;
}

#mes_enseignants {
    background-color: #fffec4;
}

#mon_horaire {
    background-color: #c9cefa;
}

#ma_classe {
    background-color: #cbf0de;
}

#mes_paiements {
    background-color: #FFFFFF;
}

#mes_presences {
    background-color: #eed5c9;
}

#parametres {
    width: 80%;
    margin-left: 10%;
    margin-top: 30px;
    height: 60px;

    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: 10px;

    font-size: 22px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;

    background-color: #dedede;
}

#parametres div:first-child {
    border-right: 1px solid #272727;
    height: 100%;
    -ms-flex-preferred-size: 68px;
        flex-basis: 68px;
    min-width: 68px;
}

#parametres div:last-child {
    padding: 0 12px;
    width: 100%;
    overflow: hidden;
}






/**************
Mes enseignants
**************/

#container_infos .searchbar {
    position: fixed;
    top: 68px;
    left: 0;
    height: 80px;
    width: 100%;
    background-color: #F2F2F2;
}

#container_infos .searchbar #search {
    margin-top: 20px;
    width: 80%;
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #272727;

    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 100;
    color: #272727;
}

#container_infos #staffList {
    width: 100%;
    margin-top: 90px;
}

#container_infos #staffList div {
    width: 100%;
    padding: 15px 2%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    text-align: left;
}

#container_infos .staffIMG {
    -ms-flex-preferred-size: 96px;
        flex-basis: 96px;
    min-width: 96px;
}

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

#container_infos .staffInfos h5 {
    text-align: center;
    font-size: 16px;
    color: #595959;
    font-weight: 100;
}

#container_infos .staffInfos hr {
    width: 40%;
    margin-left: 30%;
    border: none;
    border-top: 1px solid #d0d0d0;
}

#container_infos .staffInfos h4 {
    text-align: left;
    font-size: 16px;
    color: #595959;
    font-weight: 100;
    margin-left: 10px;
}

#container_infos .staffInfos h3 {
    text-align: left;
    font-size: 20px;
    color: #272727;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    margin-left: 10px;
    margin-top: -2px;
}

#container_infos .staffInfos span {
    text-align: center;
    font-size: 16px;
    color: #272727;
    font-weight: 100;
    margin-top: 5px;
}

#container_infos .staffInfos .badge {
    padding: 4px 6px;
    margin-right: 6px;
    border: 1px solid #272727;
    border-radius: 4px;

    font-size: 12px;
}





#container_monHoraire {
    margin-top: 30px;
    width: 100%;
    padding: 0 2%;
}

#container_monHoraire .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%;
}
#container_monHoraire .horaireHeader .square {
    width: 5%;
    border-bottom: 1px solid #999999;
    border-right: 1px solid #999999;
}
#container_monHoraire .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 #999999;
}
#container_monHoraire .horaireHeader .days div {
    text-align: center;
    font-size: 16px;
    font-weight: 100;
    color: #999999;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}


#container_monHoraire .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%;
}
#container_monHoraire .horaireContent .hours {
    width: 5%;
    min-width: 5%;
    border-right: 1px solid #999999;
    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;
}
#container_monHoraire .horaireContent .hours div {
    -ms-flex-preferred-size: 50px;
        flex-basis: 50px;
    text-align: center;
    margin-left: -5px;
}
#container_monHoraire .hoursPadding {
    height: 1px;
    max-height: 1px;
    -ms-flex-preferred-size: 1px;
        flex-basis: 1px;
}
#container_monHoraire #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: 15px;
    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;
}
#container_monHoraire 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: 5px;
}
.horaireCell div {
    margin: 0;
    height: 100%;
    width: 100%;
    /* position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%); */
    overflow: scroll;
    text-align: center;
    
    display: -webkit-box;
    
    display: -ms-flexbox;
    
    display: flex;
    direction: ltr;
    /* -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around; */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

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


#container_maClasse {
    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%;
    margin-top: 30px;
    padding: 0 20px;
}

.maClasseCol {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;

    width: 50%;
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
}

.maClasseCol div {
    padding: 8px 12px;
    text-align: center;
}

.maClasseCol h3 {
    display: block;
    font-size: 20px;
    color: #272727;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}



#container_parametres {
    margin-top: 30px;
    text-align: center;
}

#container_parametres h3 {
    font-size: 22px;
    color: #272727;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

#container_parametres h4 {
    margin-top: 10px;
    font-size: 18px;
    color: #272727;
    font-weight: 100;
}

#container_parametres h5 {
    font-size: 14px;
    color: #272727;
    font-weight: 100;
    text-align: center;
    padding: 0px 8px;
}

#notificationDenied {
    margin-top: 10px;
    display: none;
}

#container_parametres #btnNotif {
    margin-top: 20px;
}

#container_parametres hr {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 80%;
    margin-left: 10%;
    border: none;
    border-top: 1px solid #999999;
}

#container_parametres 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;
}

#container_parametres input:not(#showpw) {
    display: block;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 80%;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

#container_parametres label {
    font-size: 14px;
    color: #272727;
}

#container_parametres #btnChangePassword {
    margin-top: 20px;
    padding: 6px 12px;
    width: 60%;
    background-color: #c3e1ff;

    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
    font-size: 16px;
    font-weight: 100;

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

#container_parametres p {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    display: none;
}

#container_parametres .confidential_text {
    text-align: left;
    font-size: 14px;
    margin-top: 12px;
    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;
}

#container_parametres select {
    margin-top: 10px;
    width: 80%;
    height: 40px;
    padding: 0px 8px;
}



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

#container_calendar {
    text-align: center;
    padding-top: 100px;
}

#calendar_fixed {
    position: fixed;
    top: 64px;
    z-index: 2;
    background-color: #F2F2F2;
    width: 100%;
    padding: 0 10px;
}

#container_calendar button {
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 6px 12px;

    font-size: 18px;
    color: #272727;
    font-weight: 300;

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

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

#container_calendar h5 {
    margin-top: -2px;
    font-size: 16px;
    color: #272727BB;
    font-weight: 100;
}

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

.calendar_header td {
    width: 20%;
}

.calendar_dates {
    margin-top: 20px;
    font-size: 14px;
    color: #999999;
    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 #999999;
    border-radius: 5px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
}

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

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






/**********************************************************
***********************************************************
**
**
**            DOSSIERS
**
**
***********************************************************
**********************************************************/

#container_dossiers {
    margin-top: 30px;
}

#container_dossiers .buttonWithIcon {
    margin-top: 20px;
}

#container_dossiers .buttonWithIcon:first-child {
    margin-top: 0px;
}

#container_dossiers .buttonWithIcon div:last-child {
    padding-left: 16px;
    text-align: left;
}



#container_dossier {
    margin-top: 30px;
}

#container_dossiers .document {
    width: 100%;
    padding: 12px 5%;

    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-bottom: 1px solid #27272733;*/
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}

#container_dossiers .document div:first-child {
    height: 100%;
    -ms-flex-preferred-size: 68px;
        flex-basis: 68px;
    min-width: 68px;
}

#container_dossiers .document div:last-child {
    padding: 0 12px;
    width: 100%;
}



#container_dossiers .add_document {
    width: 100%;
    padding: 0px 5%;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

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

#container_dossiers .add_document .input_txt {
    width: 80%;
    margin-left: 10%;
    margin-top: 30px;
    text-align: center;
}

#container_dossiers .add_document select {
    margin: 20px 0px;
    background-color: #fff;
    width: 70%;

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

    padding: 8px 10px;
    color: #272727;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

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

#container_dossiers #personsList {
    margin-top: 24px;
    margin-bottom: 10px;
    width: 80%;
    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: left;
        -ms-flex-pack: left;
            justify-content: left;
    text-align: left;
    font-size: 14px;
}

#container_dossiers #personsList div {
    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;
    margin-bottom: 6px;
}

#container_dossiers #personsList button {
    height: 24px;
    width: 30px;
    margin-right: 5px;
    background-color: #f6a8a6;
}

#container_dossiers span {
    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;
    text-align: center;
    font-size: 16px;
    gap: 4px;
}

#container_dossiers #documentAdd h3 {
    font-size: 20px;
    font-weight: 100;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    margin-top: 20px;
    margin-bottom: 5px;
}

#container_dossiers span input {
    margin: 0;
}

#container_dossiers #upload_file {
    margin-top: 10px;
    margin-bottom: 20px;
    width: 70%;
    padding: 10px 10px;
    height: 120px;
    background-color: #c3e1ff;
    border: 1px solid #272727;
    border-radius: 25px;
    color: #272727;

    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

#container_dossiers #list_document {
    margin-top: 8px;
    font-size: 12px;
}

#container_dossiers #send_file {
    margin-top: 20px;
    width: 60%;
    font-size: 18px;
}

#container_dossiers #send_file:disabled {
    opacity: 40%;
}




#container_dossiers .docList {
    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%;
    padding: 0px 2%;
}

#container_dossiers .elem {
    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%;
    margin: 8px 0px;
    padding-bottom: 10px;
    border-bottom: 1px solid #27272711;
}

#container_dossiers .elem:first-child {
    margin-top: 0px;
}

#container_dossiers .elem .logoName {
    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%;
    text-align: center;
    font-size: 16px;
}

#container_dossiers .elem .logoName div:last-child {
    margin-top: 4px;
}

#container_dossiers .elem .buttons {
    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-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: center;
}

#container_dossiers .elem .buttons button:last-child {
    margin-left: 10px;
    margin-right: 5px;
    background-color: #f6a8a6;
}





#container_albumsPhoto {
    text-align: center;
}

#container_albumsPhoto #albumsList {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

#container_albumsPhoto #albumsList .col {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    padding: 0px 4%;
}

#container_albumsPhoto #albumsList div {
    margin-top: 30px;
    width: 50%;
    padding: 0px 12px;
}

#container_albumsPhoto #albumsList img {
    width: 80%;
    height: auto;
}

#container_albumsPhoto #albumsList h5 {
    font-size: 14px;
    color: #272727;
}


#container_album {
    margin-top: 30px;
}

#container_album #photosList {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#container_album #photosList div {
    margin: 0;
    padding: 0;
    width: 100%;
}

#container_album #photosList div img {
    width: 100%;
    height: auto;
}

#container_album #photosList h4 {
    font-size: 16px;
    width: 100%;
    text-align: center;
}

#container_albumPhoto {
    background-color: black;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    /* height: calc(96vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); */
    height: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    overflow: hidden;
}

#container_albumPhoto div {
    /* position: fixed; */
    width: 100vw;
    z-index: 1;
    /* top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%); */
}

#container_albumPhoto img {
    width: 100vw;
    height: auto;
    max-height: calc(96vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    -o-object-fit: contain;
       object-fit: contain;
}


#backPhoto {
    background-color: #c3e1ff;
    position: fixed;
    z-index: 12;
    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;
    bottom: 0;
    width: 100vw;
    height: calc(64px + env(safe-area-inset-bottom));
    border-top: 1px solid #27272722;
    text-align: center;
    font-size: 20px;
    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: -8px;
}

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


#container_photos_add {
    margin-top: 30px;
}

#container_photos_add #section_album {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 10px;
    width: 90%;
    margin-left: 5%;
    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;
    color: #272727;
}

#container_photos_add #select_album {
    width:  60%;
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    color: #272727;
}

#container_photos_add hr {
    width: 60%;
    margin-left: 20%;
    margin-top: 30px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #999999;
}

#container_photos_add #section_add {
    text-align: center;
}

#container_photos_add #section_add #upload_photo {
    width: 80%;
    height: 120px;
    background-color: #c3e1ff;
    border: 1px solid #272727;
    border-radius: 25px;
    color: #272727;
}

#container_photos_add #section_add #upload_photo div:last-child {
    margin-top: 10px;
    font-size: 18px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
    font-weight: 100;
}

#list_photos {
    margin-top: 10px;
    width: 70%;
    margin-left: 15%;
    text-align: left;
    font-size: 14px;
    color: #606060;
}

#list_photos div {
    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;
    margin-bottom: 6px;
}

#list_photos .btn_delete {
    margin-right: 4px;
}

#container_photos_add #section_add #send_photos {
    margin-top: 80px;
    width: 50%;
    padding: 12px 12px;
    font-size: 20px;
    background-color: #FFF;
    color: #272727;
    border: 1px solid #272727;
    border-radius: 5px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}



#container_album_add {
    margin-top: 30px;
    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-line-pack: center;
        align-content: center;
}

#container_album_add input {
    margin-top: 30px;
    width: 70%;
}

#container_album_add hr {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 60%;
    border: none;
    border-bottom: 1px solid #999;
}

#container_album_add h3 {
    margin-top: 30px;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    color: #272727;
}

#container_album_add h2 {
    font-size: 16px;
    font-weight: 100;
}

#addPersons {
    margin-top: 30px;
    width: 40%;
}

#container_album_add #createAlbum {
    margin-top: 10px;
    width: 40%;
}

#container_album_add #createAlbum:disabled {
    opacity: 40%;
}

#container_album_add #personsList {
    margin-top: 24px;
    margin-bottom: 10px;
    width: 80%;
    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: left;
        -ms-flex-pack: left;
            justify-content: left;
    text-align: left;
    font-size: 14px;
}

#container_album_add #personsList div {
    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;
    margin-bottom: 6px;
}

#container_album_add #personsList button {
    height: 24px;
    width: 30px;
    margin-right: 5px;
    background-color: #f6a8a6;
}

#container_album_add span {
    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;
    text-align: center;
    font-size: 16px;
    gap: 4px;
}

#container_album_add span input {
    margin: 0;
}

#container_album_add #deletePhotos {
    margin-top: 10px;
    background-color: #f6a8a6;
}

#container_album_add #showDeletedPhotos {
    margin-top: 10px;
    background-color: #f6a8a660;
}



#container_album_add_person {
    margin-top: 30px;
    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-line-pack: center;
        align-content: center;
}

#container_album_add_person #search {
    margin-top: 10px;
    width: 70%;
}

#container_album_add_person hr {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 60%;
    border: none;
    border-bottom: 1px solid #999;
}

#container_album_add_person #elevesList, #staffList, #groupesList {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 70%;
    text-align: left;
}

#container_album_add_person #elevesList h3, #staffList h3, #groupesList h3 {
    font-size: 20px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
    text-align: center;
    margin-bottom: 10px;
}

#container_album_add_person #elevesList div, #staffList div, #groupesList div {
    margin-bottom: 10px;
    font-size: 16px;
}

#container_album_add_person .btn_plus {
    width: 32px;
    height: 28px;
    margin-right: 10px;
    font-size: 16px;
}

#container_album_add_person #addAll {
    margin-top: 30px;
}

#container_album_add_person #removeAll {
    margin-top: 14px;
    background-color: #f6a8a6;
}



#container_photos_delete {
    margin-top: 30px;
    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;
    text-align: center;
}

#deleteSelection {
    margin-bottom: 20px;
    width: 60%;
    background-color: #f6a8a6;
}

#selectAll, #deselectAll {
    margin-bottom: 8px;
    width: 60%;
}

#container_photos_delete hr {
    margin-top: 20px;
    margin-bottom: 0px;
    width: 60%;
    border: none;
    border-bottom: 1px solid #999;
}

#container_photos_delete .rows {
    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;
    gap: 6vw;
}

#container_photos_delete .rows div {
    margin-top: 30px;
    width: 40vw;
    max-width: 200px;
    height: 40vw;
    max-height: 200px;
}

#container_photos_delete .rows img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#container_photos_delete .rows input {
    position: absolute;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
    height: 20px;
    width: 20px;
}

#container_photos_delete #addSelection {
    margin-bottom: 20px;
    background-color: #c3e1ff;
}

#container_photos_delete h1 {
    margin-top: 20px;
    font-size: 16px;
    color: #272727;
    font-weight: 100;
}







/**********************************************************
***********************************************************
**
**
**            CONTACT
**
**
***********************************************************
**********************************************************/

#container_contact {
    margin-top: 10px;
    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;
}

#container_contact label {
    margin-top: 20px;
    font-size: 22px;
    color: #272727;
    font-weight: 100;
    margin-bottom: 6px;
}

#container_contact #destinatairesAdded {
    margin-bottom: 12px;
    width: 60%;
}

#container_contact .destinataire {
    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-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    font-size: 16px;
    background-color: #fffec4;
    border: 1px solid #27272733;
    border-radius: 5px;

    padding: 2px;
    margin-bottom: 4px;
    overflow: hidden;
}

#container_contact .destinataire div:first-child {
    width: 100%;
    overflow: hidden;
}

#container_contact .destinataire div:last-child {
    width: 32px;
}

#container_contact input[type=text] {
    z-index: 1;
    width: 60%;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 4px 8px;
    border: 1px solid #272727;
    border-radius: 5px;
}

#container_contact #objet {
    width: 80%;
}

#container_contact #msg {
    width: 80%;
    height: 260px;
    padding: 4px 8px;
    border: 1px solid #272727;
    border-radius: 5px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-size: 16px;
    resize: none;
}

#container_contact #send {
    margin-top: 20px;
    width: 50%;
    padding: 8px 8px;
    border: 1px solid #272727;
    border-radius: 5px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 18px;
    color: #272727;
}

#container_contact #destinatairesList {
    z-index: 0;
    margin-top: -20px;
    padding-top: 20px;
    width: 60%;
    background-color: #27272711;
    border-left: 1px solid #272727;
    border-right: 1px solid #272727;
    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-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
}

#container_contact #destinatairesList div {
    width: 100%;
    padding: 5px;
    border-bottom: 1px solid #272727;
}

#container_contact #destinatairesList div:last-child {
    border-radius: 5px;
}

#container_contact #destinatairesList div:hover {
    background-color: #27272714;
}

#container_contact span {
    display: none;
    font-size: 14px;
    color: #27272799;
    padding: 0px 10%;
}






/**********************************************************
***********************************************************
**
**
**            MESSAGERIE
**
**
***********************************************************
**********************************************************/

#container_messagerie {
    margin-top: 30px;
    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;
}

#container_messagerie #create {
    padding: 12px 12px;
    width: 70%;
}

#container_messagerie_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;
    text-align: center;
    border-bottom: 1px solid #c4c9d5;
}


.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;
}

.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;
}



#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: 100vw;   
    padding: 20px 5vw 0px 5vw;
}

.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_deleted {
    background-color: #f6a8a666;
    border: 1px solid #f6a8a6ee;
}

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

.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);
}

.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;
    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: 100vw;
}

#container_messagerie_create_top {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100vw;
    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 {
    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: 68px;
    border-bottom: 1px solid #27272722;
}

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

#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: 100vw;
    padding-top: 32px;
    gap: 20px;
}

.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 {
    width: 80vw;
}

#group_rename:disabled {
    opacity: 40%;
}

#div_group_members_manage {
    margin-bottom: 30px;
}

#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: 30px 8px 0px 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: 28px;
    height: 28px;
}

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

#div_group_quit {
    width: 100vw;
}

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


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

#container_messagerie_params_add_user input {
    width: 80%;
    margin-left: 10%;
}

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

#container_messagerie_params_add_user #container_messagerie_create_list {
    margin-top: 0px;
    margin-bottom: calc(8px + 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: 30px 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;
}


#container_mesPaiements {
    width: 100vw;
    padding: 24px;
}

#container_mesPaiements input, #container_mesPaiements button, #container_mesPaiements select {
    width: 80%;
    margin-left: 10%;
}

#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: 10px;
}

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

.paiements_list_card .person {
    font-size: 14px;
}

.paiements_list_card .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;
}


.paiements_list_card .line .longtxt {
    font-size: 15px;
}

.paiements_list_card .line .progress {
    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: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

progress {
    height: 20px;
}

.paiements_list_card .line .progress:last-child {
    font-size: 16px;
}

.paiements_list_card .money {
    padding: 18px 0px;
}

.paiements_list_card .money div:first-child {
    padding-left: 12px;
    font-weight: 900;
}

.paiements_list_card div:first-child {
    font-weight: 900;
    font-size: 16px;
}

.paiement_status {
    text-align: center;
    font-size: 15px;
    margin-top: 6px;
}



#container_mesPresences {
    margin-top: 18px;
}

#container_mesPresences h3 {
    text-align: center;
    margin-bottom: 8px;
}

#container_mesPresences .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;
}

#container_mesPresences .select_date select {
    background-color: #fff;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

#container_mesPresences #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: 6px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #272727;
}

#container_mesPresences #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;
}

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



/*

ADMIN

*/

.actu_delete_buttonDiv {
    position: absolute;
    right: calc(10% - 15px);
    margin-top: 5px;
}

.event_delete_buttonDiv {
    margin-top: 10px;
    margin-bottom: 50px;
}

.admin_button {
    padding: 4px 8px;
    background-color: #FFF;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 16px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.event_delete_buttonDiv .admin_button:last-child {
    margin-left: 5px;
    background-color: #f6a8a6;
}


.adminEventsAdd_Start, .adminEventsAdd_End {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 0px 10%;
}

.adminEventsAdd_End {
    margin-top: 16px;
}

.adminEventsAdd_Start input[type=checkbox] {
    width: 30px;
    height: 30px;
}

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

.adminEventsAdd_Start .left {
    width: 40%;
    -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;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

.adminEventsAdd_Start .left div:nth-child(1) {
    width: auto;
    margin-right: 10px;
}

.adminEventsAdd_Start .left div:nth-child(2) {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.adminEventsAdd_Start .right {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
}


.adminEventsAdd_End input[type=checkbox] {
    width: 30px;
    height: 30px;
}

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

.adminEventsAdd_End .left {
    width: 40%;
    -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;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

.adminEventsAdd_End .left div:nth-child(1) {
    width: auto;
    margin-right: 10px;
}

.adminEventsAdd_End .left div:nth-child(2) {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.adminEventsAdd_End .right {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
}

.inputName {
    display: block;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 80%;
    margin-left: 10%;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

.inputDate {
    border: 1px solid #272727;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

.labelDate {
    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;
    margin-top: 30px;
}

.labelDate label {
    margin-top: 4px;
    margin-right: 10px;
}


.labelCheckbox {
    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;
}

.labelCheckbox input {
    width: 30px;
    height: 30px;
}

.labelCheckbox label {
    margin-top: 2px;
    margin-left: 10px;
}


.textareaDiv {
    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%;
    padding: 0px 10%;
}

.textareaDiv span:last-child {
    margin-top: 4px;
    font-size: 14px;
}

.textareaDiv textarea {
    height: 180px;
    padding: 6px 8px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 5px;
    resize: none;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}


.colorPicker {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    width: 80%;
    margin-left: 10%;
}

.colorPicker div {
    width: 10vw;
    height: 8vw;
    min-width: 40px;
    min-height: 32px;
    margin: 5px;
    border: 1px solid #27272744;
    border-radius: 5px;
}





#container_admin {
    margin-top: 30px;
    text-align: center;
}

#container_admin h3 {
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
}

#container_admin hr {
    width: 80%;
    margin-left: 10%;
    margin-top: 30px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #999999;
}

#container_admin #create {
    margin-top: 20px;
    padding: 8px 2px;
    width: 60%;
    background-color: #c3e1ff;
    font-size: 20px;
    font-weight: 100;
    color: #272727;
}

#container_admin #create:disabled {
    opacity: 40%;
}

#container_admin #addPersons {
    width: 40%;
    margin-left: 30%;
}

#container_admin #personsList {
    margin-top: 24px;
    margin-bottom: 10px;
    width: 80%;
    margin-left: 10%;
    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: left;
        -ms-flex-pack: left;
            justify-content: left;
    text-align: left;
    font-size: 14px;
}

#container_admin #personsList div {
    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;
    margin-bottom: 6px;
}

#container_admin #personsList button {
    height: 24px;
    width: 30px;
    margin-right: 5px;
    background-color: #f6a8a6;
}

.album_elem {
    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-pack: distribute;
        justify-content: space-around;
    width: 90%;
    margin-left: 5%;
    gap: 10px;
    margin-bottom: 40px;
}

.album_elem_width {
    width: 70%;
}

.album_elem button {
    height: 50px;
    width: 50px;
    border: 1px solid #272727;
    border-radius: 5px;
}

.album_elem button img {
    margin-top: 5px;
}

.album_elem_edit button {
    background-color: #FFF;
}

.album_elem_photos button {
    background-color: #c9cefaff;
}

.album_elem_delete button {
    background-color: #f6a8a6;
}



#users_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;
    width: 90%;
    margin-left: 5%;
    gap: 30px;
}

.user_elem {
    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;
    width: 100%;
    gap: 10px;
    border-bottom: 1px solid #27272766;
    padding-bottom: 30px;
}

.user_elem h3 {
    font-size: 18px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
    margin-bottom: 5px;
}

.user_elem_buttons {
    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: 100%;
    gap: 10px;
}

.user_elem_buttons button {
    height: 40px;
    width: 40px;
    border: 1px solid #272727;
    border-radius: 5px;
}

.user_elem_buttons button img {
    margin-top: 3px;
}

.button_elem_edit {
    background-color: #fff;
}

.button_elem_delete {
    background-color: #f6a8a6;
}


.admin_user_card {
    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;
    width: 90%;
    margin-left: 5%;
}

.admin_user_card #mail, .admin_user_card #pass {
    width: 80%;
    margin-top: 10px;
    margin-bottom: 40px;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

.admin_user_card h3 {
    width: 100%;
    text-align: left;
    padding-left: 10%;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
    font-size: 20px;
}

.admin_user_card select {
    width: 80%;
    margin-top: 10px;
    margin-bottom: 40px;
    background-color: #fff;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

.admin_user_card #save {
    margin-top: 10px;
    width: 80%;
    background-color: #c3e1ff;
    padding: 6px 12px;
    font-size: 18px;
}


#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;
    width: 80%;
    margin-top: 40px;
    margin-left: 10%;
}

.person_elem {
    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 #27272766;
    padding: 12px 0px;
}

.person_elem div:first-child {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: left;
    font-weight: 100;
    font-size: 18px;
}

.person_elem div button {
    height: 40px;
    width: 40px;
    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #fff;
}

.person_elem div button img {
    margin-top: 3px;
}

.person_elem_staff {
    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;
    width: 100%;
    border-bottom: 1px solid #27272766;
    padding: 12px 0px;
}

.person_elem_staff div:nth-child(2) {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: center;
    font-weight: 100;
    font-size: 18px;
}

.person_elem_staff div button {
    height: 40px;
    width: 40px;
    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #fff;
}

.person_elem_staff div button img {
    margin-top: 3px;
}

.titulaireCheckbox {
    margin-top: 5px;
    margin-bottom: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 70%;
    margin-left: 15%;
    gap: 6px;
}

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

.titulaireCheckbox div label {
    text-align: left;
    padding-left: 10px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 16px;
}

.titulaireCheckbox div input {
    width: 26px;
    height: 26px;
}

#groups_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;
    width: 80%;
    margin-left: 10%;
}

.admin_groups_elem {
    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-pack: distribute;
        justify-content: space-around;
    width: 100%;
    text-align: left;
    border: 1px solid #272727;
    border-radius: 5px;
    padding: 6px;
    margin-bottom: 10px;
}

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

.admin_groups_elem div:nth-child(2) {
    width: 40px;
}

.admin_groups_elem div:nth-child(3) {
    width: 40px;
    margin-left: 5px;
}

.admin_groups_elem div button {
    height: 40px;
    width: 40px;
    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #fff;
}

.admin_groups_elem div button img {
    margin-top: 3px;
}

.admin_horaire button {
    width: 60%;
    border: 1px solid #272727;
    border-radius: 5px;
    background-color: #fff;
}



.panel_horaire {
    display: none;
    text-align: center;
}

.panel_horaire h3 {
    font-size: 22px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #272727;
    margin-bottom: 30px;
}

.panel_horaire .centeredDiv {
    width: 100%;
}

.panel_horaire input {
    margin-top: 10px;
}

#monhoraire_save:disabled {
    opacity: 40%;
}


.panel_import {
    margin-top: 0px;
    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;
    width: 80%;
    margin-left: 10%;
    text-align: left;
    border-top: 1px solid #27272722;
}

.panel_import_elem {
    margin-bottom: 20px;
}

.panel_import_elem_name {
    border-bottom: 1px solid #27272799;
    padding-bottom: 2px;
    margin-bottom: 16px;
}

.panel_import_hList {
    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: 10px;
    margin-top: 10px;
}

.panel_import_hRow {
    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;
    background-color: #fffec4;
    border: 1px solid #272727;
    border-radius: 5px;
    width: 80%;
    padding: 4px 8px;
    font-size: 16px;
}

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


#panel_cours_date {
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 20px;
}

#coursDuree {
    width: 80%;
    height: 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 100;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    padding: 0 8px;
}


.admin_requests_badge {
    fill: #C2C2C2;
    height: 40px;
    margin-top: 16px;
}

.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;
}

#askedit_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    width: 92%;
    margin-left: 4%;
}

.askedit_card {
    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;
    background-color: #E2E2E2;
    padding: 16px 8px;
    border-radius: 10px;
}

.askedit_card_title {
    font-size: 20px;
    width: 100%;
    padding: 0px 12px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.askedit_card_date {
    font-size: 14px;
    width: auto;
}

.askedit_card_buttons {
    font-size: 20px;
    text-align: left;
    width: 100%;
    padding: 0px 12px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-pack: distribute;
        justify-content: space-around;
}

.askedit_card_button_accept {
    background-color: #c4ebb5;
}

.askedit_card_button_refuse {
    background-color: #f6a8a6;
}

.askedit_card_element {
    font-size: 14px;
    margin: 16px 0px;
    overflow: scroll;
}

.askedit_card_element div {
    font-size: 16px;
    margin: 6px 0px;
}

.askedit_card_element span {
    color: #2723f2;
}

.card_system {
    background-color: rgb(224, 200, 200);
}



#module_daily_con {
    margin-top: 20px;
    text-align: center;
}

#module_daily_con .input_txt {
    margin-left: 20%;
    margin-bottom: 16px;
}

#module_daily_con hr {
    width: 80%;
    margin-left: 10%;
    border: none;
    border-top: 1px solid #ccc;
    margin-bottom: 16px;
}

#module_daily_con select {
    margin-bottom: 20px;
    background-color: #fff;

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

    padding: 8px 12px;
    color: #272727;
    font-size: 16px;
}

#module_daily_con #daily_con_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;
}


.moduleAdmin_choice {
    text-align: center;
    margin-top: 30px;
}

.moduleAdmin_logs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: 20px;
}

.moduleAdmin_logs_row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    overflow-x: scroll;
    white-space: nowrap;
    padding: 12px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.moduleAdmin_logs_row:nth-of-type(odd) {
    background-color: #E6E6E6;
}

.moduleAdmin_logs_row div {
    padding: 0px 12px;
}

.moduleAdmin_logs_row button {
    padding: 4px 8px;
    background-color: #c4ebb5;
    border: 1px solid #272727;
    border-radius: 5px;
    font-size: 16px;
    color: #272727;
    font-family: "Gully", Arial, Helvetica, sans-serif;
    font-weight: 100;
}


.changelog_version {
    background-color: red;
}


.moduleAdmin_form {
    text-align: center;
    margin-top: 30px;
    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;
    gap: 10px;
}

.moduleAdmin_form input {
    padding: 8px 10px;
    width: 70%;

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

    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

.moduleAdmin_form select {
    margin: 20px 0px;
    background-color: #fff;
    width: 70%;

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

    padding: 8px 10px;
    color: #272727;
    font-size: 16px;
    font-family: "Gully", Arial, Helvetica, sans-serif;
}

.moduleAdmin_form button {
    background-color: #c3e1ff;
}

.moduleAdmin_form button:disabled {
    opacity: 40%;
}



.messagerie_stats {
    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: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 6px;
    width: 100%;
    padding: 12px;
    margin-bottom: 48px;
    border: 1px solid #272727;
    border-radius: 20px;
    background-color: #fff;
}

.messagerie_stats div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    /* overflow-x: scroll;
    white-space: nowrap; */
    gap: 12px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.messagerie_stats div div:first-child {
    color: #272727EE;
}

.messagerie_stats div div:last-child {
    font-size: 17px;
}

#restart_server:disabled {
    opacity: 50%;
}








/* Mobiles */
@media screen and (height < 480px) and (orientation: landscape) {

    body {
        padding-top: 0px;
    }

    main {
        padding-bottom: 60px;
    }

    nav .top-nav {
        display: none;
    }

    #container_login img {
        margin-top: 2vh;
        max-height: 26vh;
    }

    #container_login form {
        position: relative;
        width: 70%;
        margin-left: 15%;
    }
    
    #container_login form input {
        padding: 8px 10px;
        margin-top: 14px;
    }
    
    #loginTips {
        bottom: 12px;
    }


    #notifDiv, #confidentialDiv  {
        position: relative;
        margin-top: 20px;
    }
    
    #declineNotifications {
        bottom: 2%;
    }

    #acceptConfidential {
        position: relative;
        margin-left: 0%;
        margin-top: 30px;
    }

    #confidentialTips {
        position: relative;
        bottom: 0%;
        margin-top: 10px;
    }


    #eventsShowMore {
        margin-bottom: 50px;
    }


    #calendar_fixed {
        position: fixed;
        top: 0px;
        z-index: 2;
        background-color: #F2F2F2;
        width: 100%;
        padding: 0 10px;
    }

    .calendar_header {
        margin-top: 0px;
    }


    #parametresProfs {
        margin-bottom: 50px;
    }

    #container_infos .choix_enfant:last-child {
        margin-bottom: 50px;
    }

    #ma_classe {
        margin-bottom: 50px;
    }

    #container_infos .searchbar {
        top: 0px;
    }

    #container_contact {
        padding-bottom: 50px;
    }

    #container_parametres {
        padding-bottom: 50px;
    }

    #institinfo {
        margin-bottom: 30px;
    }

    #container_albumsPhoto {
        padding-bottom: 50px;
    }


    #container_albumsPhoto #albumsList div {
        width: 25%;
    }

    #container_album {
        margin-top: 0px;
        text-align: center;
    }

    #container_album #photosList div img {
        height: calc(100% - (64px + env(safe-area-inset-bottom)));
        width: auto;
    }

    #container_album h4 {
        margin-top: 20px;
    }

    #container_albumPhoto img {
        max-height: 100%;
    }

    #container_dossiers, #container_album_add, #container_photos_add, #container_photos_delete {
        padding-bottom: 30px;
    }


    #container_messagerie_create_top {
        top: 0px;
    }
    
    #container_messagerie_create_list {
        margin-top: 80px;
    }
    
    
    /***********************
    **
    **     Back button
    **
    ***********************/
    
    #backButton {
        background-color: #c3e1ff;
        position: fixed;
        z-index: 12;
        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;
        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;
    }

}

/* Tablets */
@media screen and (height >= 480px) and (height <= 991px) and (orientation: landscape) {
    
    #acceptNotifications, #declineNotifications, #acceptConfidential {
        width: 50%;
        margin-left: 25%;
    }

    #confidentialDiv {
        width: 60%;
        margin-left: 20%;
    }

    #container_albumsPhoto #albumsList div {
        width: 25%;
    }

    #container_album {
        margin-top: 0px;
        text-align: center;
    }

    #container_album #photosList div img {
        height: calc(100% - (64px + env(safe-area-inset-bottom)));
        width: auto;
    }

    #container_albumPhoto img {
        max-height: 100%;
    }

}

/* Laptops */
@media screen and (height >= 992px) and (height <= 1199px) and (orientation: landscape) {
    
    #acceptNotifications, #declineNotifications, #acceptConfidential {
        width: 50%;
        margin-left: 25%;
    }

    #confidentialDiv {
        width: 60%;
        margin-left: 20%;
    }

    #container_albumsPhoto #albumsList div {
        width: 25%;
    }

    #container_album {
        margin-top: 0px;
        text-align: center;
    }

    #container_album #photosList div img {
        height: calc(100% - (64px + env(safe-area-inset-bottom)));
        width: auto;
    }

    #container_albumPhoto img {
        max-height: 100%;
    }

}

/* Laptops */
@media screen and (width >= 1200px) {
    
    #acceptNotifications, #declineNotifications, #acceptConfidential {
        width: 40%;
        margin-left: 30%;
    }
    
    #confidentialDiv {
        width: 60%;
        margin-left: 20%;
    }

    #container_albumsPhoto #albumsList div {
        width: 20%;
    }

    #container_album {
        margin-top: 0px;
        text-align: center;
    }

    #container_album #photosList div img {
        height: calc(100% - (64px + env(safe-area-inset-bottom)));
        width: auto;
    }

    #container_albumPhoto img {
        max-height: 100%;
    }

}