:root {
    --page-menu-ferme: 60px;
    --page-menu-ouvert: 180px;

    /*a valider*/
    --etat-0: rgb(246, 45, 30);
    /*a faire*/
    --etat-1: rgb(255, 162, 37);
    /*en cours*/
    --etat-2: rgb(120, 184, 50);
    /*termine*/
    --etat-3: rgb(13, 115, 36);
    /*archivÃ©*/
    --etat-4: rgb(110, 110, 110);

    --default-field-height: 22px;
    --default-field-max-height: 44px;
    --default-field-font-size: 11px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 4px;
    --coul-disabled: #EEEEEE;
}

#edit-corp, #filt-corp {
    --default-field-height: 22px;
    --default-field-max-height: 44px;
    --default-field-font-size: 11.5px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 5px;
}

.page-popu-modu-plan, #page-agen, #plan-trad, .modu-tabl-filt {
    --default-field-height: 18px;
    --default-field-max-height: 36px;
    --default-field-font-size: 10.5px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 4px;
}

table {
    --default-field-height: 18px;
    --default-field-max-height: 98px;
    --default-field-font-size: 10px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 3px;
    --default-field-wrap: break-word;
    --coul-disabled: #EEEEEE;
}

.modu-table input { width: 100% !important; box-sizing: border-box !important; min-width: 0 !important; }

#page-spec {
    --default-field-height: 18px;
    --default-field-font-size: 10.5px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 4px;
}

.arbo-case-titr {
    --default-field-height: 24px;
    --default-field-font-size: 11px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 0px;
}

.arbo-lign-nive {
    --default-field-height: 14px;
    --default-field-font-size: 8.5px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 4px;
}

#gest-ecra-edit-visu {
    --default-field-height: 20px;
    --default-field-font-size: 11px;
    --default-field-border-size: 1px;
    --default-field-border-radius: 4px;
}

#gest-ecra-edit-visu .donnee {
    --noti-fonc: #999999;
}

* {
    box-sizing: border-box;
}

*[onclick] {
    cursor: pointer;
}

body,
html {
    max-width: 100%;
    margin: 0;
    font-size: 85%;
    overflow-y: hidden;
}


select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    z-index: 1;
    background-color: transparent;
    position: relative;
    border: none;
    text-overflow: ellipsis;
    cursor: pointer;
}

input,
.fake-select,
textarea {
    background-color: #ffffff85;
    border: none;
    border-bottom: 1px solid #C4c0c0;
    border-left: 1px solid #C4c0c0;
    padding: 0 2px 1px;
    border-bottom-left-radius: 3px;
    min-height: 1.65em;
    word-wrap: break-word;
}

input:focus {
    outline: none;
}

/* input,
.fake-select,
textarea {
    min-height: 1.65em;
    
    padding: 2px 6px;

    border: none;
    border-bottom: 1px solid var(--coul-modu);
    border-left: 1px solid var(--coul-modu);
    border-radius: 4px;
    
    background-color: #FFFFFF50;
    outline: none;
    word-wrap: break-word;
} */

#list-filt input, #list-filt .fake-select, #list-filt textarea,
#modu-edit input, #modu-edit .fake-select, #modu-edit textarea {
    height: 1.65rem;
    min-height: 1.65em;
} 

#list-filt input, #list-filt .fake-select, #list-filt textarea:not([disabled]),
#modu-edit input, #modu-edit .fake-select, #modu-edit textarea:not([disabled]) {
    border: 1px solid #CCC;
}

/* ---------------------------------- */

.fake-select select {
    width: 100%;
}

#head-navi-util .fake-select {
    min-width: 120px;
    padding-right: 30px;
    color: var(--them-fonc);
    background-color: #ffffffcc;
    font-weight: bold;
}

/*input { 
    border-radius: 3px;
    background: transparent;
    border: 1px solid #999;
}*/

section {
    margin-top: 20px;
}


/* ======================================================================= Generiques =========================================================== */

h2 {
    font-size: 200%;
    margin: 0;
}

#head-navi-util h2 {
    text-transform: uppercase;
}

h3 {
    margin: 0;
    font-size: 130%;
    margin-top: 10px;
    border-bottom: 1px solid var(--them-medi);
}

h4 {
    display: block;
    margin: 0;
    margin-left: 10px;
    font-size: 120%;

}

button {
    max-width: 100%;

    border: 0;
    color: inherit;
    background: none;
    
    font-size: inherit;
    font-style: inherit;
    letter-spacing: inherit;
}


.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 !important;
    margin: 0 !important;
}

.fake-select:after {
    font-family: 'capilog' !important;
    content: "\e964";
    color: #999;
    position: absolute;
    opacity: 70%;
    right: 0px;
    margin-right: 3px;
    white-space: nowrap;
}

.erre-choi .fake-select:after {
    right: unset;
}

.donnee {
    position: relative;
    min-height: 20px;
    font-family: 'Inter';
    align-items: center;
}

.donnee-champ-impo {
    height: var(--default-field-height);
    margin-right: 2px;
    
    display: none;
    align-items: center;
    order: -1;

    color: #FFFFFF;
    background-color: var(--noti-fonc);
    border-radius: 5px;
}

.form-zone-grid {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-auto-rows: minmax(40px, auto);
    grid-gap: 4px;
    padding: 0 4px;
}

.form-champ-cont {
    /* background: #F3F3F3; */
    border-radius: calc(var(--default-field-border-radius) + 2px);
}

.modu-tabl-case .icon-modu-plan,
.donnee .icon-modu-plan,
.donnee-filt .icon-modu-plan {
    opacity: 40% !important;
}

.modu-tabl-case:hover .icon-modu-plan,
.donnee:hover .icon-modu-plan,
.donnee-filt:hover .icon-modu-plan {
    opacity: 90% !important;
    cursor: pointer;
}

td.modu-tabl-case,
td.modu-tabl-case-droi,
td.modu-tabl-case-cent {
    border-bottom: 1px solid #ddd;
}

tr.modu-tabl-tott {
    font-weight: bolder;
    text-align: right;
}

/*============== BOUTON ET AUTRES ELEMENTS QUI REVIENNENT ========= */

.gene-mess-aler {
    width: 100%;
    background-color: var(--noti-fonc);
    color: #fff;
    text-align: center;
}

.gene-bout-titr {
    display: flex;
    align-items: center;
    padding: 20px 5px;
    margin: 5px 0;
    background-color: #fff;
    /*text-transform: uppercase;*/
    /*font-weight: 500;*/
    /*line-height: 1.2;*/
    /*font-size: 130%;*/
    cursor: pointer;
}

.gene-bout-titr:after {
    font-family: 'capilog';
    content: "\e967";
    float: right;
}

.gene-bout-navi,
.gene-bout-navi-sele {
    color: #445F73 !important;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff !important;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.arbo-case .gene-bout-navi,
.arbo-case-gris .gene-bout-navi,
.arbo-equi-gris .gene-bout-navi,
.arbo-equi .gene-bout-navi {
    padding: inherit;
    width: 95%;
    font-size: 90%;
}

.gene-bout-ajou {
    background-color: var(--noti-fonc);
    color: #fff;
    width: 150px;
    margin: 2px 10px 10px;
}

.gene-bout-navi-sele,
.gene-bout-navi:hover {
    background-color: var(--them-fonc) !important;
    color: #fff !important;
}

.gene-bout-navi:disabled {
    background-color: #fff5;
    color: #999;
}

.gene-bout-inac {
    background-color: #eee !important;
    border: 1px solid #bbb !important;
    color: #bbb !important;
}

.gene-bout-ferm {
    background-color: #EEE;
    color: var(--them-fonc);
    cursor: pointer;
    position: absolute;
    right: 6px;
    top: 6px;
    padding: 3px;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
}

.gene-bout-ferm:after {
    font-family: 'capilog';
    content: "\e95a";
}

/* .gene-bout-ferm:hover {
    color: var(--noti-fonc);
} */

.gene-bout-ferm:hover {
    background-color: var(--noti-fonc);
    color: #FFF;
}

.gene-bout-filt,
.gene-bout-filt-acti {
    cursor: pointer;
    color: #999;
    background-color: #ddd;
    border: 1px solid #ccc;
    min-width: 25px;
    font-size: 80%;
}

.gene-bout-filt-acti {
    background-color: #fff !important;
}

.gene-bout-atte {
    cursor: pointer;
    text-align: center;
    color: #000;
    background-color: #fff;
}

.gene-bout-atte-sele,
.gene-bout-atte:hover {
    background-color: #b57d7d;
    color: #fff;
}

.gene-bout-acti {
    cursor: pointer;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ccc;
    min-width: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gene-bout-supp {
    cursor: pointer;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ccc;
    min-width: 25px;
}

.gene-bout-reco {
    border-bottom: 2px solid var(--noti-fonc);
}

.gene-bout-supp-conf {
    cursor: pointer;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ccc;
    min-width: 25px;
}

.gene-bout-supp-conf:hover {
    background-color: #b57d7d;
    color: white;
}


.gene-bout-supp-sele,
.gene-bout-supp:hover {
    background-color: rgb(236, 0, 0) !important;
    color: white;
}

.gene-bout-drag {
    cursor: grab;
    color: #606060 !important;
    background-color: #ffffff85;
    /*border: 1px solid #ccc;*/
    box-shadow: 1px 1px 3px 1px #ddd;
    min-width: 25px;
    border-radius: 2px;
}

.gene-bout-drag:hover {
    /*filter: grayscale(.5);*/
    box-shadow: 1px 1px 3px 1px #aaa;
}

.gene-bout-drag-sele {
    background-color: #ddd !important;
    cursor: default;
    opacity: .5;
    box-shadow: none !important;
}

.gene-bout-drag.gene-bout-inac {
    cursor: default;
    box-shadow: none !important;
}

.gene-zone-drop {
    border: 3px dashed #ccc !important;
}

.gene-bout-acti button {
    width: 100%;
    height: 100%;
}

.gene-bout-acti:hover .icon {
    text-shadow: none !important;
}

.gene-bout-mail {
    height: 14px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #fff;
    background-color: var(--them-fonc);
    border-radius: 2px;
    outline: none !important;
}

.gene-bout-dblc {
    border: 1px solid var(--them-clai);
}

.gene-bout-dblc:hover {
    border: 1px solid var(--them-medi);
}

.gene-bout-acti-sele,
.gene-bout-navi-sele {
    background-color: var(--noti-fonc) !important;
    color: #fff !important;
    cursor: pointer;
}

.gene-bout-acti:hover,
.gene-bout-mail:hover {
    background-color: var(--noti-medi) !important;
    color: #fff !important;
}

.gene-bord-noti {
    border: 2px solid var(--noti-fonc);
    color: var(--noti-fonc);
}

.gene-bord-gris {
    border: 1px solid #ccc;
}

.gene-bord-them {
    border: 2px solid var(--them-fonc);
    color: var(--them-fonc);
}

/*============== STRUCTURE ========= */

#accu {
    /* background-image: url("../_imag/fond/accu_01.jpg"); */
    background-position: left bottom;
    background-size: cover;
}

#page-accu {
    z-index: 50;
    background-color: #fff;
}

