@import url('/fontes.css');

html {
    min-height: 100%;
    font-family: "Lato", "Signika", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.selInputRouge {
    border: 1px dashed red !important;
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(255, 0, 0, 0.5);
    cursor: copy !important;
    pointer-events: auto !important;
}

.selInputVert {
    border: 1px dashed green !important;
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(0, 255, 0, 0.3)
}

#frTache2 {
    position: fixed;
    background: white;
    width: 400px;
    height: calc(100% - 54px);
    top: 50px;
    right: 0;
    border: 1px solid #CCC;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -2px -2px 5px gray;
    z-index: 99999999
}

.criteres {
    background: #F2F2F2;
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 2px 2px 6px #CCC;
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 10px
}

#criteres {
    background: #F2F2F2;
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 2px 2px 6px #CCC;
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 10px
}

.xdebug-error {
    position: fixed;
    top: 100px;
    left: 100px;
    z-index: 999999999;
    width: calc(100% - 200px);
    height: calc(100% - 200px)
}

.shepherd-has-title .shepherd-content .shepherd-header {
    background: #19BFC6 !important
}

.shepherd-title {
    font-size: 1.4em !important;
    color: white !important
}

#header-fixed {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff
}

.shepherd-button {
    background: #F1474D !important
}

.btAideBack {
    background-color: #AAA !important;
    position: absolute !important;
    left: 10px !important;
    font-size: 9pt !important;
    padding: 5px !important
}

.btAideNext {
    background-color: #8D8 !important;
    font-size: 9pt !important;
    padding: 5px !important
}

.btAideStop {
    background-color: #333 !important;
    font-size: 9pt !important;
    padding: 5px !important
}

.btAideClose {
    background-color: #F88 !important;
    font-size: 9pt !important;
    padding: 5px !important
}

.p1 {
    margin: 2px
}

.p2 {
    margin: 2px
}

.p3 {
    margin: 2px
}

b {
    font-family: "LatoBold"
}

.lineedit {
    font-size: 1em;
    padding: 5px;
    margin: 0;
    text-indent: 5px;
    background: transparent;
    color: #444;
    border: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 100%
}

.lineedit[style*="text-align: right"],
.lineedit[style*="text-align:right"],
input[style*="text-align: right"],
input[style*="text-align:right"],
.lineedit[style*="text-align: center"],
.lineedit[style*="text-align:center"],
input[style*="text-align: center"],
input[style*="text-align:center"],
input.input-datepicker,
input.hasDatepicker,
.input-datepicker,
input[type="number"],
input[type="date"],
input[type="time"],
.tblineedit[style*="text-align: right"],
.tblineedit[style*="text-align:right"],
.tblineedit[style*="text-align: center"],
.tblineedit[style*="text-align:center"] {
    text-indent: 0 !important
}

body {
    font-family: "Lato", "Signika", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 10.5pt;
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: transparent !important
}

.grid-adaptative {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box
}

.grid-adaptative .divdemi {
    flex: 1 1 500px;
    /* Default flex-basis, gets overridden by inline styles */
    width: auto !important;
    /* Override legacy widths */
    margin: 0 !important;
    /* Let the gap handle spacing */
    max-width: 100%;
    /* Prevent overflow on small screens */
    min-width: 0 !important;
    /* Prevent legacy min-widths from breaking the layout */
}

/* Fallback for divdemi used outside of grid-adaptative */
.divdemi {
    display: inline-block;
    vertical-align: top;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: calc(100% - 20px);
    margin: 10px;
    padding: 15px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease
}

.divdemi:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08)
}

textarea {
    resize: vertical !important
}

ul {
    list-style-type: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

a {
    text-decoration: none;
    color: inherit
}

a:hover {
    text-decoration: none;
    color: inherit
}

.on_table_tr:hover {
    border-left: 2px solid #ED5252;
    -webkit-box-shadow: 1px 1px 3px 2px rgba(100, 100, 100, 0.5);
    -moz-box-shadow: 1px 1px 3px 2px rgba(100, 100, 100, 0.5);
    box-shadow: 1px 1px 3px 2px rgba(100, 100, 100, 0.5)
}

li:hover {
    background-image: url(/images/menuSelOn.png);
    background-size: 5px 100%;
    background-repeat: no-repeat;
    background-color: #fff8f8;
    -webkit-box-shadow: 1px 1px 3px 2px rgba(100, 100, 100, 0.5);
    -moz-box-shadow: 1px 1px 3px 2px rgba(100, 100, 100, 0.5);
    box-shadow: 1px 1px 3px 2px rgba(100, 100, 100, 0.5)
}

.tableEdit table,
.tableEdit tr,
.tableEdit td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
    margin: 0
}

#btMenuGEco {
    border: 2px solid blue
}

#btMenuGEco:hover {
    box-shadow: 0 0 4px lightgrey;
    border: 2px solid gray !important
}

#moreinput {
    background-color: #DDD
}

.shadow {
    -webkit-filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 1));
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 1))
}

.mytooltip,
.arrow:after {
    background: #EEE;
    border: 1px solid #333
}

.mytooltip {
    z-index: 999999999;
    position: absolute;
    padding: 5px;
    color: #333 !important;
    border: 1px solid #333 !important;
    border-radius: 10px;
    font-size: 0.8em !important;
    box-shadow: 1px 1px 2px #333;
    min-width: 60px !important;
    width: fit-content !important;
    height: fit-content !important;
    min-width: unset !important;
    min-height: unset !important;
    max-width: unset !important;
    max-height: unset !important
}

.titreSection {
    margin: 5px;
    border: 2px solid white;
    border-radius: 5px;
    width: calc(100% - 15px);
    font-family: LatoBold;
    color: #FFF;
    background: #65798C;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    text-indent: 10px
}

.titreSection2 {
    margin: 5px;
    margin-top: -4px;
    border: 2px solid white;
    border-radius: 5px;
    width: calc(100% - 15px);
    font-family: Lato;
    font-size: 0.9em;
    color: #FFF;
    background: #555;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
    text-indent: 10px
}

.arrow {
    width: 50px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    bottom: -16px
}

.arrow.top {
    top: -16px;
    bottom: auto
}

.arrow.left {
    left: 20%
}

.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 20px;
    height: 20px;
    box-shadow: 1px 1px 2px #333;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.arrow.top:after {
    bottom: -20px;
    top: auto
}

.bibgauchefiles {
    background-color: #fff
}

input:focus,
input[type=password]:focus,
select:focus,
textarea:focus,
a:focus {
    outline: none;
    border-bottom: 3px solid rgba(237, 82, 83, 0.6);
    box-shadow: 0 4px 12px rgba(237, 82, 83, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

select {
    background: rgba(255, 255, 255, 0.5);
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
    transition: all 0.2s ease
}

select option {
    background: white;
    color: #3A3A3A;
}

.selectOpt {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
    height: 30px;
    border: 1px solid black;
    border-radius: 5px
}

.selectOpt select {
    font-family: LatoBold;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 8px 5px;
    outline: 0;
    border: 1px solid #000;
    border-radius: 5px;
    background: #fff;
    color: #a3a3a3;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}

.selectOpt select::-ms-expand {
    display: none
}

.selectOpt select:hover,
.selectOpt select:focus {
    color: #000;
    background: #ccc
}

.selectOpt select:disabled {
    opacity: 0.5;
    pointer-events: none
}

.select_arrow {
    position: absolute;
    top: 15px;
    right: 5px;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #7b7b7b transparent transparent transparent
}

.selectOpt select:hover~.select_arrow,
.selectOpt select:focus~.select_arrow {
    border-top-color: #000
}

.selectOpt select:disabled~.select_arrow {
    border-top-color: #ccc
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 82, 83, 0.3);
    transition: box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

button:disabled {
    -webkit-filter: grayscale(1) brightness(85%);
    cursor: not-allowed
}

.ui-datepicker-buttonpane {
    font-size: 10px !important
}

.ui-datepicker-week-col {
    color: #900;
    font-family: LatoBold;
    font-size: 0.85em;
    text-align: center
}

@-moz-document url-prefix(http: //), url-prefix(https://) {

    scrollbar {
        -moz-appearance: none ! important;
        background: rgb(0, 255, 0) ! important;
    }

    thumb, scrollbarbutton {
        -moz-appearance: none ! important;
        background-color: rgb(0, 0, 255) ! important;
    }

    thumb: hover, scrollbarbutton: hover {
        -moz-appearance: none ! important;
        background-color: rgb(255, 0, 0) ! important;
    }

    scrollbarbutton {
        display: none ! important;
    }

    scrollbar [orient="vertical"] {
        min-width: 1px ! important;
    }
}

/* Let's get this party started */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: transparent !important
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(200, 200, 200, 0.1);
    border-radius: 5px
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(150, 150, 150, 0.4);
    border: 2px solid transparent;
    background-clip: content-box
}

.star {
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.9em;
    margin-right: 0.9em;
    margin-bottom: 1.2em;
    border-right: 0.3em solid transparent;
    border-bottom: 0.7em solid #FC0;
    border-left: 0.3em solid transparent;
    /* Controlls the size of the stars. */
    font-size: 14px
}

.star:before, .star:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 0.6em;
    left: -1em;
    border-right: 1em solid transparent;
    border-bottom: 0.7em solid #FC0;
    border-left: 1em solid transparent;
    transform: rotate(-35deg)
}

.star:after {
    transform: rotate(35deg)
}

#pleinecran {
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: none
}

#partiedroite {
    width: 100%;
    height: 100%
}

#tout {
    margin: auto;
    width: 100%;
    height: 100%;
    border: 0 solid #2F343A;
    float: unset
}

#centre {
    clear: both;
    float: left;
    height: 655px;
    margin: auto
}

#navigation {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 320px;
    height: calc(100% - 90px) !important;
    margin: 10px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #F05A5A 0%, #D93D3D 100%) 0 0 / 100% 240px no-repeat, #f8fafc;
    background-color: #f8fafc
}

#navigation2 {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    width: 320px !important;
    height: calc(100% - 100px) !important;
    margin: 10px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-color: #ED5252
}

/* Collapse margins/shadows when sidebar width is 0 */
#navigation[style*="width: 0px"], #navigation[style*="width: 0px;"], #navigation[style*="width:0px"], #navigation[style*="width:0px;"] {
    margin: 0 !important;
    box-shadow: none !important
}

#navigation2[style*="width: 0px"], #navigation2[style*="width: 0px;"], #navigation2[style*="width:0px"], #navigation2[style*="width:0px;"] {
    margin: 0 !important;
    box-shadow: none !important
}

#frameBib {
    z-index: 999999999
}

#frameBibPlan {
    z-index: 999999999
}

#menuBasGauche {
    clear: both;
    float: left;
    width: 320px;
    position: fixed;
    bottom: 0;
    z-index: 1111
}

#menugaucheall {
    height: 100%
}

#programme {
    margin: 0;
    padding: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #FCFCFC;
    /*radial-gradient(800px 250px at calc(50% + 160px) bottom, #AAA, #f8fafc) !important;*/
}

#partieprogramme {
    padding-top: 10px;
    overflow-y: auto !important;
    overflow-x: auto !important;
    position: absolute;
    top: 65px;
    width: calc(100% - 320px);
    height: calc(100% - 113px);
    background-color: transparent !important
}

#partieprogramme2 {
    position: absolute;
    top: 65px;
    width: calc(100% - 320px);
    height: calc(100% - 124px);
    background-color: transparent !important;
    overflow: hidden
}

#corps {
    float: left;
    height: calc(100% - 48px);
    width: 700px;
    background-color: transparent !important;
    border-left: 1px solid #AAA
}

#vignetteentreprise {
    float: left;
    margin: 10px;
    padding: 15px;
    /* updated padding to match divdemi's 15px */
    width: 70%;
    min-width: 400px;
    height: unset;
    min-height: unset;
    background: white;
    font-size: 0.9em;
    border-radius: 12px;
    border: 1px solid #e8edf3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    transition: box-shadow 0.3s ease
}

#vignetteentreprise:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08)
}

#vignetteentreprise img {
    float: left;
    width: 30%;
    margin: 10px;
    max-width: 170px
}

#logoEntr {
    width: 216px !important;
    height: 170px !important;
    box-shadow: 2px 2px 4px #DDD;
    border-radius: 5px;
    margin: 10px !important;
    max-width: unset !important
}

.affaireAgenda {
    display: inline-block;
    cursor: pointer;
    padding: 2px;
    background: #ed5253;
    color: white;
    border-radius: 5px;
    width: auto;
    margin: auto;
    box-shadow: 2px 2px 5px #333;
    margin: 4px
}

.affaireAgenda:hover {
    background: #fe6364
}

.bulleDivAccueil {
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: white;
    background: #ED5252;
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-width: 16px;
    height: 16px;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    box-sizing: content-box
}

.divAccOnglet {
    float: left;
    padding: 0;
    background-color: #fff;
    border-radius: 5px;
    border-top-right-radius: 17px;
    border-top-left-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid #e8edf3;
    width: 100%;
    height: calc(100% - 45px);
    margin: 0
}

#divTaches {
    float: left;
    margin: 10px;
    padding: 0;
    width: 100%;
    height: calc(100% - 315px);
    background-color: #fff;
    border: 1px solid white;
    border-radius: 5px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    overflow: hidden;
    box-shadow: 2px 2px 6px #CCC
}

.divAccueilOngletTitre {
    float: left;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    font-size: 1.1em;
    font-weight: 500;
    color: white;
    background: rgba(237, 82, 82, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: none;
    padding: 6px 20px;
    margin-right: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    height: 40px;
    box-sizing: border-box
}

.divAccueilOngletTitre:hover {
    background: rgba(237, 82, 82, 1)
}

.divAccueilOngletTitre img {
    margin: 0;
    float: none;
    width: 24px;
    height: 24px;
    object-fit: contain
}

.divAccueilOngletTitreOff {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: none
}

.divAccueilOngletTitreOff:hover {
    background: rgba(0, 0, 0, 0.35)
}

#divTachesTitre {
    font-size: 1.2em;
    color: white;
    background: #F1474D;
    padding: 5px;
    line-height: 30px;
    padding-left: 15p;
    padding-right: 10px
}

#divTachesListe {
    display: block;
    padding: 10px
}

#divParapherListe {
    display: block;
    padding: 10px
}

#divDernAcces {
    float: left;
    margin: 10px;
    padding: 0;
    width: 100%;
    height: calc(100% - 420px);
    background-color: #fff;
    border: 1px solid white;
    border-radius: 5px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    overflow: hidden;
    box-shadow: 2px 2px 6px #CCC
}

#divDernAccesTitre {
    font-size: 1.2em;
    color: white;
    background: #F1474D;
    padding: 5px;
    line-height: 30px;
    padding-left: 15px;
    padding-right: 10px
}

#divDernAccesListe {
    display: block;
    padding: 10px
}

#nomclient {
    font-family: LatoBold
}

#nomclient span {
    width: 90px;
    display: inline-block
}

#responsable {
    font-family: Lato;
    margin-top: 5px
}

#responsable span {
    width: 90px;
    display: inline-block
}

#contacts {
    float: left;
    font-family: Lato;
    margin-top: 50px
}

#adresse {
    font-family: Lato
}

#adresse span {
    width: 90px;
    display: inline-block
}

#voie {
    font-family: Lato
}

#voie span {
    width: 90px;
    display: inline-block
}

#complement {
    font-family: Lato
}

#complement span {
    width: 90px;
    display: inline-block
}

#code {
    font-family: Lato;
    margin-top: 10px
}

#code span {
    width: 90px;
    display: inline-block
}

#ville {
    font-family: Lato
}

#ville span {
    width: 90px;
    display: inline-block
}

#tel {
    font-family: Lato;
    margin-top: 10px
}

#tel span {
    width: 90px;
    display: inline-block
}

#tel2 {
    font-family: Lato
}

#tel2 span {
    width: 90px;
    display: inline-block
}

#mail {
    font-family: Lato;
    margin-top: 10px
}

#version {
    font-family: Lato;
    margin-top: 10px
}

#mail span {
    width: 90px;
    display: inline-block
}

.contactus {
    text-decoration: none;
    color: #2F343A
}

#vignetteglobalproject {
    float: right;
    width: 20%;
    font-size: small;
    margin: 2%;
    position: absolute;
    right: 0;
    max-width: 200px
}

#vignetteglobalproject img {
    width: 80%
}

#listetaches {
    clear: both;
    margin-left: 5px;
    margin-right: 5px;
    height: unset;
    width: calc(100% - 10px);
    text-align: center;
    align-content: center;
    display: inline-block
}

#listecarte {
    clear: both;
    margin-left: 2px;
    margin-right: 2px;
    height: unset;
    width: calc(100% - 4px);
    display: inline-block;
    height: calc(100% - 275px)
}

#carte {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 30px);
    border-radius: 10px;
    border: 2px solid white;
    padding: 5px;
    background: white;
    height: calc(100% - 30px)
}

#listesynthese {
    clear: both;
    margin-left: 10px;
    margin-right: 10px;
    height: unset;
    overflow: hidden;
    overflow-x: hidden;
    max-height: 70%;
    min-height: 70%;
    height: 70%
}

#liste_synthese_tab_menu {
    line-height: 30px;
    width: 100%;
    height: 30px;
    max-height: 30px;
    background-color: #29BFC5;
    color: white;
    font-size: 0.8em;
    border: 1px solid white;
    border-radius: 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.casetab {
    width: 100%;
    height: 100%;
    cursor: pointer
}

.casetab:hover {
    background: #8c8
}

.liste_synthese_tab {
    font-size: 10pt;
    width: 100%;
    overflow-x: auto;
    display: none;
    margin-bottom: 20px;
    height: calc(100% - 100px) !important;
    min-height: calc(100% - 100px) !important;
    max-height: calc(100% - 100px) !important
}

#piedtaches {
    clear: both;
    margin-left: 10px;
    margin-right: 10px;
    height: 40px
}

#img_schema_div {
    display: inline-block;
    float: left;
    width: 60%;
    margin-top: 10px;
    padding: 2%;
    text-align: center;
    display: flex
}

#img_schema {
    background-image: url(/images/diagramme@2x.png);
    background-repeat: no-repeat;
    background-size: contain;
    float: left;
    height: 370px;
    width: 420px;
    margin: auto
}

#img_schema img {
    float: left;
    width: 350px;
    margin-left: 47px;
    margin-top: 20px;
    margin-right: 22px
}

#tab_schema {
    float: left;
    width: 258px;
    height: 370px;
    text-align: center;
    align-content: center;
    display: inline-block
}

#tab_alert {
    border: none;
    height: 190px;
    width: 100%;
    margin-top: 70px
}

#tab_botinfo {
    width: 100%;
    height: 35px;
    float: left
}

#tabtitre_schema {
    float: left;
    width: calc(100% - 4px);
    text-align: center;
    height: 35px;
    line-height: 35px;
    margin-bottom: 5px;
    color: white;
    border: 2px solid white;
    border-radius: 10px
}

.tabelem_schema {
    float: left;
    width: 70%;
    text-align: left;
    height: 35px;
    line-height: 35px;
    border-right: 1px solid white;
    text-indent: 15px;
    font-size: 1.1em
}

.tabelemvar_schema {
    float: left;
    width: calc(30% - 2px);
    text-align: right;
    height: 35px;
    line-height: 35px
}

.tabelemvar_schema a {
    margin-right: 10px
}

#titretabtache {
    line-height: 33px;
    text-align: left;
    text-indent: 15px;
    height: 35px;
    font-family: LatoBold;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

#titretabtache a {
    max-width: 70%;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.btOptionsDates {
    background: #3A3A3A;
    border: none;
    color: white;
    border-radius: 4px;
    height: 20px;
    width: 20px;
    font-size: 12px;
    float: left;
    margin: 4px;
    font-family: LatoBold;
    box-shadow: 1px 1px 2px #333;
    text-shadow: 1px 1px 4px #888
}

.btOptionsDates:hover {
    background: #fa9f00
}

.btRetourAccueil {
    position: absolute;
    right: 20px;
    cursor: pointer;
    font-size: 0.8em
}

#titretabcoord {
    width: 70%;
    float: left;
    margin-top: 10px;
    margin-left: 20px;
    line-height: 35px;
    text-align: left;
    text-indent: 15px;
    height: 35px;
    font-family: Lato;
    color: white
}

#titrepage {
    line-height: 30px;
    text-align: center;
    height: 38px;
    color: #2F343A;
    font-size: 13pt;
    font-family: LatoBold
}

#entabtache {
    float: left;
    height: 30px;
    width: 100%
}

#entetemenutabtache {
    float: left;
    width: 24%;
    font-family: Lato;
    padding-top: 5px;
    padding-left: 5px
}

#enteteaffairetabtache {
    float: left;
    width: 14%;
    font-family: Lato;
    padding-top: 5px
}

#enteteinfotabtache {
    float: left;
    width: 61%;
    font-family: Lato;
    padding-top: 5px
}

.font {
    font-family: LatoBold;
    font-size: 14px
}

.titregras {
    width: 100%;
    height: 30px;
    text-indent: 5px
}

.titregras label {
    margin-left: 5px;
    font-size: 11pt;
    font-weight: bold
}

/************************************************************************************************************************
************************************************ Définition des entetes *************************************************
************************************************************************************************************************/
#entete1 {
    position: relative;
    height: auto;
    min-height: 52px;
    font-family: Lato;
    color: white;
    width: 100%;
    box-sizing: border-box
}

#entete1menugauche {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 99;
    box-sizing: border-box;
    transition: background 0.18s ease, transform 0.15s ease
}

#entete1menugauche:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.05)
}

#entete1menugauche img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    float: none;
    margin: 0;
    display: block;
    filter: brightness(0) invert(1)
}

#entete1menugauche a {
    text-decoration: none;
    top: 2px
}

#enteteBoutons {
    width: 100%;
    height: auto !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    gap: 3px;
    box-sizing: border-box;
    background: transparent;
    background-color: transparent
}

#divmenugauche #enteteBoutons.rouge {
    background: transparent;
    background-color: transparent
}

#divmenugauche #enteteBoutons > div {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background 0.18s ease, transform 0.15s ease
}

#divmenugauche #enteteBoutons #enteteBoutonsA {
    order: 98
}

#divmenugauche #enteteBoutons #enteteBoutonsQ {
    order: 99
}

#divmenugauche #enteteBoutons > div:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px)
}

#divmenugauche #enteteBoutons > div img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin: 0 !important;
    display: block;
    filter: brightness(0) invert(1)
}

#enteteBoutonsF {
    width: 35px;
    height: 30px;
    float: left;
    margin-left: 10px
}

#enteteBoutonsB {
    width: 35px;
    height: 30px;
    float: left
}

#enteteBoutonsP {
    width: 35px;
    height: 30px;
    float: left
}

#enteteBoutonsA {
    width: 40px;
    height: 40px;
    float: right
}

#enteteBoutonsM {
    margin-top: 3px;
    width: 35px;
    height: 30px;
    float: left;
    margin-top: 3px
}

#enteteBoutonsT {
    width: 35px;
    height: 30px;
    float: left
}

#enteteBoutonsN {
    width: 35px;
    height: 30px;
    float: left
}

#enteteBoutonsQ {
    width: 35px;
    height: 30px;
    float: right
}

#enteteBoutonsOptions {
    width: 100%;
    height: 25px;
    background-color: #F1474D
}

#enteteBoutonsOptions:empty {
    display: none;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important
}

#enteteBoutonsOptions button, #enteteBoutonsOptions .btGrand {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important
}

#enteteBoutonsOptions button:hover, #enteteBoutonsOptions .btGrand:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translatey(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important
}

.basMenuArrondi {
    width: 100%;
    height: 25px;
    background-color: #F1474D;
    float: left
}

#enteteBoutonsOptionsF {
    display: none;
    width: 100%;
    height: 100%
}

#enteteBoutonsOptionsB,
#enteteBoutonsOptionsP,
#enteteBoutonsOptionsM,
#enteteBoutonsOptionsT,
#enteteBoutonsOptionsA,
#enteteBoutonsOptionsQ {
    display: none;
    width: 100%;
    height: 100%;
}

