.gantt .container {
    max-width: 1200px;
    min-width: 650px;
    margin: 0 auto;
    padding: 50px;
    overflow-x: auto; /* Enable horizontal scrolling */
}

.gantt .chart {
    display: grid;
    border: 1px solid rgb(0 0 0 / 10%);
    position: relative;
    overflow: hidden;
    overflow-x: scroll;
}
  
.gantt .chart-row {
    display: grid;
    grid-template-columns: 0px minmax(0, 1fr); /* Use minmax(0, 1fr) to allow the second column to shrink if needed */
    background-color: #fff;
    height:43px;
}
  
.chart-row.chart-period,
.chart-row.year-chart-period,
.chart-row.chart-lines
{
    height:40px;
}

.gantt .chart-row:nth-child(odd) {
    background-color: #fff;
}

.gantt .chart-period > span {
    text-align: center;
    font-size: 13px;
    align-self: center;
    font-weight: bold;
    padding: 10px 0;
    border-right: 1px solid rgb(0 0 0 / 10%);
}

.gantt .chart-period {
    color: #fff;
    background-color: #fafafa;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    /* Adjust the number of grid-template-columns based on the dynamic number of months */
    z-index: 999;
    color:#555;
}

.gantt .chart-lines {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: transparent;
    /* Adjust the number of grid-template-columns based on the dynamic number of months */
}

.gantt .year-chart-period {
    color: #fff;
    background-color: #fafafa !important;
    color:#555;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    /* Adjust the number of grid-template-columns based on the dynamic number of months */
    z-index: 999;
}

.gantt .year-chart-period > span {
    text-align: center;
    font-size: 13px;
    align-self: center;
    font-weight: bold;
    padding: 10px 0;
    border-right: 1px solid rgb(0 0 0 / 10%);
}
  
.gantt .chart-lines > span {
    display: block;
    border-right: 1px solid rgb(0 0 0 / 10%);
}
  
.gantt .chart-row-item {
    background-color: #808080;
    width: 0px;
    border: 1px solid #555;
    border-top: 0;
    border-left: 0;
    padding: 20px 0;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap; /* Prevent the text from wrapping to a new line */
    overflow: hidden; /* Hide any overflowing text */
    text-overflow: ellipsis; /* Add an ellipsis (...) for truncated text */
    border:unset;
}
  
.gantt .chart-row-bars {
    list-style: none;
    display: grid;
    padding: 6px 0;
    margin: 0;
    /* grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px 0;
    width:200px; */
    position: absolute;
    z-index: 9999;
}
  
.gantt li {
    font-weight: 450;
    text-align: center;
    font-size: 15px;
    min-height: 15px;
    background-color: #708090;
    padding: 5px;
    color: #313131;
    overflow: visible;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
}

.individual_line {
    overflow: hidden;
    position: relative;
} 

::-webkit-scrollbar,::-webkit-scrollbar, ::-webkit-scrollbar,.wmd-view-topscroll::-webkit-scrollbar , .drag_class::-webkit-scrollbar {
    /* width */
    width: 10px;
    height: 14px;
}
::-webkit-scrollbar-track,::-webkit-scrollbar-track, ::-webkit-scrollbar-track,.wmd-view-topscroll::-webkit-scrollbar-track , .drag_class::-webkit-scrollbar-track {
    /* Track */
    box-shadow: inset 0 0 10px rgb(236, 236, 236) !important; 
    /* background-color: rgb(236, 236, 236); */
}
::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb,.wmd-view-topscroll::-webkit-scrollbar-thumb , .drag_class::-webkit-scrollbar-thumb {
    /* Handle */
    background: #c3c3c3;
    border-radius: 10px;
}

.chart-row:nth-child(4){
    /* margin-top: 10px; */
}
.chart-row:last-child{
    margin-bottom: 20px;
}
.row.gantt {
    width: 100%;
}
.chart-li-one {
    white-space: nowrap !important;
}

.search-column-dropdown div.list {
    max-height: 330px;
    width: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    background: gray;
    color: white;
    position: absolute;
    z-index: 99;
}

.search-column-dropdown div.list p {
    border-bottom: 2px solid #c4c4c4;
    padding: 10px 0px;
    cursor: pointer;
    margin: 0px;
    padding: 1rem;
    transition: transform .2s;
}

.DTFC_LeftBodyLiner {
    margin-top: 2px !important;
}

.DTFC_Cloned {
    background: #fff !important;
}

.DTFC_Cloned tbody tr{
    height: 54 !important;
}
.modal {
    background-color: rgb(0 0 0 / 38%) !important;
}
.modal-dialog-right {
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out !important;
    background: #fff !important;
    box-shadow: 35px 0px 10px 40px rgb(0 0 0 / 30%) !important;
}
.bootbox.fade.in .modal-dialog-right {
    transform: translateX(0) !important;
}
.modal-dialog-right .modal-content {
    border-radius: unset !important;
    margin-top: -1px !important;
    margin-right: -1px !important;        
    border:unset !important;
}
table .odd {   
    background: #f5f5f5 !important;  
}
.chart-box .media-left img{
	width: auto !important;
}