#page-modu {
    /*ICI PASSER EN DISPLAY:NONE POUR MASQUER ET AFFICHER LA PAGE ACCUEIL*/
    display: none;
    z-index: 100;
    background-color: #fff;
    overflow: hidden;
}

#page-modu-tran {
    display: flex;
    position: relative;
    top: 0px;
    transition-duration: .5s;
    max-width: 100%;
    width: 100%;
    height: calc(100%);
    transform: translateX(-100%);

}

#page-modu-tran.affi-edit {
    transform: translateX(-200%);
}

#page-modu-tran.affi-supp {
    transform: translateX(-300%);
}

#page-modu-tran.affi-rech {
    transform: translateX(0%);
}

#page-modu-tran.sans-list {
    transform: translateX(100%);
}

#page-modu-tran.sans-list #modu-list {
    display: none !important;
}

#page-modu-tran.sans-list #modu-rech {
    display: none;
}

#page-modu-tran.sans-list.affi-edit {
    transform: translateX(0%);
}

#page-modu-tran.sans-list.affi-supp {
    transform: translateX(-100%);
}

#page-modu-tran.sans-list.affi-rech {
    transform: translateX(0%);
}

#page-modu-tran.sans-list.affi-rech #modu-rech {
    display: block;
}

#page-spec {
    background-color: #fff;
    inset: 0;
    position: absolute;
    z-index: 580;
    display: none;
    overflow: auto;
}

#page-logo {
    position: fixed;
    width: 70px;
    height: 0px;
    bottom: 20px;
    right: 20px;
    display: flex;
    z-index: 50;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.accu-cont {
    width: 100%;
    height: calc(100% - 15px);
}

.accu-cont .accu-cont-noti {
    display: none;
    width: 100%;
    padding: 0 10px;
    margin-top: 60px;
    height: calc(100% - 60px);
}

#accu-cont-noti-bout {
    position: fixed;
    top: 80px;
    right: 0;
    z-index: 150;
    background-color: #e36b0a;
    color: #fff;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    font-size: 160%;
}

.accu-cont-widg {
    width: 100%;
    height: 100%;
}

.accu-widg-legs {
    position: absolute;
    bottom: 2%;
    left: 95%;
    width: 50%;
    max-width: 90%;
    background-color: #fffc;
    transition: 1s;
}

.accu-widg-legs:hover {
    left: 50%;
}

#accu-actu {
    align-items: flex-end;
    overflow-y: auto;
}

#actu-notif-titre {
    width: 100%;
    min-width: 100px;
    text-align: center;
    border-radius: 5px;
}

#corp-notif {
    display: none;
    position: fixed;
    z-index: 300;
    right: 0px;
    top: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    flex: 0 0 16.666667%;
    /*width: 16.666667%;*/
    height: calc(100% - 80px);
    overflow: auto;
    border: 1px solid #c4c0c0;
    box-shadow: 2px 2px 2px #c4c0c0;
    padding: 10px;
    font-size: 120%;
}

.actu-boite {
    border-radius: 5px;
    position: relative;
    margin: 5px 0;
}

.actu-boite-cont {
    padding: 5px;
    min-height: 80px;
}

.actu-boite-cont-titr {
    width: 100%;
    color: #777;
    border-bottom: 1px solid #f2f2f2;
}

.actu-boite-cont-mess {
    overflow: hidden;
}

.actu-boite-cont-util {
    margin-top: 5px;
    font-size: 80%;
}

.accu-xs-navi {
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 75%;
}

/* #page-modu-erre {
    transition: 3s;
    padding-left: 5px;
    border-radius: 5px;
    background-color: var(--noti-fonc);
    color: #fff;
    font-size: 120%;
    position: absolute;
    right: 55px;
    top: 40px;
    z-index: 100;
    width: 500px;
    max-width: 100%;
} */

#page-modu-erre {
    width: 500px;

    position: absolute;
    right: 0;
    top: 40px;
    z-index: 100;

    display: flex;
    align-items: flex-start;
    background: transparent;

    transform: translateX(calc(500px - 48px - 4px - 4px));
    transition: 2s ease-in-out transform;
}

#page-modu-erre.eten {
    transform: translateX(0);
    transition: 2s ease-in-out transform;
    animation: none;
}

#page-modu-erre > #page-modu-erre-cont {
    padding: 4px;
    background: var(--noti-fonc);
    border-radius: 6px 0 0 6px;
}

#page-modu-erre > #page-modu-erre-cont > #page-modu-erre-bout {
    width: 48px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--noti-fonc);
    background: #EEEEEE;
    border-radius: 4px;
}

#page-modu-erre.eten #page-modu-erre-bout > .icon-acti-gauc,
#page-modu-erre.eten #page-modu-erre-bout > .icon-modu-crit { display: none; }

#page-modu-erre:not(.eten) #page-modu-erre-bout > .icon-acti-droi { display: none; }
#page-modu-erre:not(.eten) #page-modu-erre-bout:not(:hover) > .icon-acti-gauc { display: none; }
#page-modu-erre:not(.eten) #page-modu-erre-bout:hover > .icon-modu-crit { display: none; }

#page-modu-erre-mess {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    
    padding: 4px;
    background-color: var(--noti-fonc);
    color: #FFFFFF;
    border-radius: 0 0 0 6px;
}

.accu-xs-navi .navi-bout {
    width: 70px;
    height: 70px;
    border-radius: 30%;
    padding: 5px;
    margin: 5px;
    color: #fff;
    font-size: 300%;
}

.petit-text {
    font-size: 75%;
}

.zone-bout {
    border-bottom: 1px solid var(--them-fonc);
    margin-bottom: 5px;
    padding: 5px;
    min-height: 30px;
}

svg circle {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #666;
    transform: translate(5px, 5px)
}

svg circle:nth-child(2) {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    stroke: #00ff43;
}

#page-head {
    display: flex;
    position: fixed;
    left: 100px;
    top: 0;
    height: 65px;
    width: 100%;
    z-index: 200;
}

#page-head-logo {
    height: 100%;
    max-height: 100%;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

#page-head-navi {
    width: calc(100% - 200px);
}

#page-head-navi .head-navi-haut {
    height: 65px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

#page-head #mess-envi {
    animation: clignote-doux 2s linear infinite;
    background-color: white;
    color: red;
    font-size: 110%;
    text-align: center;
    position: absolute;
    height: 100%;
    width: 115px;
}

@media screen and (min-width: 576px) {
    #page-head #mess-envi {
        font-size: 140%;
        width: 200px;
    }
}

@media screen and (min-width: 991px) {
    #page-head #mess-envi {
        padding: 0 10px;
        width: 300px;
        font-size: 180%;
    }
}

#page-accu #mess-dump {
    color: red;
}

.page-corp .corp-navi {
    display: none;
    height: 15px;
    font-size: 80%;
    padding: 0px 2px;
    align-items: center;
    justify-content: space-between;
}

.page-corp .corp-navi #corp-navi-notif,
.page-corp .corp-navi #corp-navi-chat {
    width: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 110%;
    position: absolute;
}

.page-corp .corp-navi #corp-navi-notif {
    right: 2px;
}

.page-corp .corp-navi #corp-navi-chat {
    right: 2px;
    background-color: var(--noti-fonc);
    color: #FFF;

    .icon {
        margin: 2px 2px 0 15px;
        font-size: 120%;
    }

    &:not(.active) {
        background-color: #999999;
        cursor: not-allowed;
        pointer-events: none;
    }
}

.page-corp .corp-navi #corp-navi-notif .icon {
    font-size: 120%;
    margin: 2px 2px 0 10px;
}

.page-corp .corp-navi #corp-navi-notif .icon-nav-noti,
.page-corp .corp-navi #corp-navi-chat .icon-acti-chat {
    margin-left: 10px;
}

.page-corp .corp-navi #corp-navi-chem .icon {
    font-weight: bold;
    cursor: pointer
}

#page-head-navi #head-navi-util {
    width: 100%;
}

#page-head-navi #head-navi-mess {
    width: 100%;
    color: var(--noti-fonc);
    position: absolute;
    padding-left: 5px;
    bottom: 0;
    font-size: 90%;
}

#page-head-navi #head-navi-bout {
    width: 0%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#page-head-navi #head-navi-agen,
#page-head-navi #head-navi-aide,
#page-head-navi #head-navi-foru {
    display: none;
    min-width: 15%;
    width: 90px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#page-head-navi #head-navi-agen button,
#page-head-navi #head-navi-aide button,
#page-head-navi #head-navi-foru button {
    width: 100%;
    height: 100%
}

#page-head-navi #head-navi-agen .icon,
#page-head-navi #head-navi-aide .icon,
#page-head-navi #head-navi-foru .icon {
    font-size: 240%;
}

#page-gest-repe {
    .fake-select {
        font-size: 12px;
        flex-grow: 1;
    }
}

.page-corp {
    position: absolute;
    left: 0;
    top: 65px;
    width: 100%;
    height: calc(100% - 65px);
    transition: all 0.3s
}


#modu-list-gran {
    position: absolute;
    width: 100%;
    display: none;
    min-width: 100%;
    height: calc(100% - 20px);
    z-index: 0;
    overflow: auto;
}

#modu-vole {
    position: absolute;
    z-index: 150;
    top: 100%;
    right: -100%;
    background-color: #fff;
    border: 1px solid #ddd;
    width: 100%;
    height: 100%;
    transition-duration: .5s;
    overflow: hidden;
}