#rechercheaffaireauto {
    position: relative;
    border-radius: 5px;
    border: 0 solid;
    height: 38px;
    width: 300px;
    margin-left: 10px;
    margin-top: 2px;
    padding-left: 30px;
    background-image: url(/images/search.png) !important;
    background-repeat: no-repeat !important;
    background-position-y: 0 !important;
    color: #333;
    font-family: Lato;
    text-indent: 10px;
    font-size: 1.1em;
    background: transparent
}

#rechercheaffaireauto:focus {
    background-image: none
}

#divmenus {
    width: 320px;
    height: calc(100% - 0)
}

.btGrand {
    margin-left: 10px;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px !important;
    padding: 0 20px !important;
    height: 45px !important;
    border-radius: 50px !important;
    border: none;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 300 !important;
    letter-spacing: 0.03em !important;
    color: #fff;
    background: #ED5252;
    box-shadow: 0 6px 10px rgba(192, 40, 90, 0.4);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    user-select: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.btGrand img {
    height: 40px !important;
    width: 40px !important;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    flex-shrink: 0;
    opacity: 0.9;
}

.btGrand:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 28px rgba(192, 40, 90, 0.55);
}

.btGrand:hover img {
    opacity: 1;
    transform: scale(1.2) rotate(10deg) !important;
}

.btGrand:active {
    filter: brightness(0.92);
    box-shadow: 0 3px 10px rgba(192, 40, 90, 0.35);
    transform: scale(0.97);
}

.btPetit {
    display: flex !important;
    float:left;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px !important;
    padding: 0 8px !important;
    height: 20px !important;
    border-radius: 12px !important;
    border: none;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: 300 !important;
    letter-spacing: 0.03em !important;
    color: #fff;
    background: #ED5252;
    box-shadow: 0 6px 10px rgba(192, 40, 90, 0.4);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    user-select: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.btPetit img {
    height: 18px !important;
    width: 418px0px !important;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    flex-shrink: 0;
    opacity: 0.9;
}

.btPetit:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 28px rgba(192, 40, 90, 0.55);
}

.btPetit:hover img {
    opacity: 1;
    transform: scale(1.2) rotate(10deg) !important;
}

.btPetit:active {
    filter: brightness(0.92);
    box-shadow: 0 3px 10px rgba(192, 40, 90, 0.35);
    transform: scale(0.97);
}

.btRouge, .btGris {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    height: 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #fff;
    /* background: #ED5252; */
    background: linear-gradient(135deg, #ED5252 0%, #b03b3b 100%);
    box-shadow: 0 4px 10px rgba(192, 40, 90, 0.38);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    user-select: none;
    white-space: nowrap;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btRouge img, .btGris img {
    height: 20px !important;
    width: 20px !important;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    flex-shrink: 0;
    opacity: 0.9;
}

.btRouge:hover img {
    opacity: 1;
    transform: scale(1.2) rotate(10deg) !important;
}

.ombre {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #e8edf3
}

.img30.ombre {
    border-radius: 50%
}

.img20.ombre {
    border-radius: 50%;
}

.btRougeOn {
    filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(76deg) saturate(800%) contrast(0.8)
}

.btRouge label {
    color: #fff !important;
}

.btRouge:hover {
    filter: brightness(1.08);
    box-shadow: 0 7px 24px rgba(192, 40, 90, 0.52);
    border:1px solid rgba(255, 255, 255, 0.3) !important;

}

.btRouge:active {
    filter: brightness(0.92);
    box-shadow: 0 3px 8px rgba(192, 40, 90, 0.3);
    transform: scale(0.97);
}

.btRouge2 {
    padding: 0 14px;
    border-radius: 50px;
    height: 28px;
    font-size: 13px;
    line-height: normal;
}

.btRougeImg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding:2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #ED5252;
    box-shadow: 0 4px 10px rgba(192, 40, 90, 0.3);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btRougeImg:hover {
    filter: brightness(1.08);
    box-shadow: 0 7px 24px rgba(192, 40, 90, 0.52);
    transform: scale(1.2) rotate(10deg) !important;
}

.btTabRouge {
    border: none;
    border-radius: 50px;
    background: #ED5252;
    color: white !important;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 4px 16px;
    display: inline-block;
    line-height: 25px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(192, 40, 90, 0.25);
}

.btTabRouge label {
    color: white !important
}

.btTabRouge:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(192, 40, 90, 0.4);
}

.btGris {
    color: #fff;
    background: #606060;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btGris:hover {
    filter: brightness(1.08);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.3);
}

.btGris:active {
    filter: brightness(0.92);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.97);
}

.btGris label {
    color: white !important
}

.btGrisImg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #606060;
    color: white;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
    padding: 2px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#btChat {
    position: absolute;
    border-radius: 42px;
    height: 80px;
    width: 80px;
    background: #F4CB54;
    bottom: -25px;
    right: -25px;
    border: 4px solid #34383e
}

#btChat img {
    filter: brightness(0.1);
    margin-top: 14px;
    margin-left: 14px;
    width: 40px
}

#btChat:hover {
    filter: brightness(2)
}

#nbNewMesg {
    position: absolute;
    margin-top: -40px;
    margin-left: 40px;
    color: white;
    padding: 2px;
    font-size: 8px;
    background-color: red;
    width: 10px;
    height: 10px;
    vertical-align: middle;
    text-align: center;
    border-radius: 7px;
    box-shadow: 1px 1px 4px black
}

#divFrChat {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 720px;
    height: calc(100vh - 200px);
    min-width: 320px;
    min-height: 350px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 40px);
    z-index: 2147483647;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#frChat {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
    display: block;
    background: #f0f2f5;
}

#divFrChat .ui-resizable-handle {
    position: absolute;
    z-index: 1000 !important;
}

#divFrChat .ui-resizable-e {
    cursor: ew-resize !important;
    width: 10px !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
}

#divFrChat .ui-resizable-w {
    cursor: ew-resize !important;
    width: 10px !important;
    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
}

#divFrChat .ui-resizable-s {
    cursor: ns-resize !important;
    height: 10px !important;
    width: 100% !important;
    bottom: 0 !important;
    left: 0 !important;
}

#divFrChat .ui-resizable-n {
    cursor: ns-resize !important;
    height: 10px !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

#divFrChat .ui-resizable-se {
    cursor: nwse-resize !important;
    width: 18px !important;
    height: 18px !important;
    right: 0 !important;
    bottom: 0 !important;
}

#divFrChat .ui-resizable-sw {
    cursor: nesw-resize !important;
    width: 18px !important;
    height: 18px !important;
    left: 0 !important;
    bottom: 0 !important;
}

#divFrChat .ui-resizable-ne {
    cursor: nesw-resize !important;
    width: 18px !important;
    height: 18px !important;
    right: 0 !important;
    top: 0 !important;
}

#divFrChat .ui-resizable-nw {
    cursor: nwse-resize !important;
    width: 18px !important;
    height: 18px !important;
    left: 0 !important;
    top: 0 !important;
}

.cadre {
    margin: 10px;
    padding: 10px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: #DEDEDE;
    width: calc(100% - 40px)
}

.btAddPlus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #ED5252;
    box-shadow: 0 5px 16px rgba(192, 40, 90, 0.4);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.btAddPlus img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    opacity: 0.95;
}

.btAddPlus:hover {
    filter: brightness(1.08);
    box-shadow: 0 7px 22px rgba(192, 40, 90, 0.55);
}

.btAddPlus:active {
    filter: brightness(0.92);
    transform: scale(0.93);
    box-shadow: 0 3px 8px rgba(192, 40, 90, 0.3);
}

.btAddPlus2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #ED5252;
    box-shadow: 0 5px 16px rgba(80, 80, 80, 0.32);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.btAddPlus2 img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    opacity: 0.95;
}

.btAddPlus2:hover {
    filter: brightness(1.08);
    box-shadow: 0 7px 22px rgba(80, 80, 80, 0.45);
}

.btAddPlus2:active {
    filter: brightness(0.88);
    transform: scale(0.93);
    box-shadow: 0 3px 8px rgba(80, 80, 80, 0.22);
}

@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}

#divBtAdd {
    position: absolute;
    left: 265px;
    bottom: 50px;
    z-index: 9999999;
}

#btAide1 {
    margin-left: 5px;
    width: 150px;
    float: left
}

#btAide2 {
    margin-left: 5px;
    width: 150px;
    height: 18px;
    font-size: 0.6em
}

#btAide3 {
    margin-left: 5px;
    height: 18px;
    width: 150px;
    font-size: 0.6em
}

#enteteBoutonsOptionsA {
    padding: 4px 6px;
    box-sizing: border-box
}

#enteteBoutonsOptionsA > div {
    clear: both;
    display: flex;
    gap: 6px;
    padding-top: 4px
}

#enteteBoutonsOptionsA .btGrand {
    height: 23px !important;
    width: calc(50% - 3px) !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-size: 11px !important;
    float: left !important;
    overflow: hidden;
    text-overflow: ellipsis
}

#enteteBoutonsOptionsA #btAide1 {
    margin-right: 6px !important
}

#titremenugauche {
    color: white;
    margin-top: 0;
    padding: 10px 10px 4px 10px;
    font-family: LatoBold, sans-serif;
    font-size: 1.25em;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    top: 0;
    z-index: 0;
    line-height: 1.3;
    text-align: center
}

#titremenugauche div {
    margin-top: 14px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px
}

#titremenugauche select {
    flex: 1;
    min-width: 0 !important;
    width: auto !important;
    margin-right: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-family: Lato, sans-serif;
    font-size: 13px;
    height: 32px !important;
    padding: 0 10px !important;
    box-sizing: border-box;
    outline: none
}

#titremenugauche div img,
#titremenugauche div img.btRouge {
    flex-shrink: 0;
    width: 31px !important;
    height: 31px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    object-fit: contain;
    box-shadow: none !important;
    filter: brightness(0) invert(1);
    transition: background 0.18s ease, transform 0.15s ease
}

#titremenugauche div img.btRouge:hover {
    background: rgba(255, 255, 255, 0.32) !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
    filter: brightness(0) invert(1) !important
}

#titremenugauche select option {
    color: #1e293b;
    background: #ffffff
}

#titremenu_solo {
    font-family: LatoBold;
    font-weight: 300;
    float: left;
    margin-top: 33px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    width: 100%;
    text-align: center;
    color: #FFF;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

#entetemenu {
    background-color: #2F343A;
    width: 320px;
    border-right: 1px solid #2F343A
}

#titrecorps {
    float: left;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    width: 60%;
    text-align: center
}

#entetecorps {
    background-color: #FD7979;
    width: 700px
}

#mailsend {
    float: right;
    margin-right: 25px;
    margin-top: -10px;
    width: 30px
}

#mailsend2 {
    float: right;
    margin-right: 25px;
    margin-top: -10px;
    width: 30px
}

#enteteretour {
    float: left;
    width: 100%;
    height: 20px;
    margin-top: -15px;
    margin-left: 15px;
    font-size: 9pt
}

#entetemenugauche {
    float: left;
    font-size: 12px;
    margin-top: 35px;
    margin-left: 5px;
    cursor: pointer;
    padding-left: 5px;
    z-index: 99;
    position: fixed;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

#entetemenugauche a {
    text-decoration: none
}

#entetemenudroite {
    font-size: 1em;
    margin-top: 33px;
    z-index: 99;
    position: fixed;
    text-align: right;
    z-index: 0;
    right: 10px
}

#entetemenudroitedroite {
    font-size: 12px;
    margin-top: 33px;
    margin-right: 8px;
    text-align: right
}

.entete img {
    width: 25px;
    cursor: pointer
}

#entetecorpsgauche {
    float: left;
    font-size: 12px;
    max-width: 20%;
    margin-top: 25px;
    margin-left: 5px
}

#entetecorpsdroite {
    float: right;
    font-size: 12px;
    max-width: 10%;
    margin-top: 15px;
    margin-right: 5px
}

.hidden {
    display: none
}

/************************************************************************************************************************
****************************************** Définition du menu vertical (à gauche)****************************************
************************************************************************************************************************/
#divmenugauche:has(#menugauche:not([data-admin-menu="1"])) {
    display: flex;
    flex-direction: column
}

#menugauche:not([data-admin-menu="1"]) {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
    float: none !important
}

#menugauche {
    height: calc(100% - 128px);
    float: left;
    background-color: #f8fafc;
    overflow-x: hidden;
    overflow-y: auto;
    width: 320px !important;
    border-right: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-sizing: border-box
}

#menuPhases {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px
}

#menuPhases > div:first-child {
    width: auto !important;
    float: none !important;
    font-size: 12.5px !important;
    font-family: LatoBold, sans-serif !important;
    letter-spacing: 0.3px !important
}

#menuPhases > div:first-child u {
    text-decoration: none !important
}

#menuPhases select {
    flex: 1 !important;
    width: auto !important;
    float: none !important;
    height: 30px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    padding: 0 8px !important;
    font-size: 12.5px !important;
    outline: none !important
}

#menuPhases select option,
#menuPhases select optgroup {
    color: #1e293b;
    background: #ffffff
}

#menuPhases img {
    width: 24px !important;
    height: 24px !important;
    float: none !important;
    margin: 0 !important;
    cursor: pointer !important;
    opacity: 0.9 !important;
    transition: transform 0.2s ease, opacity 0.15s ease !important
}

#menuPhases img:hover {
    opacity: 1 !important;
    transform: rotate(30deg) !important
}

#menuPhases + #menugauche {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

.mCSB_inside > .mCSB_container {
    margin-right: 0 !important
}

#menugauche ul {
    margin: 0;
    padding: 6px 0 12px 0;
    width: 100% !important;
    box-sizing: border-box;
    list-style: none
}

#menugauche ul a {
    text-decoration: none
}

.menugauche_hide {
    max-width: 53px !important;
    margin-top: 70px !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border: 2px solid white !important;
    max-height: calc(100% - 175px) !important;
    min-height: calc(100% - 175px) !important;
    left: 0 !important;
    position: fixed !important;
    box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4)
}

.partieprogramme_hide {
    padding-left: 60px !important;
    max-width: calc(100% - 60px) !important
}

#aide_bib img {
    width: 35px;
    margin-right: 4px;
    display: block;
    float: left;
    margin-top: 4px;
    margin-left: -6px
}

#aide_chk img {
    width: 35px;
    margin-right: 4px;
    display: block;
    float: left;
    margin-top: 4px;
    margin-left: -6px
}

#menugaucheretour {
    background: transparent;
    background-color: transparent;
    height: 36px;
    line-height: 36px;
    color: white;
    font-size: 0.95em;
    font-family: LatoBold;
    padding: 0 14px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.15s ease
}

#menugaucheretour:hover {
    background-color: rgba(255, 255, 255, 0.12)
}

.itemMenuGaucheGroupe {
    width: 305px !important;
    height: 47px;
    color: #3a3a3a;
    font-family: LatoBold !important;
    font-size: 1.2em !important;
    border: none;
    border-bottom: 1px solid #bbb !important;
    vertical-align: middle;
    line-height: 47px;
    padding-left: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: #d7d7d7 !important;
    border-left: 4px solid #2b2d42 !important
}

.itemMenuGaucheGroupe img {
    filter: grayscale(5) brightness(0.4)
}

.itemMenuGauche {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 0 38px 0 10px !important;
    width: calc(100% - 20px);
    margin: 4px 10px;
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #eef0f3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    color: #334155;
    font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-shadow: none;
    font-size: 13.5px;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.15s ease
}

.itemMenuGauche img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    float: left;
    margin: 9px 10px 9px 0;
    opacity: 0.72;
    filter: invert(0.2);
    transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease
}

.itemMenuGauche:hover img {
    transform: scale(1.06);
    transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease
}

.itemMenuGaucheSel {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 0 38px 0 10px !important;
    width: calc(100% - 20px);
    margin: 4px 10px;
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
    border-radius: 12px;
    background-image: none;
    background-color: #fff0f0;
    border: 1px solid #f7c5c5;
    border-left: 4px solid #ED5252;
    box-shadow: 0 3px 10px rgba(237, 82, 82, 0.14);
    color: #d93838;
    font-family: LatoBold, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-shadow: none;
    font-size: 13.5px
}

.itemMenuGaucheSel img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    float: left;
    margin: 9px 10px 9px 0;
    filter: brightness(0) saturate(100%) invert(43%) sepia(73%) saturate(1717%) hue-rotate(325deg) brightness(98%) contrast(88%);
    opacity: 1
}

.itemMenuGaucheBib {
    bottom: 48px;
    max-width: 300px;
    position: absolute
}

.btImg:hover {
    -webkit-filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(50deg) saturate(1000%) contrast(0.8) !important;
    filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-40deg) saturate(1000%) contrast(0.8) !important
}

.itemMenuGauche:hover img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(73%) saturate(1717%) hue-rotate(325deg) brightness(98%) contrast(88%);
    opacity: 1
}

.itemMenuGauche:hover {
    color: #e04444;
    background-color: #fff5f5;
    border-color: #fbd5d5;
    box-shadow: 0 3px 8px rgba(237, 82, 82, 0.10);
    transform: translateX(2px)
}

.itemMenuGaucheBib:hover img {
    filter: brightness(3)
}

.itemMenuGaucheBib:hover {
    color: #485F72
}

#aide_bib:hover img {
    filter: brightness(3)
}

#aide_bib:hover {
    color: #485F72
}

.itemMenuGauche_nonautori {
    position: relative;
    display: block;
    width: calc(100% - 20px);
    margin: 4px 10px;
    height: 44px;
    line-height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    color: #94a3b8;
    font-family: Lato, sans-serif;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: not-allowed;
    opacity: 0.78
}

.itemMenuGauche_nonautori img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin: 10px 10px 10px 0;
    display: block;
    float: left;
    filter: grayscale(1);
    opacity: 0.5
}

#menugauche [id^="menu_groupe_"] .itemMenuGauche,
#menugauche [id^="menu_groupe_"] .itemMenuGaucheSel,
#menugauche [id^="menu_groupe_"] .itemMenuGauche_nonautori {
    margin-left: 18px;
    width: calc(100% - 28px)
}

.vertical {
    writing-mode: vertical-rl !important;
    text-orientation: sideways-right !important;
    transform: rotate(180deg) !important
}

/************************************************************************************************************************
************************************************ Définition des widgets *************************************************
************************************************************************************************************************/

.ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only ui-dialog-titlebar-close {}

.row {
    width: 100%;
    float: left
}

.colonne2 {
    width: 50%;
    float: left
}

.lineedit {
    height: 27px;
    text-indent: 10px;
    border: none;
    border-bottom: 2px solid rgba(92, 188, 196, 0.4);
    margin-bottom: 5px;
    font-size: 11pt;
    font-family: Lato;
    padding-right: 5px;
    background-color: transparent;
    color: #3A3A3A;
    transition: border-bottom-color 0.3s ease, background-color 0.3s ease
}


.lineedit {
    height: 27px;
    text-indent: 10px;
    border: 1px solid rgba(92, 188, 196, 0.4);
    background-color: rgba(250, 250, 250, 0.9);
    font-size: 11pt;
    font-family: Lato;
    color: #3A3A3A;
    transition: border-bottom-color 0.3s ease, background-color 0.3s ease;
    margin : unset;
    padding : unset;
    border-radius: 5px;
    padding-left:3px;
    padding-right:3px;
}

.lineedit:focus {
    border-bottom-color: #24BFC6;
    background-color: rgba(36, 191, 198, 0.05);
    outline: none
}

.lineedit:focus {
    border: 2px solid rgba(92, 188, 196, 0.8);
    outline: none
}

ul li div .lineedit,
ul li div div .lineedit {
    padding-left: 2px !important;
    padding-right: 2px !important;
    font-size: 12px;
}

.lineedit_gen {
    height: 27px;
    padding-top: 14px;
    text-indent: 10px;
    font-size: 1em;
    font-family: Lato;
    padding:0;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(92, 188, 196, 0.4);
    background-color: #EFEFEF;
    font-family: Lato;
    color: #3A3A3A;
    transition: border-bottom-color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    line-height: 27px;
}

input::placeholder {
    opacity: 1;
    transition: opacity 0.2s;
    padding-left:5px;
}

input:focus::placeholder {
    opacity: 0
}

.floating-label {
    font-size: 9px;
    font-family: Lato;
    color: #007aff;
    line-height: 10px;
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 8px;
    pointer-events: none;
    white-space: nowrap
}

.spinbox {
    border: none !important;
    color: #666;
    border-radius: 8px !important;
    height: 32px !important;
    line-height: 28px !important;
    background-color: rgba(0, 0, 0, 0.08) !important;
    display: flex;
    width: calc(94%);
    margin-left: 2%;
    margin-right: 2%;
    padding: 2px !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important
}

.imgdetail .spinbox {
    min-width:163px !important;
}

.spinboxchoix {
    cursor: pointer;
    flex: 1;
    background-color: transparent !important;
    height: 100%;
    vertical-align: middle;
    font-family: Lato !important;
    color: #555 !important;
    border: none !important;
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    border-radius: 6px !important;
    transition: all 0.2s ease !important
}

.spinboxchoix:hover {
    background-color: rgba(0, 0, 0, 0.05) !important
}

.spinboxchoixon {
    flex: 1;
    height: 100%;
    vertical-align: middle;
    font-family: LatoBold !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
    background: #FFF !important;
    color: #ED5252 !important;
    text-shadow: none !important;
    border: none !important;
    z-index: 9;
    text-align: center;
    margin: 0 !important
}

.spinboxchoixon:first-child {
    border-left: none !important
}

.rbsociete {
    float: left;
    height: 24px;
    line-height: 24px;
    vertical-align: middle;
    font-family: Lato;
    color: #666
}

.rbsociete:hover {
    cursor: pointer
}

/************************************************************************************************************************
************************************************ Tentatives pour placer les objets... ***********************************
************************************************************************************************************************/
.gauche {
    float: left;
    margin: 3px
}

.droite {
    float: right;
    text-align: right;
    text-indent: 0 !important
}

.dessous {
    clear: both;
    float: left;
    margin: 3px
}

.marge {
    margin-left: 103px
}

.txtordre {
    width: calc(100% - 40px);
    height: 50px;
    resize: none;
    margin-left: 20px;
    margin-bottom: 10px;
    font-size: 11pt
}

#general {
    width: 100%
}

#general2 {
    width: 100%;
    margin-top: 5px
}

.general2_gestion {
    float: left;
    width: 100%;
    height: 635px;
    font-family: Lato;
    overflow-x: hidden;
    margin-top: 5px
}

#general3 {
    float: left;
    width: 100%;
    height: 635px;
    font-family: Lato;
    overflow-x: hidden;
    margin-top: 5px
}

#general4 {
    float: left;
    width: 100%;
    height: 635px;
    font-family: Lato;
    padding-top: 10px;
    overflow: auto
}

#general5 {
    float: left;
    width: 100%;
    height: 635px;
    font-family: Lato;
    padding-top: 20px;
    overflow: auto
}

#general6 {
    float: left;
    width: 100%;
    height: 635px;
    font-family: Lato;
    overflow-x: hidden;
    margin-top: 5px
}

#general7 {
    float: left;
    width: 100%;
    height: 635px;
    font-family: Lato;
    overflow-x: hidden;
    margin-top: 5px
}

.img30 {
    cursor: pointer;
    width: 30px;
    max-width: 100%;
    vertical-align: middle
}

.img20 {
    cursor: pointer;
    width: 20px;
    max-width: 100%;
    vertical-align: middle
}

.img160 {
    width: 135px;
    height: 170px
}

#general p {
    padding-top: 4px
}

.col {
    clear: both;
    float: left;
    width: 100px;
    text-indent: 20px;
    padding-top: 6px;
    font-family: LatoBold;
    display: inline-block
}

.col2 {
    float: left;
    width: 50%
}

