:root {
    --them-fonc: #445F73;
    /* Couleur foncée */
    --them-medi: #97b9d2;
    /* Couleur entre deux */
    --them-clai: #eee;
    /* Couleur des fonds */


    --noti-fonc: #e36c0d;
    /* Couleur des notifs */
    --noti-medi: #ccc;
    --noti-clai: #eee;

    --haut-head: 80px;
    --haut-haut: 102px;
}


/*.is-ios{

    position: fixed !important;
    top: 1.25rem !important;
    top: constant(safe-area-inset-top) !important;
    top: env(safe-area-inset-top) !important;

    
    left: constant(safe-area-inset-left) !important;
    left: env(safe-area-inset-left) !important;

    
    right: constant(safe-area-inset-right) !important;
    right: env(safe-area-inset-right) !important;

    bottom: 1.25rem !important;
    bottom: constant(safe-area-inset-bottom) !important;
    bottom: env(safe-area-inset-bottom) !important;
}*/

::-webkit-scrollbar {
    width: 0px;
    height: 2px;
    margin-right: 0p;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 1);
    background-color: rgba(255, 255, 225, 1);
}

body {
    position: relative;
    background-color: #333;
    font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    font-size: 24px;
    height: 100vh;
    margin: 0px;
    padding: 0px;
    width: 100vw;
}

a {
    text-decoration: none;
}

#page {}

#page-top {
    background-color: #fff;
    width: 100%;
    height: 20px;
    font-size: 70%;
    color: #e36c0d;
    color: var(--noti-fonc);
    padding: 1px 5px;
    /*border-bottom: 1px solid var(--noti-fonc);*/
}

#page-head {
    position: absolute;
    background-color: #445F73;
    background-color: var(--them-fonc);
    color: #fff;
    width: 100%;
    height: 80px;
    height: var(--haut-head);
    z-index: 1;
}


#page-head-list {
    top: 0;
    height: 100%;
    width: calc(100% - 80px);
    width: calc(100% - var(--haut-head)px);
    margin-left: 80px;
    margin-left: var(--haut-head);
    display: flex;
}

#page-head-edit {
    text-align: left;
    right: -100%;
    top: 0;
    height: 100%;
    width: calc(66% - 30px);
    /*width: 66%;*/
    transition: .5s;
    position: absolute;
    display: flex;
}

#page-head-supp {
    text-align: left;
    right: -100%;
    top: 0;
    height: 100%;
    width: calc(33%);
    background-color: #fff;
    transition: .5s;
    position: absolute;
    display: flex;
}

#page-head-list-logo {
    width: 66%;
    position: relative;
    text-align: center;
    height: 80px;
    height: var(--haut-head);
    background-color: #fff;
    display: flex;
    align-items: center;
}

#page-logo {
    max-height: 90%;
    margin-top: 5px;
    max-width: 100%;
    margin: auto;
    opacity: 0;
    transition: 1s;
}

.page-head-list-bout {
    width: 33%;
    text-align: center;
    margin-top: 15px;
    color: important #fff;
    position: relative;
}

.page-head-edit-bout {
    width: 50%;
    text-align: center;
    margin-top: 15px;
}

.page-head-supp-bout {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.page-head i {
    font-size: 120%;
}

#page-head-list-filt-noti {
    position: absolute;
    bottom: 3px;
    right: 3px;
    color: #fff;
    background-color: #e36c0d;
    background-color: var(--noti-fonc);
    padding: 2px 5px;
    border-radius: 9px;
}

.page-menu-ferme,
.page-menu-ouvert {
    position: absolute;
    background-color: #445F73;
    background-color: var(--them-fonc);
    color: #fff;
    height: 80px;
    height: var(--haut-head);
    width: 90px;
    z-index: 98;
    transition: 1s;
    overflow: hidden;
}

.page-menu-ferme {
    width: 80px;
    width: var(--haut-head);
}

.page-menu-ouvert {
    max-width: 100%;
    width: 360px;
    height: calc(100% - 20px);
}

#page-menu-list {
    width: 360px;
    height: calc(100% - 80px);
    height: calc(100% - var(--haut-head));
    overflow: auto;
}

#page-corp {
    background-color: #ccc;
    position: absolute;
    top: 100px;
    top: var(--haut-haut);
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

#page-menu-logo {
    background-color: var(--noti-fonc);
    text-align: center;
    height: var(--haut-head);
    display: flex;
    border-bottom: 1px solid #fff;
    flex-direction: column;
    justify-content: space-evenly;
}

#page-menu-marq {
    width: 100%;
    text-align: center;
    font-size: 70%;
    margin: 80px auto;
    color: #999;
}

#page-foot {
    position: absolute;
    z-index: 30;
    bottom: 0;
    height: 64px;
    width: 100%;
    padding-top: 6px;
    color: #fff;
    background-color: #445F73;
    background-color: var(--them-fonc);
    display: none;
    overflow-x: auto;
    overflow-y: hidden;
}

#page-foot i {
    font-size: 150%;
}

#page-masq {
    z-index: 200;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(153, 153, 153, 0.6);
    display: none;
    position: absolute;
}

#page-mess {
    position: absolute;
    top: 30%;
    width: 500px;
    height: 360px;
    right: calc(50% - 250px);
    z-index: 201;
    border: 3px solid #445F73;
    border: 3px solid var(--them-fonc);
    border-radius: 15px;
    color: #445F73;
    color: var(--them-fonc);
    text-align: center;
    background-color: #fff;
    display: none;
}