#modu-vole:has(#modu-resa-crit) {
    --modu-resa-crit-height: 280px; /* Changer cette variable pour la hauteur du volet des criteres de reservations */
    height: var(--modu-resa-crit-height, 0);
    top: calc(100% - var(--modu-resa-crit-height, 0)) !important;

    display: flex;
    flex-direction: column;
}

#modu-vole.modu-vole-list-gran,
#modu-vole.modu-vole-gauche.modu-vole-list-gran {
    right: 100%;
}

#modu-vole.modu-vole-gauche {
    right: 0%;
}

#vole-choi {
    width: 140px;
}

#modu-list,
#modu-edit,
#modu-supp,
#modu-rech {
    z-index: 100;
    padding: 0;
    width: 100%;
    min-width: 100%;
    height: 100%
}

#modu-edit {
    border-left: 1px solid #999;
}

#modu-edit .modu-zone-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
    padding-bottom: 24px;
}

/* La dernière zone dans le formulaire d'édition prend l'espace restant jusqu'au bas du container */
#modu-edit .modu-zone-container .modu-zone:last-of-type {
    flex-grow: 1;
}

#modu-vole-corp {
    height: 96%;
    overflow: auto;
}

/*#modu-supp-vole{
    transition-duration: .5s;
    border: 1px solid #999; position: absolute; z-index: 100; width: 100%; background-color: #f5f5f5;
}*/

#page-modu-tran.affi-edit #modu-edit {
    z-index: 120;
}

/* Gestion des ombres supp vers edit */
#page-modu-tran.affi-supp #modu-supp {
    z-index: 121;
}


#list-filt {
    display: none;
    z-index: 20;
}

/* Sur mobile afficher en survol le volet des filtres */
/* @media screen and (max-width: 1200px) {
    #modu-list:not(.reduit) #list-filt {
        position: absolute;
        display: block;
        left: 100%;
        top: 0;
    }
} */

.modu-filt-titr {
    border-bottom: 2px solid var(--them-fonc);
    height: 2em;
    font-size: 110%;
    font-weight: bold;
    color: var(--them-fonc);
    width: 100%;
    margin-top: 6px;
}

.modu-filt-noti {
    background-color: var(--noti-fonc);
    color: #fff;
    width: 18px;
    height: 18px;
    font-size: 90%;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
}

.modu-filt-cham {
    width: 100%;
    /*background-color: ;*/
}

.modu-filt-cham input:not([value=""]) {
    border-left: 3px solid var(--noti-fonc);
}

.modu-filt-cham value:not([value="0"]) {
    border-left: 3px solid var(--noti-fonc);
}

.modu-filt-cham span:not(:empty) {
    border-left: 3px solid var(--noti-fonc);
}

.modu-filt-sous {
    border-left: 1px solid var(--them-fonc);
    margin-left: 4px;
    padding-left: 3px;
    margin-bottom: 6px;
    max-height: 0px;
    transition-duration: 2.0s;
    overflow: hidden;
}

.list-cont,
.list-gran-cont {
    width: 100%;
    height: 100%;
}

.list-gran-cont {
    padding: 0 2px;
}

.list-cont:has(#list-corp-fixe) {
    display: flex;
    flex-direction: column;
}

#list-corp-fixe {
    display: flex;
    justify-content: space-between;
    padding: 0 4px 4px 4px;
    gap: 4px;

    font-family: 'Inter';
    background-color: var(--them-fonc);

    z-index: 1;
    box-shadow: 0 8px 20px -5px #00000050;
}

#list-corp-fixe-rech {
    width: 50%;
    max-width: 420px;

    display: flex;
    flex-grow: 2;
    flex-basis: 0;
}

#list-corp-fixe-rech-inpu {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 2px; 
    gap: 4px;
    
    background-color: color-mix(in srgb, var(--coul-modu) 15%, #FFFFFF 85%);
    background: #eee;
    border-radius: 4px;
}

#list-corp-fixe-rech-inpu input[type="text"] {
    height: 100%;
    width: 100%;

    padding-top: 12px;
    padding-left: 4px;

    outline: none;
    border: 1px solid #BABABA;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #FFFFFF;
}

#list-corp-fixe-rech-inpu input[type="text"]:focus {
    border-color: var(--noti-fonc) !important;
}

#list-corp-fixe-rech-inpu input[type="text"]::placeholder {
    opacity: 60%;
}

#list-corp-fixe-rech-inpu > button {
    height: 100%;
}

#list-corp-fixe-rech-inpu #list-corp-fixe-rech-meta {
    width: calc(100% - 2px);
    
    position: absolute;
    top: 2px;
    left: 1px;

    padding: 0 4px 0 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 0.7125rem;
    font-weight: 500;
    color: var(--coul-modu);
    /* border-bottom: 1px solid #EEE; */
    line-height: 12px;
}

/* #list-corp-fixe-filt-effa {
    display: flex;
    color: #CC0000;
    opacity: 50%;
} */

#list-corp-fixe-rech-inpu #effa-filt {
    position: absolute;
    right: 6px;
    top: 2px;
    gap: 2px;
    /* transform: translateX(-50%) translateY(-50%); */
    display: flex;
    align-items: center;

    font-size: 0.75rem;
    opacity: 50%;
}

#list-corp-fixe-rech-inpu #effa-filt:hover,
#list-corp-fixe-filt-effa:hover {
    color: #EE0000;
    opacity: 100%;
}

#list-corp-fixe-ajou {
    width: 50%;
    /* max-width: 50%; */

    display: flex;
    flex-grow: 1;
    flex-basis: 0;
}

#list-corp-fixe-supp {
    width: 50%;
    /* max-width: 50%; */

    display: flex;
    flex-grow: 1;
    flex-basis: 0;
}

@media screen and (min-width: 576px) {
    #list-corp-fixe-supp {
        max-width: 50%;
        flex-grow: 1;
    }
}

#list-corp-fixe-ajou-bout,
#list-corp-fixe-supp-bout {
    width: 100%;
    height: 40px;

    margin: 0;
    padding: 8px 12px;
    gap: 8px;
    justify-content: center;
    align-items: center;

    font-weight: 700;
    color: var(--coul-modu);
    background-color: color-mix(in srgb, var(--coul-modu) 20%, #FFFFFF 80%);
    border-radius: 0.25rem;
}

#list-corp-fixe-ajou-bout:hover {
    color: #FFFFFF;
    background-color: var(--coul-modu);
}

#list-corp-fixe-supp-bout {
    gap: 4px;
    color: #FFFFFF;
    background-color: #AAAAAA;
    cursor: not-allowed;
}

#list-corp {
    width: 100%;
    height: calc(100% - 30px);
    
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 4px;
    
    overflow-y: auto;
    position: relative;

    background-color: #d2d9de;
}

#rech-corp {
    width: 100%;
    height: calc(100% - 130px);

    display: flex;
    flex-direction: column;

    overflow-x: auto;
}

.list-cham-rech {
    min-width: 200px;
}


#list-gran-head {
    display: flex;
    width: 100%;
}


#list-head #list-head-page,
#list-gran-head #list-gran-head-page,
#edit-head #edit-head-page,
#supp-head #supp-head-page,
#rech-head #rech-head-page {
    z-index: 152;
    margin-left: 5px;
    min-width: 90px;
}


#list-head #list-head-titr,
#edit-head #edit-head-titr,
#supp-head #supp-head-titr,
#rech-head #rech-head-titr {
    position: relative;
    white-space: nowrap;
    margin: auto;
    z-index: 150
}

#supp-head {
    flex-direction: row-reverse;
}

#edit-head #edit-head-titr {
    white-space: normal;
    overflow: hidden;
    line-height: 14px;
    height: 100%;
}

#list-head #list-head-bout,
#edit-head #edit-head-bout,
#list-gran-head #list-gran-head-bout,
#rech-head #rech-head-bout {
    z-index: 151;
    font-size: 70%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    min-width: 33%;
}

#list-head-bout.ouvert {
    overflow: visible;
}

#list-head-bout.ferme {
    overflow: hidden;
}

.modu_T_Util {
    text-align: center;
    min-width: 21px;
    padding: 0 5px;
    background-color: #49abc4;
    border-radius: 3px;
    color: #fff;
}

/*#edit-head #edit-head-titr,
#supp-head #supp-head-titr,
#rech-head #rech-head-titr{
    left:-85px;
}*/


#supp-head-titr,
#vole-head-titr {
    text-transform: uppercase;
    padding: 0 5px;
}

#vole-head-titr {
    width: calc(100% - 100px);
    display: flex;
}

#supp-corp-haut {
    transition-duration: .5s;
    height: 50%;
    position: relative;
    overflow: auto;
    /* padding-bottom: 10px; */
}

#supp-corp-haut h3 {
    margin: 10px 5px 5px 5px;
    border-bottom: 1px solid #999;
}

#supp-corp-bas {
    transition-duration: .5s;
    height: 50%;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -2px 5px 0 #00000050;
    background-color: white;
}

#modu-supp-haut-tota {
    width: 100%;
    height: 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 8px;
    background-color: var(--etat-1);
    font-weight: bold;
    color: white;
    text-align: center;
}

#modu-supp-haut-tota > span {
    width: 100%;
}

#supp-corp-filt.visible + #supp-corp-haut #modu-supp-haut-tota > span {
    width: calc(100% - var(--supp-filt-width));
}

:root {
    --supp-filt-width: 240px;
}

#supp-corp-filt.hidden {
    display: none;
}

#supp-corp-filt {
    height: 100%;
    width: var(--supp-filt-width);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    overflow: visible;
}

#modu-supp-filt-hype {
    display: none;
    position: absolute;
    z-index: 10;
    height: 100%;
    right: 0;
    /* width: 300px; */
    width: 240px;
    /* max-width: 60%; */
    background-color: #ffffffdd;
    border: 1px solid #999;
}

#modu-supp-bas-ente {
    width: 100%;
    height: 20px;
    top: 0;
    background-color: var(--noti-fonc);
    color: #fff;
    text-align: center;
    z-index: 1;
    position: relative;
}