#caracgen {
    width: calc(100% - 40px);
    font-weight: 200;
    color: #FFF;
    background: #4E677D;
    border: 2px solid white;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    float: left;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 10px
}

#piecemarche {
    width: 660px;
    font-weight: 200;
    color: #FFF;
    background: #ED5252;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    float: left;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 10px
}

#ordreserv {
    width: calc(100% - 40px);
    font-weight: 200;
    color: #FFF;
    background: #65798C;
    border: 2px solid white;
    border-radius: 5px;
    height: 35px;
    line-height: 50px;
    vertical-align: middle;
    float: left;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 10px;
    border-radius:10px;
}

.ordrerapp {
    width: calc(100% - 4px);
    font-weight: 200;
    color: #FFF;
    background: #4E677D;
    border: 2px solid white;
    border-radius: 5px;
    height: 40px;
    line-height: 50px;
    vertical-align: middle;
    float: left
}

.ordrerappgrey {
    width: 315px;
    font-weight: 200;
    color: #FFF;
    margin-top: 1px;
    background-color: rgba(162, 162, 162, 1);
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    float: left
}

.tab_fromage {
    width: 100%;
    border-bottom: 1px solid gainsboro
}

.greycube1 {
    background-color: #DCDCDC;
    color: #2F343A;
    width: calc(100% - 16px);
    text-align: center;
    font-size: 10pt;
    float: left;
    height: 22px;
    margin-left: 8px;
    margin-top: 5px;
    line-height: 21px
}

.cercle {
    background: none repeat scroll 0% 0% white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid #c4c4c4;
    float: left;
    margin-top: 35px;
    margin-left: 30px
}

#exportcsv {
    width: 680px;
    float: left;
    margin-top: 5px;
    text-align: center;
    color: #0181ff;
    height: 20px
}

.cubes {
    float: left;
    height: 85%;
    width: calc(100% - 150px);
    margin-left: 30px
}

.cubeinter {
    float: left;
    height: 22px;
    width: 22px;
    margin-top: 8px;
    margin-left: 5px;
    clear: both
}

#cubegris_txt1 {
    width: 100px;
    float: left;
    margin-left: 10px;
    margin-top: 24px;
    line-height: 20px
}

#cubevert_txt1 {
    width: 105px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 20px
}

#cubebleu_txt1 {
    width: 105px;
    float: left;
    margin-left: 10px;
    font-size: 10pt;
    margin-top: 10px;
    line-height: 20px
}

#cuberouge_txt1 {
    width: 105px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 20px
}

#cubegris_txt2 {
    width: calc(100% - 38px);
    float: left;
    margin-left: 10px;
    margin-top: 24px;
    line-height: 20px
}

#cubevert_txt2 {
    width: 105px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 20px
}

#cubebleu_txt2 {
    width: 105px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 20px
}

#cuberouge_txt2 {
    width: 105px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 20px
}

.whitehole {
    background: white none repeat scroll 0% 0%;
    box-shadow: 1px 1px 12px #555;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    position: relative;
    top: 51px;
    left: 70px
}

#cubegris1 {
    background-color: #848484;
    margin-top: 22px
}

#cubevert1 {
    background-color: #8bb99d
}

#cubebleu1 {
    background-color: #007aff
}

#cuberouge1 {
    background-color: #fa5757
}

#cubegris2 {
    background-color: #848484;
    margin-top: 22px
}

#cubevert2 {
    background-color: #8bb99d
}

#cubebleu2 {
    background-color: #007aff
}

#cuberouge2 {
    background-color: #fa5757
}

.greycube2 {
    background-color: #DCDCDC;
    color: #2F343A;
    text-align: center;
    font-size: 10pt;
    width: calc(100% - 16px);
    height: 22px;
    margin-left: 8px;
    margin-top: 5px;
    line-height: 21px
}

.header_red {
    width: calc(100% - 4px);
    font-family: Lato;
    color: #FFF;
    background: #4E677D;
    border: 2px solid white;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    float: left
}

.header_grey {
    width: calc(100% - 4px);
    font-weight: 200;
    color: white !important;
    background: #475E76;
    height: 40px;
    line-height: 50px;
    vertical-align: middle;
    float: left;
    border: 2px solid white;
    border-radius: 5px
}

.casered {
    width: calc(100% - 100px);
    font-weight: 200;
    color: #FFF;
    background: #ED5252;
    height: 47px;
    line-height: 50px;
    vertical-align: middle;
    margin-left: 25px;
    border-radius:10px;
    box-shadow: 0 4px 10px rgba(219, 93, 88, 0.3);
}

.caseredchild {
    width: 321px;
    font-weight: 200;
    color: #FFF;
    background: #4E677D;
    border: 2px solid white;
    border-radius: 5px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin-left: 20px;
    font-size: 0.9em;
    text-indent: 5px
}

.caseredchildbot {
    float: left;
    width: calc(100% - 375px);
    font-weight: 200;
    color: #FFF;
    background: #4E677D;
    border: 2px solid white;
    border-radius: 5px;
    vertical-align: middle;
    font-size: 0.9em;
    text-indent: 5px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    margin-left: 20px
}

.browncase1 {
    float: left;
    width: 331px;
    background-color: #DDD;
    height: 150px;
    margin-left: 20px
}

.browncase2 {
    float: left;
    width: 331px;
    background-color: #DDD;
    height: 425px;
    margin-left: 20px;
    margin-top: 1px
}

.browncase_mini {
    float: left;
    width: 331px;
    background-color: #DDD;
    height: 60px;
    margin-left: 20px;
    margin-top: 1px
}

.ordreservbas {
    width: 300px;
    font-weight: 200;
    color: #FFF;
    background: #ED5252;
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
    float: left;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 10px
}

.colgest {
    clear: both;
    float: left;
    font-weight: 200;
    width: 250px;
    margin-top: 5px;
    font-size: 10pt;
    text-indent: 20px;
    padding-top: 4px
}

.colgest2 {
    clear: both;
    float: left;
    font-weight: 200;
    width: 100px;
    margin-top: 5px;
    font-size: 10pt;
    text-indent: 20px;
    padding-top: 4px
}

.colgestetat {
    clear: both;
    float: left;
    font-weight: 200;
    width: 130px;
    margin-top: 5px;
    font-size: 10pt;
    text-indent: 20px;
    padding-top: 4px
}

.colcertif {
    clear: both;
    float: left;
    font-weight: 200;
    width: 250px;
    margin-top: 5px;
    font-size: 10.5pt;
    text-indent: 20px;
    padding-top: 4px
}

.colcertiflong {
    clear: both;
    float: left;
    font-weight: 200;
    width: 575px;
    margin-top: 5px;
    font-size: 10.5pt;
    text-indent: 20px;
    padding-top: 4px
}

.colgestetatgrand {
    clear: both;
    float: left;
    font-weight: 200;
    width: 227px;
    margin-top: 8px;
    font-size: 10pt;
    text-indent: 20px;
    padding-top: 4px
}

.colgestetatgrandtxt {
    clear: both;
    float: left;
    font-weight: 200;
    width: 300px;
    font-size: 11pt;
    margin-top: 8px;
    text-indent: 10px;
    padding-top: 4px;
    text-transform: uppercase;
    font-size: 0.9em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.colgestetatdecal {
    clear: both;
    float: left;
    font-weight: 200;
    width: 300px;
    font-size: 10pt;
    margin-top: 8px;
    text-indent: 10px;
    margin-left: 15px;
    font-size: 0.9em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.cubecert {
    height: 250px;
    width: 337px;
    float: left;
    margin-top: 5px
}

.colgestcarac {
    clear: both;
    float: left;
    font-weight: 200;
    width: auto;
    margin-top: 5px;
    font-size: 10.5pt;
    text-indent: 20px;
    padding-top: 4px
}

.colgestparag {
    clear: both;
    float: left;
    font-weight: 200;
    width: 100px;
    margin-top: 2px;
    font-size: 10.5pt;
    text-indent: 20px;
    padding-top: 4px
}

.titre1_input {
    float: left;
    font-weight: 200;
    width: 400px;
    margin-top: 2px;
    font-size: 13pt;
    text-indent: 8px;
    padding-top: 4px
}

.titre2_input {
    float: left;
    width: 400px;
    margin-top: 2px;
    font-size: 10pt;
    text-indent: 8px;
    padding-top: 4px
}

.titre3_input {
    float: left;
    font-size: 10pt;
    padding-top: 4px;
    margin-top: -5px;
    text-align: left;
    width: 235px;
    text-indent: 0;
    margin-left: 8px
}

.titre4_input {
    float: left;
    font-size: 10pt;
    padding-top: 4px;
    margin-top: -5px;
    text-align: left;
    width: 300px;
    text-indent: 0;
    margin-left: 8px
}

.mini {
    font-size: 13px;
    padding-top: 4px
}

/* zones textes */
input:-moz-read-only {
    border: 1px solid rgba(0, 0, 100, 0.3);
    color: #888;
    pointer-events: none;
    user-select: none;
}

input[readonly] {
    border: 1px solid rgba(0, 0, 50, 0.15);
    color: #888;
    pointer-events: none;
    background: #F3F3F3;
}

/* Placeholder */
::-webkit-input-placeholder {
    color: #AAA;
    font-size: 0.8em;
    text-align: left;
    line-height: 1.3em;
    font-style: italic
}

::-moz-placeholder {
    color: #AAA;
    font-size: 0.8em;
    text-align: left;
    font-style: italic
}

:-ms-input-placeholder {
    color: #AAA;
    font-size: 0.8em;
    text-align: left;
    font-style: italic
}

input:-moz-placeholder {
    color: #AAA;
    font-size: 0.8em;
    text-align: left;
    font-style: italic
}

.placeholder_clair::-webkit-input-placeholder {
    color: #DDD
}

.placeholder_clair::-moz-placeholder {
    color: #DDD
}

.placeholder_clair:-ms-input-placeholder {
    color: #DDD
}

.placeholder_clair input:-moz-placeholder {
    color: #DDD
}

/************************************************************************************************************************
************************************************ Définition des couleurs *************************************************
************************************************************************************************************************/
.coulaccueil {
    background-color: #ED5252
}

.coulinfo {
    background-color: #B0C9DF
}

.coulchantier {
    background-color: #4F677E
}

.couletude {
    background-color: #24B5BD
}

.coulgestion {
    background-color: #F4CB54
}

.coulreception {
    background-color: #EA6438
}

.coulgpa {
    background-color: #F33F4B
}

/* ── Surbrillance du bouton actif dans le menu du bas ──────────────────────
   Spécificité (#menu + .coul* = 1,2,0) > règles !important existantes (0,1,0)
   Ces règles permettent d'activer la couleur via JS avec addClass/removeClass. */
#menu .entreepied.coulaccueil, #menu .entreepied2.coulaccueil {
    background-color: #ED5252 !important
}

#menu .entreepied.coulinfo, #menu .entreepied2.coulinfo {
    background-color: #B0C9DF !important
}

#menu .entreepied.coulchantier, #menu .entreepied2.coulchantier {
    background-color: #4F677E !important
}

#menu .entreepied.couletude, #menu .entreepied2.couletude {
    background-color: #24B5BD !important
}

#menu .entreepied.coulgestion, #menu .entreepied2.coulgestion {
    background-color: #F4CB54 !important
}

#menu .entreepied.coulreception, #menu .entreepied2.coulreception {
    background-color: #EA6438 !important
}

#menu .entreepied.coulgpa, #menu .entreepied2.coulgpa {
    background-color: #F33F4B !important
}

.rouge {
    background-color: #ED5252;
    background-image: unset;
    color: white
}

.viewtitre, .titreconf {
    background-color: #4E677D;
    border: 2px solid white;
    border-radius: 8px;
    background-image: unset;
    color: white;
    margin-left: 5px;
    line-height: 28px;
    vertical-align: middle;
    width: calc(100% - 20px);
    height: 32px;
    color: white;
    text-indent: 15px;
    margin-top: 5px;
    padding-top: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3)
}

.titrelbconf {
    line-height: 28px !important
}

.marron {
    background: url(./images/bar-droite@2x_marron.png)
}

.marron span {
    float: right;
    margin-right: 5px
}

.search {
    background-repeat: repeat;
    color: #2F343A;
    width: 320px;
    height: 44px
}

.search ::-webkit-input-placeholder {
    color: #AAA;
    font-size: 11pt;
    text-align: center;
    line-height: 0.8em
}

.search ::-moz-placeholder {
    color: #AAA;
    font-size: 11pt;
    padding-left: 30px
}

.search :-ms-input-placeholder {
    color: #AAA;
    font-size: 11pt;
    text-align: center
}

.search input:-moz-placeholder {
    color: #AAA;
    font-size: 11pt;
    text-align: center
}

.transparent {
    background: transparent
}

.grispale {
    background-color: #F3F3F3;
    color: #2F343A
}

.grisclair {
    background-color: #8f8f8f;
    height: 30px;
    font-size: 16px
}

.noir {
    background-color: #50677D;
    color: white
}

.beige {
    background-color: #fff;
    list-style-type: none
}

.rouge_aff {
    background-color: #fd7979;
    list-style-type: none
}

.beige_sep {
    background-color: #DBCFC2;
    list-style-type: none;
    height: 47px !important
}

.beige_contact {
    background-color: #fff;
    list-style-type: none
}

.beigeclair {
    background-color: transparent !important
}

.blanc {
    color: white
}

.contactSelect {
    background-color: #87B99F !important;
    border-left: 4px solid green
}

/************************************************************************************************************************
************************************************ Définition du menu footer **********************************************
************************************************************************************************************************/
#pied {
    /*
        height: 48px;
        width: 100%;
        border: 0px solid red;
        */
}

.piedgauche {
    background-image: unset;
    background-color: #CCC;
    width: 320px;
    height: 48px;
    float: unset
}

.pieddroit {
    background-image: unset;
    background-color: #34383E;
    width: 100%;
    height: 48px;
    margin-left: 0
}

.entreepied {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    width: 80px;
    height: 48px;
    text-align: center;
    background: transparent
}

.entreepied img {
    float: left;
    width: 30px;
    margin-left: 35px;
    margin-top: 3px
}

.entreepied span {
    padding-left: 10px;
    clear: both;
    float: left;
    width: 100%;
    font-family: LatoBold;
    font-size: 10px;
    color: #2F343A
}

.entreepied2 {
    padding-right: 5px;
    height: 42px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
    margin-top: 1px;
    margin-left: 2px
}

.entreepied2:hover span {
    color: white
}

.entreepied2:hover img {
    filter: brightness(3)
}

.entreepied2 img {
    width: 30px;
    margin-left: 5px;
    margin-top: 7px;
    display: inline-block
}

.entreepied2 span {
    padding-left: 5px;
    font-size: 0.7em;
    font-family: LatoBold;
    color: #848586;
    top: -12px;
    display: inline-block;
    position: relative
}

.rougesel {
    background-image: url(./images/fond-selec@2x.png);
    background-size: 80px 48px;
    background-position: 20px 0;
    background-repeat: no-repeat
}

.rougeselfluo {
    border: 2px solid white;
    border-radius: 15px;
    background: #E85051
}

.jauneselfluo {
    border: 2px solid white;
    border-radius: 15px;
    background: #ede126
}

.vertsel {
    border: 2px solid white;
    border-radius: 15px;
    background: #5EF154
}

.vertselfluo {
    border: 2px solid white;
    border-radius: 15px;
    background: #B0C9DF
}

.bleusel {
    border: 2px solid white;
    border-radius: 15px;
    background: #B0C9DF
}

.jaunesel {
    background-image: url(./images/fond-selec-jaune@2x.png);
    border: 2px solid white;
    border-radius: 15px;
    background: #F4CB54
}

.orangesel {
    border: 2px solid white;
    border-radius: 15px;
    background: #EA6438
}

.blueclairsel {
    border: 2px solid white;
    border-radius: 15px;
    background: #24B5BD
}

.bluefoncesel {
    border: 2px solid white;
    border-radius: 15px;
    background: #475E76
}

#menu_notes {
    cursor: pointer
}

#menu_contacts {
    cursor: pointer
}

#menu_affaires {
    cursor: pointer
}

#flipnote {
    display: none
}

#fenetrenotes {
    display: none
}

#sepmenu {
    float: left;
    position: relative;
    margin-top: -20px;
    height: 1px
}

.sepmenu {
    width: 260px;
    margin-left: 20px;
    color: #000;
    width: 265px
}

.sepmenu_a {
    width: 300px;
    margin-left: 20px;
    float: left;
    margin-bottom: 0;
    margin-top: 0
}

.sepmenu_a_red {
    width: 300px;
    float: left;
    margin-bottom: 0;
    margin-top: -2px;
    margin-left: 20px
}

.sepmenu_a2_red {
    width: 20px;
    color: #fd7979;
    float: left;
    margin-bottom: 0;
    margin-top: 0;
    margin-right: -1px;
    visibility: hidden
}

label {
    display: inline-block
}

/************************************************************************************************************************
************************************************ Checkbox type IOS ******************************************************
************************************************************************************************************************/
input.lcheckbox {
    max-height: 0;
    max-width: 0;
    opacity: 0;
    display: none;
    cursor: pointer
}

input.lcheckbox + label {
    display: inline-block;
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background-color: #d1d5db;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    text-indent: -5000px;
    vertical-align: middle;
    padding:0px;
}

input.lcheckbox + label:before {
    display: none
}

input.lcheckbox + label:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

input.lcheckbox:checked + label {
    background-color: #ED5253
}

#tablelistefull input.lcheckbox:checked + label, #tableliste input.lcheckbox:checked + label, #tableliste1 input.lcheckbox:checked + label {
    background-color: #4E677D
}

input.lcheckbox:checked + label:after {
    transform: translatex(20px)
}

input.lcheckbox:disabled + label {
    background-color: #e5e7eb;
    cursor: not-allowed;
    box-shadow: none
}

input.lcheckbox:disabled + label:after {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background-color: #f9fafb
}

input.lcheckbox:checked:disabled + label {
    background-color: #9ca3af !important;
}

#divaffaires {
    background: white;
    width: 320px;
    height: 100%
}

#divmenugauchegen {
    width: 320px;
    height: 100%
}

#divmenugauche {
    width: 320px;
    height: 100%
}

#divcontacts {
    width: 320px;
    height: 100%;
    background: white
}

#divnote {
    width: 320px;
    height: 100%;
    background: white
}

#divmenugauche #divaffaires {
    height: calc(100% - 235px)
}

#divmenugauche #divcontacts {
    height: calc(100% - 200px)
}

#divmenugauche #divnote {
    height: calc(100% - 235px)
}

/*
Div de la zone de raccourcis alphabétique
*/
#alphabet {
    position: absolute;
    margin-left: 295px;
    text-align: center;
    min-height: unset;
    width: 25px;
    z-index: 101;
    height: calc(100% - 184px)
}

#alphabet ul {
    padding-left: 0;
    margin-top: 25px;
    height: calc(100% - 24px)
}

#alphabet ul li {
    height: 22px;
    margin: auto
}

.lettres {
    text-decoration: none;
    font-family: Lato;
    color: #FD7979;
    font-size: 9pt
}

.lettresoff {
    text-decoration: none;
    font-family: Lato;
    font-style: italic;
    color: #FE7B7B;
    font-size: 10pt
}

#dialogNotes {
    display: none;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center
}

#dialogSuppression {
    display: none;
    font-family: sans-serif;
    font-size: 13px;
    text-align: center
}

#dialogRestaure {
    display: none;
    font-family: sans-serif;
    font-size: 13px;
    text-align: center
}

#dialogRaz {
    display: none;
    font-family: sans-serif;
    font-size: 13px;
    text-align: center
}

#dialogApurer {
    display: none;
    font-family: sans-serif;
    font-size: 13px;
    text-align: center
}

#dialogErreurMdp {
    display: none;
    font-family: sans-serif;
    font-size: 13px;
    text-align: center
}

#dialogErreurXMLaffaire {
    display: none;
    font-family: sans-serif;
    font-size: 13px;
    text-align: center
}

#menugaucheetapes {
    float: left;
    height: calc(100% - 248px);
    width: 320px;
    list-style-type: none;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f8fafc;
    padding: 4px 0 12px 0;
    box-sizing: border-box
}

#menugaucheetapes .itemMenuGauche,
#menugaucheetapes .itemMenuGaucheSel {
    width: calc(100% - 20px) !important;
    height: auto !important;
    min-height: 56px !important;
    line-height: 1.3 !important;
    margin: 5px 10px !important;
    padding: 8px 42px 8px 10px !important;
    border-radius: 14px !important;
    border: 1px solid #EAEAEA !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important
}

#menugaucheetapes .itemMenuGauche:hover {
    border-color: #fbd5d5 !important;
    box-shadow: 0 3px 8px rgba(237, 82, 82, 0.12) !important
}

#menugaucheetapes .itemMenuGaucheSel {
    border-left: 4px solid #ED5252 !important
}

#menugaucheetapes .itemMenuGauche img,
#menugaucheetapes .itemMenuGaucheSel img {
    width: 36px !important;
    height: 36px !important;
    margin: 2px 10px 2px 0 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    background: #f8fafc !important
}

#menugaucheetapes [id^="receplist_"] {
    width: calc(100% - 48px) !important;
    margin-left: 0 !important;
    float: left !important;
    height: auto !important;
    min-width: 0 !important
}

#menugaucheetapes .lbetape {
    width: 100% !important;
    line-height: 1.35 !important;
    font-family: LatoBold, sans-serif !important;
    font-size: 13.5px !important;
    color: #1e293b !important
}

#menugaucheetapes .lbinfoetat {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
    line-height: 1.3 !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    display: block !important
}

#etapesreception {
    width: 335px;
    height: 47px;
    color: #FFF;
    background: url(images/bar-gauche@2x.png) no-repeat scroll 0% 0%/335px 47px transparent;
    font-family: Lato;
    font-size: 11pt;
    border: 0 solid #0F0;
    vertical-align: middle;
    line-height: 47px;
    padding-left: 20px
}

#dialogTraitements {
    display: none;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center
}

#dialogAffaires {
    display: none;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center
}

#dialogAffairesAdd {
    display: none;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center
}

#dialogAffairesErr {
    display: none;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center
}

#dialogContacts {
    display: none;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center
}

#copyright {
    float: left;
    margin-top: 14px;
    margin-left: 10px;
    font-family: sans-serif;
    font-size: 10px;
    width: 250px
}

#sauvegarderlst {
    float: left;
    margin-top: 5px;
    margin-left: 10px;
    font-family: sans-serif;
    font-size: 10px;
    width: 180px;
    color: red
}

#deconnecte {
    float: right;
    font-size: 9pt;
    font-family: Lato;
    bottom: 50px;
    position: absolute;
    margin-left: 580px;
    cursor: pointer
}

#synchro {
    float: left;
    margin-top: 113px;
    font-family: sans-serif;
    font-size: 10px;
    vertical-align: middle;
    margin-right: 40px;
    width: 110px;
    text-align: right
}

.pages_cptrendu div {
    text-align: center;
    float: left;
    width: 216px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin-bottom: -10px
}

#copyright_2015 {
    font-size: 9pt;
    font-family: Lato;
    bottom: 64px;
    position: absolute
}

#pol_conf {
    font-size: 9pt;
    font-family: Lato;
    bottom: 50px;
    position: absolute;
    cursor: pointer
}

#box_photo {
    float: left;
    width: 198px;
    height: 300px;
    border: 1px solid #DEDEDE;
    margin: 8px;
    background-color: #DEDEDE
}

#box_photo_infos2 {
    float: left;
    width: 460px;
    min-height: 140px;
    border: 2px solid white;
    border-radius: 10px;
    background-color: #DEDEDE;
    margin-bottom: 20px
}

#box_photo_infos2 .img30 {
    border: 2px solid white;
    border-radius: 13px;
    background: #ED5252;
    width: 18px;
    height: 18px
}

.imageIllustration0 {
    width: 300px !important;
    height: 300px !important;
    float: left !important;
    border: 1px solid black;
    margin-right: 5px !important;
    margin-bottom: 5px !important
}

