.lnw-gantt {
  position: relative;
}

.lnw-gantt .table.gantt-table {
  margin: 0;
}

.lnw-gantt .table.gantt-table thead th,
.lnw-gantt .table.gantt-table tr td {
  border: 1px solid #ced4da !important;
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  min-width: 180px;
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lnw-gantt .table.gantt-table thead th:first-child {
  width: 180px;
}

.lnw-gantt .table.gantt-table thead th {
  height: 60px;
}

.lnw-gantt .gantt-overlay {
  position: absolute;
  top: 60px;
  right: 0;
  bottom: 0;
  width: calc(100% - 180px);
  overflow: hidden;
}

.lnw-gantt .gantt-row-type {
  position: absolute;
  width: 100%;
  height: 100%;
}

.lnw-gantt .gantt-display {
  width: 100%;
  height: 100%;
  position: relative;
}

.lnw-gantt .gantt-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  top: 0;
  opacity: 0;
}

.lnw-gantt .gantt-row-normal {
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  top: 50;
  opacity: 0;
}

.lnw-gantt .gantt-row-cargo {
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  top: 50;
  opacity: 0;
}

.lnw-gantt .gantt-bar {
  position: absolute;
  top: 0;
  bottom: 0;
}

.lnw-gantt .bar {
  padding-left: 5px;
  padding-right: 5px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lnw-gantt .bar.disabled {
  opacity: 0.5;
}

/* for lnw gantt */
.lnw-gantt .bar [class*="fa-custom-"] {
  width: 40px;
  height: 40px;
  margin-right: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lnw-gantt .bar [class*="fa-custom-"]::before {
  width: 35px;
  height: 25px;
  background-size: contain;
}

.fa-custom-car-normal-white::before {
  background-image: url(../../images/icon/default/car_normal_white.svg);
}

[class*="fa-custom-"]::before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -2px;
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
}

/* */

.card-leaves .card-body .gantt-table thead th,
.card-leaves .card-body .gantt-table tr td {
  border: 1px solid #ECECEC !important;
}