#modu-supp-bas-corp {
    width: 100%;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    border-left: 2px solid #999;
    overflow: auto;
    transition-duration: .5s;
}


#list-head #list-head-bout .icon,
#edit-head #edit-head-bout .icon,
#list-gran-head #list-gran-head-bout .icon,
#supp-head #supp-head-bout .icon,
#rech-head #rech-head-bout .icon {
    font-size: 200%;
}

#list-filt #filt-corp {
    /*padding-top: 24px;*/
    /* height: calc(100% - 75px); */
    /* height: calc(100% - 54px); */
    overflow-y: auto;
    position: relative;
    background-color: #FFFFFF;
    font-family: 'Inter';
}

#supp-menu,
#list-gran-menu,
#rech-menu {
    width: 90px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}


#edit-head,
#list-head,
#supp-head,
#rech-head {
    width: calc(100% - 90px);
    height: 32px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}


#filt-head {
    width: 100%;
    min-height: 76px; /* Alignement sur barre recherche */
    /* min-height: 32px; */
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 4px;
}

#edit-head div,
#list-head div,
#supp-head div,
#rech-head div {
    /*height:100%;*/
    /* padding: 1px; */
}

#modu-list-gran #list-head {
    width: 100%;
}

/*#supp-head {
    width: calc(100% - 168px);A CORRIGER
}*/


#edit-corp {
    width: 100%;
    height: calc(100% - 70px);
    
    display: flex;
    flex-direction: column;

    overflow-y: auto;
    /* padding-bottom: 30px; */
}

#edit-choi:has(*),
#supp-choi:has(*),
#supp-choi-hype:has(*) {
    width: 100%;
    height: 56px;
    text-align: center;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    /* justify-content: space-between; */

    z-index: 1;
    border-bottom: 1px solid var(--coul-modu);

    background-color: #FFF; /* fallback */
    background-color: color-mix(in srgb, var(--coul-modu) 45%, #FFF 55%);
}

#supp-choi {
    box-shadow: -10px 0 10px -5px #00000050;
}

#edit-choi:has(#para-head-page) {
    overflow: unset;
}

#edit-choi-mode {
    flex-grow: 1;
}

#edit-choi-acti {
    height: 100%;
    padding: 0;
    
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    
    overflow-x: auto;
    overflow-y: hidden;
}

#supp-choi-titr,
#supp-choi-rech {
    height: 100%;
}

#supp-choi-titr {
    flex-grow: 1;
}

#supp-choi-rech input {
    margin: 10px 0;
}

#supp-choi #supp-choi-bout {
    margin-left: 5px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
}


#edit-choi .edit-choi-bout,
#edit-choi-hype .edit-choi-bout,
#supp-choi .supp-choi-bout {
    font-size: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /*     margin-right: 5px; */
    min-width: 70px;
    white-space: nowrap;
}

#edit-choi-hype .edit-choi-bout {
    color: #00000066
}

.fake-sele-mult-case {
    border: 1px solid #ccc;
    padding: 0 3px 0 1px;
    margin: 0 1px;
}

#edit-choi .edit-choi-bout .icon,
#supp-choi .supp-choi-bout .icon {
    font-size: 143%;
}

.edit-choi-bout {
    position: relative;
}

.gene-puce-noti {
    position: absolute;
    top: 2px;
    right: 2px;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--noti-fonc);
}

.modu-bout-choi {
    width: 100% !important;
    font-size: 100% !important;
    padding: 3px;
    color: #999;
    border-radius: 3px;
    border: 1px solid #999;
    height: 60px;
}

.modu-bout-choi:hover {
    color: #fff;
    background-color: var(--them-fonc);
}

.modu-bout-edit {
    width: 100% !important;
    font-size: 100% !important;
    padding: 3px;
    color: #999;
    border-radius: 3px;
    border: 1px solid #999;
}

.modu-bout-edit:hover {
    color: #fff;
    background-color: #707070;
}

.modu-hype-acti {
    border-bottom: 2px solid var(--noti-fonc);
    border-radius: 1px;
}


#supp-corp {
    width: 100%;
    height: calc(100% - 90px);
    overflow-y: auto;
    position: relative;
}

#modu_supp_gedo_depot,
.modu_supp_gedo_depot {
    border: 2px dashed #E36B0A;
    cursor: pointer;
}

#modu_supp_gedo_depot:hover,
.modu_supp_gedo_depot:hover {
    background-color: #E36B0A15;
    border-style: solid;
}

#modu_supp_gedo_Visu {
    background-color: #ddd;
    height: calc(100% - 25px);
    padding: 5px;
}

#bout-div-vido {
    display: none;
}

@media (min-width: 576px) {
    .accu-cont {
        height: calc(100%);
    }

    .accu-cont .accu-cont-noti {
        display: block;
        width: 30%;
        margin-top: 00px;
        height: 100%;
    }

    .accu-cont .accu-cont-widg {
        width: 70%;
    }

    #accu-cont-noti-bout {
        display: none;
    }

    .page-corp {
        left: var(--page-menu-ferme, 70px);
        width: calc(100% - var(--page-menu-ferme, 70px));
    }


    #page-accu {
        padding: 15px 0 0;
        /*position: relative;*/
    }

    #page-accu-mess {
        position: absolute;
        top: 0;
        height: 15px;
        width: 100%;
        text-align: center;

    }

    #page-menu {
        height: calc(100% - 80px);
        top: 80px;
        width: var(--page-menu-ferme, 70px);
    }

    #page-modu-tran {
        height: calc(100% - 15px)
    }

    #list-head #list-head-titr,
    #edit-head #edit-head-titr,
    #supp-head #supp-head-titr,
    #rech-head #rech-head-titr {
        text-align: center;
    }

    #page-head {
        left: 0px;
    }

    #modu-rech {
        padding: 0 2px;
    }

    #page-head-navi #head-navi-util {
        width: 60%;
    }

    #page-head-navi #head-navi-bout {
        width: 20%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    #page-head-navi #head-navi-agen,
    #page-head-navi #head-navi-aide,
    #page-head-navi #head-navi-foru {
        display: flex;
    }


    #page-head-navi .head-navi-haut {
        border: none;
    }

    .page-corp .corp-navi {
        display: flex;
    }

    .page-corp .corp-navi #corp-navi-chem {
        margin-left: calc(var(--page-menu-ouvert, 180px) - var(--page-menu-ferme, 70px));
    }

    #page-head-logo {
        width: var(--page-menu-ouvert, 180px);
    }

    #corp-navi-chem {
        background-color: #eee;
        display: flex;
        width: 100%;
    }

    .corp-navi-chem-elem {
        background-color: #fff;
        margin: 0 3px;
        padding: 0 3px;
        border: 1px solid #ccc;
        color: #999;
        cursor: pointer;
        max-width: 150px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    #page-head-logo #head-logo-impo {
        width: 100%;
        height: 100%;
        background-color: #d2d9de;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: #707070;
    }

    /*     #page-menu-navi {
        display: block;
    }

    #page-menu.ouvert {
        width: var(--page-menu-ouvert, 180px);
        height: calc(100% - 80px);
    }

    #page-menu-navi .navi-grou-disp,
    #page-menu-navi .page-menu-T_bloc {
        display: none;
    }

    #page-menu.ouvert #page-menu-navi .navi-grou-disp,
    #page-menu.ouvert #page-menu-navi .page-menu-T_bloc {
        display: inline-block;
    }

    #page-menu #menu-navi-lang {
        justify-content: center;
    }

    #page-menu.ouvert #menu-navi-lang {
        justify-content: start;
    }

    #page-menu-navi li div {
        margin-bottom: 20px;
    }

    #page-menu.ouvert #page-menu-navi li div {
        margin-bottom: 0;
    } */

    #page-head-navi {
        width: calc(100% - var(--page-menu-ouvert, 180px));
    }

    #page-spec {
        top: 15px;

    }


    #accu-actu {
        height: 100%;
    }

    #actu-notif-titre {
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 5px;
    }


    #edit-choi,
    #supp-choi {
        order: 4;
    }

    #edit-corp {
        height: calc(100% - 88px);
        overflow-y: auto;
        order: 5;
    }

    #edit-corp:has(.modu-trav-crea) {
        height: calc(100% - 32px);
    }

    #list-corp,
    #rech-corp {
        height: calc(100% - 30px);
    }

    #supp-corp {
        height: calc(100% - 90px);
        order: 5;
        border-left: 1px solid #ccc;
    }
}

/*voir pour changer le point qui me semble trop bas PASSE A 992px */
@media (min-width: 992px) {
    .accu-cont .accu-cont-noti {
        width: 20%;
    }

    .accu-cont .accu-cont-widg {
        width: 80%;
    }


    #page-head-navi #head-navi-util {
        position: absolute;
    }

    #page-head-navi #head-navi-bout {
        min-width: 20%;
        position: absolute;
        right: 0px;
        height: 100%;
    }

    #page-modu-erre {
        top: 104px;
    }

    .page-corp {
        left: var(--page-menu-ferme, 70px);
        width: calc(100% - var(--page-menu-ferme, 70px));
    }

    #page-menu {
        width: var(--page-menu-ferme, 70px);
    }

    #page-modu-tran {
        transform: translateX(-50%)
    }

    #page-modu-tran.affi-edit {
        transform: translateX(-50%)
    }

    #page-modu-tran.affi-supp {
        transform: translateX(-100%)
    }

    #page-modu-tran.affi-rech {
        transform: translateX(0%)
    }

    #page-modu-tran.sans-list.affi-edit {
        transform: translateX(50%);
    }

    #page-modu-tran.sans-list.affi-supp {
        transform: translateX(0%);
    }

    #page-modu-tran.sans-list.affi-rech {
        transform: translateX(50%);
    }

    /* -------- COMA 01/03/2024 ------*/

    /* Ajout supp-gran  */
    #page-modu-tran.affi-supp.affi-supp-gran {
        transform: translateX(-150%);
    }

    #page-modu-tran.affi-supp.affi-supp-gran #modu-supp {
        width: 100%;
        min-width: 100%;
    }

    #page-modu-tran.sans-list.affi-supp.affi-supp-gran {
        transform: translateX(-50%);
    }

    /* ------- FIN COMA 01/03/2024 ------*/


    #page-head {
        left: 0px;
    }

    #page-head-logo {
        width: var(--page-menu-ouvert, 180px);
    }


    /*     #page-menu-navi {
        display: block;
    } */

    #page-head-navi {
        width: calc(100% - var(--page-menu-ouvert, 180px));
    }


    #modu-list,
    #modu-edit,
    #modu-supp,
    #modu-rech {
        width: 50%;
        min-width: 50%;
    }

    #modu-edit.reduit {
        width: 0%;
        min-width: 0%;
    }


    /*    #modu-edit {
            width: 20%;
            min-width: 20%;
        }
        #modu-supp {
            width: 80%;
            min-width: 80%;
        }*/
    #modu-list {
        display: block;
    }

    #modu-edit {
        display: flex;
        flex-direction: column;
    }

    #modu-edit.modu-edit-gran {

        width: 100%;
        min-width: 100%;
    }

    #edit-menu,
    #supp-menu,
    #rech-menu {
        width: 85px;
    }


    #edit-head,
    #supp-head,
    #rech-head {
        width: calc(100% - 85px);
    }


    #modu-vole {
        width: 50%;
        right: -50%;
    }

    #modu-vole.modu-vole-list-gran {
        right: 100%;
    }

    #modu-vole.modu-vole-gauche.modu-vole-list-gran {
        right: 150%;
    }

    #list-gran-head {
        width: 100%;
    }

    #bout-div-vido {
        display: flex;
    }
}