.imageIllustration1 {
    width: 140px !important;
    height: 300px !important;
    float: left !important;
    border: 1px solid black;
    margin-bottom: 5px !important
}

.imageIllustrationE {
    width: 140px !important;
    height: 140px !important;
    float: left !important;
    border: 1px solid black
}

.imageIllustration2 {
    margin-left: 5px !important;
    width: 300px !important;
    height: 140px !important;
    float: left !important;
    border: 1px solid black
}

.imageIllustration3 {
    margin-top: 5px;
    width: 450px !important;
    height: 140px !important;
    float: left;
    border: 1px solid black;
    margin-bottom: 5px !important
}

.imageIllustration4 {
    width: 450px !important;
    height: 636px !important;
    float: left !important;
    border: 1px solid black
}

.imageIllustration5 {
    width: 400px !important;
    height: 300px !important;
    float: left !important;
    border: 1px solid black
}

#box_logo_infos {
    float: left;
    width: 576px;
    height: 140px;
    border: 2px solid white;
    border-radius: 10px;
    background-color: #DEDEDE;
    margin-bottom: 10px;
    margin-left: 105px
}

#box_photo_infos {
    float: left;
    width: 576px;
    height: 400px;
    border: 2px solid white;
    border-radius: 10px;
    background-color: #DEDEDE;
    margin-bottom: 20px
}

#chkhono {
    float: left;
    margin-top: 5px;
    margin-left: 10px
}

.chkhonoi {
    float: left;
    margin-top: 5px;
    margin-left: 10px
}

#chkvisa {
    float: left;
    margin-top: 5px;
    margin-left: 25px
}

#monthcall {
    float: right;
    margin-top: 10px;
    margin-right: 30px
}

#divcalendrier {
    width: calc(100% - 10px);
    height: 350px;
    background-color: white;
    margin-top: 350px;
    margin-left: 15px;
    border-radius: 5px;
    border: 1px solid #DDD
}

#divcalendrierwhite {
    width: 97%;
    margin-top: 10px;
    height: 320px;
    background-color: #FFF;
    margin-left: 10px;
    padding-top: -4px;
    float: left;
    background-image: url(images/fond_calendar_info.png);
    overflow: auto
}

#divcalendrierwhite_annee {
    width: 97%;
    margin-top: 10px;
    height: 320px;
    background-color: #FFF;
    margin-left: 10px;
    padding-top: -4px;
    float: left;
    background-image: url(images/fond_calendar_info_annee.png);
    overflow: auto
}

#divcalendrierwhite_tri {
    width: 97%;
    margin-top: 10px;
    height: 320px;
    background-color: #FFF;
    margin-left: 10px;
    padding-top: -4px;
    float: left;
    background-image: url(images/fond_calendar_info_tri.png);
    overflow: auto
}

#divcalendrierwhite_mois {
    width: 97%;
    margin-top: 10px;
    height: 320px;
    background-color: #FFF;
    margin-left: 10px;
    padding-top: -4px;
    float: left;
    background-image: url(images/fond_calendar_info_mois.png);
    overflow: auto
}

#divcalendrierwhite_week {
    width: 97%;
    margin-top: 10px;
    height: 320px;
    background-color: #FFF;
    margin-left: 10px;
    padding-top: -4px;
    float: left;
    background-image: url(images/fond_calendar_info_week.png);
    overflow: auto
}

#calend_top_mois {
    height: 24px;
    max-height: 24px;
    min-height: 24px;
    display: inline-block;
    white-space: nowrap;
    border-bottom: 1px solid #9e9a9a;
    overflow: hidden
}

#calend_top_mois_type1 {
    border-bottom: 1px solid rgb(62, 60, 60);
    height: 100%;
    float: left;
    width: 100%;
    background-color: white
}

#calend_top_mois_type2 {
    border-bottom: 1px solid rgb(62, 60, 60);
    height: 100%;
    float: left;
    width: 100%;
    background-color: white
}

.annee_i_calendrier_type1 {
    font-size: 10pt;
    text-align: center;
    background-color: gray;
    height: 100%;
    line-height: 50px;
    border-right: 1px solid #626161;
    padding-left: 28.5px;
    padding-right: 28.5px;
    padding-top: 17px;
    padding-bottom: 17px
}

.annee_i_calendrier_type2 {
    font-size: 10pt;
    text-align: center;
    background-color: gray;
    height: 84%;
    line-height: 25px;
    border-right: 1px solid #626161;
    padding-left: 73.5px;
    padding-right: 73.5px;
    padding-top: 4px;
    padding-bottom: 3px
}

.annee_i_calendrier_type3 {
    font-size: 10pt;
    text-align: center;
    background-color: gray;
    height: 84%;
    line-height: 25px;
    border-right: 1px solid #626161;
    padding-left: 163.5px;
    padding-right: 163.5px;
    padding-top: 4px;
    padding-bottom: 3px
}

.annee_i_calendrier_type4 {
    font-size: 10pt;
    text-align: center;
    background-color: gray;
    height: 84%;
    line-height: 25px;
    border-right: 1px solid transparent;
    padding-top: 4px;
    padding-bottom: 3px
}

.span_calend_tri_sem {
    padding-left: 7.875px;
    padding-right: 7.875px
}

.annee_i_calendrier_type2_tri {
    font-size: 10pt;
    text-align: center;
    background-color: gray;
    height: 90%;
    line-height: 25px;
    border-right: 1px solid #626161;
    padding-top: 5px;
    padding-bottom: 3px
}

#calend_bot_jours {
    float: left;
    width: 100%;
    height: 24px;
    border-bottom: 1px solid #2F343A
}

.ligne_calendrier {
    float: left;
    height: 38px;
    border-bottom: 1px solid gray;
    width: 100%;
    opacity: 0.8
}

.ligne_i_calendrier_carre {
    height: 30px;
    margin-top: 2px;
    float: left;
    border: 1px solid #2F343A;
    white-space: nowrap;
    font-size: 10.5pt;
    text-indent: 5px;
    border-bottom: 2px solid #2F343A;
    border-top: 2px solid #2F343A
}

.ligne_i_calendrier_arrondie {
    height: 30px;
    margin-top: 3px;
    float: left;
    border: 1px solid #2F343A;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 10.5pt;
    text-indent: 5px
}

.jours_jours_i_calendrier {
    float: left;
    width: 15px;
    font-size: 10pt;
    line-height: 25px;
    letter-spacing: -2px;
    text-indent: 1px
}

.jours_mois_calendrier_30 {
    font-size: 10pt;
    padding-left: 201.5px;
    padding-right: 201.5px;
    padding-top: 5px;
    display: inline-block;
    white-space: normal
}

.jours_mois_i_calendrier_no {
    font-size: 10pt;
    padding-top: 5px
}

.jours_mois_i_calendrier_31 {
    font-size: 10pt;
    padding-left: 209px;
    padding-right: 209px;
    padding-top: 5px
}

.jours_mois_i_calendrier_28 {
    font-size: 10pt;
    padding-left: 186.5px;
    padding-right: 186.5px;
    padding-top: 5px
}

#calend_i_affdurprev {
    background-color: #69f813
}

#calend_i_notif {
    background-color: orangered
}

#calend_i_phasetud {
    background-color: yellow
}

#calend_i_phastrav {
    background-color: #1ef3dc
}

#calend_i_affdurreel {
    background-color: red
}

#affich_calendrier_info {
    height: 50px;
    float: left;
    width: calc(100% - 19px);
    background-color: gray
}

.daycall {
    float: right;
    margin-top: 10px;
    margin-left: 10px
}

.divcarreta {
    margin-bottom: 7px;
    height: 315px;
    width: 328px;
    border: 1px solid #2F343A;
    float: left;
    margin-top: 10px
}

.bandeaudivcarreta {
    color: white;
    height: 24px;
    text-align: center;
    background: #4E677D;
    border-bottom: 1px solid #2F343A;
    line-height: -moz-block-height;
    font-family: LatoBold;
    padding-top: 4px
}

.enter_bandeau {
    height: 40px;
    margin-right: 50px
}

.enter_bandeau2 {
    height: 40px
}

#objinfgen {
    float: left
}

#lastinfo {
    width: 250px;
    height: 38px;
    float: right;
    border: 1px solid #2F343A;
    margin-right: 40px;
    margin-top: -10px;
    border-top: 1px solid #f8f8f8;
    margin-bottom: 10px;
    border-radius: 2px 2px 1px 0 !important
}

#flastinfo {
    width: 218px;
    height: 38px;
    float: right;
    border: 1px solid #2F343A;
    margin-right: -1px;
    margin-top: -10px;
    border-top: 1px solid #f8f8f8;
    margin-bottom: 10px;
    border-radius: 2px 2px 1px 0 !important
}

.txt_miss {
    float: right;
    height: 15px;
    width: 400px;
    vertical-align: middle;
    margin-top: 10px
}

.bandred {
    width: 660px;
    font-weight: 200;
    margin-bottom: 10px;
    color: #FFF;
    background: #ED5252;
    height: 45px;
    line-height: 65px;
    vertical-align: middle;
    float: left;
    margin-top: 7px;
    margin-left: 20px
}

.bandgreen {
    width: 660px;
    font-weight: 200;
    margin-bottom: 15px;
    color: #FFF;
    text-align: center;
    border-radius: 5px;
    background-color: #8BB99D;
    height: 30px;
    line-height: 32px;
    vertical-align: middle;
    float: left;
    margin-top: 7px;
    margin-left: 20px
}

.tablwhitecert {
    width: 660px;
    margin-bottom: 60px;
    background-color: white;
    height: 500px;
    float: left;
    margin-left: 20px
}

#nophoto {
    float: left;
    width: 150px;
    height: 175px;
    background-color: white;
    margin-right: 15px
}

.bordergreen {
    border: 1px solid #00bf00
}

.borderred {
    border: 1px solid #f00
}

#crossmailsoc {
    width: 26px;
    height: 25px;
    position: absolute;
    top: 483px;
    right: 465px
}

#crossmdpcompte {
    width: 26px;
    height: 25px;
    position: absolute;
    top: 519px;
    right: 465px
}

#crossverifmdpcompte {
    width: 26px;
    height: 25px;
    position: absolute;
    top: 556px;
    right: 465px
}

.greencross {
    background: url(/images/greenV.png) no-repeat;
    background-position: right
}

.redcross {
    background: url(/images/redCross.png) no-repeat;
    background-position: right
}

.prolongadroite input {
    text-align: right
}

#anneeinfo {
    float: right;
    width: 40px;
    height: 8px;
    font-size: 8pt
}

.browndiv {
    float: left;
    height: 240px;
    background-color: #DDD;
    width: 668px;
    margin-left: 18px;
    border-bottom: 1px solid white
}

.browndiv_moyenne {
    float: left;
    height: 120px;
    background-color: #DDD;
    width: 334px;
    margin-left: 18px;
    border-bottom: 1px solid white
}

.browndiv_petite {
    float: left;
    height: 120px;
    background-color: #DDD;
    width: 167px;
    border-left: 1px solid white;
    border-bottom: 1px solid white
}

.red_infos {
    float: left;
    line-height: 23px;
    border: 1px solid white;
    width: 167px;
    height: 24px;
    margin-top: 20px;
    background-color: #f55555;
    color: white;
    text-align: center
}

.imgPlus {
    display: none !important;
    pointer-events: none !important;
}

/* Plus de :hover sur imgPlus car remplace par row-actions-toolbar */

@keyframes slideRightModern {
    from {
        transform: translateX(0) scale(1);
    }

    to {
        transform: translateX(6px) scale(1.05);
    }
}

.imgnonclicked {
    background: url(./images/imgPlusgris@2x.png) no-repeat;
    background-size: 40px
}

.imgautori {
    background: url(./images/valider2blue.png) no-repeat;
    background-size: 30px
}

.imgouiclicked {
    background: url(./images/valider2blue.png) no-repeat;
    background-size: 30px;
    background-position: 0
}

.imgclickedsmall {
    background: url(./images/valider2blue.png) no-repeat;
    background-size: 20px;
    background-position: 0
}

#restarep {
    float: left;
    width: 272px;
    height: 50px;
    margin-top: 25px;
    margin-left: 408px
}

/* loading option */
.loaderDiv {
    width: 48px;
    height: 48px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
    border-radius: 50%;
    z-index: 99999999;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loaderDiv::before {
    content: "";
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    border-top-color: #FC5757;
    animation: spin 1s ease-in-out infinite;
}

@keyframes animsition-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loaderDiv2 {
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    cursor: wait;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loaderDiv2::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

.custom-loader {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.08);
    border-top-color: #FC5757;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

@-webkit-keyframes loaderDiv {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loaderDiv {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loader {
    float: right;
    display: none;
    margin-right: 125px;
    margin-top: 365px
}

#loader_autorisation {
    display: none;
    position: absolute;
    margin-left: 650px;
    left: 0;
    right: 0;
    margin-top: 300px;
    z-index: 999
}

#loader_autorisation img {
    width: 35px;
    vertical-align: middle
}

#loader_autorisation_acc {
    display: none;
    position: absolute;
    margin-left: 650px;
    left: 0;
    right: 0;
    margin-top: 480px;
    z-index: 999
}

#loader_autorisation_acc img {
    width: 35px;
    vertical-align: middle
}

#loader img {
    width: 35px;
    vertical-align: middle
}

#loader label {
    color: white;
    font-size: 14pt;
    margin-left: 10px;
    vertical-align: middle
}

.onglets {
    width: 100%;
    height: 26px;
    float: left;
    color: white;
    margin-left: 5px;
    background-color: transparent !important;
    padding-left: 14px
}

#corpsonglet {
    background-color: white;
    height: calc(100% - 50px);
    overflow: hidden;
    margin-left: 5px;
    width: calc(100% - 15px);
    border: 2px solid #CCC;
    box-shadow: 2px 2px 5px #DDD;
    border-radius: 5px
}

#corpsonglet2 {
    height: calc(100% - 10px);
    overflow: hidden;
    margin-left: 5px;
    width: calc(100% - 15px);
    border: none;
    padding: 0
}

#infoEditionsPL {
    position:fixed;
    top:30%;
    left:20%;
    width:60%;
    height:auto;
    z-index:999999999;
    background-color:rgba(255, 0, 0, 0.4);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border:2px solid black;
}

.ongletsobs {
    z-index: 9999;
    height: 26px;
    float: left;
    margin-left: 5px;
    padding-left: 14px;
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    float: unset;
    white-space: nowrap
}

.onglet {
    position: relative;
    color: #3A3A3A;
    font-family: LatoBold;
    float: left;
    display: inline-block;
    width: auto !important;
    margin-top: 0;
    height: 23px;
    line-height: 22px;
    vertical-align: bottom;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 4px;
    margin-left: 4px;
    /* Changed from -5px for cleaner separation */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease
}

.onglet2 {
    position: relative;
    color: #3A3A3A;
    font-family: LatoBold;
    float: left;
    display: inline-block;
    width: auto !important;
    margin-top: 0;
    height: 23px;
    line-height: 22px;
    vertical-align: bottom;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 4px;
    margin-left: 4px;
    /* Changed from -5px */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.2s ease
}

.ongletsobs .onglet2, .ongletsobs .onglet {
    float: none;
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    padding: 0px 14px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.onglet2:hover {
    color: #ED5252;
    background-color: rgba(237, 82, 82, 0.08)
}

.ongleton {
    color: #ED5252;
    text-shadow: none;
    background: #ffffff;
    z-index: 999;
    border: 1px solid #DDE4EC;
    border-bottom: 3px solid #ED5252;
    box-shadow: 0 -2px 7px rgba(79, 70, 229, 0.10), 0 1px 0 white inset
}

.ongletoff {
    color: #7B8491;
    text-shadow: none;
    font-family: Lato;
    background: #F3F3F3;
    border: 1px solid rgba(132, 133, 134, 0.18);
    border-bottom: 1px solid #CCC;
    z-index: 98
}

.ongletoff:hover {
    color: #ED5252;
    background: rgba(237, 82, 82, 0.08);
    border: 1px solid rgba(237, 82, 82, 0.18);
    border-bottom: 1px solid #CCC
}

.ongletpg {
    background-color: white;
    height: calc(100% - 60px);
    overflow: hidden;
    margin-left: 5px;
    width: calc(100% - 25px);
    border: 1px solid rgba(132, 133, 134, 0.18) !important;
    box-shadow: 2px 2px 5px rgba(132, 133, 134, 0.10) !important;
    border-radius: 5px !important;
    padding-top: 10px;
    padding-right: 10px;
}

.divinfo {
    float: unset;
    border: 2px solid #CCC;
    box-shadow: 2px 2px 4px solid #DDD;
    border-radius: 5px;
    height: auto;
    padding: 5px;
    margin-left: 10px;
    margin-bottom: 5px;
    display: inline-block;
    width: calc(100% - 30px);
    background-color: #DDD
}

.clsetaplan {
    width: 285px;
    float: left;
    display: inline;
    height: 100%;
    border: 0 solid #AAA;
    font-size: 10.5pt;
    font-family: Lato;
    margin-bottom: 8px;
    margin-top: 8px;
    background-color: transparent !important
}

.clsetaplan1 {
    width: 100%;
    float: left;
    display: inline;
    height: 100%;
    border: 0 solid #AAA;
    font-size: 10.5pt;
    font-family: Lato;
    margin-bottom: 8px;
    margin-top: 8px;
    background-color: transparent !important;
    text-align: center;
    color: white
}

.nomcontact {
    margin-left: 5px;
    max-width: 240px;
    width: 240px;
    min-width: 240px;
    display: block;
    margin-left: 48px;
    padding-top: 5px;
    font-family: Lato;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.societe {
    margin-left: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 240px;
    width: 240px;
    min-width: 240px;
    display: block;
    margin-left: 48px;
    padding-top: 5px;
    font-family: LatoLight;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

#nonplanning {
    width: 650px;
    background-color: rgba(153, 150, 150, 1);
    text-align: center;
    margin-left: 25px;
    line-height: 40px
}

.bilanfinan {
    float: left;
    height: 15px;
    width: 340px;
    vertical-align: middle;
    margin-top: 10px;
    text-align: left;
    text-indent: 13px
}

#solde_color_red {
    float: left;
    width: 250px;
    height: 20px;
    border: 1px solid #000;
    background-color: red;
    border-radius: 12px;
    margin-top: 8px
}

#solde_color_green {
    float: left;
    max-width: 250px;
    height: 20px;
    border: 1px solid #000;
    background-color: #4ba84b;
    border-radius: 12px;
    margin-top: -1px;
    position: relative;
    top: 0;
    left: 0;
    margin-left: -1px
}

#cdinfo_gpa {
    margin-bottom: 0;
    background-color: white;
    height: 35px;
    margin-left: 3px;
    width: 50px;
    float: left;
    display: inline;
    margin-top: 2px;
    text-align: right
}

#desi_gpa {
    margin-bottom: 0;
    background-color: white;
    height: 35px;
    margin-left: 30px;
    width: 230px;
    float: left;
    display: inline;
    margin-top: 2px
}

#montantllg_gpa {
    margin-bottom: 0;
    text-align: right;
    height: 30px;
    border: 1px solid gainsboro;
    margin-left: 3px;
    width: 120px;
    float: left;
    display: inline;
    margin-top: 2px
}

#datelimit_gpa {
    background-color: white;
    height: 30px;
    margin-left: 3px;
    width: 100px;
    float: left;
    display: inline;
    margin-top: 2px
}

.txt_plan_top {
    width: 320px;
    position: absolute;
    top: 0;
    height: 45px;
    background: transparent url(images/bar-gauche@2x.png) repeat-x scroll 0% 0%;
    text-align: center;
    line-height: 45px;
    color: white
}

#reste {
    float: left;
    border: 0 solid #2F343A;
    height: 100%;
    width: calc(100% - 1021px)
}

#reste_top_rouge {
    background: #ED5252;
    width: 100%;
    height: 65px;
    float: left
}

#reste_mid_marron {
    float: left;
    height: calc(100% - 113px);
    width: 100%;
    background-color: transparent !important
}

#reste_bot_noir {
    background: url(./images/fond-right-bottom@2x.png) repeat-x;
    width: 100%;
    height: 48px;
    float: left;
    position: relative
}

.table_synthes {
    width: calc(100% - 34px);
    margin-left: 17px;
    float: left;
    background-color: #00BFC5;
    font-size: 10pt;
    color: white;
    border: 1px solid white;
    border-collapse: collapse;
    padding: 2px
}

.table_synthes td {
    text-align: center;
    height: 20px;
    border: 1px solid white
}

#synthes {
    height: calc(100% - 30px);
    overflow: auto
}

.img_synthes {
    width: 20px;
    margin-right: 10px;
    margin-left: 20px;
    margin-top: -2px;
    vertical-align: middle
}

.synthes_img20 {
    width: 20px
}

.liste_synthes {
    width: calc(100% - 34px);
    float: left;
    height: 40px;
    margin-left: 17px;
    list-style-type: none;
    background-color: white;
    border-bottom: 1px solid #c8c5c5
}

.synthes_etapetud {
    float: left;
    height: 100%;
    width: 132px;
    border-right: 2px solid #8F8D8D
}

.synthes_dtdebut {
    float: left;
    height: 100%;
    width: 90px;
    border-right: 2px solid #8F8D8D
}

.synthes_dtfini {
    float: left;
    height: 100%;
    width: 90px;
    border-right: 2px solid #8F8D8D;
    background-color: #f8a7a7
}

.synthes_prcent_vert {
    float: left;
    text-align: center;
    height: 100%;
    width: 40px;
    border-right: 2px solid #8F8D8D;
    background-color: #a2e97d
}

.synthes_prcent_rouge {
    float: left;
    text-align: center;
    height: 100%;
    width: 34px;
    border-right: 2px solid #8F8D8D;
    background-color: #f8a7a7
}

.synthes_dt_span {
    width: 100%;
    float: left;
    margin-top: 3px;
    font-size: 9.5pt
}

.synthes_prcent_span {
    width: 100%;
    float: left;
    margin-top: 3px;
    font-size: 9.5pt
}

.synthes_span_etat {
    width: 100px;
    float: left;
    font-size: 10pt
}

.synthes_remise {
    float: left;
    text-align: center;
    height: 100%;
    width: 66px;
    border-right: 2px solid #8F8D8D
}

.synthes_bct {
    float: left;
    text-align: center;
    height: 100%;
    width: 92px;
    border-right: 2px solid #8F8D8D
}

.synthes_mo {
    float: left;
    text-align: center;
    height: 100%;
    width: 92px;
    border-right: 2px solid #8F8D8D
}

.synthes_synt {
    float: left;
    text-align: center;
    height: 100%;
    width: 40px;
    border-right: 2px solid #8F8D8D
}

.synthes_fact {
    float: left;
    text-align: center;
    height: 100%;
    width: 38px;
    border-right: 2px solid #8F8D8D
}

#aide_support {
    background: #ded2c7;
    float: left;
    height: 90px;
    width: 320px;
    bottom: 36px;
    position: absolute;
    cursor: pointer
}

#aide_support_ligne {
    position: absolute;
    margin-left: 0;
    margin-top: 47px;
    height: 30px;
    background: transparent url(/images/fond-bouton@2x.png) no-repeat scroll 0% 0%/335px 47px;
    width: 50%;
    border-right: 1px solid #eae3e3;
    text-align: center;
    line-height: 30px;
    color: #685A5A;
    font-size: 9pt;
    height: 30px
}

#aide_support_support {
    position: absolute;
    margin-left: 50%;
    margin-top: 47px;
    height: 30px;
    width: 50%;
    background: transparent url(/images/fond-bouton@2x.png) no-repeat scroll 0% 0%/335px 47px;
    text-align: center;
    line-height: 30px;
    color: #685A5A;
    font-size: 9pt;
    height: 30px;
    cursor: pointer
}

#polconfi {
    float: left;
    text-decoration: none;
    color: white;
    margin-left: 55px;
    margin-top: 5px;
    font-size: 9pt
}

#polconfi u {
    text-decoration: none
}

