.resa-gantt-container { float:left; width:100%; position:relative; border-right:1px solid #CCCCCC; border-left:1px solid #CCCCCC; border-top:1px solid #CCCCCC; }
.resa-gantt-header { width:100%; float:left; height:80px; background-color:#F0F0F0; border-bottom:1px solid #CCCCCC; }

.resa-gantt-header-line-top { height:40px; width:100%; float:left; padding-left:9px; border-bottom: 1px solid #e1e1e1; background-color: #f4f4f4;}
.resa-gantt-header-line-bottom { height:40px; width:100%; float:left;background-color:#f4f4f4; border-bottom: 1px solid lightgray;}



.resa-gantt-header-line-top { height:40px; width:100%; float:left; padding-left:9px; border-bottom: 1px solid #e1e1e1; background-color:#f4f4f4;} 
.resa-gantt-header-line-bottom { height:40px; width:100%; float:left;background-color:#f4f4f4; border-bottom: 1px solid lightgray;} /**/

.btn-gantt-small { height:26px; width:26px; float:left;  margin-left:3px; margin-top:7px; background-repeat:no-repeat; background-position:center; cursor:pointer; }
.btn-gantt-submit:hover, .btn-gantt-small:hover { background-color:white; }

.gantt-btn-sep { float:left; width: 1px; background-color: lightgray; height:26px; margin-top:7px; margin-right:3px;margin-left:3px;  }
.sep-right { float:right; }

.gantt-categories { 
    border-color: #d2d6de;
    width: 200px;
    margin-top: 7px;
    margin-left: 10px;
    border-style: solid;
    border-width: 1px;
    height: 25px;
    float:left;
}

.box-header-gantt { display:none!important; }

.gantt-panel-legend .gantt-right-panel-body { background-color:white; }
.gantt-legend-item { float:left; width:100%; height:24px; position:relative; overflow:hidden; border-bottom:1px solid white; background-color:#F7F7F7;}
.gantt-legend-item-color-container { float:left; width:45px; height:24px; }
.gantt-legend-item-color { float:left; width:35px; margin-left:5px;margin-top:4px;height:16px; border:1px solid lightgray;  }
.gantt-legend-item-label { float:left; position:absolute;left:45px; right:0; top:0;bottom:0; padding-left:5px; line-height:24px; font-size:12px;  color: rgb(27, 68, 97); }

.gantt-right-panel-no-item { display:none; 
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: white;
    font-size: 13px;
    font-weight: bold;
    color: #444;

}
.item-overlap-sub-child { display:none; }


.resa-gantt-timeline-extended-marker
{
    height: 11px;
    float: left;
    margin-top: 13px;
    background-image: linear-gradient(to right, white 1px, transparent 1px), linear-gradient(to bottom, white 1px, transparent 1px);
    background-position-y: -1px;
    background-position-x: -1px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0px;
    right: -1px;
        background-color: #526D8A;
    color: white;

}






.gantt-line-bottom-adapt-period-button { float:left; height:22px;margin-top:9px;  position:relative;overflow:visible;width:47px;background-image:url('../Images/gantt-adapt.png'); background-repeat:no-repeat; background-position:center; background-position-y:4px; }
.gantt-line-bottom-adapt-period-button:hover { background-color:lightgray; }

.gantt-line-bottom-adapt-period-button.gantt-adapt-checked { background-color: #d5d5d5; border-bottom: 2px solid #395471; }

.gantt-line-bottom-adapt-period-current { height: 26px;
width: 28px;
float: left;
cursor: pointer;}

.gantt-line-bottom-adapt-period-current-toggle {
height: 26px;
width: 18px;
float: left;
}


.gantt-line-bottom-adapt-period-button-popup { 
    position: absolute;
    left: 0;
    top: 22px;
    height: 107px;
    display: none;
    background-color: white;
    z-index: 60;
    
    width: 350px;
    border: 1px solid lightgray;

}
.gantt-line-bottom-adapt-period { float: left; height: 25px; width: 110px; line-height: 24px; cursor: pointer; text-align: left; padding-left: 30px; }
.gantt-line-bottom-adapt-period:hover { background-color:#FAFAFA; }

.gantt-line-bottom-adapt-period-button-popup-sep { width: 90px;
    background-color: lightgray;
    height: 1px;
    float: left;
    margin-left: 20px;
}
.gantt-adapt-period-button-container { 
    width: 100%;
    padding-left: 30px;
    height: 35px;
    border-bottom: 1px solid #f4f4f4;
    background-color: #f4f4f4;

}
.gantt-adapt-period-button {
    float: left;
    height: 35px;
    padding-right: 6px;
    padding-left: 6px;
    cursor: pointer;
    line-height: 35px;
}


.gantt-line-bottom-adapt-date-container {width: 100%;
height: 35px;
float: left;
border-bottom: 1px solid #f4f4f4;
line-height: 35px; }

.gantt-adapt-period-label { float:left; }



.gantt-line-bottom-scale-button { float:left; height:23px;margin-top:9px; margin-left:10px; position:relative;overflow:visible;width:40px;background-image:url('../Images/gantt-scale.png'); background-repeat:no-repeat; background-position:center; margin-right:3px; }
.gantt-line-bottom-scale-button:hover { background-color:lightgray; }
.gantt-line-bottom-scale-current { height:24px;width:100%; }
.gantt-line-bottom-scale-button-popup { position:absolute;right:0;top:26px; height:180px; display:none;background-color: white;z-index: 60; border:1px solid lightgray;} /*border-top: 1px solid lightgray;*/ 
.gantt-line-bottom-scale { float: left; height: 25px; width: 110px; line-height: 24px; cursor: pointer; text-align: left; padding-left: 30px; background-repeat:no-repeat; background-position-y: center;background-position-x:10px; }
.gantt-line-bottom-scale:hover { background-color:#FAFAFA; }

.gantt-line-bottom-scale-button-popup-sep { 
    width: 90px;
    background-color: lightgray;
    height: 1px;
    float: left;
    margin-left: 20px;
}
 



.gantt-scale-1 .gantt-line-bottom-scale-1 { background-image:url('../Images/gray-tick-16.png'); } 
.gantt-scale-5 .gantt-line-bottom-scale-5 { background-image:url('../Images/gray-tick-16.png'); } 
.gantt-scale-10 .gantt-line-bottom-scale-10 { background-image:url('../Images/gray-tick-16.png'); } 
.gantt-scale-12 .gantt-line-bottom-scale-12 { background-image:url('../Images/gray-tick-16.png'); } 
.gantt-scale-20 .gantt-line-bottom-scale-20 { background-image:url('../Images/gray-tick-16.png'); } 

.gantt-scale-24 .gantt-line-bottom-scale-24 { background-image:url('../Images/gray-tick-16.png'); } 
.gantt-scale-60 .gantt-line-bottom-scale-60 { background-image:url('../Images/gray-tick-16.png'); } 
 

.gantt-line-bottom-indicators { float:left; height:40px; margin-left:10px;cursor:pointer;-webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */  }
.gantt-line-bottom-indicator
{
    float: left;
    margin-top: 9px;
    height: 22px;
    color: white;
    text-align: center;
    font-weight: bold;
    line-height: 19px;
    padding-right: 8px;
    padding-left: 8px;
    margin-right:1px;
    background-color:white;
}




.gantt-indicator-errors { border-bottom: 3px solid #AE2E14; background-color: #CC4C32;  }
.gantt-indicator-warnings { border-bottom: 3px solid #DCA217;background-color: #FAC035; }
.gantt-indicator-information {  border-bottom: 3px solid #1F709F; background-color: #3C8DBC; }
.gantt-indicator-overlap {  border-bottom: 3px solid #4A1D9C; background-color: #6F42C1;cursor:pointer; }
.gantt-indicator-flights {  border-bottom: 3px solid #919191; background-color: #ADADAD; }

.gantt-task-icon { 
    width: 24px;
    background-repeat: no-repeat;
    position: absolute;
    left: -1px;
    top: 0px;
    bottom: 0px;
    background-position: center;
    background-size: 11px;
    padding-right: 10px;
    padding-left: 5px;
    border-left: 1px solid white;
}

.resa-gantt-timeline-loading { position:absolute; left:0; right:0; bottom:0; top:0; background-color:white; opacity:0.8; background-image: url('../../Images/spinner.gif');
    z-index: 60;
    background-repeat: no-repeat;
    background-position: center;
    display:none;
}

.gantt-current-timeline {
    position:absolute;
    width:1px;
    top:0;
    bottom:0;
    left:200px;
    background-color:#CC4C32;
}

.resa-gantt-timeline-gray-background { position:absolute; z-index:0; top:0; bottom:0; background-color:lightgray; opacity:0.2; width:350px; }
#resa-gantt-timeline-gray-background-start { left:0; }
#resa-gantt-timeline-gray-background-end { right:0; }

.btn-gantt-display-day { background-image: url('../Images/planning-1-20px.png'); }
.btn-gantt-display-week { background-image: url('../Images/planning-7-20px.png'); }
.btn-gantt-display-two-weeks { background-image: url('../Images/planning-4-20px.png'); }

.btn-gantt-display-previous-day { background-image: url('../Images/arrow-green-left-20px.png'); margin-left:0px; }
.btn-gantt-display-next-day { background-image: url('../Images/arrow-green-right-20px.png'); margin-left:0px; }

.btn-gantt-current-day {  background-image: url('../Images/planning-20px.png'); }
.btn-gantt-current-hour {  background-image: url('../Images/time-20px.png'); }

.gantt-fullscreen .btn-gantt-toggle-fullscreen { background-color:#CC4C32; width:auto; background-position: 6px; }
.gantt-fullscreen .gantt-fullscreen-label { display:block;  }
.gantt-fullscreen-label { float:left; display:none;  line-height:26px; color:white;padding-left: 34px; text-align:center; }

.btn-gantt-auto-refresh-container { float: right; height: 36px; margin-top: 3px; margin-right:6px; } 
.btn-gantt-auto-refresh-middle-container { float: left;
height: 10px;
width: 32px;
border-radius: 1.25em;
background-color: lightgray;
cursor: pointer;
margin-top: 12px;
margin-left: 7px; }
.btn-gantt-auto-refresh-middle-button { height: 16px; width: 16px; background-color: white; border-radius: 1.25em; float: left; margin-top: -3px; margin-left: 2px; margin-right: 2px; border: 1px solid gray;}

.gantt-auto-refresh .btn-gantt-auto-refresh-middle-button { float: right; background-color: #CC4C32; border-color:#CC4C32; }
.btn-gantt-auto-refresh-label { font-size: 12px; text-align: center;  margin-bottom: 2px; float: left; height: 37px; line-height: 34px; }


.btn-gantt-toggle-fullscreen { background-image: url('../Images/fullscreen-20px.png');float: right;margin-right: 6px;border-radius: 4px;padding: 14px;margin-top: 7px;
border-radius: 3px;padding: 0;padding-right: 6px; }
.btn-gantt-toggle-panel-right { background-image: url('../Images/panel-right-20px.png'); float:right; margin-right:6px; }
.btn-gantt-toggle-panel-bottom {  background-image: url('../Images/panel-bottom-20px.png');  float:right; }
.btn-gantt-toggle-panel-left {  background-image: url('../Images/panel-left-20px.png'); float:right;}

.btn-gantt-toggle-settings { background-image: url('../Images/settings-20.png');float: right;margin-right: 6px;border-radius: 4px;padding: 14px;margin-top: 7px;
border-radius: 3px;padding: 0;padding-right: 6px; }


.btn-gantt-export {  background-image: url('../Images/printer-20px.png'); float:right; margin-right:6px; }

.resa-gantt-body { position:absolute;left:0;right:0; top:80px; bottom:0; overflow:hidden; border-bottom:1px solid transparent;  }
.dark-mode .resa-gantt-body { border-bottom-color: var(--main-color); }

}

.resa-gantt-tasks-list { 
    /*border-top:1px solid #C0C0C0;*/ 
    float:left; width:100%; 
    max-width: 250px;
    min-width: 95px;
    position:relative;

}
.resa-gantt-side-panel {
    display:none; width:560px;min-width:240px; max-width:800px; position:absolute; right:0; top:0; bottom:0; background-color:#F0F0F0; border-left:1px solid #CCCCCC; overflow-y:scroll; overflow-x:hidden; 
    padding-right:5px;z-index:500;
}



.btn-gantt-submit {
    float: left;
    width: 36px;
    height: 24px;
    margin-right: 7px;
    cursor: pointer;
    border: 1px solid lightgray;
    line-height: 22px;
    text-align: center;
    margin-top: 8px;
    background-color:#f4f4f4;
}
.btn-gantt-toggle-panel {
    float: right;
    width: 102px;
    background-color: lightgray;
    height: 30px;
    margin-right: 10px;
    cursor: pointer;
    margin-top: 5px;
    line-height: 30px;
    text-align: center;
}

.gantt-date-container, .gantt-date-container2 { float:left;padding-top: 8px; margin-bottom: 0; height: 39px; }
.gantt-date-container2 { width: 191px; }

#pResaGanttDu, #pResaGanttAu { padding: 2px; height: 24px; }
.gantt-date-container .col-sm-10, .gantt-date-container2 .col-sm-10 {  padding-right: 0; max-width: none; } 
.col-label-pResaGanttDu { display:none; }

.col-input-pResaGanttDu { width: 149px; }
.col-input-pResaGanttAu { width: 158px; }

.gantt-fullscreen
{
    position: fixed!important;
    left:0!important;
    top:0!important;
    height:100%!important;
    z-index: 10000;
}





.resa-gantt-timeline-container-equalizer
{
    position:absolute;
    left:0;
    top:0;
    width:max-content;
    bottom:0;

}

.gantt-tasks-container-right {
    width:5px;
    position:absolute;
    right:0;
    top:0;
    bottom:0;
    cursor:ew-resize;
    z-index:500;
 }

.gantt-right-panel-left
{
    width:5px;
    position:absolute;
    right:0;
    top:0;
    bottom:0;
    cursor:ew-resize;
    z-index:500;
 }





.gantt-task-bottom
{
    height: 3px;
    position:absolute;
    left:0;
    bottom:0;
    right:0;
    cursor:ns-resize;
}



/*.gantt-task:last-child
{
    border-bottom:none;
}*/

.gantt-item-mo { 

        position:absolute; 
          /*!important*/
        background-color:transparent;
        /*border-top:4px solid #1066A8;*/
        border-top:0;
        border-bottom:0;
        text-align:left;  
 
        overflow: hidden;
        overflow-wrap: anywhere;
        min-width:15px;
        white-space:nowrap;     
        /*border-bottom:1px solid lightgray;*/
        overflow:hidden;
}

.gantt-item-mo-band {
    height:5px;
    width:100%;
    padding:0;
      margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border:1px solid white;
}



.gantt-item-start { position:absolute; left:0; width:6px;top:0; bottom:0;z-index:2; }
.gantt-item-end { position:absolute; right:0; width:6px;top:0; bottom:0; z-index:2; }
.gantt-item-index { display:none; }
.gantt-item-detail-panel {
    display: none;
    position: absolute;
    width:620px;
    border: 1px solid lightgray;
    background-color: white;
    /*padding-top:8px;
    padding-bottom:8px;*/
    z-index:601;
    border:2px solid orange;
    height:fit-content;
    pointer-events:none;
}

.gantt-item-detail-line { float:left; height:22px; width:100%; font-size:11px;position:relative;}


.gantt-item-detail-line { float:left; height:20px; width:50%; font-size:11px;position:relative;}
.gantt-item-detail-line-sep { float:left; height:18px; width:100%; position:relative;}
.gantt-item-detail-line-label-sep { width: 110px;float: left;height: 18px;background-color: #F7F7F7;border-bottom: 1px solid #fff;}



.gantt-item-detail-line-value-sep { 
position: absolute;
left: 110px;
right: 0;
top: 0;
bottom: 0;
height: 18px;
border-left: 1px solid white;
border-bottom:1px solid #f4f4f4;

}

.dark-mode .gantt-item-detail-panel { background-color:var(--second-color); color:white; }
.dark-mode .gantt-item-detail-line-label { background-color:var(--main-color); color:white; }
.dark-mode .gantt-item-detail-line-label-sep { background-color:var(--highlight-color); }
.dark-mode .gantt-item-detail-line-value-sep { border-left-color: black; border-bottom-color:black; }

.dark-mode .gantt-item-detail-line-label {border-left-color: black; border-bottom-color:black; }
.dark-mode .gantt-item-detail-line-value {border-left-color: black; border-bottom-color:black; }

.gantt-item-detail-line-label {
width: 145px;
float: left;
line-height: 20px;
height: 20px;
background-color: #F7F7F7;
color: rgb(27, 68, 97);
padding-left: 12px;
border-bottom: 1px solid #fff;
font-size: 12px;
}
.gantt-item-detail-line-value { 
position: absolute;
left: 145px;
right: 0;
top: 0;
bottom: 0;
height: 20px;
border-left: 1px solid white;
padding-left: 10px;
font-size: 12px;
line-height: 20px;
border-bottom:1px solid #f4f4f4;
overflow:hidden;
}
.gantt-item-handle-right 
{
    position:absolute;
    top:0;
    bottom:0;
    right:-3px;
    width:6px;
    background-color:transparent;
 }
 
.gantt-item-label { 
    display:inline-block; 
    width:100%; 
    text-align:center; 
    /*font-weight:bold;*/
    position:absolute;
    pointer-events: none;
    color:white;
    font-size:8px;
    line-height:12px;
    padding-left:5px;
    padding-right:5px;
} /*margin-left:6px;*/
.gantt-item-label-date {  margin-left:6px;display:inline-block; }



.btn-gantt-debug-label 
{
    float:right;
    height:40px;
    line-height:40px;
    /*width: 300px;*/
    text-align:right;
    padding-right:10px;
    
}


 

.resa-gantt-timeline-container {  
    position: absolute;
    left: 150px;
    top: 0;
    right: 0;
    bottom: 0;
    min-width: 200px;
    background-color: white;
    overflow: hidden;
}









 
scrollbar,
scrollbar thumb,
scrollcorner
{
visibility: visible !important;
}
 


.resa-gantt-tasks-header-background {
    position:absolute;
    width:151px;
    top:0!important;
    left:0;
    bottom:0!important;
    background-color:#F3F3F3;
    max-width: 250px;
    min-width: 95px;
    /*border-right: 1px solid lightgray;*/
 
}




.col-input-pResaGanttDu { padding-left:8px; }


.gantt-task-category 
{
    background-color: #EEEEEE;
    color: #444;
    font-weight: bold;
    background-color: #EAEAEA!important;
}





.gantt-task-toggle-button.gantt-task-expanded
{
    background-image:url("../images/white-arrow-down.png");
}

/*.resa-gantt-export-container .resa-gantt-timeline-container
{
    width:max-content;
}

.resa-gantt-export-container .resa-gantt-timeline-header-container {
 
    height: 62px;
    border-right: 1px solid lightgray;
    width: max-content;
    float: left;
    position: relative;
}*/

 /*.html2canvas-container { width: 5000px !important; height: 3000px !important; }*/


 /*.resa-gantt-body { width:3000px; }*/



 .gantt-right-panel-block {
    float:left;
    width:100%;
    /*height:30px;*/
    position:relative;
 }

 .gantt-right-panel-header {
    float: left;
    width: 100%;
    height: 30px;
    padding-left: 34px;
 
    background-repeat: no-repeat;
    background-position: 8px center;
    line-height: 30px;
    font-size: 13px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    background-color: #F5F5F5;
 }


.gantt-right-panel-header-indicators {
    height: 19px;
    width: 60px;
    position: absolute;
    top: 5px;
    right: 22px;
    color: white;
    line-height: 19px;
    text-align: center;
}

.gantt-right-panel-header-indicator {
    width:100%; float:left;height:19px;
}

.gantt-right-panel-header-indicator-1 { width:50%; border-right:1px solid white; height:19px;float:left; }
.gantt-right-panel-header-indicator-2 { width:50%; height:19px;float:left; }


.gantt-panel-errors .gantt-right-panel-header-indicators { background-color: #CC4C32; }
.gantt-panel-warnings .gantt-right-panel-header-indicators { background-color: #FAC035; }
.gantt-panel-informations .gantt-right-panel-header-indicators { background-color: #3C8DBC; }
.gantt-panel-flights-list .gantt-right-panel-header-indicator { background-color: #ADADAD; }
.gantt-panel-unallocated .gantt-right-panel-header-indicator { background-color: #444; }
.gantt-panel-overlap .gantt-right-panel-header-indicator { background-color: #6F42C1; }

 .gantt-right-panel-body {
     float:left;
     min-height:24px;
     width:100%;
     display:none;
     background-color: #f4f4f4;
     border-top: 1px solid #e8e8e8; 
    margin-bottom: 2px;
 }
 .gantt-right-panel-block { margin-bottom:3px; }

.gantt-block-open .gantt-right-panel-body { display:block; }



.gantt-right-panel-overlap { float:left; width:100%; height:24px; line-height:24px; background-color:white; border-bottom: 1px solid #E4E4E4; cursor:pointer; color:#444; padding-left:13px; display:none; }
.gantt-right-panel-overlap:last-child { border-bottom-width:0; }
.gantt-right-panel-overlap:hover { background-color:lavender; } 
.gantt-overlap-pennant { float:left; margin-right:4px; height:24px; background-color:lavender; width:7px; position:absolute; left:0; }

.gantt-right-panel-header-toggle-button { 
    height: 28px;
    width: 20px;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 1px;
    background-image: url("../images/black-arrow-left2.png");
    background-position:center;
    background-repeat:no-repeat;
}

.gantt-block-open .gantt-right-panel-header-toggle-button  
{
    background-image: url("../images/black-arrow-down.png");
}


.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.gantt-overlap-indicator { display:none; float:left;height:22px;color:#444; padding-left:5px;line-height:22px;margin-top: 9px; margin-left: 5px; padding-right: 5px;cursor: pointer; }
.gantt-overlap-indicator-label1 { float:left;height:22px;padding-right:5px;font-weight:bold;  }

.gantt-overlap-indicator-label2 { float:left;height:22px; padding-left: 5px; padding-right: 5px; }
.gantt-overlap-indicator-label3 { float:left;height:22px; padding-left: 5px; padding-right: 5px; }

.gantt-overlap-indicator-task {  float:left;height:22px; font-weight: bold;color: #CC4C32; }
.gantt-overlap-indicator-item-1 { float:left;height:22px;font-weight: bold; color: #CC4C32; }
.gantt-overlap-indicator-item-2 { float:left;height:22px;font-weight: bold; color: #CC4C32; }

.gantt-overlap-indicator-jump-button { float:left; height:22px; margin-left:3px; width:22px; background-image: url('../Images/search-grey.png'); background-position:center;background-repeat:no-repeat; }


.gantt-right-panel-error {
    font-size: 12px;
padding-left: 7px;
padding-right: 7px;
line-height: 14px;
background-color: white;
padding-top: 5px;
padding-bottom: 5px;
}

.gantt-item-selected { border-bottom-color:orange!important; }




 /*
  .resa-gantt-header-hour { height:25px; line-height:25px; width: 114px; float:left; border-left:1px solid lightgray; text-align:center; min-width:30px; max-width:400px;position: relative; }
 .resa-gantt-header-hour-handle { position: absolute; top: 0; bottom: 0; right: -4px; width: 7px; background-color: transparent; cursor: ew-resize; z-index: 5; }

 .resa-gantt-header-day-container { display:inline-block; float:left; background-color: #F7F7F7; width: max-content; display: flex; flex-flow: column; background-image: linear-gradient(to right, #E2E2E2 1px, transparent 1px); background-position-y: -1px;  background-position-x: 0px; }
 .resa-gantt-header-day { float: left; border-bottom: 1px solid lightgray; text-align: center; height: 36px; line-height: 36px; }
.resa-gantt-header-hours { width: max-content;  display: inline-block; height: 25px; }

     .resa-gantt-timeline-header {
    height: 62px;
    background-color: #F7F7F7;
    border-bottom: 1px solid #C0C0C0;
    display: flex;
    width: max-content;
}

     .resa-gantt-tasks-top-panel 
{
    height: 62px;
    border-bottom: 1px solid lightgray;
    width: 100%;
    float: left;
    z-index: 2;
    position: relative;
    background-color:#F7F7F7;
    border-right: 1px solid lightgray;
}
     .resa-gantt-tasks-container {
    position:absolute;
    left:0px;
    top:61px;
    right:0;
    bottom:0;
    width: 150px;
    min-height:300px;
    background-color:#F7F7F7;  
    padding-top:0px;
    overflow: hidden;
    border-bottom: 1px solid lightgray;
    max-width: 250px;
    min-width: 95px;
 }

.gantt-task 
{
    width: 100%!important;
    height: 25px;
    float: left;
    line-height: 25px;
    text-align: left;
    border-bottom: 1px solid lightgray;
    overflow: hidden;
    background-color: #F7F7F7;
    padding-left: 26px;
    background-repeat: no-repeat;
    background-position: 2px center;
    position:relative;
    min-height:18px;
    max-height:50px;
}

     
.resa-gantt-timeline-tasks-detail
{
background-repeat: repeat;
position: absolute;
top: 0;
left: 0;
bottom: 0;
height:100%;  
background-size: 100% 100%;
background-image: linear-gradient(to right, #E2E2E2 1px, transparent 1px), linear-gradient(to bottom, #E2E2E2 1px, transparent 1px);
background-position-y: -1px;
background-position-x: 0px;
background-color:white;
overflow-x:hidden;
}
 
.gantt-task-toggle-button {
    cursor:pointer;
    background-image:url("../images/white-arrow-right.png");
    background-repeat:no-repeat;
    background-position: 10px center;
}

     .gantt-task-overlap
{
    background-color:white;
    display:none;
}

.task-overlap { 

    background-color: #CC4C32;
    color: white;
}
     .gantt-item-category-header {
    width:100%;
    position:absolute;
    left:0;
    right:0;
    background-color:#EEEEEE;
}

     .gantt-item { 
        position:absolute; 
        line-height:18px;
        background-color:linear-gradient(0deg, red, yellow); 
        border:1px solid #CCCCCC;
        border-top:0;
        border-bottom:0;
        text-align:left;  
        padding-left:7px;  
        padding-right:7px;  
        overflow: hidden;
        overflow-wrap: anywhere;
        min-width:15px;
        background: #3C8DBC;
        background: -webkit-gradient(linear, bottom, top, #EEEEEE, #FDFDFD) !important;
        background: -ms-linear-gradient(bottom, #EEEEEE, #FDFDFD) !important;
        background: -moz-linear-gradient(center bottom, #EEEEEE 0%, #FDFDFD 100%) !important;
        background: -o-linear-gradient(#EEEEEE, #FDFDFD) !important;
        white-space:nowrap;     
        border-bottom:1px solid lightgray;
        overflow:hidden;
}


 */

 .gantt-item { 
        position:absolute; 
        line-height:18px;
        background-color:linear-gradient(0deg, red, yellow); 
        border-top:0;
        border-bottom:0;
        text-align:left;  
        padding-left:7px;  
        padding-right:7px;  
        overflow-wrap: anywhere;
        min-width:15px;
        background: #3C8DBC;
        background: -webkit-gradient(linear, bottom, top, #EEEEEE, #FDFDFD) !important;
        background: -ms-linear-gradient(bottom, #EEEEEE, #FDFDFD) !important;
        background: -moz-linear-gradient(center bottom, #EEEEEE 0%, #FDFDFD 100%) !important;
        background: -o-linear-gradient(#EEEEEE, #FDFDFD) !important;
        white-space:nowrap;     
        border-bottom:1px solid white;
        /*overflow:hidden;*/
        overflow:visible;
        border-left:1px solid white;
        z-index:10;
        border-bottom:3px solid lightgray;
}
 
.resa-gantt-timeline-tasks-detail, .gantt-bottom-panel-unallocatted-gantt-timeline
{
    background-repeat: repeat;
    position: absolute;
    top: -1px;
    left: 0;
    bottom: 0;
    height:100%;  
    background-size: 100% 100%;
    background-image: linear-gradient(to right, white 1px, transparent 1px), linear-gradient(to bottom, white 1px, transparent 1px);
    background-position-y: -1px;
    background-position-x: 0px;
    background-color:#F3F3F3;
    /*pour tooltip:*/
    overflow-x:visible;
}

 

 .gantt-task 
{
    width: 100%!important;
    height: 25px;
    float: left;
    line-height: 25px;
    text-align: left;
    /*border-bottom: 1px solid white;
    background-color: #EAEAEA;*/
    overflow: hidden;
    border-bottom: 1px solid #f4f4f4;
    background-color: white;
    padding-left: 31px;
    background-repeat: no-repeat;
    background-position: 2px center;
    position:relative;
    min-height:18px;
    max-height:50px;
    font-size:12px;
    font-weight:bold;
    text-overflow: clip;
    white-space: nowrap;
}

.gantt-task:nth-child(2n+1) { background-color: #F9F9F9; } 
.resa-gantt-header-hour-handle { position: absolute; top: 0; bottom: 0; right: -4px; width: 7px; background-color: transparent; cursor: ew-resize; z-index: 5; }
.resa-gantt-header-day-container { display:inline-block; float:left; background-color: #EAEAEA; width: max-content; display: flex; flex-flow: column; } /*background-image: linear-gradient(to right, #E2E2E2 1px, transparent 1px); background-position-y: -1px;  background-position-x: 0px;*/ 
.resa-gantt-header-hours { width: max-content;  display: inline-block; height: 25px; background-color: #526D8A; color: white; position:relative; }
/**/
 
.gantt-item-category-header {
    width:100%;
    position:absolute;
    left:0;
    right:0;
    background-color:#EAEAEA;
    border-bottom: 1px white solid;
}

.task-has-overlap {
        background-color:#CC4C32!important;
        color:white!important;
        cursor:pointer;
}

.task-has-overlap .overlap-border {
        display:block;
}

.overlap-border
{
    width:100%;
    height:6px;
    background-color:#BA3A20;
    display:none;
    position:absolute;
    bottom:0;

}

.gantt-task-toggle-button {
    cursor:pointer;
    background-image:url("../images/white-arrow-left.png");
    background-repeat:no-repeat;
    background-position: right 8px center;
}

.gantt-task-container { float:left;width:100% }

.gantt-task-overlap
{
    background-color:#CC4C32!important;
    display:none;
    border-bottom-style:dotted;
}

.gantt-task-overlap:last-child
{
    border-bottom-style:solid;
}
 


.task-overlap { 
    background-color: #CC4C32!important;
    color: white;
}


.gantt-task-expanded.task-overlap { 
    border-bottom-style: dotted;
}

.task-overlap .gantt-task-icon { 
    background-color: transparent!important;
}


.gantt-task-padding {
    position:absolute;
    width:24px;
    border-right:1px solid white;
    top:0;
    bottom:0;
    left:0;
    /*background-color:#F8F8F8;*/
    background-color: #EBEBEB;
    
}

.task-overlap .gantt-task-padding { display:none; }
.multi-line-arrow-v { background-color:yellow; height:25px;}
.multi-line-arrow-h { background-color:red;width:25px; }
.resa-gantt-timeline-header-container { position: absolute; left: 0; right: 0; top: 0px; overflow: hidden; height:56px; border-right: 1px solid lightgray; }
.resa-gantt-header-day { position:relative; float: left; border-bottom: 1px solid white; text-align: center; height: 30px; line-height: 30px; font-weight: bold; font-size: 10px; background-color: #395471; color: white; }
.resa-gantt-tasks-top-panel { height: 56px; border-bottom: 1px solid white; width: 100%; float: left; z-index: 2; position: relative;  border-right: 1px solid white; text-align: center; line-height: 54px; font-size: 20px; background-color: #395471;color: white; }
.resa-gantt-tasks-container { position:absolute; left:0px; top:55px;right:0; bottom:0; width: 150px; min-height:300px; background-color:#EAEAEA; padding-top:0px; border-bottom: 1px solid white; max-width: 250px; min-width: 95px; overflow:auto; scrollbar-width: none; -ms-overflow-style: none;}  /*overflow: hidden;*/
.resa-gantt-tasks-container::-webkit-scrollbar{ display: none;}
.resa-gantt-timeline-tasks-detail-container { position: absolute;left: 0;right: 0;top: 56px;bottom: 0;overflow-y: scroll;overflow-x: scroll;background-color:#eee; min-width:100%; max-width:100%; }
.resa-gantt-timeline-header { height: 56px; background-color: #F7F7F7; border-bottom: 1px solid white; display: flex; width: max-content; }
.resa-gantt-timeline-header-background{position:absolute; width:100%;top:0;left:0;height:56px; background-color:#F3F3F3; border-bottom:1px solid lightgray; }

.resa-gantt-header-hour:first-child .gantt-scale-number:first-child { display:none; }

 .gantt-scale-number {
position: absolute;
top: -13px;
transform: translateX(-50%);
font-size: 9px;
height: 14px;
line-height: 13px;
text-align: center;
margin-left: -1px;
width: 12px;
padding-top: 2px;
font-weight: bold;
 
background-color: #526D8A;
color: white;

 } 


.resa-gantt-timeline-extended { display:none; width:100%; height:19px;border-top:1px solid white;float:left; background-color: #526D8A; color: white; }



.gantt-task-toggle-button-category .gantt-task-category-icon 
{
    cursor: pointer;
    background-image: url("../images/black-arrow-right.png");
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: 1px solid white !important;
    float: left;
    height: 25px;
    width: 25px;
    border-right: 1px solid white;
    margin-right: 7px;
}

.gantt-task-toggle-button-category.gantt-category-custom-color .gantt-task-category-icon 
{
    background-image: url("../images/white-arrow-right.png");
}
 
.gantt-task-toggle-button-category { border-right: 1px solid white; }
.gantt-task-toggle-button-category.gantt-task-expanded .gantt-task-category-icon { background-image:url("../images/black-arrow-down.png"); }
.gantt-task-toggle-button-category.gantt-category-custom-color.gantt-task-expanded .gantt-task-category-icon { background-image:url("../images/white-arrow-down.png"); }
.gantt-task-toggle-button-category { padding-left:0px; }

.flight-detail-panel-line:last-child { border-bottom:0; }
.flight-detail-panel-items-container { width:100%;min-width:100%;max-width:100%; float:left; max-height:752px; overflow-y:auto; height:250px;min-height:87px;}

.gantt-item-content-container { position:absolute;top:0;left:0;right:0;bottom:0; overflow:hidden;overflow-wrap: anywhere; }

.gantt-multiline { height:100%; width:10px;  }
.gantt-multiline-start { background-image:url("../images/chevron-right-orange-16.png"); float:left; margin-left:-17px; background-repeat:no-repeat; background-position:center; }
.gantt-multiline-end { background-image:url("../images/chevron-right-orange-16.png"); float:right; margin-right:-17px; background-repeat:no-repeat; background-position:center; }

.gantt-item-overlap .gantt-item-content-container { border-bottom:2px solid #CC4C32}
.gantt-item-content-container {pointer-events: none; }

.overlap-background { width:100%;position:absolute;left:0;height:20px; background-color:#e8e8e8;z-index:0;border-bottom:1px solid white; } /*#F9F9F9*/

.gantt-adapt-period-button-container { background-image:url("../images/checkbox-unchecked-13.png"); background-repeat:no-repeat; background-position: 11px center; color: #395471; 
                                         -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */


}
.gantt-adapt-checked .gantt-adapt-period-button-container { background-image:url("../images/checkbox-checked-13.png");  }


.gantt-line-bottom-adapt-period-button .gantt-date-container, .gantt-line-bottom-adapt-period-button  .gantt-date-container2 { 
    padding-top:0;
    height:35px;

}

.col-label-pResaGanttPeriodAu, .col-label-pResaGanttPeriodDu {
    width: 70px;
    padding: 0;
    padding-left: 12px;
}

.col-input-pResaGanttPeriodAu, .col-input-pResaGanttPeriodDu {
    width:150px;
    padding:0;
    margin-top: 5px;
    height:30px;
 }

/*.gantt-line-bottom-adapt-period-button .gantt-date-container2 {
  width: 348px;
}*/

#pResaGanttPeriodDu, #pResaGanttPeriodAu { height:24px; }

.gantt-adapt-period-date1, .gantt-adapt-period-date2 { width: 100%;
float: left;
height: 35px; }

.est-select-form-gantt-heure-debut, .est-select-form-gantt-heure-fin
{
    margin-bottom: 0;
    float: left;
    height: 35px;
    width: 100px;
}

.col-input-pHeureGanttPeriodDu, .col-input-pHeureGanttPeriodAu { width:100px; padding:0;height:35px; padding-top: 5px; padding-bottom: 5px; }
.est-select-form-gantt-debut {  }
.col-label-pHeureGanttPeriodDu, .col-label-pHeureGanttPeriodAu {  display:none; }

#pHeureGanttPeriodDu, #pHeureGanttPeriodAu { float: left;
    text-align: left;
    
    width: 55px;
    height: 24px; 
    text-align:center;
    padding:0;
}

.gantt-line-bottom-adapt-period-button .gantt-date-container2 { width: 220px; }


/*.gantt-scale-24 .resa-gantt-header-hour { visibility:hidden; }
.gantt-scale-24 .resa-gantt-header-hour-4,
.gantt-scale-24 .resa-gantt-header-hour-8,
.gantt-scale-24 .resa-gantt-header-hour-12,
.gantt-scale-24 .resa-gantt-header-hour-16,
.gantt-scale-24 .resa-gantt-header-hour-20
{ visibility:visible; }*/


/*.gantt-scale-24 .resa-gantt-header-hour, .gantt-scale-24  .resa-gantt-header-hour-scale { border-left-color:transparent;font-size:11px; }*/


.label-day-short { display:none; }
/*.gantt-scale-24 .label-day-short { display:block; }
.gantt-scale-24 .label-day-long { display:none; }*/




.gantt-scale-1 .resa-gantt-header-hour, .gantt-scale-1 .resa-gantt-header-hour-scale { width:1000px; }
.gantt-scale-5 .resa-gantt-header-hour, .gantt-scale-5 .resa-gantt-header-hour-scale { width:400px; }
.gantt-scale-10 .resa-gantt-header-hour, .gantt-scale-10 .resa-gantt-header-hour-scale {width:250px; }
.gantt-scale-12 .resa-gantt-header-hour, .gantt-scale-12 .resa-gantt-header-hour-scale {width:200px; }
.gantt-scale-20 .resa-gantt-header-hour, .gantt-scale-20 .resa-gantt-header-hour-scale {width:100px; }
/*.gantt-scale-24 .resa-gantt-header-hour, .gantt-scale-24 .resa-gantt-header-hour-scale { width:15px; }*/


 .gantt-scale-1 .gantt-scale-marker-1 { display:block; }
 .gantt-scale-5 .gantt-scale-marker-5 { display:block; }
 .gantt-scale-10 .gantt-scale-marker-10 { display:block; }
 .gantt-scale-12 .gantt-scale-marker-12 { display:block; }
 .gantt-scale-20 .gantt-scale-marker-20 { display:block; }
 /*.gantt-scale-24 .gantt-scale-marker-24 { display:block; }*/

.gantt-scale-marker-1 { background-size:1.666666% 100%; display:none; }
.gantt-scale-marker-5 { background-size:8.333333% 100%; display:none; }
.gantt-scale-marker-10 { background-size:16.666666% 100%; display:none; }
.gantt-scale-marker-12 { background-size:20% 100%; display:none; }
.gantt-scale-marker-20 { background-size:33.333333% 100%; display:none; }
/*.gantt-scale-marker-24 { background-size:33.333333% 100%; display:none; }*/

/*60?*/
.btn-apply-scale { float:right; height:34px; width:22px; cursor:pointer; background-image: url('../Images/arrow-green-right-20px.png'); background-repeat:no-repeat;background-position:center; margin-right: 5px;}


/*.resa-gantt-header-hour:first-child .resa-gantt-timeline-extended-marker { background-position-x: 0px;}
.resa-gantt-header-hour:first-child { border-left-width:0; }*/



/*.gantt-scale-24 .resa-gantt-header-hours , .gantt-scale-24 .resa-gantt-header-day { border-right:1px solid white; }*/



.resa-gantt-header-hour { min-height:25px; max-height:25px; }
.gantt-day-sep { position:absolute;top:0; bottom:0;left:0;width:1px; background-color:white; display:none, }
/*.gantt-scale-24 .gantt-day-sep { display:block; }*/
.resa-gantt-header-quarter { display:none;width:35px; border-left:1px solid white; float:left; min-width:35px; height:25px;}
.gantt-scale-24 .resa-gantt-header-quarter { display:block;  }
.gantt-scale-24 .resa-gantt-header-hour { display:none; }
.gantt-buttons-sep { width:1px;float:left;height:21px; background-color:lightgray; margin-top:9px;}


.resa-gantt-header-hour, .resa-gantt-header-hour-scale { min-width:10px; font-size:10px; font-family:'Arial Narrow', Arial, sans-serif; }
.resa-gantt-header-hour, .resa-gantt-header-hour-scale { height:25px; line-height:25px; width: 114px; float:left; border-left:1px solid white; text-align:center; min-width:10px; max-width:600px;position: relative; }
.resa-gantt-header-hour-scale { height:20px!important; line-height:20px!important;min-width:10px; }


.gantt-button-zoom { 
    float: left;
    height: 23px;
    margin-top: 9px;
    position: relative;
    overflow: visible;
    width: 25px;
    
    background-repeat: no-repeat;
    background-position: center;
    cursor:pointer;
}
.gantt-button-zoom:hover { background-color: lightgray; } /*#EDB328;*/

.gantt-button-zoom-out { background-image: url('../Images/zoom-out.png'); margin-left: 8px; }
.gantt-button-zoom-in { background-image: url('../Images/zoom-in.png'); }

.gantt-scale-1 .resa-gantt-timeline-extended, 
.gantt-scale-5 .resa-gantt-timeline-extended, 
.gantt-scale-10 .resa-gantt-timeline-extended, 
.gantt-scale-12 .resa-gantt-timeline-extended,
.gantt-scale-20 .resa-gantt-timeline-extended { display:block; }

.gantt-scale-1 .resa-gantt-timeline-header-container { height:75px; }
.gantt-scale-1 .resa-gantt-tasks-top-panel { height: 75px; }
.gantt-scale-1 .resa-gantt-tasks-container { top:74px; }
.gantt-scale-1 .resa-gantt-timeline-tasks-detail-container { top: 75px; }
.gantt-scale-1 .resa-gantt-timeline-header { height: 75px; }
.gantt-scale-1 .resa-gantt-timeline-header-background{ height:75px; }


.gantt-scale-5 .resa-gantt-timeline-header-container { height:75px; }
.gantt-scale-5 .resa-gantt-tasks-top-panel { height: 75px; }
.gantt-scale-5 .resa-gantt-tasks-container { top:74px; }
.gantt-scale-5 .resa-gantt-timeline-tasks-detail-container { top: 75px; }
.gantt-scale-5 .resa-gantt-timeline-header { height: 75px; }
.gantt-scale-5 .resa-gantt-timeline-header-background{ height:75px; }

.gantt-scale-10 .resa-gantt-timeline-header-container { height:75px; }
.gantt-scale-10 .resa-gantt-tasks-top-panel { height: 75px; }
.gantt-scale-10 .resa-gantt-tasks-container { top:74px; }
.gantt-scale-10 .resa-gantt-timeline-tasks-detail-container { top: 75px; }
.gantt-scale-10 .resa-gantt-timeline-header { height: 75px; }
.gantt-scale-10 .resa-gantt-timeline-header-background{ height:75px; }


.gantt-scale-12 .resa-gantt-timeline-header-container { height:75px; }
.gantt-scale-12 .resa-gantt-tasks-top-panel { height: 75px; }
.gantt-scale-12 .resa-gantt-tasks-container { top:74px; }
.gantt-scale-12 .resa-gantt-timeline-tasks-detail-container { top: 75px; }
.gantt-scale-12 .resa-gantt-timeline-header { height: 75px; }
.gantt-scale-12 .resa-gantt-timeline-header-background{ height:75px; }

.gantt-scale-20 .resa-gantt-timeline-header-container { height:75px; }
.gantt-scale-20 .resa-gantt-tasks-top-panel { height: 75px; }
.gantt-scale-20 .resa-gantt-tasks-container { top:74px; }
.gantt-scale-20 .resa-gantt-timeline-tasks-detail-container { top: 75px; }
.gantt-scale-20 .resa-gantt-timeline-header { height: 75px; }
.gantt-scale-20 .resa-gantt-timeline-header-background{ height:75px; }


.gantt-flight-jumpto { height: 26px;
width: 24px;
background-image: url('../Images/search-black.png');
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
background-size: 50%;
}

.dx-row-focused .gantt-flight-jumpto { background-image: url('../Images/search-white.png'); }

.resa-gantt-side-panel-container { position:relative;width:100%;float:left; }


.gantt-item-marker { position:absolute;visibility:hidden;top:0;bottom:0;border-right:1px solid darkorange;border-left:1px solid darkorange;left:50px; width:250px;z-index:100; pointer-events:none;}

.gantt-item-marker-hour { position:absolute;width:55px; color:white; background-color:darkorange; height:20px; line-height:20px; text-align:center; font-size:11px;  }   /*background-color:#526D8A;*/
.gantt-item-marker-hour-start {left:-55px;  }
.gantt-item-marker-hour-end { right:-55px; }


.resa-gantt-header-not-allocated 
{ 
    float: left;
    padding-right: 5px;
    margin-left: 10px;
    margin-right: 5px;
    padding-left: 25px;
    margin-top: 7px;
    height: 25px;
    line-height: 26px;
    font-size: 13px;
    font-weight: bold;
    background-image: url('../Images/gantt-unallocated-16.png');
    color: #444;
    background-repeat: no-repeat;
    background-position: 5px center; 
}
.gantt-not-allocated-count { height:25px;line-height:26px;float:right;padding-left:3px; }

/*.resa-gantt-center-container { float:left;position:absolute;left:0;top:0;bottom:0;right:0; }*/
.resa-gantt-bottom-panel {
    position:absolute;
    bottom:0;
    height:250px;
    left:0;
    width:100%;
    display:none;
    background-color:#f4f4f4;
    padding-left:150px;    
    padding-top:4px;
    padding-right:0;
    max-height:600px;
    min-height:150px;
    min-width:100%;
    max-width:100%;
}

.resa-gantt-bottom-panel {  }

.resa-gantt-bottom-panel-handle {
    height:4px;
    float:left;
    position:absolute;
    top:0px;
    left:0;
    right:0;
    background-color:#e7e7e7;
    cursor: ns-resize;
    z-index:2;
}

.resa-gantt-bottom-panel-main-toggle {
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    /*background-color:blue;*/
    width:150px;
   
}
.resa-gantt-bottom-panel-main-container { border-left: 1px solid white; }
.resa-gantt-bottom-panel-main-toggle-buttons {
  width: 100%;
  border-left: 4px solid #f4f4f4;
  border-right: 4px solid #f4f4f4;
  float: left;
  margin-top: 8px;
}

.gantt-bottom-panel-toggle-button {
    background-repeat:no-repeat;
    background-position:center;
    background-color:white;
    text-align:center;
    line-height:35px;
    margin-top:-1px;
    height: 29px;
    width: 100%;
    float: right;
    cursor: pointer;
    border: 1px solid lightgray;
}
.gantt-toggle-selected { background-color:#DEE1E6; }
.resa-gantt-bottom-panel-main-container { position:relative; }
.gantt-bottom-panel { position:absolute;left:0;top:0;bottom:0;right:0; }

.resa-gantt-settings-panel {display:none;   position:absolute; z-index:1000; top:0; bottom:0; right:0; width:570px; background-color:white;border-left: 10px solid #F3F3F3; }
.resa-gantt-settings-panel-close { float:right; width:20px; height:20px;   color:white; margin-right:5px;margin-top:4px; text-align: center;line-height: 19px; cursor:pointer;}


.dark-mode .btn-gantt-submit { background-color:var(--main-color); color: white; border-color:var(--second-color); }
.dark-mode .resa-gantt-header-hours { background-color:var(--main-color); }
.dark-mode .resa-gantt-header-day { background-color:var(--second-color); }
.dark-mode .gantt-categories { background-color:var(--highlight-color); }
.dark-mode .resa-gantt-side-panel { background-color:var(--main-color); }
.dark-mode .resa-gantt-tasks-top-panel { background-color:var(--second-color); }
.dark-mode .gantt-right-panel-header  { background-color:var(--second-color); color: white; }
.dark-mode .gantt-right-panel-body .dx-header-row, .dark-mode  .resa-gantt-bottom-panel-main-container .dx-header-row { background-color: var(--main-color); }
.dark-mode .resa-gantt-bottom-panel-main-toggle { background-color: var(--main-color); }
.dark-mode .gantt-toggle-selected { background-color: var(--highlight-color)!important; }

.dark-mode .resa-gantt-bottom-panel-main-toggle-buttons {
  border-left: 4px solid var(--main-color);
  border-right: 4px solid var(--main-color);
}
.dark-mode .gantt-bottom-panel-toggle-button { background-color: var(--main-color); }

.dark-mode .gantt-line-bottom-adapt-period-button.gantt-adapt-checked {
  background-color: var(--highlight-color);
  border-bottom: 2px solid var(--highlight-color);
}

.dark-mode .gantt-line-bottom-scale-button-popup { background-color:var(--main-color); }
.dark-mode .gantt-line-bottom-adapt-period-button-popup { background-color:var(--main-color); }


.dark-mode .gantt-adapt-period-button-container {
  background-color: var(--second-color);
  color: white !important;
}

.dark-mode .flight-detail-panel-header {
  background-color: var(--main-color);
  color: white !important;
.gantt-toggle-selected {
    background-color:#DEE1E6;
}

.dark-mode .flight-detail-panel-col1, .dark-mode .flight-detail-panel-col2, .dark-mode .gantt-legend-item {  background-color: var(--main-color);
  color: white !important; border-bottom: 1px solid black!important; }

.dark-mode .flight-detail-panel-col2 { border-left-color:black; }
.dark-mode .gantt-legend-item-label { color:white; }

.dark-mode .resa-gantt-timeline-tasks-detail, .dark-mode .gantt-bottom-panel-unallocatted-gantt-timeline 
.resa-gantt-bottom-panel-main-container
{
    background-color:var(--main-color);
    background-image: linear-gradient(to right, black 1px, transparent 1px), linear-gradient(to bottom, black 1px, transparent 1px);
    position:relative;
}

.dark-mode .gantt-item { border-bottom: 3px solid var(--highlight-color); }
.dark-mode .gantt-task { background-color: var(--main-color); color: white; border-bottom: 1px solid #000;border-right:1px solid black;  }
.dark-mode .task-alternate .gantt-task { background-color: var(--second-color); color: white; }
.dark-mode .gantt-task-padding { background-color: var(--second-color); border-right: 1px solid black; }
.dark-mode .resa-gantt-timeline-tasks-detail-container { background-color: var(--main-color); }
.dark-mode .resa-gantt-timeline-header-background {  background-color: var(--main-color); }
.dark-mode .resa-gantt-bottom-panel-handle { background-color:var(--highlight-color); }
.dark-mode .gantt-right-panel-body { border-top-color:black; }
.dark-mode .popup_datebox { background-color:var(--main-color); }
.dark-mode .resa-gantt-header-not-allocated { color:white!important; }
.dark-mode .gantt-right-panel-header-indicator-1 { border-right-color: var(--main-color); }
.dark-mode .btn-gantt-submit:hover, .dark-mode .btn-gantt-small:hover { background-color:var(--highlight-color);color:white; }
.dark-mode .gantt-line-bottom-scale-button:hover { background-color:var(--highlight-color); }
.dark-mode .gantt-line-bottom-scale:hover {  background-color:var(--highlight-color); }
.dark-mode .gantt-line-bottom-adapt-period-button:hover { background-color:var(--highlight-color); }
.dark-mode .gantt-button-zoom:hover { background-color:var(--highlight-color);  }
.dark-mode  .gantt-button-zoom-in { background-image: url('../Images/zoom-in-dark.png'); } 
.dark-mode .gantt-button-zoom-out { background-image: url('../Images/zoom-out-dark.png'); } 
.dark-mode .overlap-background { background-color:var(--second-color); }

.resa-gantt-settings-panel-header { 
  width: 100%;
  height: 30px;
  font-size: 15px;
  padding-left: 15px;
  font-weight: bold;
  line-height: 27px;
  background-color: var(--highlight-color);
  color: white;
.gantt-bottom-panel {
    position:absolute;left:0;top:0;bottom:0;right:0;
}

.resa-gantt-settings-panel-body {
    width:100%;
    float:left;
    overflow:scroll;
    position: absolute;
  top: 30px;
  bottom: 0;
  left: 0;
}
 


.dark-mode .resa-gantt-settings-panel { background-color:var(--main-color); border-left-color:black; }

.resa-gantt-settings-tooltip-line { 
  height: 32px;
  width: 100%;
  line-height: 32px;
  font-size: 12px;
  font-weight: bold; float: left;
  padding-left: 11px;
  background-color: #FAFAFA;
  /*margin-bottom: 2px;*/
  border-bottom: 1px solid #f4f4f4;
}

.dark-mode .resa-gantt-settings-tooltip-line 
{
    border-bottom-color:black;
}


.resa-gantt-settings-tooltip-header
{
    font-weight: bold;
      height: 32px;
      line-height: 30px;
      color: #145D87;
      padding-left: 15px;
      font-size: 14px;
      float: left;
      width: 100%;
      border-bottom: 1px solid #ebebeb;
}


.dark-mode .resa-gantt-settings-tooltip-header { color:white!important; }
.dark-mode .resa-gantt-settings-tooltip-line { background-color:var(--main-color); color:white; }
.dark-mode .resa-gantt-tasks-container { background-color:var(--main-color); }


.dark-mode .resa-gantt-container {
  border-right-color: var(--main-color);
  border-left-color: var(--main-color);
  border-top-color: var(--main-color);
}
.dark-mode .resa-gantt-timeline-loading { background-color:var(--main-color); }
.dark-mode .resa-gantt-timeline-extended-marker { background-color:transparent; }
.dark-mode .resa-gantt-timeline-extended { background-color:var(--main-color); }
.dark-mode .gantt-scale-number { background-color:var(--main-color); }