/*voir si 1200px pas trop petit*/
@media (min-width: 1200px) {

    .accu-cont .accu-cont-noti {
        display: block;
        width: 15%;
    }

    .accu-cont .accu-cont-widg {
        width: 85%;
    }


    #page-head-logo {
        width: var(--page-menu-ouvert, 180px);
    }

    #page-menu {
        width: var(--page-menu-ouvert, 180px);
    }

    #page-menu.ferme {
        width: var(--page-menu-ferme, 70px);
    }

    /* #page-menu .menu-navi-grou {
        height: 32px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    #page-menu.ferme .menu-navi-grou {
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
    } */


    #page-menu.ferme #page-menu-navi li div {
        /* margin-bottom: 20px; */
    }

    /* #page-menu #page-menu-navi li div {
        margin-bottom: 0;
    }

    #page-menu-navi .menu-navi-grou.menu-navi-sele {
        border: none;
        margin: 0;
    }

    #page-menu.ferme #page-menu-navi .menu-navi-grou.menu-navi-sele {
        box-sizing: content-box;
        border-left: 5px solid #fff;
        margin-left: -5px;
    }


    #page-menu-navi li div:nth-child(1):hover,
    #page-menu-navi li div:nth-child(1):active,
    #page-menu-affi:hover,
    #page-menu-affi:active {
        font-weight: 800;
        letter-spacing: 0.05em;
    }*/

    .page-corp {
        left: var(--page-menu-ouvert, 180px);
        width: calc(100% - var(--page-menu-ouvert, 180px));
    }

    .page-corp.grand {
        left: var(--page-menu-ferme, 70px);
        width: calc(100% - var(--page-menu-ferme, 70px));
    }

    /*#page-menu.ferme #page-menu-affi {
        align-items: center;
    }

    #page-menu.ferme #page-menu-affi #page-menu-titr,
    #page-menu.ferme #page-menu-navi .navi-grou-disp,
    #page-menu.ferme #page-menu-navi .page-menu-T_bloc {
        display: none;
        opacity: 0;
    }


    #page-head-navi {
        width: calc(100% - var(--page-menu-ouvert, 180px));
    }*/

    .page-corp .corp-navi #corp-navi-chem {
        margin-left: 0;
    }

    .page-corp.grand .corp-navi #corp-navi-chem {
        margin-left: calc(var(--page-menu-ouvert, 180px) - var(--page-menu-ferme, 70px));
    }

    /*#page-menu-navi li {
        text-align: left
    }

    #page-menu.ferme #page-menu-navi li {
        text-align: center;
    } */

    #list-filt {
        /* display: block; */
        display: flex;
        flex-direction: column;
    }

    /*     #page-menu #page-menu-navi .navi-grou-disp,
    #page-menu #page-menu-navi .page-menu-T_bloc {
        display: inline-block;
        opacity: 100;
    } */

    #modu-list .list-row {
        justify-content: flex-end;
    }

    #modu-list.reduit #list-filt {
        display: none;
    }

    #modu-list.reduit .list-cont {
        width: 100%;
        transition: 0.5s ease;
    }

    #list-filt {
        width: 20%;
    }

    .list-cont {
        width: 80%;
    }

    #list-head {
        width: 100%;
    }

    #list-menu {
        display: none;
    }

    #list-gran-menu {
        display: none;
    }

    #list-head #list-head-page,
    #list-gran-head #list-gran-head-page,
    #edit-head #edit-head-page,
    #supp-head #supp-head-page,
    #rech-head #rech-head-page {
        width: 33%;
    }


    #list-head #list-head-titr,
    #edit-head #edit-head-titr,
    #supp-head #supp-head-titr,
    #rech-head #rech-head-titr {
        min-width: 33%;
    }

    #list-head,
    #edit-head #edit-head-bout,
    #list-gran-head #list-gran-head-bout,
    #rech-head #rech-head-bout {
        min-width: 40%;
    }

    #list-head-bout {
        min-width: 33%;
    }

    #supp-choi #supp-choi-bout {
        width: 50%;
    }

}

/* ============================================================== LISTES ====================================================== */

.list-corp-lign:not(#list-corp-lign-ajou) {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    cursor: pointer;

    background-color: #fff;
    border-radius: 0 8px 0 8px;
    transition: 150ms ease;

    .row {
        min-height: 50px;
    }
}

.list-corp-lign:hover {
    z-index: 1;
    box-shadow: 0 0 10px 3px #00000040;
    transition: 150ms ease;
}

.list-corp-lign > .list-corp-lign-cont {
    min-height: 50px;

    display: flex;
    flex-wrap: nowrap;

    padding: 6px;
    margin: 0;

    border-left: 3px solid var(--coul-modu);
    border-bottom: 3px solid var(--coul-modu);
    border-radius: 0 8px 0 8px;
}

.list-corp-lign div {
    overflow: hidden;
    transition: 200ms ease;
}

#list-corp:not(.list-deta):not(.suppr) .list-corp-lign:not(:hover) .col-1 {
    flex: 0 0 0%;
    max-width: 0%;
}

#list-corp:not(.list-deta):not(.suppr) .list-corp-lign:not(:hover) .col-11 {
    flex: 0 0 100%;
    max-width: 100%;
}

#list-corp:not(.list-deta) .list-corp-lign-supp,
#list-corp:not(.list-deta) .list-corp-lign-casB,
#list-corp:not(.list-deta) .list-corp-lign-casD {
    display: none;
}

#list-corp:not(.list-deta) :not(#list-corp-lign-ajou) .row {
    min-height: unset !important;
    height: 50px;
}

.list-corp-lign-none {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 25%;

    background-color: var(--noti-fonc);
    /*left: 0; right: 0;*/
    /*background: repeating-linear-gradient(-45deg, #fff, #fff 9px, #bf3b3199 10px, #bf3b3199 11px);*/
    padding: 2px 8px;
    text-align: center;
    color: var(--noti-clai);
    font-weight: 600;
    font-size: 12px;
    z-index: 3;
    border-radius: 0 0 0 8px;
    box-shadow: -3px 3px 5px 0px rgba(0, 0, 0, 0.25);
}

.list-corp-lign-imag {
    padding: 2px;
    height: 90px;
    overflow: hidden;
    width: 100%;
    text-align: center;
    align-self: center;
}

.list-corp-lign-donn {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* margin-top: 2px; */
    font-size: 110%;
}

.list-corp-lign-casA,
.list-corp-lign-casB {
    width: 100%;
    /* padding-left: 5px; */
}

.list-corp-lign-casA {
    font-size: 100%;
    font-weight: bold;
}

.list-corp-lign-casC,
.list-corp-lign-casD {
    width: 50%;
    text-align: center;
}

.list-corp-lign-casD {
    line-height: 12px;
}

.list-corp-lign-imag img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
}

.list-corp-lign-bout {
    /* padding-right: 2px; */
    display: flex;
    height: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.list-corp-lign-bout button {
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #999;
    border-radius: 3px;
    cursor: pointer;
    font-size: 150%;
    /* padding: 3px; */
    width: 1.5em;
    width: 1.5em;
    margin-bottom: 1px;
}

.list-corp-lign-bout button img {
    width: 15px;
}

.list-corp-lign-supp {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    font-size: 80%;
    margin-top: 2px;
}

.list-corp-lign-supp .larg-20p {
    width: 19%;
    margin: 0 .5%;
    text-align: center;
}

.list-corp-lign-supp .larg-1 {
    width: 23%;
    margin: 0 .5%;
    text-align: center;
}

.list-corp-lign-supp .larg-2 {
    width: 49%;
    margin: 0 .5%;
    text-align: center;
}

.list-corp-lign-supp .larg-4 {
    width: 100%;
    margin: 0 .5%;
    text-align: left;
}

@media (min-width: 576px) {
    .list-corp-lign-imag {
        width: 25%;
    }

    .list-corp-lign-donn.lign-donn-75 {
        width: 75%;
    }

    .list-corp-lign-donn.lign-donn-100 {
        width: 100%;
    }

    .list-corp-lign-casA,
    .list-corp-lign-casB {
        width: 75%
    }

    .list-corp-lign-casC,
    .list-corp-lign-casD {
        width: 25%;
        font-size: 90%;
    }

    #list-corp-lign-ajou {
        /* min-height: 56px; */
        display: flex;
        /* margin-top: 2px; */
        background-color: transparent !important;
    }

    #list-corp-lign-ajou > button {
        border-radius: 4px;
    }
}


/* ============================================================== EDITIONS ====================================================== */
#edit-corp {
    /*    display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-gap: 1px;
        grid-auto-rows: minmax(30px, auto);*/
}


#edit-corp h3 {
    width: 100%;
    padding-left: 10px;
}

h3 input {
    color: inherit;
}

/* Shadow sur edit-choi seulement si scrolled */
#modu-edit:has(#edit-corp > .modu-zone-container.scrolled) #edit-choi {
    box-shadow: 0 5px 30px 0 #00000030;
}