.ctitre_rouge_petit {
    font: 700 1em/1.5em "Lato", Helvetica, Arial, sans-serif;
    color: #ff4343;
    width: 100%;
    float: left;
    margin-left: 15px
}

.ctitre_rouge {
    font: 700 1.2em/1.5em "Lato", Helvetica, Arial, sans-serif;
    color: #ff4343;
    width: 100%;
    float: left;
    margin-left: 15px
}

.img_ctitre_rouge {
    width: 100%;
    float: left;
    margin-left: 15px;
    height: 20px
}

.img_ctitre_rouge li {
    width: 60px;
    height: 40%;
    float: left;
    border-top: 3px solid #989494;
    list-style-type: none;
    opacity: 0.6
}

.ctexte_normal {
    font: 300 1em/1.2em "Lato", Helvetica, Arial, sans-serif;
    color: #2f343a;
    float: left;
    margin-left: 15px;
    width: 97%;
    margin-bottom: 13px
}

.rectangle_synthese {
    position: absolute;
    cursor: pointer;
    border: 1px solid red
}

#rect_information {
    height: 102px;
    width: 117px;
    margin-left: 304px;
    margin-top: 286px
}

#rect_etude {
    height: 77px;
    width: 117px;
    margin-left: 360px;
    margin-top: 407px
}

#rect_chantier {
    height: 100px;
    width: 117px;
    margin-left: 304px;
    margin-top: 511px
}

#rect_gestion {
    height: 100px;
    width: 117px;
    margin-left: 183px;
    margin-top: 511px
}

#rect_reception {
    height: 77px;
    width: 117px;
    margin-left: 128px;
    margin-top: 407px
}

#rect_GPA {
    height: 102px;
    width: 117px;
    margin-left: 193px;
    margin-top: 286px
}

.titre_conf {
    width: 100%;
    height: 44px;
    background-color: #ED5252
}

.titrelux_conf {
    width: 50%;
    line-height: 47px;
    margin: auto;
    color: white;
    font-size: 13pt;
    font-family: Latobold;
    text-align: center;
    cursor: default
}

#nominp {
    color: #2F343A;
    background-color: transparent;
    height: 40%;
    width: 210px
}

#entinp {
    color: #2F343A;
    background-color: transparent;
    height: 40%
}

#votrerole {
    width: 140px;
    text-align: left;
    float: left;
    margin-top: 37px;
    font-weight: bold;
    background-color: transparent;
    border: medium none transparent
}

#votrerole_p {
    font-size: 11pt;
    text-indent: 0;
    width: 170px;
    text-align: left;
    float: left;
    margin-top: 3px;
    background-color: transparent;
    border: medium none transparent
}

#votreentreprise {
    margin-left: 40px;
    width: 30px;
    height: 30px;
    vertical-align: middle
}

#spanvotreentreprise {
    width: 30px;
    height: 30px;
    color: #2F343A;
    font-size: 10.5pt;
    vertical-align: middle
}

#editinterv {
    float: left;
    width: 100%;
    height: 40px;
    margin-top: 5px
}

#editinterv span {
    font-size: 10.5pt;
    line-height: 25px;
    margin-left: 25px;
    float: left
}

#editinterv label {
    line-height: 35px
}

#aide_chk {
    position: absolute;
    margin-top: 0;
    margin-left: 0;
    width: 50%;
    height: 47px;
    color: #3A3A3A;
    background: transparent url(/images/fond-bouton@2x.png) no-repeat scroll 0% 0%/335px 47px;
    border-top: 1px solid white;
    background-size: 320px 47px;
    font-family: Lato;
    font-size: 1.1em;
    vertical-align: middle;
    line-height: 47px;
    cursor: pointer
}

#aide_chk img {
    margin-left: 10px
}

#aide_bib {
    position: absolute;
    margin-top: 0;
    margin-left: 50%;
    width: 50%;
    height: 47px;
    color: #3A3A3A;
    background: transparent url(/images/fond-bouton@2x.png) no-repeat scroll 0% 0%/335px 47px;
    border-top: 1px solid white;
    background-size: 320px 47px;
    font-family: Lato;
    font-size: 1.1em;
    vertical-align: middle;
    line-height: 47px;
    cursor: pointer
}

#aide_bib img {
    margin-left: 10px
}

#aide_plan {
    float: left;
    width: 300px;
    height: 47px;
    color: rgb(0, 0, 0);
    background: transparent url(/images/fond-bouton@2x.png) no-repeat scroll 0% 0%/335px 47px;
    border-top: 1px solid white;
    background-size: 335px 47px;
    font-family: LatoBold;
    font-size: 11pt;
    vertical-align: middle;
    line-height: 47px;
    padding-left: 20px;
    cursor: pointer
}

#generalgrp {
    padding-top: 0;
    overflow: hidden;
    background-color: transparent !important;
    height: 100%
}

.groupelst {
    font-size: 12pt
}

.red {
    color: #FA3F39 !important;
    font-family: LatoLight !important;
    font-size: 12pt !important
}

.blue {
    color: #0A7FFB !important;
    font-family: LatoLight !important;
    font-size: 12pt !important
}

.green {
    color: #88DC52 !important;
    font-family: LatoLight !important;
    font-size: 12pt !important;
    width: 100% !important;
    margin: 0 !important
}

.blue2 {
    color: #0A7FFB !important;
    font-family: LatoLight !important;
    font-size: 12pt !important;
    width: 100% !important;
    height: 30px !important;
    line-height: 30px !important;
    vertical-align: middle
}

.red:hover {
    color: #FF0C06 !important
}

.blue:hover {
    color: #074BFF !important
}

.separator {
    width: 1px !important;
    height: 30px !important;
    border: 1px solid #DDD !important
}

.separator2 {
    width: 100% !important;
    height: 1px !important;
    border: 1px solid #DDD !important
}

.blur {
    -webkit-filter: grayscale(0.1) blur(0.5px) brightness(85%)
}

#cropimg {
    width: 732px;
    height: 688px;
    z-index: 99999;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -344px;
    margin-left: -371px;
    border: 1px solid #000;
    border-radius: 5px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    z-index: 999999999 !important;
    box-shadow: 5px 5px 15px #3a3a3a
}

#opencontact {
    overflow: auto;
    height: 80%;
    width: 80%;
    max-width: 742px;
    /* Fallback max-width */
    position: fixed;
    border: none;
    border-radius: 15px;
    z-index: 999999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    background-color: #fff
}

#selcontact {
    max-width: 320px;
    max-height: 688px;
    overflow: auto;
    height: 90%;
    position: fixed;
    border: 1px solid #000;
    border-radius: 17px;
    z-index: 999999999 !important;
    box-shadow: 5px 5px 15px #3a3a3a;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-top: unset !important;
    margin-left: unset !important
}

#frCheckList {
    overflow: hidden;
    height: 90%;
    width: 90%;
    position: fixed;
    border: 1px solid #000;
    border-radius: 17px;
    z-index: 999999999 !important;
    box-shadow: 5px 5px 15px #3a3a3a;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-top: unset !important;
    margin-left: unset !important
}

#frCouleur {
    width: 266px;
    height: 560px;
    max-height: calc(100vh - 20px);
    z-index: 9999999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: unset;
    margin-left: unset;
    border: 1px solid #000;
    border-radius: 17px;
    box-shadow: 5px 5px 15px #3a3a3a;
    box-sizing: border-box;
}

.depastext {
    text-overflow: ellipsis !important
}

.mce-last {
    border: none !important
}

.mce-widget.mce-tooltip {
    display: none !important
}

/* ── TinyMCE modern light toolbar (style épuré) ── */
.mce-tinymce.mce-container.mce-panel {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.mce-tinymce {
    -moz-box-shadow: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.mce-tinymce:focus-within {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

/* Toolbar container */
.mce-toolbar-grp {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 3px 6px !important;
    border-radius: 7px 7px 0 0 !important;
}

.mce-toolbar-grp .mce-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.mce-toolbar-grp .mce-container-body {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* Button groups */
.mce-toolbar .mce-btn-group {
    display: inline-flex !important;
    align-items: center !important;
    margin: 1px 0 !important;
    padding: 0 !important;
}

.mce-toolbar .mce-btn-group:not(:first-child) {
    border-left: 1px solid #e5e7eb !important;
    margin-left: 2px !important;
    padding-left: 2px !important;
}

.mce-toolbar .mce-btn-group .mce-container-body {
    display: inline-flex !important;
    align-items: center !important;
}

/* Buttons */
.mce-btn-group .mce-btn {
    height: 26px !important;
    min-width: 24px !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.mce-btn-group .mce-btn button {
    padding: 1px 4px !important;
    line-height: normal !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
}

/* Listboxes and select menus (fontselect, fontsizeselect, formatselect) */
.mce-btn-group .mce-btn.mce-listbox,
.mce-btn-group .mce-btn.mce-menubtn {
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
}

.mce-btn-group .mce-btn.mce-listbox button,
.mce-btn-group .mce-btn.mce-menubtn button {
    padding: 0 6px !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
}

.mce-btn-group .mce-btn.mce-listbox span.mce-txt,
.mce-btn-group .mce-btn.mce-menubtn span.mce-txt {
    font-size: 12px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155 !important;
    width: auto !important;
    max-width: none !important;
    display: inline-block !important;
    line-height: normal !important;
    text-align: left !important;
}

.mce-btn-group .mce-btn.mce-listbox .mce-caret,
.mce-btn-group .mce-btn.mce-menubtn .mce-caret {
    position: static !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
}

.mce-btn-group .mce-btn:hover,
.mce-btn-group .mce-btn:focus {
    background: #f1f5f9 !important;
}

/* Active state (soft blue pill matching reference image) */
.mce-btn-group .mce-btn.mce-active,
.mce-btn-group .mce-btn.mce-active:hover {
    background: #dbeafe !important;
}

.mce-btn-group .mce-btn.mce-active .mce-ico {
    color: #1d4ed8 !important;
}

.mce-btn-group .mce-btn.mce-disabled,
.mce-btn-group .mce-btn.mce-disabled:hover {
    opacity: 0.35 !important;
    cursor: default !important;
    pointer-events: none !important;
    background: transparent !important;
}

/* Icons base */
.mce-toolbar .mce-ico {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mce-btn:hover .mce-ico {
    color: #0f172a !important;
}

/* ── Pictos modernes revus selon l'image ── */
.mce-i-bold:before {
    content: 'B' !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.mce-i-italic:before {
    content: 'I' !important;
    font-family: "Georgia", serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.mce-i-underline:before {
    content: 'U' !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2.5px !important;
    font-size: 13.5px !important;
}

.mce-i-strikethrough:before {
    content: 'S' !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
    font-size: 13.5px !important;
}

.mce-i-forecolor:before {
    content: 'A' !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
}

.mce-i-backcolor:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 2 4 4-10 10H8v-4L18 2z'/%3E%3Cpath d='m14 6 4 4'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

i.mce-i-backcolor {
    background: transparent !important;
}

.mce-i-undo:before {
    content: '' !important;
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7v6h6'/%3E%3Cpath d='M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-redo:before {
    content: '' !important;
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 7v6h-6'/%3E%3Cpath d='M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-removeformat:before {
    content: '' !important;
    display: inline-block !important;
    width: 17px !important;
    height: 17px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h11'/%3E%3Cpath d='M7.5 5v14'/%3E%3Cpath d='m14 12 7 7'/%3E%3Cpath d='m21 12-7 7'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-btn:hover .mce-i-removeformat:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h11'/%3E%3Cpath d='M7.5 5v14'/%3E%3Cpath d='m14 12 7 7'/%3E%3Cpath d='m21 12-7 7'/%3E%3C/svg%3E") !important;
}

.mce-i-table:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M3 15h18'/%3E%3Cpath d='M12 3v18'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-image:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-bullist:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='9' x2='20' y1='6' y2='6'/%3E%3Cline x1='9' x2='20' y1='12' y2='12'/%3E%3Cline x1='9' x2='20' y1='18' y2='18'/%3E%3Ccircle cx='4' cy='6' r='1.5' fill='%23334155'/%3E%3Ccircle cx='4' cy='12' r='1.5' fill='%23334155'/%3E%3Ccircle cx='4' cy='18' r='1.5' fill='%23334155'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-numlist:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='10' x2='21' y1='6' y2='6'/%3E%3Cline x1='10' x2='21' y1='12' y2='12'/%3E%3Cline x1='10' x2='21' y1='18' y2='18'/%3E%3Cpath d='M4 6h1v4'/%3E%3Cpath d='M4 10h2'/%3E%3Cpath d='M6 18H4c0-1 2-2 2-3s-1-1.5-2-1'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-code:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

.mce-i-fullscreen:before {
    content: '' !important;
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M21 8V5a2 2 0 0 0-2-2h-3'/%3E%3Cpath d='M3 16v3a2 2 0 0 0 2 2h3'/%3E%3Cpath d='M16 21h3a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
}

/* ── Flèche vers le bas / chevrons d'option très visibles ── */
.mce-toolbar .mce-caret {
    border: none !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center !important;
    background-size: 8px 8px !important;
}

.mce-btn:hover .mce-caret {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.mce-splitbtn .mce-open {
    padding: 0 3px !important;
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Color preview bar (forecolor / backcolor) */
.mce-colorbutton > button:first-child {
    position: relative !important;
    padding-bottom: 5px !important;
}

.mce-colorbutton .mce-preview {
    position: absolute !important;
    bottom: 2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 14px !important;
    height: 2.5px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 72% !important;
}

.mce-colorbutton .mce-i-forecolor + .mce-preview {
    background-color: #0f172a;
}

.mce-colorbutton .mce-i-backcolor + .mce-preview {
    background-color: #facc15;
}

/* Floating panels (colorpicker, menus) */
.mce-floatpanel {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.mce-floatpanel .mce-container-body {
    background: #ffffff !important;
}

.mce-floatpanel.mce-popover.mce-bottom > .mce-arrow {
    border-bottom-color: #cbd5e1 !important;
}

.mce-floatpanel.mce-popover.mce-bottom > .mce-arrow:after {
    border-bottom-color: #ffffff !important;
}

.mce-floatpanel.mce-popover.mce-top > .mce-arrow {
    border-top-color: #cbd5e1 !important;
}

.mce-floatpanel.mce-popover.mce-top > .mce-arrow:after {
    border-top-color: #ffffff !important;
}

/* Color picker grid */
.mce-colorbutton-grid {
    border: none !important;
    background: #ffffff !important;
    padding: 6px !important;
    margin: 0 !important;
}

.mce-colorbutton-grid td {
    padding: 2px !important;
}

.mce-colorbutton-grid td > div {
    width: 17px !important;
    height: 17px !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}

.mce-colorbutton-grid td > div:hover {
    transform: scale(1.22) !important;
    box-shadow: 0 0 0 2px #3b82f6, 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    z-index: 10 !important;
    position: relative !important;
}

.mce-colorbtn-trans div {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 15px !important;
    border: 1px dashed #cbd5e1 !important;
}

.mce-colorbtn-trans div:hover {
    color: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* Edit area - aucun contour en pointillés */
.mce-edit-area {
    border: none !important;
    border-top: none !important;
}

.mce-edit-area iframe {
    border: none !important;
    display: block !important;
}

/* Fullscreen */
.mce-fullscreen {
    left: 320px !important;
    width: calc(100% - 320px) !important;
    z-index: 99999999 !important
}

#progress-wrp {
    border: 1px solid #09C;
    padding: 1px;
    position: relative;
    height: 30px;
    border-radius: 3px;
    margin: 10px;
    text-align: left;
    background: #fff;
    box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
    float: left;
    min-width: 100px;
    margin-top: 0;
    display: none
}

#progress-wrp .progress-bar {
    height: 100%;
    border-radius: 3px;
    background-color: #F55154;
    width: 0;
    box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11)
}

#progress-wrp .status {
    top: 3px;
    left: 50%;
    position: absolute;
    display: inline-block;
    color: #000
}

.imgred {
    width: 15px;
    position: absolute;
    top: 10px;
    margin-left: 5px
}

.imgred2 {
    width: 15px;
    position: relative;
    top: -5px;
    right: -5px;
    margin: 0;
    float: right
}

#etapesreceptionblack {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: white;
    line-height: 22px;
    vertical-align: middle;
    padding: 7px 14px;
    font-family: LatoBold, sans-serif;
    font-size: 12.5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.ongletExe {
    height: unset !important;
    width: 100% !important;
    overflow: hidden !important
}

.redover {
    list-style: none
}

#synthese_lot_all .divligne {
    cursor: pointer;
    background-color: white
}

#synthese_lot_all .divligne:hover {
    background-color: #EEE;
    border: 1px solid #DDD
}

.bulle_alertes {
    position: absolute;
    background: #A49487;
    border: 1px solid white;
    color: white;
    border-radius: 10px;
    font-size: 11px;
    height: 24px;
    width: 26px;
    line-height: 24px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer
}

textarea {
    text-indent: 0 !important;
    border: 1px solid rgba(92, 188, 196, 0.4);
    border-radius: 8px;
    font-family: Lato;
    font-size: 11pt;
    padding: 10px;
    background-color: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease
}

textarea:focus {
    border-color: #24BFC6;
    box-shadow: 0 0 0 3px rgba(36, 191, 198, 0.1);
    background-color: #fff;
    border: 2px solid rgba(92, 188, 196, 1);
}

.bouton_rouge {
    border: 2px solid white;
    background: #ED5252;
    border-radius: 15px;
    height: 30px;
    line-height: 30px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer
}

.bouton_gris {
    border: 2px solid white;
    background: #65798C;
    border-radius: 15px;
    height: 30px;
    line-height: 30px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer
}

.btCouleur {
    border: 2px solid #AAA;
    border-radius: 5px;
    width: 33px;
    height: 28px;
    font-size: 0;
    margin-top: 0;
    background-image: none
}

/* Info comptes au dessus du menu gauche */
#pleinecran > #infoCompte,
#programme > #infoCompte {
    display: none !important;
}

#infoCompte {
    width: 320px;
    height: 65px;
    background-color: #ED5252
}

#infoCompteImg {
    width: 60px;
    height: 60px;
    float: left;
    margin-left: 2px
}

#infoCompteLogo {
    width: 55px;
    height: 55px;
    border-radius: 27px;
    border: 2px solid #D44647;
    box-shadow: 1px 1px -2px #333;
    margin-left: 2px;
    background: white;
    object-fit: contain
}

#infoCompteInf {
    width: 220px;
    height: 60px;
    float: left
}

#infoCompteInf1 {
    font-size: 1.1em;
    color: white;
    font-weight: 600;
    width: 100%;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    font-family: Lato;
    text-indent: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

#infoCompteInf2 {
    font-size: 0.8em;
    color: white;
    width: 100%;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
    font-family: LatoLight;
    text-indent: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

#popup {
    position: fixed !important;
    width: 500px;
    height: 255px;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999 !important;
    overflow: hidden !important;
    background: #fff
}

#popupT {
    z-index: 99999999;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0px !important;
    width: 784px;
    height: 540px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    overflow: hidden;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    background: transparent !important;
}

.popupDiv {
    position: absolute;
    height: 80%;
    width: 80%;
    top: 10%;
    left: 10%;
    display: block;
    border-radius: 10px;
    border: 1px solid white;
    z-index: 999999999;
    box-shadow: 15px 0 20px #000
}

.ui-widget-overlay {
    z-index: 999999 !important
}

.drop-area {
    border: 2px dashed white;
    border-radius: 10px;
    width: 160px;
    height: 135px;
    color: white;
    cursor: context-menu;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.drop-area:hover {
    border: 2px solid white
}

.ligne {
    width: 100%;
    float: none
}

.ligne2 {
    width: 100%;
    float: none;
    display: inline-block
}

#changemdp {
    z-index: 999999999;
    background-color: #DBCFC2;
    position: fixed;
    width: 500px;
    height: 300px;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -250px;
    border: 1px solid #000;
    border-radius: 17px
}

#mobile-indicator {
    display: block
}

.textcomplete-dropdown {
    border: 1px solid #333;
    background-color: #EEE;
    color: #333;
    font-size: 0.8em;
    border-radius: 5px;
    box-shadow: 10px 5px 5px #AAA
}

.textcomplete-dropdown li {
    border-top: 1px solid #ddd;
    padding: 2px 5px
}

.textcomplete-dropdown li:first-child {
    border-top: none
}

.textcomplete-dropdown li:hover, .textcomplete-dropdown .active {
    background-color: #FE6364;
    color: white
}

.textcomplete-dropdown {
    list-style: none;
    padding: 0;
    margin: 0
}

.textcomplete-dropdown a:hover {
    cursor: pointer
}

.bulleMenu {
    position: absolute;
    float: left;
    left: 360px;
    width: 25px;
    height: 25px;
    margin-top: -44px;
    color: white;
    line-height: 25px;
    border-radius: 15px;
    border: 2px solid #5dbc35;
    background: #5dbc35;
    text-align: center;
    font-size: 0.8em;
    box-shadow: 1px 1px 5px #555;
    filter: unset !important;
    opacity: 0.6;
    zoom: 0.8
}

.bulleMenu img {
    width: 25px;
    height: 25px;
    margin: 0;
    filter: brightness(10) !important
}

#menugauche .bulleMenu,
#menugaucheetapes .bulleMenu {
    left: auto !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    float: none !important;
    min-width: 22px !important;
    width: auto !important;
    padding: 0 6px !important;
    height: 22px !important;
    line-height: 20px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-family: LatoBold !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.92 !important;
    zoom: 1 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

#menugauche .bulleMenu img,
#menugaucheetapes .bulleMenu img {
    width: 16px;
    height: 16px;
    margin: 0;
    float: none
}

.nowrap {
    white-space: nowrap;
    width: 100% !important
}

.partContact {
    width: 100%;
    display: flex
}

.partContact:hover {
    background-color: rgba(100, 200, 100, 0.1);
    border-left: 4px solid #9D9;
    border-radius: 10px;
    box-shadow: 2px 2px 4px #DDD
}

@media screen and (max-width: 500px) {
    #old-popup {
        width: calc(100% - 2px) !important;
        top: 25% !important;
        left: 0 !important;
        border-radius: 10px;
        border: 1px solid white;
        margin-top: unset !important;
        margin-left: unset !important
    }

    .popupDiv {
        height: calc(100% - 2px);
        width: calc(100% - 2px);
        top: 0;
        left: 0%;
        border-radius: 10px;
        border: 1px solid white
    }

    #img_schema_div {
        margin-top: -20px;
        margin-left: -20px;
        transform: scale(0.8);
        display: inline-block
    }

    .entreepied2 {
        width: 35px
    }

    .entreepied2 img {
        float: none;
        display: unset;
        width: 30px !important;
        margin: 7px !important;
        margin-left: 5px !important
    }

    .entreepied2 span {
        display: none !important;
        width: unset
    }


}

@media screen and (max-width: 740px) {
    #menuBasGauche {
        bottom: 48px
    }

    #navigation {
        height: calc(100% - 96px) !important
    }

    #aide_support {
        bottom: 84px !important
    }

    #img_schema_div {
        float: none;
        width: unset;
        width: 100%
    }

    #tab_schema {
        float: none
    }

    #tab_alert {
        margin-top: 10px;
        height: unset;
        margin-bottom: 10px
    }

    .menugauche_hide {
        transform: scale(0.5) !important;
        transform-origin: left top !important;
        max-height: calc(200% - 290px) !important;
        min-height: calc(200% - 290px) !important
    }

    .partieprogramme_hide {
        padding-left: 30px !important;
        max-width: calc(100% - 30px) !important
    }

    .drop-area {
        display: none
    }
}