#page-wait {
    position: absolute;
    top: 30%;
    width: 120px;
    height: 120px;
    right: calc(50% - 60px);
    z-index: 201;
    border: 3px solid #e36c0d;
    border: 3px solid var(--noti-fonc);
    border-radius: 50%;
    color: #e36c0d;
    color: var(--noti-fonc);
    text-align: center;
    background-color: #fff;
    display: none;
}

#page-debu {
    position: absolute;
    top: 60%;
    width: 90%;
    height: 36%;
    right: 5%;
    z-index: 202;
    border: 1px solid #e36c0d;
    border: 1px solid var(--noti-fonc);
    border-radius: 2px;
    color: #ccc;
    ;
    text-align: left;
    background-color: rgba(153, 153, 153, 0.933);
    /*display: none;*/
    overflow: hidden;
    overflow: auto;
    display: none;
}

.page-debu-cont-ok {
    color: greenyellow;
}

.page-debu-cont-ko {
    color: orangered;
}

#page-head-logo {
    left: 20%;
    width: 50%;
    padding: 2%;
    box-sizing: border-box;
    position: absolute;
    text-align: center;
    top: 0;
    height: 100%;
    background-color: #fff;
}

#page-head-logo img {
    margin: 2%;
    max-height: 94%;
    max-width: 94%;
    vertical-align: middle;
}

.page-foot-bout {
    position: relative;
    text-align: center;
    margin: 0 5px;
    min-width: 70px;
    flex-shrink: 0;
}

.page-foot-noti {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #e36c0d;
    background-color: var(--noti-fonc);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    padding: 0 5px;
}

.gene-bout {
    background-color: #fff;
    border: 1px solid #ccc;
    min-width: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.gene-bout-acti {
    color: #fff;
    background-color: #445F73;
    background-color: var(--them-fonc);
    border: 1px solid #ccc;
    min-width: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.gene-bout-inac {
    color: #fff;
    background-color: #bbb;
    border: 1px solid #ccc;
    min-width: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.gene-boutn,
.gene-bout-acti i,
.gene-bout-inac i {
    font-size: 200%;
}

gene-bout-supp {
    min-width: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    color: #bbb;
}

.gene-bout-supp i {
    font-size: 120%;
}


/* ============= FORMULAIRES =============== */
.form-bool-fals,
.form-bool-true {
    width: 90px;
    text-align: center;
    border-radius: 16px;
    height: 28px;
    cursor: pointer;
    color: #fff;
    font-size: 90%;
    margin: auto;
}

.form-bool-fals {
    background-color: #b57d7d;
}

.form-bool-true {
    background-color: #778a6d;
}

.form-bool-curs-fals,
.form-bool-curs-true {
    margin: 2px;
    width: 24px;
    border-radius: 14px;
    height: 21px;
    background-color: #fff;
}

.form-bool-curs-fals {
    float: left;
}

.form-bool-curs-true {
    float: right;
}

#page-head-sync-taux {
    /*background-color: #fff;*/
}

#page-head-sync-taux-curs {
    position: absolute;
    bottom: 0px;
    right: 0;
    height: 18px;
    overflow: hidden;
    text-align: right;
    background-color: #e36c0d;
    background-color: var(--noti-fonc);
}

#page-head-sync-envo,
#page-head-sync-rece,
#page-head-sync-docu {
    position: absolute;
    right: 10px;
    font-size: 100%;
    color: red;
    display: none;
}

#page-head-sync-envo {
    top: 5px;
    color: #cc4e4e;
}

#page-head-sync-rece {
    top: 25px;
    color: #4ca535;

}

#page-head-sync-docu {
    top: 45px;
    color: #4ca535;
}

/*#page-sign {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 199;
}*/

.page-popu-arbo-fils {
    padding-left: 30px;
}

#page-popu-cale {
    height: 100%;
}

#page-popu-cale td,
#page-popu-cale tr {
    height: 12%;
}

#page-mess-ferm {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
}

#page-mess-titr {
    background-color: #445F73;
    background-color: var(--them-fonc);
    position: absolute;
    top: 0px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

#page-mess-corp {
    text-align: left;
    position: absolute;
    top: 50px;
    bottom: 50px;
    padding: 2%;
    width: 96%;
    overflow: scroll;
}

#page-mess-bout {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 0;
    padding: 5px;
    width: 100%;
}

input {
    font-size: 30px;
    border-width: 0;
    border-bottom: 1px solid #999;
    max-width: 99%;
}

textarea {
    font-size: 30px;
    border-width: 0;
    border-bottom: 1px solid #999;
    max-width: 99%;
    font-family: arial;
}

@media screen and (max-width: 640px) {
    :root {
        --haut-head: 58px;
        --haut-haut: 80px;
    }

    body {
        font-size: 16px;
    }

    #page-top {
        font-size: 85%;
    }

    input {
        font-size: 16px;
    }

    textarea {
        font-size: 16px;
    }

    #page-foot {
        height: 44px;
    }

    #page-mess {
        width: 90%;
        right: 5%;
    }

    #page-menu {
        font-size: 20px;
    }

    #page-menu-logo {
        font-size: 16px;
    }

    .page-popu-arbo-fils {
        padding-left: 10px;
    }
}