#edit-corp .modu-zone.coul-fond, #filt-corp.coul-fond {
    background-color: #FFF; /* fallback */
    background-color: color-mix(in srgb, var(--coul-modu) 20%, #FFF 80%);
}

#edit-corp .modu-zone-cont .donnee {
    /* 1px de padding pour afficher l'outline sur les éléments qui ont le focus */
    padding: 1px;
}

.libelle {
    min-height: 16px;
    height: 16px;

    /* text-transform: uppercase; */
    color: var(--them-fonc);

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

    font-family: 'Inter';
    font-weight: 500;
    font-size: 11px;
}

#edit-corp .libelle {
    min-height: 14px;
    height: 14px;

    color: var(--them-fonc);
    text-transform: none;

    font-family: 'Inter';
    font-weight: 600;
    font-size: 10px;
}

.donnee,
.donnee-filt {}

.donnee-filt {
    width: calc(100% - 12px)
/*     width: calc(100% - 10px);
    position: relative; */
}

.donnee-filt .filt-sele {
    width: 100%;

    .fake-select::after {
        right: 2px;
    }
}

/* ================== À TRAITER APRES TRANSFORMATION EN COMPOSANTS ================== */
/* .donnee-filt:has(.filt-sele > .capi-fake-sele),
.donnee-filt:has(.filt-sele > .capi-true-sele),
.donnee-filt:has(.capi-cham-text) {
    width: calc(100% - 12px);
} */

/* ========================================= classes spÃ©cifiques ============================================= */

.tout-centre {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.h-100 {
    height: 100%;
}

.h-lg-inherit {
    height: inherit;
}

.si-md {
    display: none;
}

.si-lg {
    display: none;
}

.si-xl {
    display: none;
}

.font-200 {
    font-size: 140%
}

.min-w-100 {
    min-width: 100% !important;
}


@media (min-width: 576px) {
    .si-md {
        display: block;
    }
}


@media (min-width: 992px) {
    .h-lg-inherit {
        height: auto;
    }

    .si-lg-masq {
        display: none !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .si-lg {
        display: block;
    }

    .font-200 {
        font-size: 200%
    }


}

@media (min-width: 1200px) {
    .si-xl {
        display: block;
    }

}

.gene-bout-acti.envi-bout .envi-bout-actif {
    color: green;
}

.gene-bout-acti.envi-bout .envi-bout-inactif {
    color: red;
}

.gene-bout-acti.envi-bout .envi-bout-titre {
    color: var(--noti-fonc);
}

.gene-bout-acti.envi-bout:hover .envi-bout-actif,
.gene-bout-acti.envi-bout:hover .envi-bout-inactif,
.gene-bout-acti.envi-bout:hover .envi-bout-titre,
.gene-bout-acti-sele.envi-bout .envi-bout-actif,
.gene-bout-acti-sele.envi-bout .envi-bout-inactif,
.gene-bout-acti-sele.envi-bout .envi-bout-titre {
    color: inherit;
}

/* ======================================================================= Modale nouveau style ===================================================== */
.capi-moda-head {
    height: 38px;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    color: var(--noti-fonc);
}

.capi-moda-head .capi-moda-titr {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.capi-moda-head .capi-moda-ferm {
    height: 100%;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capi-moda-head .capi-moda-ferm .icon-nav-ferm {
    font-size: 10px;
}

.capi-moda-body {
    display: flex;
    flex-grow: 1;
    margin: 0 8px;
    padding: 8px;
    gap: 4px;
    border-radius: 8px;
    background: #FFFFFF;
}

.capi-moda-foot {
    height: 38px;
    display: flex;
    padding: 8px 8px 8px 12px;
}

.capi-moda-foot .capi-moda-vali {
    height: 100%;
    display: flex;
    align-items: center;
}

.capi-moda-foot .capi-moda-vali button:not(:hover) {
    background: #FFFFFF;
}

.capi-moda-foot .capi-moda-vali button:last-of-type {
    margin-right: 0;
}

.capi-moda-foot .capi-moda-vali .icon-modu-cont {
    font-size: 10px;
}

#page-agen-edit {
    display: none;
    color: #000 !important;
    position: absolute;
    width: 50%;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
}

#grpt-plan-edit {
    display: none;
    color: #000 !important;
    position: fixed;
    max-width: 80%;
    z-index: 9;
    width: 500px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
    top: 100px;
}

.gene-ongl {
    background-color: var(--them-fonc);
    display: flex;
}

.gene-ongl-masq {
    border-bottom: 2px solid var(--noti-fonc);
    color: #fff;
}

.gene-ongl-acti {
    border: 2px solid var(--noti-fonc);
    border-bottom: 0px solid var(--noti-fonc);
    border-radius: 7px 7px 0 0;
    background-color: #fff;
}

#page-menu .menu-noti-grou,
#page-menu.ferme .menu-noti-grou {
    position: absolute;
    left: 32px;
    bottom: 0px;
    height: 10px;
    width: 10px;
}

#page-menu.ouvert .menu-noti-grou {
    left: 20px;
    bottom: 15px;
}

@media (min-width: 1200px) {

    #page-menu .menu-noti-grou,
    #page-menu.ouvert .menu-noti-grou {
        left: 20px;
        bottom: 15px;

    }

    #page-menu.ferme .menu-noti-grou {
        left: 32px;
        bottom: 0px;
    }
}

/* ======================================================================= Utilisateurs =========================================================== */

.supp-util-acce-bout {
    height: 70px;
    width: 110px;
    margin: 4px;
    font-size: 90%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.supp-util-acce-bout .icon {
    font-size: 150%;
}

.choi-lign-sele {
    border-bottom: 1px solid #bbb;
    width: 90%;
    margin: 2px auto;
}

.choi-lign-sele:hover {
    background-color: #c1c4cc;
}

.choi-lign-sele button {
    margin-top: 3px;
}

#page-spec:has(#trad-plei-edit) {
    .form-bool-fals, .form-bool-true {
        margin: 0;
        transform: scale(0.8);
    }

    .capi-true-sele i, .capi-fake-sele i {
        opacity: 75%;
        transform: scale(0.7) translateX(3px);
    }
}

@keyframes notiExcl {
    0%,
    40% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }
}

.capi-checkbox {
    --width: 12px;
    width: var(--width);
    height: var(--width);

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    background-color: #fff;
    border: 2px solid var(--them-fonc);
    border-radius: 2px;

    &.checked {
        border: none;
        background-color: var(--noti-fonc);

        i {
            font-size: calc(0.6* var(--width));
            color: #fff;
        }
    }

    &:not(.checked) {
        i {
            display: none;
        }
    }
}

.capi-radio-label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    gap: 6px;
    font-size: 12px;
}

.capi-radio-label input[type="radio"] {
    display: none;
}

.capi-radio-label input[type="radio"]:checked+.capi-radio .capi-radio-sele {
    display: block;
}

.capi-radio {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.capi-radio-sele {
    display: none;
}

/* -------- modu-arbo -------- */

#modu_pres_GlobalPlanning {
    font-family: 'Inter';
}

#modu_pres_ToutPlanning {
    font-family: 'Inter';
    background-color: #fff;
}

#modu_pres_ToutPlanning {
    color-scheme: light;
    --modu-pres-back: #FFFFFF;
    --modu-pres-back-lege: #CCCCCC;
    --modu-pres-text: #000000;
    --modu-pres-text-lege: #666666;
}

#modu_pres_ToutPlanning table {
    border-collapse: collapse;
    border-spacing: 0;
}

#modu_pres_ToutPlanning table tr,
#modu_pres_ToutPlanning table td {
    min-height: 22px;
}

#modu_pres_ToutPlanning.dark {
    color-scheme: dark;
    --modu-pres-back: #18191a;
    --modu-pres-back-lege: #656565;
    --modu-pres-text: #FFFFFF;
    --modu-pres-text-lege: #BABABA;
}

#modu_pres_ToutPlanning.dark {
    background-color: var(--modu-pres-back);
}

#modu_pres_ToutPlanning.dark #modu_pres_TitrPlanning {
    background-color: var(--modu-pres-back);
}

#modu_pres_ToutPlanning.dark .modu-pres-grou-bout {
    color: var(--modu-pres-text) !important;
    background-color: transparent !important;
}

#modu_pres_ToutPlanning.dark .modu-pres-grou-bout button {
    color: var(--modu-pres-text) !important;
    background-color: transparent !important;
}

#modu_pres_ToutPlanning.dark th {
    border-color: var(--modu-pres-text) !important;
    color: var(--modu-pres-text) !important;
    background-color: var(--modu-pres-back) !important;
}

#modu_pres_ToutPlanning.dark th>span {
    color: var(--modu-pres-text-lege) !important;
}

#modu_pres_ToutPlanning.dark #modu_pres_ZonePlanning .modu-tabl-ligt:nth-of-type(even) {
    background-color: transparent !important;
    color: var(--modu-pres-text) !important;
}

#modu_pres_ToutPlanning.dark #modu_pres_ZonePlanning .modu-tabl-ligt:nth-of-type(odd) {
    background-color: var(--modu-pres-back-lege) !important;
    color: var(--modu-pres-text) !important;
}

#modu_pres_ToutPlanning.dark #modu_pres_ZonePlanning .modu-tabl-ligt td {
    background-color: transparent !important;
    color: var(--modu-pres-text) !important;
}

#modu_pres_ToutPlanning.dark #modu_pres_ZonePlanning .modu-tabl-ligt td>div>i {
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--modu-pres-text);
    border-radius: 4px;
}

#modu_pres_ToutPlanning .modu-pres-post-trav-1 {
    color: var(--modu-pres-back);
}

#modu_pres_ToutPlanning .modu-pres-post-trav-0 {
    color: var(--modu-pres-text);
}

#modu_pres_ToutPlanning.dark .modu-pres-post-trav-1 {
    /*     border: 1px solid var(--modu-pres-text); */
    color: var(--modu-pres-text);
}

#modu_pres_ToutPlanning.dark .modu-pres-post-trav-0 {
    /*     border: 1px solid var(--modu-pres-text); */
    color: var(--modu-pres-text);
}

#modu_pres_ToutPlanning img {
    background-color: #FFFFFF;
}