@media screen and (max-width: 600px) {
    #infoEdge {
        display: none
    }

    .options {
        font-size: 10px !important
    }

    .modeSmall {
        float: none !important;
        display: block !important;
        width: calc(100% - 20px) !important;
        margin-left: 10px !important
    }

    #mobile-indicator {
        display: block
    }

    #titremenu {
        margin-left: 40px;
        width: calc(90% - 40px);
        max-width: calc(90% - 40px);
        min-width: calc(90% - 40px);
        top: 0;
        margin-top: 11px;
        font-size: 1.1em
    }

    #changemdp {
        width: 100%;
        height: 100%;
        margin-top: 0;
        margin-left: 0;
        top: 0;
        left: 0
    }

    .colonne2 {
        width: 100%;
        float: unset
    }

    .entete {
        height: 40px;
        top: 0;
        position: fixed
    }

    #titremenu_solo {
        max-width: calc(100% - 40px);
        position: fixed;
        top: 8px;
        left: 40px;
        margin: 0
    }

    #partieprogramme {
        top: 40px !important;
        height: calc(100% - 105px) !important;
        width: calc(100% - 30px) !important;
        margin: 0 !important;
        position: fixed !important
    }

    #partieprogramme2 {
        top: 40px;
        height: calc(100% - 105px);
        width: calc(100% - 30px);
        margin-left: 30px;
        position: fixed;
    }

    #entetemenudroite {
        margin-top: 5px
    }

    #entetemenudroitedroite {
        margin-top: 5px
    }

    #entetemenudroitedroite span {
        display: none
    }

    #vignetteentreprise {
        width: 91%;
        padding-top: 26px
    }

    #vignetteentreprise img {
        width: 30%
    }

    #vignetteglobalproject {
        margin-top: 12px;
        text-align: center;
        font-size: 10pt;
        line-height: 26px;
        height: 26px;
        width: 100%;
        max-width: unset
    }

    #vignetteglobalproject img {
        width: 26px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px
    }

    #vignetteglobalproject span {
        display: inline-block;
        line-height: 26px;
        vertical-align: middle;
        font-size: 1em
    }

    #entetemenugauche {
        margin-top: 8px !important;
        margin-left: 40px !important;
        font-size: 0.7em !important;
        max-width: 60px !important
    }

    #divBtAdd {
        bottom: 105px
    }

    #groupecontacts {
        height: calc(100% - 130px) !important
    }

    #opencontact {
        border-radius: 0 !important
    }

    #cropimg {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important
    }
}

@media screen and (max-height: 800px) {
    #cropimg {
        top: 10px !important;
        height: calc(100% - 20px) !important;
        margin-top: 0 !important
    }
}

/* ligne tableau sur 2 */
@media screen and (max-width: 1100px) {
    .labelOption {
        display: none
    }
}

@media screen and (max-width: 800px) {
    #btDeconnecteAll {
        display: none
    }

    .li_ligne1 {
        height: 18px !important;
        line-height: 18px !important;
        width: calc(100% - 95px) !important
    }

    .li_ligne2 {
        height: 18px !important;
        line-height: 18px !important;
        margin-left: 92px !important;
        margin-top: -20px;
        width: calc(100% - 95px) !important
    }

    #tablecolonnes {
        display: flex
    }

    .entreepied2 img {
        float: none;
        display: unset;
        width: 25px;
        margin-left: 22px;
        margin-top: 4px
    }

    #vignetteglobalproject {
        display: none
    }

    input {
        max-width: 100% !important
    }

    .typeaffaire {
        max-width: calc(100% - 20px)
    }

    .entreepied2 span {
        font-size: 0.65em;
        padding-left: unset;
        top: unset;
        display: block;
        width: 65px;
        text-align: center;
        text-indent: 5px
    }

    #imgLogoAff {
        float: unset !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: auto
    }

    #infLogoAff {
        width: calc(100% - 15px) !important;
        margin-left: 5px
    }

    #box_photo_infos {
        max-width: calc(100% - 10px) !important
    }
}


@media (max-width: 1000px) {
    #opencontact, #fenMail {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        transform: unset !important
    }

    #frCheckList {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        transform: unset !important
    }
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    width: 8px;
    opacity: 1
}

.multi-select {
    position: relative;
    display: inline-block;
    width: 240px;
    font-family: sans-serif
}

.multi-select-toggle {
    width: 100%;
    padding: 8px 10px;
    text-align: left;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer
}

.multi-select-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    z-index: 1000;
    padding: 8px;
    box-sizing: border-box
}

.multi-select-menu.open {
    display: block
}

.multi-select-menu label {
    display: block;
    padding: 6px 4px;
    font-size: 10px;
    cursor: pointer
}

.tableauFullScreen {
    position: fixed;
    top: -20px;
    left: -15;
    z-index: 9999999;
    width: 100% !important;
    height: calc(100% - 6px) !important;
    padding: 0;
    margin: 0;
    background: white
}

/* ==========================================================================
   macOS Liquid Glass Dock Flottant & Centré (with Auto-Hide)
   ========================================================================== */
/* Uniform Body Background for seamless layout */
body {
    background-color: #f8f8f8 !important
}

#coinarrondi {
    display: none !important
}

#btMenuNavigation {
    display: block !important;
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    width: 24px !important;
    height: 24px !important;
    background-image: url(/images/menu.png) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    opacity: 0.85 !important;
    transition: opacity 0.2s ease !important;
}

#btMenuNavigation:hover {
    opacity: 1 !important;
}

/* Animation CSS activee uniquement lors du clic utilisateur (classe nav_animating sur body) */
.nav_animating #navigation,
.nav_animating #partieprogramme,
.nav_animating #partieprogramme2,
.nav_animating #menu,
.nav_animating #menugaucheall,
.nav_animating #divmenugauche,
.nav_animating #divaffaires,
.nav_animating #menugauche,
.nav_animating #menugauche ul,
.nav_animating #menugauche li,
.nav_animating .itemMenuGauche,
.nav_animating .itemMenuGaucheSel,
.nav_animating .itemMenuGaucheGroupe,
.nav_animating .itemMenuGaucheBib,
.nav_animating .itemMenuGauche_nonautori,
.nav_animating #navigation img {
    transition: left 0.3s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease, transform 0.3s ease !important;
}

/* Mode Réduit pour #navigation (icônes de menus uniquement, menugauche visible) */
#navigation.navigation_reduced {
    width: 70px !important;
    overflow: hidden !important;
}

#navigation.navigation_reduced #btMenuNavigation {
    right: 23px !important;
    top: 15px !important;
}

/* Forcer la visibilité de menugauche et de ses conteneurs pour épouser la largeur du nav */
#navigation.navigation_reduced #menugaucheall,
#navigation.navigation_reduced #divmenugauche,
#navigation.navigation_reduced #menugauche,
#navigation.navigation_reduced #menugaucheetapes,
#navigation.navigation_reduced #menugaucheretour,
#navigation.navigation_reduced #lbMenuGen,
#navigation.navigation_reduced #menugauche ul {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Réduction de la largeur et adaptation de la hauteur des <li> et de la classe itemMenuGauche */
#navigation.navigation_reduced li,
#navigation.navigation_reduced .itemMenuGauche,
#navigation.navigation_reduced .itemMenuGaucheSel,
#navigation.navigation_reduced .itemMenuGaucheGroupe,
#navigation.navigation_reduced .itemMenuGaucheBib,
#navigation.navigation_reduced .itemMenuGauche_nonautori {
    width: 100% !important;
    height: 56px !important;
    line-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    transform: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    background-image: none !important;
    position: relative !important;
}

/* Style du popup tooltip global rattaché directement au body pour ne jamais être rogné par le scroll ou overflow de #navigation */
#reduced_menu_tooltip {
    position: fixed !important;
    display: none;
    z-index: 999999999 !important;
    background: #ffffff !important;
    color: #2b2d46 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-family: LatoBold, sans-serif !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
    line-height: 1.3 !important;
}

#reduced_menu_tooltip::before {
    content: "" !important;
    position: absolute !important;
    left: -7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-width: 6px 8px 6px 0 !important;
    border-style: solid !important;
    border-color: transparent #ffffff transparent transparent !important;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1)) !important;
}

#navigation.navigation_reduced .itemMenuGaucheSel {
    background:rgba(255, 150, 150, 0.4) !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

/* Grossir les images des menus pour les adapter à la largeur de la colonne (44px x 44px) */
#navigation.navigation_reduced img,
#navigation.navigation_reduced .itemMenuGauche img,
#navigation.navigation_reduced .itemMenuGaucheSel img,
#navigation.navigation_reduced .itemMenuGaucheGroupe img,
#navigation.navigation_reduced .itemMenuGaucheBib img,
#navigation.navigation_reduced #lbMenuAff img,
#navigation.navigation_reduced #menugaucheretour img {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    margin: 6px auto !important;
    float: none !important;
    visibility: visible !important;
    object-fit: contain !important;
}

#navigation.navigation_reduced #lbMenuGen img {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    margin-left: 15px !important;
    float: none !important;
    visibility: visible !important;
    object-fit: contain !important;
}

#navigation.navigation_reduced #menugaucheretour {
    display: none !important;
}

/* Masquer les éléments hors menu (boutons d'action, infos compte, filtres, support, chargeurs, etc.) */
#navigation.navigation_reduced .menu_boutons,
#navigation.navigation_reduced #menu_boutons,
#navigation.navigation_reduced #infoCompteAffaire,
#navigation.navigation_reduced #titremenugauche,
#navigation.navigation_reduced #entete1menugauche,
#navigation.navigation_reduced #aide_support,
#navigation.navigation_reduced #divBtAdd,
#navigation.navigation_reduced .lcheckbox,
#navigation.navigation_reduced label,
#navigation.navigation_reduced select,
#navigation.navigation_reduced input,
#navigation.navigation_reduced .bulleMenu,
#navigation.navigation_reduced #loaderDivAff,
#navigation.navigation_reduced .loaderDiv,
#navigation.navigation_reduced .loaderDiv2,
.navigation_reduced #loaderDivAff {
    display: none !important;
}

/* Masquer le texte des liens et divs */
#navigation.navigation_reduced a,
#navigation.navigation_reduced li,
#navigation.navigation_reduced div:not(#enteteBoutons),
#navigation.navigation_reduced span {
    font-size: 0 !important;
    color: transparent !important;
    white-space: nowrap !important;
}

#navigation.navigation_reduced #menugauche {
    height: calc(100% - 126px) !important;
}

/* Permettre le débordement au survol de #enteteBoutons sans perturber la hauteur */
#navigation.navigation_reduced:has(#enteteBoutons:hover),
#navigation.navigation_reduced #menugaucheall:has(#enteteBoutons:hover),
#navigation.navigation_reduced #divmenugauche:has(#enteteBoutons:hover),
#navigation.navigation_reduced #divaffaires:has(#enteteBoutons:hover) {
    overflow: visible !important;
}

/* Gestion de #enteteBoutons en mode réduit : hauteur et position constantes pour ne pas décaler menugauche */
#navigation.navigation_reduced #enteteBoutons {
    width: 48px !important;
    height: 36px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 99999999 !important;
    margin: 5px auto !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    transition: width 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
}

#navigation.navigation_reduced #enteteBoutons:hover {
    position: relative !important;
    height: 36px !important;
    width: auto !important;
    min-width: 300px !important;
    max-width: 340px !important;
    overflow: visible !important;
    margin: 5px 0 5px 10px !important;
    background: rgba(219, 93, 88, 1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    z-index: 99999999 !important;
}

#navigation.navigation_reduced #enteteBoutons > div {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    margin: 2px !important;
    flex-shrink: 0 !important;
}

#navigation.navigation_reduced #enteteBoutons > div img {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 0.9 !important;
}

/* Ensure #menu is a floating macOS dock */
#menu {
    pointer-events: none !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-in-out !important;
    flex-shrink: 1 !important;
    position: fixed !important;
    bottom: 10px !important;
    right: 0 !important;
    left: 340px !important;
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 999999999 !important;
    min-width: 0 !important;
    transform: translatey(0);
    opacity: 1;
    pointer-events: auto
}

#menu-flex-spacer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    height: 100%;
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
}

#menu-flex-spacer::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

#menu-flex-spacer > * {
    flex: 0 0 auto;
}

#menu-flex-spacer a {
    display: flex;
    flex: 0 0 auto;
    min-width: 0
}

/* Autohide hidden/lowered state */
#menu.dock-autohide {
    transform: translatey(60px) scale(0.85);
    pointer-events: none
}

#menu.dock-autohide #pied {
    /*opacity: 0.4;*/
}

/* Autohide active/hovered state */
#menu.dock-active, #menu:hover {
    transform: translatey(0) scale(1);
    pointer-events: auto
}

#menu.dock-active #pied, #menu:hover #pied {
    opacity: unset
}

/* Liquid Glass container */
#pied {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    height: 56px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    background: rgba(30, 32, 45, 0.55) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 28px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
    pointer-events: auto !important;
    gap: 8px !important;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    transition: opacity 0.4s ease-in-out !important
}

/* Flatten the subcontainers */
.piedgauche, .pieddroit {
    display: contents !important;
    /* Directly expose children to flex layout */
}

/* Separator Line between Left Menu and Right Controls */
.piedgauche + .pieddroit > *:first-child, .piedgauche + #btChat {
    position: relative !important;
    margin-left: 12px !important;
    padding-left: 12px !important
}

.piedgauche + .pieddroit > *:first-child::before, .piedgauche + #btChat::before {
    content: "" !important;
    position: absolute !important;
    left: -6px !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 1px !important;
    background-color: rgba(255, 255, 255, 0.22) !important
}

/* Primary Dock Buttons (Affaires, Contacts, Notes, etc.) */
.entreepied {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s !important;
    position: relative !important;
    background: transparent !important
}

.entreepied:hover {
    transform: scale(1.15) translatey(-4px) !important;
    background-color: rgba(255, 255, 255, 0.12) !important
}

.entreepied img {
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    float: none !important;
    transition: filter 0.2s !important
}

/* Hide labels in the dock for clean macOS aesthetic */
.entreepied span {
    display: none !important
}

/* Selected/Active state styling (with clean dot indicators) */
.rougesel, .entreepied_on {
    background-image: none !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important
}

.rougesel::after, .entreepied_on::after {
    content: "" !important;
    position: absolute !important;
    bottom: 4px !important;
    width: 4px !important;
    height: 4px !important;
    background-color: #ff3b30 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 4px rgba(255, 59, 48, 0.6) !important
}

/* Secondary Dock Action Buttons (G-ECO, etc.) */
.entreepied2 {
    display: inline-flex !important;
    flex-shrink: 1;
    overflow: hidden;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s !important;
    cursor: pointer !important;
    float: none !important;
    color: rgba(255, 255, 255, 0.8) !important
}

.entreepied2:hover {
    transform: scale(1.06) translatey(-2px) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important
}

.entreepied2 a {
    display: flex !important;
    align-items: center !important;
    color: inherit !important;
    text-decoration: none !important
}

.entreepied2 img {
    width: 28px !important;
    height: 28px !important;
    margin: 0 5px 0 0 !important;
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    filter: contrast(0) brightness(1.5)
}

.menuSelected img {
    filter: contrast(0) brightness(2)
}

.menuSelected span {
    color: white !important
}

.entreepied2 span {
    font-size: 11px !important;
    font-family: LatoBold !important;
    color: inherit !important;
    top: 0 !important;
    position: static !important;
    padding: 0 !important
}

/* Chat Button Integrated into the Dock */
#btChat {
    position: static !important;
    /* Flatten into flex flow */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background-color: #F4CB54 !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    flex-shrink: 0 !important
}

#btChat:hover {
    transform: scale(1.15) translatey(-4px) !important;
    filter: brightness(1.1) !important
}

#btChat img {
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    filter: brightness(0.12) !important
}



/* ── Bouton masquage automatique du dock ──────────────────── */
#btAutoHide {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s !important;
    flex-shrink: 0 !important
}

#btAutoHide:hover {
    transform: scale(1.15) translatey(-4px) !important;
    background-color: rgba(255, 255, 255, 0.2) !important
}

#btAutoHide img {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    filter: brightness(2) opacity(0.7) !important
}

/* État actif : fond coloré pour indiquer que le masquage est ON */
#menu.dock-autohide #btAutoHide {
    background-color: rgba(100, 180, 255, 0.25) !important
}

#menu.dock-autohide #btAutoHide img {
    filter: brightness(3) !important
}

/* ── Menus flottants au survol du dock (Gestion, Études, Chantiers, Réception) ──────────── */
.pop-menu-floating,
#popMenuGestionLots,
#popMenuEtudes,
#popMenuChantiers,
#popMenuReception {
    display: none;
    position: fixed;
    background: rgba(55, 60, 78, 0.50);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    padding: 7px 8px 9px 8px;
    min-width: 250px;
    max-width: 360px;
    z-index: 99999999;
    font-family: LatoBold, sans-serif;
    font-size: 12px;
    color: #fff;
    box-sizing: border-box;
}

.pop-menu-floating .pop-gestion-header,
#popMenuGestionLots .pop-gestion-header,
#popMenuEtudes .pop-gestion-header,
#popMenuChantiers .pop-gestion-header,
#popMenuReception .pop-gestion-header {
    padding: 4px 8px 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.pop-menu-floating .pop-gestion-badge,
#popMenuGestionLots .pop-gestion-badge,
#popMenuEtudes .pop-gestion-badge,
#popMenuChantiers .pop-gestion-badge,
#popMenuReception .pop-gestion-badge {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 6px;
    border-radius: 10px;
}

.pop-menu-floating .pop-gestion-lots-list,
#popMenuGestionLots .pop-gestion-lots-list,
#popMenuEtudes .pop-gestion-lots-list,
#popMenuChantiers .pop-gestion-lots-list,
#popMenuReception .pop-gestion-lots-list {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: #BBB transparent;
}

.pop-menu-floating .pop-gestion-lots-list::-webkit-scrollbar,
#popMenuGestionLots .pop-gestion-lots-list::-webkit-scrollbar,
#popMenuEtudes .pop-gestion-lots-list::-webkit-scrollbar,
#popMenuChantiers .pop-gestion-lots-list::-webkit-scrollbar,
#popMenuReception .pop-gestion-lots-list::-webkit-scrollbar {
    width: 6px;
}

.pop-menu-floating .pop-gestion-lots-list::-webkit-scrollbar-track,
#popMenuGestionLots .pop-gestion-lots-list::-webkit-scrollbar-track,
#popMenuEtudes .pop-gestion-lots-list::-webkit-scrollbar-track,
#popMenuChantiers .pop-gestion-lots-list::-webkit-scrollbar-track,
#popMenuReception .pop-gestion-lots-list::-webkit-scrollbar-track {
    background: transparent;
}

.pop-menu-floating .pop-gestion-lots-list::-webkit-scrollbar-thumb,
#popMenuGestionLots .pop-gestion-lots-list::-webkit-scrollbar-thumb,
#popMenuEtudes .pop-gestion-lots-list::-webkit-scrollbar-thumb,
#popMenuChantiers .pop-gestion-lots-list::-webkit-scrollbar-thumb,
#popMenuReception .pop-gestion-lots-list::-webkit-scrollbar-thumb {
    background: #BBB !important;
    border-radius: 10px;
}

.pop-menu-floating .pop-menu-section-header,
#popMenuEtudes .pop-menu-section-header,
#popMenuChantiers .pop-menu-section-header,
#popMenuReception .pop-menu-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    margin-top: 6px;
    margin-bottom: 3px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.3px;
    transition: all 0.15s ease;
}

.pop-menu-floating .pop-menu-section-header:first-child,
#popMenuEtudes .pop-menu-section-header:first-child,
#popMenuChantiers .pop-menu-section-header:first-child,
#popMenuReception .pop-menu-section-header:first-child {
    margin-top: 0;
}

.pop-menu-floating .pop-menu-section-header:hover,
#popMenuEtudes .pop-menu-section-header:hover,
#popMenuChantiers .pop-menu-section-header:hover,
#popMenuReception .pop-menu-section-header:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.pop-menu-floating .pop-menu-subitem,
#popMenuEtudes .pop-menu-subitem,
#popMenuChantiers .pop-menu-subitem,
#popMenuReception .pop-menu-subitem {
    margin-left: 6px;
}

.pop-menu-floating .pop-gestion-lot-item,
#popMenuGestionLots .pop-gestion-lot-item,
#popMenuEtudes .pop-gestion-lot-item,
#popMenuChantiers .pop-gestion-lot-item,
#popMenuReception .pop-gestion-lot-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    margin-bottom: 3px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    color: inherit;
    font-weight: normal;
}

.pop-menu-floating .pop-gestion-lot-item:hover,
#popMenuGestionLots .pop-gestion-lot-item:hover,
#popMenuEtudes .pop-gestion-lot-item:hover,
#popMenuChantiers .pop-gestion-lot-item:hover,
#popMenuReception .pop-gestion-lot-item:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.pop-menu-floating .pop-gestion-lot-item .lot-bullet,
#popMenuGestionLots .pop-gestion-lot-item .lot-bullet,
#popMenuEtudes .pop-gestion-lot-item .lot-bullet,
#popMenuChantiers .pop-gestion-lot-item .lot-bullet,
#popMenuReception .pop-gestion-lot-item .lot-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pop-menu-floating .pop-gestion-lot-item .lot-num,
#popMenuGestionLots .pop-gestion-lot-item .lot-num,
#popMenuEtudes .pop-gestion-lot-item .lot-num,
#popMenuChantiers .pop-gestion-lot-item .lot-num,
#popMenuReception .pop-gestion-lot-item .lot-num {
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
}

.pop-menu-floating .pop-gestion-lot-item .lot-title,
#popMenuGestionLots .pop-gestion-lot-item .lot-title,
#popMenuEtudes .pop-gestion-lot-item .lot-title,
#popMenuChantiers .pop-gestion-lot-item .lot-title,
#popMenuReception .pop-gestion-lot-item .lot-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11.5px;
    font-weight: normal !important;
}

/* Flèche pointe centrée sous la bulle */
.pop-menu-arrow,
#popMenuGestionArrow,
#popMenuEtudesArrow,
#popMenuChantiersArrow,
#popMenuReceptionArrow {
    position: absolute;
    bottom: -7px;
    left: 50%;
    margin-left: -8px;
    width: 16px;
    height: 8px;
    pointer-events: none;
    z-index: 10;
}

.pop-menu-arrow svg,
#popMenuGestionArrow svg,
#popMenuEtudesArrow svg,
#popMenuChantiersArrow svg,
#popMenuReceptionArrow svg {
    display: block;
    width: 16px;
    height: 8px;
}

/* Style class="entete" (rouge, bleu, etc.) */
.entete {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: calc(100% - 20px) !important;
    height: 60px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding: 0 15px 0 0 !important
}

/* Semi-transparent header colors to allow content visibility underneath during scroll */
.entete.rouge {
    background: linear-gradient(180deg, #ED5252 0%, #e04848 100%) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset !important;
}

.entete.rouge:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.03) 45%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.entete.bleu {
    background: rgba(52, 152, 219, 0.2) !important;
}

.entete.vert {
    background: rgba(46, 204, 113, 0.2) !important;
}

.entete.gris {
    background: rgba(149, 165, 166, 0.2) !important;
}

.entete.jaune {
    background: rgba(241, 196, 15, 0.2) !important;
}

/* Adjust the content containers `#partieprogramme` and `#partieprogramme2` to occupy the full page and scroll under the header */
#partieprogramme, #partieprogramme2 {
    position: absolute !important;
    top: 80 !important;
    left: 340px !important;
    width: calc(100% - 340px) !important;
    height: calc(100% - 80px) !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    margin: 0px !important;
}

#partieprogramme2 {
    overflow: hidden !important
}

#partieprogramme2.partieprogramme2-full {
    height: calc(100% - 90px) !important
}

#partieprogramme2.partieprogramme2-off {
    height: calc(100% - 160px) !important
}

/* Back button `#enteteretour` alignment inside `.entete` */
#enteteretour {
    position: static !important;
    height: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    width: 70px !important
}

#enteteretour span {
    font-size: 12px !important;
    font-family: Lato !important;
    color: #666 !important;
    /* Black text */
    text-shadow: none !important
}

/* Page title */
#titremenu, #titremenu_solo {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 19px !important;
    font-family: LatoBold !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-align: left !important;
    padding-left: 4px !important;
    padding-right: 365px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    line-height: 46px !important;
    height: 46px !important;
    letter-spacing: 0.01em !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important
}

/* Hide duplicate/redundant action buttons in the header bar */
.entete #entetemenudroite {
    display: none !important
}

.entete img[src*="bouton-send"]:not(#UserSendimg):not(#UserSend img) {
    display: none !important
}

.entete img[src*="btHonos"] {
    display: none !important
}

/* Hide the solid red background mask of the user menu */
#UserMenuMask {
    display: none !important
}

/* Position avatar image container to overlay inside the rightmost end of #UserMenu */
#UserLogo {
    position: fixed !important;
    top: 16px !important;
    right: 18px !important;
    width: 60px !important;
    height: 48px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 9999999 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#UserLogo img {
    width: 60px !important;
    height: 48px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
    background: transparent !important;
    object-fit: cover !important
}

/* Position and border outline for Unified User Menu Info Box (enclosing avatar visually) */
#UserMenu {
    position: fixed !important;
    top: 15px !important;
    right: 24px !important;
    width: 198px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 10px !important;
    padding-right: 44px !important;
    box-sizing: border-box !important;
    transition: background 0.2s ease, box-shadow 0.2s ease !important
}

#UserMenu:hover {
    background: rgba(255, 255, 255, 0.17) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important
}

#UserInfos {
    margin: 0 !important;
    width: calc(100% - 15px) !important;
    text-align: right !important
}

#UserInfos1 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-family: LatoBold !important;
    font-size: 12px !important;
    line-height: 15px !important
}

#UserInfos2 {
    color: rgba(230, 230, 230, 0.7) !important;
    font-family: Lato !important;
    font-size: 11px !important;
    line-height: 13px !important
}

/* Position User Action Buttons (UserTask, UserSend, UserDoc, etc.) */
.UserButton {
    position: fixed !important;
    width: 40px !important;
    height: 40px !important;
    top: 20px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important
}

.UserButton:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: rotate(10deg) translatey(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important
}

.UserButton img {
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.8
}

#entete1menugauche img {
    width: 24px !important;
    height: 24px !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    margin: 0 !important;
    margin-right: 2px !important;
    margin-left: 2px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important
}

#entete1menugauche img:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: rotate(10deg) translatey(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important
}

#enteteBoutons div {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    margin: 0;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22)
}

#enteteBoutons div:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: rotate(10deg) translatey(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important
}

#enteteBoutons div.enteteBouton_actif {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

#enteteBoutons div img {
    width: 18px;
    height: 18px;
    margin: 0 !important;
    filter: brightness(10) !important
}

/* Position specific user buttons relative to each other */
#UserTask {
    right: 232px !important
}

#UserIA {
    right: 278px !important
}

#UserSend {
    right: 324px !important
}

#UserDoc {
    right: 370px !important
}

#boutonBib {
    right: 416px !important
}

#UserBack {
    position: relative !important;
    top: unset !important;
    left: unset !important
}

/* Dropdown user menu options */
#UserMenuOptions {
    position: fixed !important;
    top: 74px !important;
    right: 24px !important;
    width: 248px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.08) !important;
    z-index: 999999 !important;
    padding: 8px 8px 12px 8px !important;
    box-sizing: border-box !important
}

/* ==========================================================================
   Grille Flex Dynamique pour les cadreBox (Synthèse & Synthèse Adm)
   ========================================================================== */
/* Overwrite tasks/tasks.css cadreBox horizontal layout to make it a natural wrap grid */
#partieprogramme .cadreLigne, #partieprogramme2 .cadreLigne {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
    float: none !important
}

#partieprogramme .cadreLigne2, #partieprogramme2 .cadreLigne2 {
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important
}

#partieprogramme .cadreBox, #partieprogramme2 .cadreBox {
    height: auto !important;
    min-height: 350px !important;
    max-height: 40vh !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 calc(25% - 16px) !important;
    min-width: 400px !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important
}

/* Double-width cards (Phases / Heures) */
#partieprogramme #cadrePhases, #partieprogramme2 #cadrePhases, #partieprogramme #cadreHeures, #partieprogramme2 #cadreHeures {
    flex: 2 2 calc(50% - 16px) !important;
    min-width: 816px !important
}

/* Responsive grid queries */
@media (max-width: 1200px) {
    #partieprogramme .cadreBox, #partieprogramme2 .cadreBox {
        flex: 1 1 calc(50% - 16px) !important;
        /* 2 columns */
    }

    #partieprogramme #cadrePhases, #partieprogramme2 #cadrePhases, #partieprogramme #cadreHeures, #partieprogramme2 #cadreHeures {
        flex: 1 1 100% !important;
        min-width: 100% !important
    }
}

@media (max-width: 800px) {
    #partieprogramme .cadreBox, #partieprogramme2 .cadreBox {
        flex: 1 1 100% !important;
        /* 1 column stack */
        min-width: 100% !important
    }
}

/* Dynamic layout adjustments when the left sidebar #navigation is collapsed */
#navigation[style*="width: 0px"] ~ #tout #menu, #navigation[style*="width: 0px"] ~ #menu, #navigation[style*="width: 0px;"] ~ #tout #menu, #navigation[style*="width: 0px;"] ~ #menu, #navigation[style*="width: 0px"] ~ #partiedroite #menu, #navigation[style*="width: 0px;"] ~ #partiedroite #menu {
    /*
        transform: translate(-50%, 0) !important;
        */
}

#navigation[style*="width: 0px"] ~ #partieprogramme, #navigation[style*="width: 0px"] ~ #partieprogramme2, #navigation[style*="width: 0px;"] ~ #partieprogramme, #navigation[style*="width: 0px;"] ~ #partieprogramme2, #navigation[style*="width: 0px"] ~ #partiedroite #partieprogramme, #navigation[style*="width: 0px"] ~ #partiedroite #partieprogramme2, #navigation[style*="width: 0px;"] ~ #partiedroite #partieprogramme, #navigation[style*="width: 0px;"] ~ #partiedroite #partieprogramme2 {
    left: 0 !important;
    width: 100% !important
}

/* Align menu_boutons bottom margin to match the dock #menu */
#menu_boutons:not(.menu_boutons_mini) {
    bottom: 20px !important
}

/* Styling for #infoCompte when moved inside the top header */
.entete #infoCompte {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 420px !important;
    height: 100% !important;
    background-color: transparent !important;
    margin: 0 10px 0 0 !important;
    padding: 0 15px !important;
    gap: 10px !important;
    order: -1 !important;
    /* Ensure it stays on the far left */
    box-sizing: border-box !important;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), margin 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-in-out !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

/* Collapse #infoCompte when sidebar #navigation is collapsed */
#navigation[style*="width: 0px"] ~ #partiedroite .entete #infoCompte, #navigation[style*="width: 0px;"] ~ #partiedroite .entete #infoCompte, #navigation[style*="width: 0px"] ~ .entete #infoCompte, #navigation[style*="width: 0px;"] ~ .entete #infoCompte {
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important
}

.entete #infoCompteImg {
    width: 40px !important;
    height: 40px !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

.entete #infoCompteLogo {
    width: 50px !important;
    height: 40px !important;
    border-radius: 5px !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    box-shadow: 2px 2px 4px gray
}

.entete #infoCompteInf {
    width: auto !important;
    height: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.entete #infoCompteInf1 {
    font-size: 14px !important;
    line-height: 16px !important;
    height: 16px !important;
    color: white !important;
    font-weight: bold !important;
    text-indent: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: LatoBold !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.95) !important
}

.entete #infoCompteInf2 {
    font-size: 11px !important;
    line-height: 14px !important;
    height: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-indent: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: LatoLight !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: rgba(230, 230, 230, 0.7) !important
}

/* Specific styling for enterprise infoCompte when inside .entete */
.entete #infoCompte.infoCompteEntreprise {
    height: 100% !important;
    overflow: visible !important;
}

.entete #infoCompte.infoCompteEntreprise #infoCompteInf {
    height: auto !important;
    overflow: visible !important;
}

.entete #infoCompte.infoCompteEntreprise #infoCompteInf2 {
    height: 22px !important;
    line-height: 22px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    margin: 1px 0 !important;
}

.entete #infoCompte.infoCompteEntreprise select {
    text-align: center !important;
    text-align-last: center !important;
    -moz-text-align-last: center !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    height: 22px !important;
    line-height: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
}

.entete #infoCompte.infoCompteEntreprise select option {
    text-align: center !important;
}

/* Styling for #infoCompteLicence when in #navigation */
#infoCompteLicence {
    background: transparent !important;
    padding: 0 12px !important;
    margin-top: 8px !important;
    clear: both !important;
}

#infoCompteLicence .infoCompteLicenceTitre {
    font-size: 13px !important;
    color: white !important;
    height: 20px !important;
    line-height: 20px !important;
}

#infoCompteLicence .infoCompteClient {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 45px !important;
    background: transparent !important;
}

/* Styling for #infoCompteLicence when moved inside .entete (entreprise=1) */
.entete #infoCompteLicence {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 16px 0 14px !important;
    margin: 0 12px 0 0 !important;
    gap: 10px !important;
    order: -1 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    max-width: 380px !important;
    white-space: nowrap !important;
    background: transparent !important;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), margin 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-in-out !important;
}

#navigation[style*="width: 0px"] ~ #partiedroite .entete #infoCompteLicence,
#navigation[style*="width: 0px;"] ~ #partiedroite .entete #infoCompteLicence,
#navigation[style*="width: 0px"] ~ .entete #infoCompteLicence,
#navigation[style*="width: 0px;"] ~ .entete #infoCompteLicence {
    width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none !important;
    overflow: hidden !important;
}

.entete #infoCompteLicence .infoCompteLicenceTitre {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: normal !important;
    flex-shrink: 0 !important;
    text-decoration: underline !important;
}

.entete #infoCompteLicence .infoCompteClient {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    height: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    flex-shrink: 0 !important;
}

.entete #infoCompteLicence #infoCompteImg,
.entete #infoCompteLicence .infoCompteLicenceImg {
    width: 38px !important;
    height: 38px !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.entete #infoCompteLicence #infoCompteLogo,
.entete #infoCompteLicence .infoCompteLicenceLogo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    object-fit: contain !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    margin: 0 !important;
}

.entete #infoCompteLicence #infoCompteInf,
.entete #infoCompteLicence .infoCompteLicenceInf {
    width: auto !important;
    height: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 170px !important;
}

.entete #infoCompteLicence #infoCompteInf1,
.entete #infoCompteLicence .infoCompteLicenceInf1 {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 16px !important;
    height: 16px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: LatoBold !important;
}

.entete #infoCompteLicence #infoCompteInf2,
.entete #infoCompteLicence .infoCompteLicenceInf2 {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 14px !important;
    height: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: LatoLight !important;
}

/* Adjust sidebar container heights now that infoCompte (65px) is moved to the top header */
#menugauche {
    /* height: calc(100% - 115px) !important; */
}

#divmenugauche #divaffaires {
    height: calc(100% - 170px) !important
}

#divmenugauche #divcontacts {
    height: calc(100% - 135px) !important
}

#divmenugauche #divnote {
    height: calc(100% - 135px) !important
}

#divtask {
    height: calc(100% - 135px) !important
}

#groupeaffaires {
    height: calc(100% - 135px) !important
}

#divaffaires #menugauche {
    height: 100% !important
}

/* Modern Theme Overrides for jQuery UI Datepicker */
#ui-datepicker-div, .ui-datepicker {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 14px !important;
    font-family: "Lato", sans-serif !important;
    box-sizing: border-box !important;
    width: 310px !important;
    z-index: 99999999999999 !important;
    display: none;
}

#ui-datepicker-div .ui-datepicker-header,
.ui-datepicker .ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    color: #333 !important;
    font-weight: bold !important;
    padding: 4px 0 10px 0 !important;
    position: relative !important;
    height: auto !important;
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

#ui-datepicker-div .ui-datepicker-title,
.ui-datepicker .ui-datepicker-title {
    margin: 0 auto !important;
    line-height: normal !important;
    text-align: center !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 !important;
}

#ui-datepicker-div .ui-datepicker-title select,
.ui-datepicker .ui-datepicker-title select {
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 6px !important;
    padding: 3px 6px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    height: 30px !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    outline: none !important;
    max-width: 48% !important;
    width: auto !important;
}

#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next,
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    cursor: pointer !important;
    border: none !important;
    background: #f0f0f0 !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background 0.2s ease !important;
}

#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span,
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: none !important;
}

#ui-datepicker-div .ui-datepicker-prev::after,
.ui-datepicker .ui-datepicker-prev::after {
    content: "\2039" !important;
    font-size: 20px !important;
    line-height: 26px !important;
    color: #333 !important;
    font-weight: normal !important;
}

#ui-datepicker-div .ui-datepicker-next::after,
.ui-datepicker .ui-datepicker-next::after {
    content: "\203A" !important;
    font-size: 20px !important;
    line-height: 26px !important;
    color: #333 !important;
    font-weight: normal !important;
}

#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover,
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #e0e0e0 !important;
}

#ui-datepicker-div .ui-datepicker-calendar,
.ui-datepicker .ui-datepicker-calendar {
    margin: 6px 0 0 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
    clear: both !important;
}

#ui-datepicker-div .ui-datepicker-calendar thead,
.ui-datepicker .ui-datepicker-calendar thead {
    border: none !important;
}

#ui-datepicker-div .ui-datepicker-calendar th,
.ui-datepicker .ui-datepicker-calendar th {
    background: transparent !important;
    background-image: none !important;
    color: #888 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.7em !important;
    border: none !important;
    padding: 6px 0 !important;
    text-align: center !important;
}

#ui-datepicker-div .ui-datepicker-calendar td,
.ui-datepicker .ui-datepicker-calendar td {
    padding: 2px !important;
    background: transparent !important;
    border: none !important;
}

#ui-datepicker-div .ui-datepicker-calendar .ui-state-default,
.ui-datepicker .ui-datepicker-calendar .ui-state-default {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    color: #333 !important;
    text-align: center !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 !important;
    margin: auto !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

#ui-datepicker-div .ui-datepicker-calendar .ui-state-hover,
.ui-datepicker .ui-datepicker-calendar .ui-state-hover {
    background: rgba(36, 191, 198, 0.1) !important;
    background-image: none !important;
    color: #24BFC6 !important;
}

#ui-datepicker-div .ui-datepicker-calendar .ui-state-active,
.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background: #24BFC6 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(36, 191, 198, 0.4) !important;
}

#ui-datepicker-div .ui-datepicker-buttonpane,
.ui-datepicker .ui-datepicker-buttonpane {
    margin: 8px 0 0 0 !important;
    padding: 6px 0 0 0 !important;
    border-top: 1px solid #e0e0e0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

#ui-datepicker-div .ui-datepicker-buttonpane button,
.ui-datepicker .ui-datepicker-buttonpane button {
    background: #f0f0f0 !important;
    color: #333 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: background 0.2s ease !important;
}

#ui-datepicker-div .ui-datepicker-buttonpane button:hover,
.ui-datepicker .ui-datepicker-buttonpane button:hover {
    background: #e0e0e0 !important;
}

/* MODERN POPUP UI CLASSES */
.modern-header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    margin-right: 15px
}

.modern-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05)
}

.modern-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translatey(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
}

.modern-action-btn span {
    font-size: 0.85em;
    font-weight: 500
}

.modern-grid-form {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px 15px;
    align-items: center;
    padding: 15px 0
}

.modern-label {
    color: #6B7280;
    font-size: 0.85em;
    font-weight: 500;
    text-align: right;
    padding-right: 10px;
    white-space: nowrap
}

.modern-input {
    width: 100% !important;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #F9FAFB;
    color: #111827 !important;
    font-family: "Lato", sans-serif;
    font-size: 0.9em;
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin: 0 !important
}

.modern-input:focus {
    border-color: #3B82F6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15)
}

.modern-pill-toggle {
    display: flex;
    background: #E5E7EB;
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 15px
}

.modern-pill-option {
    flex: 1;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.85em;
    font-weight: 600;
    color: #6B7280;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

.modern-pill-option.active {
    background: #FFF;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

.modern-photo-container {
    background: #FFF;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #F3F4F6;
    margin: 15px auto;
    width: 220px
}

.modern-photo-container img {
    border-radius: 8px
}

.modern-corps-bg {
    background: #fff !important;
    border-top: 1px solid #F3F4F6;
    padding: 20px !important;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto
}

/* Fix for img elements using btRouge class */
img.btRouge, img.btGris {
    display: inline-block;
    padding: 1px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

img.btRouge:hover {
    transform: scale(1.2) rotate(10deg) !important;
    box-shadow: 0 7px 24px rgba(192, 40, 90, 0.52);
    filter: none !important
}

img.btGris:hover {
    transform: scale(1.2) rotate(10deg) !important;
    box-shadow: 0 7px 24px rgba(192, 192, 192, 0.52);
    filter: none !important
}

.img20.btRouge, .img20.btGris {
    display: inline-block;
    padding: 1px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    line-height: normal !important
}

/* ========================================================= */
/* POPUP CRITERES (ACCUEIL)                                  */
/* Cache les criteres par defaut sur le tableau de bord */
#tableauAccueil #criteres {
    display: none !important
}

/* Overlay sombre */
#overlayCriteres {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998
}

/* Le conteneur Popup */
#popupCriteres {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    z-index: 99999;
    width: 600px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto
}

/* Titre du popup */
#popupCriteres h3 {
    margin-top: 0;
    font-family: LatoBold;
    color: #ED5252;
    margin-bottom: 20px
}

/* Grille pour les elements a l'interieur du popup */
#popupCriteresContent #criteres {
    display: grid !important;
    grid-template-columns: minmax(auto, 35%) 1fr;
    gap: 15px 20px;
    align-items: center;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: unset
}

/* Aplatir les tableaux s'il y en a (ex: accueil_aff_fnct) */
#popupCriteresContent #criteres table, #popupCriteresContent #criteres tbody, #popupCriteresContent #criteres tr {
    display: contents
}

/* Uniformiser les cellules */
#popupCriteresContent #criteres td {
    display: flex;
    align-items: center;
    width: 100% !important;
    padding: 0 !important
}

/* Style des champs dans le popup */
#popupCriteresContent #criteres select, #popupCriteresContent #criteres input:not([type="checkbox"]), #popupCriteresContent #criteres .multi-select-toggle {
    width: 100% !important;
    box-sizing: border-box
}

/* Glass theme pour select et multi-select-toggle */
#popupCriteresContent #criteres select, #popupCriteresContent #criteres .multi-select-toggle {
    background: rgba(255, 255, 255, 0.5);
    /* Pas de !important */
    color: inherit;
    /* Pas de !important */
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
    transition: all 0.2s ease
}

#popupCriteresContent #criteres select:hover, #popupCriteresContent #criteres .multi-select-toggle:hover {
    background: rgba(255, 255, 255, 0.7);
    /* Pas de !important */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important
}

/* Glass theme pour le menu déroulant multi-select */
#popupCriteresContent #criteres .multi-select-menu {
    background: rgba(255, 255, 255, 0.85);
    /* Pas de !important */
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    padding: 8px !important
}


/* TABLEAU (tableTableau) - THEME CONTEMPORAIN               */
/* Conteneur principal */
table.tableTableau {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
    background: transparent !important;
    border: none !important
}

/* Lignes et cellules (td, th) */
table.tableTableau td, table.tableTableau th {
    border: none !important;
    /* On supprime les bordures inlines du PHP */
    padding: 8px !important;
    box-sizing: border-box
}

/* On arrondit le premier et dernier élément de chaque ligne */
table.tableTableau tr > td:first-child, table.tableTableau tr > th:first-child {
    border-radius: 8px 0 0 8px !important
}

table.tableTableau tr > td:last-child, table.tableTableau tr > th:last-child {
    border-radius: 0 8px 8px 0 !important
}

/* Entête fixe (Sticky) */
table.tableTableau tr:first-child th,
table.tableTableau thead tr,
table.tableTableau thead th,
table.tableTableau thead th th,
table.tableTableau thead tr th {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    height: 40px !important;
    background: #4F677E !important;
    color: white !important
}



/* Alternance de couleurs (1 ligne sur 2) pour tableTableau */
table.tableTableau tr.tableLigne:nth-child(even),
table.tableTableau tbody tr:nth-child(even),
table.tableTableau tr:nth-child(even),
table.tableTableau td.tableZonePair,
table.tableTableau td.tableZonePairD {
    background-color: #EAEAEA !important;
}

.tableZonePair,
.tableZonePairD {
    background-color: #EAEAEA !important;

}

table.tableTableau tr.tableLigne:nth-child(odd),
table.tableTableau tbody tr:nth-child(odd),
table.tableTableau tr:nth-child(odd),
table.tableTableau td.tableZone,
table.tableTableau td.tableZoneD,
.tableZone,
.tableZoneD {
    background-color: #FFFFFF !important;
}

/* Stylisation des selects et inputs dans le tableau pour s'intégrer au thème */
table.tableTableau select, table.tableTableau input[type="text"].lineedit {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(92, 188, 196, 0.4) !important;
    border-radius: 6px !important;
    color: inherit;
    outline: none !important;
    box-sizing: border-box;
    transition: all 0.2s ease
}


table.tableTableau select:focus, table.tableTableau input[type="text"].lineedit:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 2px rgba(237, 82, 82, 0.3) !important;
    /* Rouge thème */
}

/* Effet au survol (Hover) */
table.tableTableau tbody tr:hover,
table.tableTableau tbody tr:hover td,
table.tableTableau tr.tableLigne:hover,
table.tableTableau tr.tableLigne:hover td,
table.tableTableau tr:not(:first-child):hover,
table.tableTableau tr:not(:first-child):hover td {
    background-color: rgba(232, 255, 0, 0.15) !important;
}

/* Modern Theme for Fieldset */
fieldset {
    border: 1px solid rgba(150, 150, 150, 0.5) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important
}

fieldset legend {
    font-family: LatoBold !important;
    color: #333 !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(150, 150, 150, 0.5) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important
}

/* Modern Theme for Checkboxes */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(150, 150, 150, 0.6);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
    margin-top: 0px;
    box-sizing: border-box;
}

input.lcheckbox {
    display: none;
}

input[type="checkbox"]:checked {
    background-color: #F1474D;
    border-color: #F1474D;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70% 70%;
}

input[type="checkbox"]:checked::after {
    display: none;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 71, 77, 0.2);
}

input[type="checkbox"]:hover {
    border-color: #F1474D;
}

/* Badges d'état modernes */
.badge-etat {
    float: left;
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 11px;
    font-family: Lato, sans-serif;
    font-weight: bold;
    padding: 3px 6px 3px 10px;
    margin-left: 10px;
    margin-top: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
}

.badge-etat-label {
    line-height: 1;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    float: left;
    line-height: 17px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 45px
}

.badge-etat-count {
    background-color: #ED5253;
    color: #fff;
    border-radius: 12px;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 14px;
    text-align: center;
    line-height: 1;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    width: fit-content;
    float: left
}

.badge-count-standalone {
    font-family: LatoBold;
    text-align: center;
    background-color: #3b82f6;
    color: #fff;
    border-radius: 12px;
    padding: 4px 8px;
    line-height: 15px;
    float: right;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-left:5px;
}

.badge-count-standalone img {
    float: left;
    margin-right: 3px;
    width:15px;
    height: 15px;
    filter: invert(1) brightness(2);
}

.taskCadre {
    display: block;
    flex: 1 1 300px;
    min-width: 300px;
    max-width: 100%;
    background: white;
    border-radius: 5px;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: all 0.2s ease !important
}

.taskCadre:hover {
    transform: translatey(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important
}

.btAdd {
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 50% !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 4px 8px rgba(237, 82, 82, 0.4) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important
}

.btAdd:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2) rotate(10deg) !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 8px rgba(237, 82, 82, 0.8) !important;
    filter: none !important
}

.btAdd img {
    max-width: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    pointer-events: none !important;
    backdrop-filter: blur(12px) !important;
    opacity: 0.8;
    border-radius: 50% !important
}