.modu-pres-head-bout {
    display: flex;
    flex-direction: row;
    align-items: center;

    border-radius: 4px;
    overflow: hidden;

    button {
        :not(i) {
            flex-grow: 1;
        }
    }
}

#pres-trad,
.modu-pres-head-bout,
.modu-pres-grou-bout {
    font-family: 'Inter';
    font-size: 10px;

    button {
        height: 22px;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        font-weight: 500;
        /* background-color: #eee;
        color: #333; */
        border-radius: 4px;
    }

    button:focus {
        outline: none;
    }
}

.modu-pres-bout-xlarg {
    min-width: 120px;
}

.modu-pres-bout-larg {
    min-width: 80px;
}

.modu-pres-bout-peti {
    width: 22px;
}

#modu-pres-affe-post {
    .gene-bout-acti {
        height: 100%;
        border: none;
    }
}

.modu-pres-para-rota {
    font-family: 'Inter';

    .libelle {
        align-items: center;
        font-size: 12px;
        font-weight: 600;
        color: var(--them-fonc);
    }

    .donnee {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-weight: 600;
        color: var(--noti-fonc);

        .fake-select,
        input {
            width: 100%;
        }
    }

}

@media screen and (min-width: 1200px) {

    #pres-trad,
    .modu-pres-head-bout {
        font-size: 12px;
    }

    .modu-pres-bout-larg {
        min-width: 120px;
    }

    .modu-pres-bout-xlarg {
        min-width: 180px;
    }
}

/*.arbo-zone-drop:hover { background-color: red; }*/
#C_Serv_arbo_0 {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.para-arch {
    background: repeating-linear-gradient(45deg, #eee, #eee 3px, #bbb 3px, #bbb 6px);
    filter: grayscale(1);
}


.envo-0 {
    display: inline;
    font-weight: bold;
    color: #a0a0a0;
}

.envo-1 {
    display: inline;
    font-weight: bolder;
    color: #9c27b0;
}

.envo-2 {
    display: inline;
    color: #e861ff;
}

.envo-3 {
    display: inline;
    color: #8bc34a;
}

/*============================== couleur Trav ================================*/
.modu-trav-etat-0 {
    display: inline;
    text-align: center;
    padding: 2px 5px;
    color: white;
    background-color: var(--etat-0);
}

.modu-trav-etat-1 {
    display: inline;
    text-align: center;
    padding: 2px 5px;
    color: white;
    background-color: var(--etat-1);
}

.modu-trav-etat-2 {
    display: inline;
    text-align: center;
    padding: 2px 5px;
    color: white;
    background-color: var(--etat-2);
}

.modu-trav-etat-3 {
    display: inline;
    text-align: center;
    padding: 2px 5px;
    color: white;
    background-color: var(--etat-3);
}

.modu-trav-etat-4 {
    display: inline;
    text-align: center;
    padding: 2px 5px;
    color: white;
    background-color: var(--etat-4);
}

.modu-list-card-titr {
    display: block;

    font-family: 'Inter';
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modu-list-card-sous-titr {
    display: block;
    padding-left: 1rem;

    color: #666666;
    font-family: 'Inter';
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modu-list-card-arbo {
    display: block;
    padding-left: 1rem;

    font-family: 'Inter';
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-corp-lign-supp {
    font-family: 'Inter';
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1rem;
}

.list-corp-lign-supp:has(.modu-list-card-supp-data) div {
    text-align: start;
}

.modu-list-card-supp-data {
    display: block !important;
    margin-left: 8px;

    font-family: 'Inter';
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modu-list-card-tag,
.modu-trav-etat-0, .modu-trav-etat-1, .modu-trav-etat-2, .modu-trav-etat-3, .modu-trav-etat-4 {
    display: block;

    padding: 4px;
    border-radius: 6px;

    font-family: 'Inter';
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.0625rem;
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}

.modu-trad-flex-sepa>div::after {
    content: '/';
}

.modu-trad-past-crit {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin: 4px;
    background-color: red;
    border-radius: 50%;
    animation: crit-noti 1.5s linear infinite;
}

@keyframes crit-noti {
    0% {
        opacity: 100;
    }

    50% {
        opacity: 0;
    }
}

.modu-trad-tag {
    .modu-trad-past-crit {
        width: 8px;
        height: 8px;
        margin: 0;
    }

    .icon-nav-ferm {
        width: 8px;
        height: 8px;
        display: none;
    }
}

.modu-trad-tag:hover {
    .modu-trad-past-crit {
        display: none;
    }

    .icon-nav-ferm {
        display: flex;
        align-items: center;
    }
}

/* -------------------- modu prev plan ------------------- */
#modu-prev-head {
    transition: margin 0.3s ease;
    margin-top: 0;
    z-index: -1;
}

#modu_prev_listPrev {
    .info-bull {
        width: 160px;

        position: absolute;
        top: 0;
        transform: translateY(calc(-100% - 10px));
        right: 5px;
        z-index: 1; 
        
        padding: 4px;

        font-size: 12px;
        background: #FFFFFF;
        border: 1px solid var(--noti-fonc);
        border-radius: 4px;
        box-shadow: 0 0 15px 0 #00000025;
    }
} 

#lign-tra0,
#lign-tra1,
#lign-tra2 {
    height: 0%;
    transition: height 0.5s ease;
}

#lign-tra0.expand,
#lign-tra1.expand,
#lign-tra2.expand {
    height: 100%;
}

div.modu-tabl-lign,
div.modu-tabl-titr,
div.modu-tabl-filt,
div.modu-tabl-tota {
    display: flex;
    padding-bottom: 2px;
    border-bottom: 1px solid #bbb;
    margin: 3px auto;
    max-width: 100%;
}

tr.modu-tabl-lign,
tr.modu-tabl-titr,
tr.modu-tabl-filt,
tr.modu-tabl-tota {
    padding-bottom: 2px;
    border-bottom: 1px solid #bbb;
    margin: 3px auto;
    max-width: 100%;
}

tr.modu-tabl-titt {
    text-align: center;
    font-weight: bold;
    color: var(--noti-fonc);
}

.modu-tabl-lign.modu-tabl-lign-drop {
    cursor: grab;
}

.modu-tabl-lign.modu-tabl-lign-drop .modu-tabl-case-drop {
    padding: 0 2px;
    position: relative;
    color: var(--them-medi);
}


.modu-tabl-lign.modu-tabl-lign-drop:hover {
    box-shadow: 1px 1px 3px 1px #aaa;
}

.modu_rien {
    padding-top: 50px;
    width: 100%;
    font-size: 200%;
    color: #999;
    text-align: center;
}

.modu-tabl-lign:hover {
    /* border-bottom: 2px solid var(--noti-fonc); */
    background-color: #FFF; /* fallback */
    background-color: color-mix(in srgb, var(--noti-fonc) 10%, #FFFFFF 90%);
}

.lign-tabl-real:hover {
    border-bottom: 2px solid var(--noti-fonc);
}

.modu-tabl-titr {
    color: var(--noti-fonc);
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    align-items: center;
}

.modu-tabl-filt {
    margin: 0 auto;
    padding-top: 2px;
    background-color: #ddd;
}

.modu-tabl-filt .capi-true-sele > select,
.modu-tabl-case .capi-true-sele > select {
    padding: 0 2px;
}

.modu-tabl-tota {
    background-color: var(--them-medi);
    font-weight: bold;
}

.modu-tabl-case,
.modu-tabl-case-cent,
.modu-tabl-case-droi {
    padding: 0 2px;
    text-align: left;
    border-left: 1px solid #bbb;
    position: relative;
    word-wrap: break-word;
}

div.modu-tabl-case,
div.modu-tabl-case-cent,
div.modu-tabl-case-droi {
    width: 180px;
}

.modu-tabl-case-droi {
    text-align: right;
}

.modu-tabl-case-cent {
    text-align: center;
}

.etat-poin-0::before, .etat-poin-1::before, .etat-poin-2::before, .etat-poin-3::before, .etat-poin-4::before {
    content: "\0025CF";
    line-height: 0;
}
.etat-poin-0::before {
    color: var(--etat-0);
}

.etat-poin-1::before {
    color: var(--etat-1);
}

.etat-poin-2::before {
    color: var(--etat-2);
}

.etat-poin-3::before {
    color: var(--etat-3);
}

.etat-poin-4::before {
    color: var(--etat-4);
}


/* ============= RAPPORTS =============== */
.stat-titr {
    color: #fff;
    background-color: #999;
    text-align: center;
}

.stat-lign {
    border-bottom: 1px solid #ccc;
}

.stat-lign:hover {
    background-color: #f9dec9;
}

.stat-lign-case {
    border-right: 1px solid #ccc;
}

/* ============= QUESTIONNAIRES =============== */
.ques-repo img {
    border: 1px solid transparent;
}

.ques-repo-sele img {
    border: 1px solid var(--noti-fonc);
}

.ques-popu-tabl {
    right: auto;
    width: 100%;
}

.acti-bout {
    width: 45px;
    height: 45px;
    font-size: 150%;
}

.acti-bout-margin {
    margin: 0.5px calc(100% - 30px);
}

.acti-bout-margin-bis {
    margin: 2px 0;
}

@media (min-width: 992px) {
    .ques-popu-tabl {
        right: auto;
        width: 50%;
    }

}

#modu-ques_lign-conf-effa-fils+label {
    background-color: white;
    color: rgb(236, 0, 0);
}

#modu-ques_lign-conf-effa-fils:checked+label {
    background-color: rgb(236, 0, 0);
    color: white;
}

/* ============= FORMULAIRES =============== */
.form-bool-fals,
.form-bool-true {
    width: 40px;
    min-width: 40px;
    text-align: center;
    padding: 1px;
    border-radius: 9px;
    height: 18px;
    cursor: pointer;
    color: #000;
    margin: 2px 8px;
    font-size: 11px;
}

.modu-tabl-case .form-bool-fals,
.modu-tabl-case .form-bool-true {
    margin: 1px 0;
}

.modu-tabl-case .capi-cham-text,
.modu-tabl-case .capi-cham-data {
    margin: 0 !important;
}

.modu-tabl-case input,
.modu-tabl-case select,
.modu-tabl-case textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 2px !important;
}