/* BARRES DE TITRE UNIFIEES (POP-UP) */
.titre {
    position: relative;
    width: 100%;
    height: 44px;
    background: linear-gradient(180deg, #ED5252 0%, #e04848 100%);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.titre::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.03) 45%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.titrebtretour, .titrebtclose, .titrebt {
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 20px;
    padding: 0;
    padding-left:10px;
    padding-right:10px;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s ease !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    color: white;
    width:auto;
}

.titrebtretour {
    margin-left: 10px !important;
}

.titrebtclose {
    margin-right: 10px !important;
    width: 30px;
    padding-left:0;
    padding-right:0;
}

.titrebtretour:hover, .titrebtclose:hover, .titrebt:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    transform: translatey(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.titrebtretour img, .titrebtclose img, .titrebt img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
    transition: 0.5s;
    display: block;
}

.titrebt img {
    /* margin-right:5px; */
}

.titrebtretour:hover img, .titrebtclose:hover img, .titrebt:hover img {
    transform: rotate(10deg);
}

.titrelb, .titrelux {
    margin: 0;
    color: white;
    font-size: 1.1em;
    font-family: Latobold;
    text-align: center;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    padding: 0 10px;
}

/* Adaptation des boutons de titre avec du texte en bouton de type "pill" */
.titrebtretour:has(span), .titrebtclose:has(span) {
    width: auto !important;
    height: 30px !important;
    border-radius: 15px !important;
    padding: 0 12px !important;
    font-family: LatoBold, sans-serif;
    font-size: 11px;
    color: white !important;
    gap: 8px;
}

.titrebtretour:has(span) img, .titrebtclose:has(span) img {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    float: none !important;
    display: inline-block !important;
}

/* --- Nouvelles animations d'entrée et effets (Design Motion) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up, #formlogin.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    opacity: 0;
}

.stagger-1 {
    animation-delay: 50ms;
}

.stagger-2 {
    animation-delay: 100ms;
}

.stagger-3 {
    animation-delay: 150ms;
}

.stagger-4 {
    animation-delay: 200ms;
}

.stagger-5 {
    animation-delay: 250ms;
}

/* Micro-interaction sur hover (boutons/onglets) sans altérer la couleur de fond originelle */
.hover-spring {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.hover-spring:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Spinner de chargement moderne */
.modern-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─────────────────────────────────────────────────────────────────
   Row Actions Toolbar & Bouton Kebab — initRowActions() dans global.js
   Remplace .divdrag (animation) et img.imgPlus (icone fixe)
   par un bouton kebab fixe en bout de ligne ouvrant la toolbar
   ───────────────────────────────────────────────────────────────── */

/* Masquer les anciens systèmes (conservés dans le DOM pour leurs onclick) */
.divdrag, .divdrag1, .divdrag_js, .divdrag_js_n, .divdrag_js_c, .divdrag_js_glob, .divdrag_js_exe {
    display: none !important;
    pointer-events: none !important;
    z-index: 999999999 !important;
}

.has-row-kebab {
    position: relative !important;
}

/* Bouton kebab fixe en bout de ligne (haut à droite) */
.row-kebab-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.95);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    z-index: 10;
    box-sizing: border-box;
}

.row-kebab-btn:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.row-kebab-btn svg,
.row-kebab-btn svg * {
    pointer-events: none !important;
}

/* Toolbar flottante (singleton body, position:fixed via JS) */
.row-actions-toolbar {
    position: fixed;
    opacity: 0;
    display: none;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    padding: 4px 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 999999;
    white-space: nowrap;
    box-sizing: border-box;
}

.row-actions-toolbar.visible {
    opacity: 1;
    pointer-events: auto;
    display: inline-flex;
}

/* Boutons individuels */
.row-action-btn {
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 14px;
    border: 1px solid #e8edf3;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: background 0.15s ease, transform 0.1s ease;
    line-height: 1;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

.row-action-btn:hover {
    background: #f1f5f9;
}

.row-action-btn.btn-delete,
.row-action-btn.btn-delete-file {
    color: #e53935;
    background: #fff5f5;
    border-color: #ffcdd2;
}

.row-action-btn.btn-delete:hover,
.row-action-btn.btn-delete-file:hover {
    background: #ffebee;
    color: #d32f2f;
}

.row-action-btn.btn-send {
    color: #0284c7;
    background: #f0f9ff;
    border-color: #bae6fd;
}

.row-action-btn.btn-send:hover {
    background: #e0f2fe;
    color: #0369a1;
}

.row-action-btn.btn-add {
    color: #2e7d32;
    background: #f1f8e9;
    border-color: #c8e6c9;
}

.row-action-btn.btn-add:hover {
    background: #e8f5e9;
    color: #1b5e20;
}

.row-action-btn.btn-detail,
.row-action-btn.btn-detail2 {
    color: #475569;
    background: #ffffff;
    border-color: #e2e8f0;
}

.row-action-btn.btn-detail:hover,
.row-action-btn.btn-detail2:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.row-action-btn svg,
.row-action-btn svg * {
    pointer-events: none !important;
}

/* ── Menu Dock Recent Affaires Actions ───────────────────────────────── */
.recent-aff-wrapper {
    position: relative;
    display: inline-block;
}

.recent-aff-actions {
    position: absolute;
    top: -6px;
    right: 2px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(4px);
    z-index: 10;
}

.recent-aff-wrapper:hover .recent-aff-actions {
    opacity: 1;
    transform: translateY(0);
}

.recent-aff-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, transform 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recent-aff-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.recent-aff-btn:active {
    transform: scale(0.95);
}

.fav-btn.is-fav {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
    opacity: 1 !important;
}

/* Force l'affichage de l'étoile si elle est en favori, même sans hover */
.recent-aff-wrapper:not(:hover) .recent-aff-actions:has(.fav-btn.is-fav) {
    opacity: 1;
    transform: translateY(0);
}

/* Masquer le bouton de suppression s'il n'y a pas le survol, même si l'étoile est affichée */
.recent-aff-wrapper:not(:hover) .del-btn {
    display: none;
}

#preview {
    position: absolute;
    right: 10px !important;
    top: 50% !important;
    transform-origin: center right !important;
    transform: translateY(-50%);
    height: auto !important;
    max-height: calc(100vh - 120px) !important;
    min-width: 280px !important;
    width: 720px !important;
    aspect-ratio: 210/297 !important;
    padding: 0;
    border: 1px solid #ccc !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background: white !important;
    overflow-y: auto !important;
    z-index: 999 !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
}

#boutonClosePlan {
    position: fixed !important;
    top: 20px !important;
    right: 24px !important;
    background: rgba(82, 82, 83, 0.1) !important;
    border-color: rgba(238, 238, 238, 1) !important;
    border-radius: 8px !important;
}

#boutonClosePlan:hover {
    background: linear-gradient(135deg, #5FA5F0 0%, #3b3bb0 100%) !important;
}

/* ==========================================================================
   STYLES DU MENU DES AFFAIRES / CONTACTS / NOTES
   ========================================================================== */

.dash-search-container {
    width: 100%;
    padding: 6px 6px 10px 6px;
    box-sizing: border-box;
}

.dash-search-row {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    width: 100% !important;
}

.dash-search-input-box {
    position: relative !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.dash-search-glass {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
    pointer-events: none !important;
}

#divrechercheaffaire,
#divrecherchenote,
#divrecherchetask {
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    border-radius: 10px;
    border:none !important;
}

.dash-search-input-box input,
.dash-search-input,
#rechercheaffaire,
#recherchenote,
#recherchetask {
    width: 100% !important;
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid #CCC !important;
    background-color: #ffffff !important;
    padding-left: 36px !important;
    padding-right: 12px !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    text-indent: 0 !important;
    background-image: none !important;
}

.dash-search-input-box input:focus,
.dash-search-input:focus,
#rechercheaffaire:focus,
#recherchenote:focus,
#recherchetask:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
    background-image: none !important;
}

#divrecherchecontact {
    width: 255px !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: flex !important;
    border-radius: 10px;
    border: none !important;
    float: left !important;
    margin-right: 10px !important;
    margin-left: 8px !important;
}

#recherchecontact {
    width:100% !important;
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid #CCC !important;
    background-color: #ffffff !important;
    padding-left: 36px !important;
    padding-right: 12px !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    text-indent: 0 !important;
    background-image: none !important;

}

#recherchecontact:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
    background-image: none !important
}

.dash-reload-btn, #reloadaffaire {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    border: 1px solid #CCC !important;
    background: #ffffff !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    margin: 0 0 0 8px !important;
    float: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.dash-reload-btn:hover, #reloadaffaire:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.dash-options-row {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    padding-left: 2px !important;
}

.dash-option-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 10px !important;
    color: #1e293b !important;
    cursor: pointer !important;
    user-select: none !important;
}

.dash-option-checkbox {
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    accent-color: #334155 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

#groupeaffaires, #groupetask, #groupenotes {
    width: 320px !important;
    background-color: #ffffff !important;
    border-right: 1px solid #DDD !important;
}

#divmenugauche #divaffaires[style*="display: none"],
#divmenugauche #divaffaires[style*="display:none"] {
    display: none !important;
}

#lstaffaires, #listetask {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column !important;
}

#groupeaffaires #lstaffaires,
#divmenugauchegen #lstaffaires,
#divaffaires:not([style*="display: none"]):not([style*="display:none"]) #lstaffaires {
    display: flex !important;
}

#ulaffaires, #lstaffaires ul, #ultask, #listetask ul {
    flex: 1 !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#ulaffaires li, #lstaffaires ul li, #ultask li, #listetask ul li {
    width: calc(100% - 20px) !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    border: 1px solid #DDD !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    margin-bottom: 5px !important;
}

/* En-tetes de groupes de dossiers */
.grisgrp {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    width: calc(100% - 20px) !important;
    height: 44px !important;
    min-height: 44px !important;
    background-color: #FCFCFC !important;
    background-image: none !important;
    border: none !important;
    border-radius: 14px !important;
    margin: 6px 10px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    list-style-type: none !important;
    transition: background-color 0.2s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06) !important;
}

.grisgrp:hover {
    background-color: #FCECEC !important;
}

.grisgrp.groupelsta_on {
    background-color: #EF6464 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(239, 100, 100, 0.35) !important;
}

.grisgrp.groupelsta_on .grisgrp-title {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.grisgrp.groupelsta_on .grisgrp-icon {
    filter: none !important;
}

.grisgrp.groupelsta_on .grisgrp-icon img {
    filter: brightness(0) invert(1) !important;
}

.grisgrp.groupelsta_on .grisgrp-badge {
    color: #EF6464 !important;
    border-color: transparent !important;
    background-color: #ffffff !important;
}

.grisgrp.groupelsta_on .chevron {
    color: #FFFFFF !important;
    transform: rotate(90deg) !important;
    opacity: 1 !important;
}

.grisgrp-inner {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.grisgrp-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.grisgrp-icon {
    font-size: 16px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.grisgrp-title {
    font-weight: 700 !important;
    color: #2c2825 !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.grisgrp-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

.grisgrp-badge {
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 2px 10px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #6e675e !important;
    border: 1px solid #e6e1d6 !important;
    min-width: 20px !important;
    text-align: center !important;
    line-height: 18px !important;
}

.chevron {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #9c9488 !important;
    opacity: 1 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: auto !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

/* Elements d un groupe ouvert */
[class*="affaire_groupe_"]:not(.grisgrp) {
    position: relative !important;
    margin: 4px 10px !important;
    width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
}

/* Forcer le masquage reel des elements masques par jQuery */
[class*="affaire_groupe_"][style*="display: none"],
[class*="affaire_groupe_"][style*="display:none"],
.lstAffaireLi[style*="display: none"],
.lstAffaireLi[style*="display:none"],
.lstAffaireLiGris[style*="display: none"],
.lstAffaireLiGris[style*="display:none"],
.lstAffaireLiRouge[style*="display: none"],
.lstAffaireLiRouge[style*="display:none"],
.lstAffaireLiVert[style*="display: none"],
.lstAffaireLiVert[style*="display:none"] {
    display: none !important;
}

/* Cartes d affaires enfants (.lstAffaireLi) */
.lstAffaireLi, .lstAffaireLiGris, .lstAffaireLiRouge, .lstAffaireLiVert {
    width: calc(100% - 20px) !important;
    height: 56px !important;
    min-height: 56px !important;
    background-color: #ffffff !important;
    border: 1px solid #EAEAEA !important;
    border-radius: 14px !important;
    margin: 4px 10px !important;
    padding: 0 !important;
    margin-left:4px !important;
    border-top-left-radius: 0px !important; ;
    border-bottom-left-radius: 0px !important; ;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    list-style-type: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;

}

.lstAffaireLiGris {
    background-color: #BEBEBE !important;
}

.lstAffaireLiRouge {
    background-color: #FF6B6B !important;
}

.lstAffaireLiVert {
    background-color: #CAFFCA !important;
}

.lstAffaireLi:hover, .lstAffaireLiGris:hover, .lstAffaireLiRouge:hover, .lstAffaireLiVert:hover {
    transform: translateX(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 150, 0, 0.5) !important;
    border: 2px solid #96FFA3 !important;
    border-left: 4px solid #96FFA3 !important;
    background:rgba(150, 255, 163, 0.3) !important;
    background-image:none !important;
    z-index: 9999 !important;
}

.aff-card-content {
    width: calc(100% - 5px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2px !important;
}

.aff-logo-img {
    padding:2px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.aff-text-box {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow:hidden;
}

.nomcontact {
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-family: LatoBold !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.societe {
    color: #64748b !important;
    font-size: 11px !important;
    font-family: Lato !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    margin-left:0px !important;
}

.aff-chevron {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
    margin-left:5px !important;
}

/* Jauge Boîte à Plan */
.dash-box-gauge {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
}

.dash-gauge-circle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
}

.dash-gauge-val {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    pointer-events: none !important;
}

.tablecolonnes_green {
    background-color: #89B99E;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}

.ui-button:not(.blue2):not(.green):not(.separator):not(.separator2):not(.ui-button-icon-only):not(.ui-dialog-titlebar-close) {
    width: auto !important;
}


@media (min-width: 1001px) {
    #AlerteFin {
        display: none !important;
    }
}

/* Planning table styles moved from general/ganttXML.php */
#divfull .liSortSelected {
    outline: 1px solid red;
    box-shadow: 0px 0px 9px red;
    width: calc(100% - 4px) !important;
    background-color: #FDD !important;
}

#divfull .inputdate {
    text-indent: 0;
    text-align: center;
    width: 100px;
}

.planning-table-header,
.planning-table-row {
    display: grid;
    grid-template-columns: 68px 50px minmax(420px, 1.3fr) 130px 130px 68px 78px 52px 86px minmax(260px, 1fr) 42px 56px;
    align-items: center;
    min-width: 1433px;
    box-sizing: border-box;
    width:100%;
}

.planning-action-bar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: 1433px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.planning-selection-count {
    min-width: 112px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.planning-action-divider {
    width: 1px;
    height: 20px;
    margin: 0 4px;
    background: #e2e8f0;
}

.planning-action-button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.planning-action-button:hover:not(.planning-action-disabled) {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.planning-action-spacer {
    flex: 1 1 auto;
}

.planning-action-button-secondary {
    min-height: 34px;
    padding: 5px 14px;
    border-color: #dbe3ec;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    font-size: 13px;
    font-weight: 600;
}

.planning-action-primary {
    min-height: 34px;
    padding: 5px 16px;
    border-color: #e53945;
    background: #e53945;
    color: #fff;
    box-shadow: 0 2px 4px rgba(196, 36, 48, 0.2);
    font-size: 13px;
    font-weight: 600;
}

.planning-action-primary:hover {
    border-color: #cf2f3a !important;
    background: #cf2f3a !important;
    color: #fff !important;
}

.planning-action-icon {
    margin-right: 6px;
    font-size: 16px;
    line-height: 1;
}

.planning-action-disabled {
    opacity: 0.42;
    cursor: not-allowed;
    pointer-events: none;
}

.planning-action-danger {
    color: #b42318;
}

.planning-header-select {
    display: flex;
    align-items: center;
    justify-content: center;
}

.planning-header-select input,
.planning-row-select {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #d94246;
    cursor: pointer;
}

.planning-table-header {
    height: 38px;
    padding: 0 8px;
    border-bottom: 1px solid #dbe2ea;
    color: #475569;
    font-family: LatoBold;
    font-size: 10px;
    background: #f8fafc;
}

.planning-heading-task {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#divfull .planning-toolbar-search {
    flex: 0 1 240px;
    min-width: 150px;
}

#divfull .planning-toolbar-search #inprechpl {
    width: 100%;
    max-width: 250px;
    height: 32px;
    padding: 4px 10px 4px 32px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff url('/images/search.png') no-repeat 10px center;
    background-size: 14px 14px;
    box-sizing: border-box;
    color: #334155;
    font-size: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#divfull .planning-toolbar-search #inprechpl:focus {
    border-color: #9fb4cd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(64, 114, 170, 0.12);
}

.planning-table-row {
    height: 35px;
    padding: 0 6px;
    border-bottom: 1px solid #d7dde4;
    background: #fff;
    font-size: 12px;
}

.planning-table-row:hover {
    background: #fff7f4;
}

.planning-row-group {
    background: #eef2f6;
    font-weight: bold;
}

.planning-cell {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    height: 100%;
    padding: 0 4px;
    border-right: 1px solid #e4e8ed;
    box-sizing: border-box;
}

.planning-cell-number {
    justify-content: center;
    position: relative;
}

.planning-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 2px 4px;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
}

.planning-number input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.planning-number:focus-within {
    outline: 2px solid #263b58;
    outline-offset: 1px;
}

.planning-tree {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.planning-tree-guide {
    position: relative;
    flex: 0 0 18px;
    align-self: stretch;
}

.planning-tree-guide::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    border-left: 1px solid #c7d0dc;
    content: "";
}

.planning-tree-guide::after {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 9px;
    border-top: 1px solid #c7d0dc;
    content: "";
}

.planning-tree-guide-last::before {
    bottom: 50%;
}

.planning-tree-toggle,
.planning-tree-leaf {
    flex: 0 0 18px;
    width: 18px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
}

.planning-tree-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.planning-tree-toggle img {
    width: 14px;
    height: 14px;
}

.planning-tree-leaf {
    position: relative;
}

.planning-tree-leaf::after {
    position: absolute;
    top: 7px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8998aa;
    content: "";
}

.planning-level-input {
    flex: 0 0 30px;
    width: 30px;
    height: 20px;
    padding: 0 2px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #fff;
    font-size: 11px;
    text-align: center;
    color: #333;
    -moz-appearance: textfield;
}

.planning-level-input:focus {
    border-color: #ed5252;
    outline: none;
    background: #fff;
}

.planning-cell-level {
    justify-content: center;
}

.planning-task-name {
    width: 100%;
    min-width: 0;
    padding: 2px 4px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    text-overflow: ellipsis;
}

.planning-task-name:focus,
.planning-input:focus {
    border-color: #ed5252;
    outline: none;
    background: #fff;
}

.planning-input {
    width: 100%;
    min-width: 0;
    height: 26px;
    padding: 2px 4px;
    border: 1px solid #d8dee7;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
    font-size: 12px;
}

.planning-cell-date label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    height: 26px;
}

.planning-cell-date label input {
    margin: 0;
}

.planning-date-weekday {
    flex: 0 0 22px;
    color: #667085;
    font-size: 10px;
    text-align: center;
}

#divfull .planning-cell-date .planning-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 26px;
    margin: 0;
    width: 77px;
}

.planning-cell-duration span,
.planning-progress-trigger {
    flex: 0 0 auto;
    color: #667085;
}

.planning-progress {
    text-align: right;
}

.planning-progress.planning-complete {
    background: #d9f2df;
    border-color: #8bc99a;
}

.planning-delay-late {
    color: #c93434;
}

.planning-delay-early {
    color: #24854a;
}

.planning-cell-links button,
.planning-cell-assignees button,
.planning-cell-menu button {
    flex: 0 0 auto;
    padding: 3px 5px;
    border: 1px solid #d8dee7;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
}

.planning-cell-menu {
    position: relative;
    justify-content: center;
    overflow: visible;
}

.planning-cell-menu .row-kebab-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    font-size: 20px;
    line-height: 1;
}

.planning-cell-menu .row-kebab-btn:hover,
.planning-cell-menu .row-kebab-btn[aria-expanded="true"] {
    border-color: #d5dce5;
    background: #fff;
}

.planning-row-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10020;
    min-width: 190px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.planning-row-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #334155;
    text-align: left;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.planning-row-menu button img {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0);
    opacity: 0.75;
}

.planning-row-menu button:hover {
    background: #f1f5f9;
}

.planning-row-menu button:hover img {
    opacity: 1;
}

.planning-row-menu button.planning-row-menu-danger {
    color: #b42318;
}

.planning-row-menu button.planning-row-menu-danger img {
    filter: brightness(0) invert(18%) sepia(82%) saturate(5427%) hue-rotate(354deg) brightness(85%) contrast(98%);
    opacity: 1;
}

.planning-assignee-list {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.planning-cell-assignees .planning-lot-entry {
    flex: 0 0 116px;
    width: 116px;
}

.planning-postit {
    width: 28px;
    height: 28px;
    padding: 2px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.planning-postit img {
    width: 24px;
    height: 24px;
}

.planning-comment-editor {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 1000000;
    width: 260px;
    height: 90px;
    padding: 8px;
    border: 1px solid #d6a323;
    border-radius: 4px;
    background: #fff7cf;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    resize: vertical;
}

.planning-cell-comment {
    position: relative;
}

.planning-readonly {
    background: #f1f3f5;
    color: #667085;
}

.planning-save-state {
    padding: 4px 8px;
    border-radius: 12px;
    background: #e4f4e8;
    color: #247a3e;
    font-size: 11px;
    white-space: nowrap;
}

.planning-save-state[data-state="saving"] {
    background: #fff1d6;
    color: #8a5a00;
}

.planning-save-state[data-state="error"] {
    background: #fde8e7;
    color: #a52822;
}

#sortable-list > .planning-pagination-item {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: block;
    width: 100%;
    min-width: 1419px;
    height: 44px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #f6f8fa;
    border-top: 1px solid #d7dde4;
    box-sizing: border-box;
}

#sortable-list > .planning-pagination-item:hover {
    border-left: 0;
    background: #f6f8fa !important;
    box-shadow: none;
}

.planning-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
    padding: 0 12px;
    color: #566579;
    font-size: 11px;
}

.planning-pagination-count {
    margin-right: auto;
}

.planning-pagination button {
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    border: 1px solid #d5dce5;
    border-radius: 4px;
    background: #fff;
    color: #344054;
    cursor: pointer;
}

.planning-pagination button:hover {
    border-color: #ed5252;
}

.planning-pagination button.planning-page-active {
    border-color: #ed5252;
    background: #ed5252;
    color: #fff;
}

.planning-page-size {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
}

.planning-page-size input {
    width: 46px;
    height: 28px;
    padding: 2px 4px;
    border: 1px solid #d5dce5;
    border-radius: 4px;
    text-align: center;
}

#divfull #sortable-list.sortable-list-on li .handle {
    left: 48px;
}

#divfull .sortable-list-on .divligne {
    position: relative;
}

#divfull .sortable-list-off .divligne {
    position: relative;
}

#divfull #sortable-list.sortable-list-on li .handle {
    left: 350px;
    margin-top: 2px;
}

#divfull #sortable-list > li.liVisible:hover {
    border-left: 2px solid #ED5252;
    border-bottom: 1px solid #ED5252 !important;
    background-color: rgba(255, 255, 0, 0.5) !important;
    -webkit-box-shadow: 1px 1px 3px 2px rgba(100, 50, 50, 0.5);
    -moz-box-shadow: 1px 1px 3px 2px rgba(100, 50, 50, 0.5);
    box-shadow: 1px 1px 3px 2px rgba(100, 50, 50, 0.5);
}