.modu-tabl-case .capi-cham-data,
.modu-tabl-case input,
.modu-tabl-case select {
    text-overflow: clip !important;
}

.form-bool-fals {
    background-color: #e7bbbb;
}

.form-bool-true {
    background-color: #c3d9c0;
}

.form-bool-curs-fals,
.form-bool-curs-true {
    box-shadow: 1px 1px 1px #999;
    width: 16px;
    border-radius: 7px;
    height: 16px;
}

.form-bool-curs-fals {
    float: left;
    border: 1px solid #c75151;
    background-color: #c75151;
}

.form-bool-curs-true {
    float: right;
    border: 1px solid #629a59;
    background-color: #629a59;
}

.form-bool-inac {
    background-color: #e0e0e0 !important;
    border-color: #bbb !important;
    color: #999;
}

.icon-prov:before {
    content: "?" !important;
}

.gene-bout-para {
    position: absolute;
    bottom: 1px;
    right: 1px;
    font-size: 100%;
    color: var(--noti-fonc);
}

.immo-case-attr,
.immo-case-attr-nume,
.immo-case-attr-bool {
    min-width: 40px;
    height: 21px;
    border-bottom: 1px solid #ccc;
}

.immo-case-attr-nume {
    text-align: right;
}

.immo-case-attr-bool {
    text-align: center;
}

.modu-rapp-para {
    background-color: #fff;
    border-right: 1px solid #555;
    display: flex;
    width: 270px;
    height: 100%;
    transition: 1s;
    position: relative;
}

.modu-rapp-para-bout {
    position: absolute;
    left: 100%;
    top: 0px;
    background-color: #999;
    color: #fff;
    border: 1px solid #999;
    border-radius: 0 6px 6px 0;
    z-index: 3;
    min-width: 30px;
}

.modu-mess {
    margin: 5px 3%;
    width: 94%;
}

.modu_mess_edit {
    margin: 5px 3%;
    width: 94%;
    padding: 5px;
    border: 1px solid #999;
    background-color: #fff;
    border-radius: 5px;
    min-width: 210px;
}

.modu_mess_edit-masq {
    margin: 5px 3%;
    width: 94%;
    padding: 1px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    height: 21px;
}

#page-debu {
    z-index: 10000;
    position: absolute;
    bottom: 10px;
    left: 100px;
    width: 40%;
    display: none;
    border: 1px solid #000;
    background-color: #4e606dc9;
    color: #fff;
    overflow: hidden;
    height: 100px;
    padding: 25px 30px 5px 5px;
}

#page-debu-mess {
    max-height: 100%;
    overflow: auto;
}


.proc-acti-titr {
    text-align: left;
    width: 100%;
}

.proc-acti-text {
    text-align: left;
    display: inline-block;
}

.proc-acti-vale {
    text-align: right;
    display: inline-block;
    float: right;
}

.proc-acti-sais {
    text-align: left;
    float: right;
    width: 100%;
}

.proc-acti-bout {
    text-align: center;
    display: inline-block;
    float: right;
}

.proc-zone-depl {
    height: 7px;
    background: repeating-linear-gradient(45deg, #eee, #eee 3px, #bbb 3px, #bbb 6px);
    transition-duration: .5s;
}

.proc-zone-depl-hove {
    height: 20px;
    background: repeating-linear-gradient(45deg, #eee, #eee 3px, var(--noti-fonc) 3px, var(--noti-fonc) 6px);
    transition-duration: .5s;
    /*background: repeating-linear-gradient(45deg, #eee, #eee 3px, #bbb 3px, #bbb 6px);*/
}

.modu-cont-proc {
    border: 1px solid #999;
    background-color: #eee;
    border-radius: 5px;
    padding: 3px;
    margin: 3px 3px 6px 50px;
}

#page-agen {
    position: fixed;
    top: 3px;
    right: 3px;
    width: 0px;
    height: 0px;
    border-radius: 3px;
    z-index: 500;

    opacity: 0;
    transition: 1s;
    cursor: auto;
    --coul-modu: var(--coul-trav);
}

#page-agen-masq {
    display: none;
    position: fixed;
    background-color: #3339;
    transition: 1s;
    inset: 0;
    z-index: 499;
}

.page-agen-ouve {
    height: calc(100vh - 100px) !important;
    width: calc(100vw - 150px) !important;

    margin: 50px 75px !important;
    /*     border: 3px solid var(--them-fonc); */

    overflow-x: clip;

    background-color: #fff;
    opacity: 1 !important;
}

#page-info-dump {
    display: none;
    color: #fff;
    background-color: var(--them-fonc);
    cursor: pointer;
}

#page-info-dump.warning {
    background-color: white;
    color: red;
    animation: clignote 1s linear infinite;
}

.grou-page-aide {
    padding-bottom: 10px;
    overflow: hidden;
    right: 0;
    bottom: -15px;
    display: flex;
    position: absolute;
    height: 94%;
    width: 100%;
    transition-duration: 0.2s;
}

.page-aide-arbo {
    overflow: hidden;
    right: 0;
    bottom: 33px;
    display: flex;
    position: absolute;
    z-index: 5;
    width: 50%;
    transition-duration: 0.3s;
}

@media (max-width: 576px) {
    .page-aide-arbo {
        height: 40%;
        width: 100%;
    }
}

.page-aide-ctrl {
    height: 100%;
    padding-bottom: 35px;
    overflow: hidden;
    width: 100%;
    transition-duration: 0.2s;
}

.bouton-rendu {
    font-size: 150%;
    color: white;
    height: 100%;
    padding: 0 15px;
}

.bouton-rendu:hover {
    background-color: white;
    color: #62718C;
}

.page-aide-boutton {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
    min-width: 150px;
    height: 200px;
    margin: 10px;
    padding-top: 20px;
    font-size: 180%;
    text-decoration: none;
    border: 1px #82929e solid;
    background-color: white;
    border-radius: 5px;
    filter: grayscale(100%);
    color: #a0a4ad;
    transition-duration: 0.25s;
}

@media(max-width: 1550px) {
    .page-aide-boutton {
        font-size: 130%;
    }
}

.page-aide-boutton img {
    opacity: 0.15;
    transition-duration: 0.25s;
}

.page-aide-nondispo {
    position: absolute;
    border-radius: 2px;
    background-color: var(--noti-fonc);
    font-size: 60%;
    color: white;
    padding: 0 10px;
    margin-top: 95px;
}

.page-aide-boutton:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
    color: #4c565e;
    background-color: var(--them-medi);
}

.page-aide-boutton:hover img {
    opacity: 1;
}

.tabl-modu tr {
    border-bottom: 1px solid #aaa;
}

.tabl-modu th, .tabl-modu td {
    border-left: 1px solid #ddd;
}

.jljo-case {
    border: 1px solid #fff;
    min-height: 5px;
    background-color: var(--them-medi);
    padding: 2px;
    font-size: 75%
}

/*.jljo-case:hover {
    background-color: var(--them-clai);
}*/

.jljo-plan-bord {
    height: 100%;
    width: 3px;
}

.jljo-plan-bord:hover {
    cursor: ew-resize
}


#aide-bout-serv {
    display: none;
}

@media screen and (min-width: 1024px) {
    #aide-bout-serv {
        z-index: 100;
        position: fixed;
        bottom: 8px;
        right: 100px;
        height: 6rem;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        color: #E36B0A;
        background-color: #fff;
        border: 2px solid #E36B0A;
        border-radius: 12px;
        padding: 8px;
        cursor: pointer;
        transition: 0.5s;
    }
}

.bout-redu {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 30px;
    max-height: 1rem;
    max-width: 1rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e46c0a;
    background: #fff;
    user-select: none;
}

.resa_sele {
    background: repeating-linear-gradient(45deg, #fff0, #fff0 5px, var(--noti-fonc) 5px, var(--noti-fonc) 10px);
}

#page-arre-serv {
    padding-top: 30px;
    text-align: center;
    display: none;
    border: 1px solid rgb(102, 94, 94);
    border-radius: #fff;
    width: 360px;
    height: 120px;
    font-size: 125%;
    position: fixed;
    top: 42%;
    left: calc(50% - 180px);
    border-radius: 15px;
    background-color: #fff;
    z-index: 2001;
}

#masq-arre-serv {
    display: none;
    background-color: #333d;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 2000;
}


@keyframes slideInFromLeft {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

.rapp-actu {
    position: absolute;
    top: 15px;
    left: -120%;
    background-color: var(--noti-fonc);
    padding: 5px 7px;
    color: white;
    animation: slideInFromLeft 0.5s forwards;
    cursor: pointer;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 120%;
    box-shadow: 0px 10px 20px #666;
    z-index: 10;
}

.drag-preview {
    background-color: white;
    /* Couleur de fond lisible */
    border: 1px solid #ddd;
    /* Bordure claire */
    opacity: 1;
    /* Rend la ligne pleinement visible */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Optionnel : effet visuel */
}

.dragged {
    opacity: 0.6;
}

.drop-indicator td {
    height: 5px;
    background-color: var(--noti-fonc);
    border: none;
    padding: 0;
}

.grpt-etirer {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 5px;
    height: 5px;
    cursor: cell;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 50%, rgb(0, 0, 0) 50%);
}


.lign_trad_ctrl:hover {
    background-color: rgb(225, 225, 225) !important;
}

#page-popu-cale {
    display: none;
    position: absolute;
    z-index: 598;
    
    font-family: Inter;
    border: 1px solid #999;
    box-shadow: 1px 1px 0px #999;
}

#page-popu-cale .cale-case div {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

#page-popu-cale .cale-case:hover div {
    /* fallback */
    background-color: color-mix(in srgb, var(--noti-fonc) 15%, #FFFFFF 85%);
}

.grab {
    cursor: grab;
}

.aide-table {
    margin: 0px;
    padding: 0px;
}

.aide-table>tbody>tr>td {
    padding: 0px;
}

/* =================== Champ édition carte refacto ? ======================= TL */
.donnee-champ .leaflet-left .leaflet-control {
    margin-left: 4px !important;
}

.donnee-champ .leaflet-top .leaflet-control {
    margin-top: 4px !important;
}

.donnee-champ .leaflet-container .leaflet-control-zoom>a {
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    font-size: 18px !important;
}