.time-sch-header-wrapper {
  padding: .5em;
  margin-bottom: .5em; }

.time-sch-title {
  text-align: center;
  font-size: 1.25em; }

.time-sch-item {
  background-color: #2299DD;
  color: white;
  border-radius: 5px;
  cursor: pointer; }

.time-sch-item-content {
  padding: 0px;
}

.planning-board-task-summary .label-status {
  border-top-right-radius: 5px;
}

.time-sch-date-header {
  padding: 2px; 
  font-size: 9px;
}

.edit-task-link {
  background: green;
  color: white;
  padding: 0px 5px;
  border-radius: 5px;
}

.time-sch-times:first-child .time-sch-date-header {
  border: none;
  font-size: 15px;
}

.time-sch-current-time {
  border-left-style: dotted;
  border-left-width: 1px;
  border-left-color: #ff7f6e; }

.time-sch-button {
  border: 1px solid #E1E1E1;
  font-weight: bold;
  /* padding: .25em; */
  text-decoration: none;
  color: #222222;
  height: 30px;
  line-height: 30px;
  padding-left: .5em;
  padding-right: .5em; }
  .time-sch-button.time-sch-selected-button {
    cursor: default;
    background-color: #EEEEEE; }
  .time-sch-button.time-sch-period-button:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px; }
  .time-sch-button.time-sch-period-button:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px; }
  .time-sch-button.time-sch-time-button {
    background-repeat: no-repeat;
    background-position: center center;
    min-width: 20px; }
  .time-sch-button.time-sch-time-button-next {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-image: url(../images/arrow_right.png); }
  .time-sch-button.time-sch-time-button-prev {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background-image: url(../images/arrow_left.png); }
  .time-sch-button.time-sch-time-button-goto, .time-sch-button.time-sch-time-button-today {
    border-radius: 4px; }

    /* Custom Styling */

    .draggable_internal_task {
      text-align: center;
      background: #DEDEDE;
      padding: 0.5em;
      border-radius: 5px;
    }

    .draggable_framework_task {
      text-align: center;
      background: #DEDEDE;
      padding: 0.5em;
      border-radius: 5px;
    }

    .time-sch-section {
      padding: 4px !important;
    }

    .time-sch-section .main-heading {
      font-size: 12px !important;
      margin-bottom: 1px !important;
    }

    .time-sch-section .sub-heading {
      font-size: 11px !important;
      color: var(--kt-text-gray-700);
      margin-top: 1px !important;
      margin-bottom: 0px !important;
    }

    .time-sch-item.booked {
        background-color: antiquewhite;
        box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.3);
    }

    .time-sch-item.ordered {
        background-color: antiquewhite;
        box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.3);
    }
    
    .booked .planning-board-task-summary table tr td, .ordered .planning-board-task-summary table tr td {
        color: black;
    }

    .ordered .customer-order-summary table tr td {
        color: black;
    }

    .time-sch-item.delivery {
      box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.3);
    }

    .time-sch-item.delivery.delivery {
      background-color: #e7efff;
    }

    .time-sch-item.delivery.pickup {
      background-color: #fff8f8;
    }
  
    .delivery .planning-board-delivery-summary table tr td {
        color: black;
    }

    .time-sch-table .text-left {
      text-align: left;
    }

    .time-sch-section.available {
      background-color: lightgray;
    }

    .time-sch-section.not-available {
      background-color: #ffe9e9;
    }

    .time-sch-section.available .main-heading {
      color: black !important;
    }

    .time-sch-section.available .sub-heading {
      color: #black !important;
    }

    .time-sch-section.not-available .main-heading {
      color: #8f8f8f !important;
    }

    .time-sch-section.not-available .sub-heading {
      color: #b7b7b7 !important;
    }

    .time-sch-section.assigned {
      background-color: #dff1ff;
      border: 1px solid #7cb4e1 !important;
    }

    .time-sch-section.assigned .main-heading {
      color: #055391 !important;
    }

    .time-sch-section.assigned .sub-heading {
      color: #3d91ab !important;
    }

    /* Extended CSS from Yii */

    

.time-sch-item-event {
  border-width: 1px;
  border-style: solid;
  width: 2px; 
}

.period-1month .time-sch-header-1-date-even {
  background-color: #F0F0F0; 
}

.time-sch-wrapper .time-sch-header-0-date-start {
  border-left-color: #444444; }
.time-sch-wrapper .time-sch-header-0-date-end {
  border-right-color: #444444; }


.time-sch-date{
  background-color: #FFFFFF !important;
  border: 1px solid #dfdfdf !important;
}

.time-sch-item {
  height: auto;
}

.time-sch-section-header{
    border-left: 1px solid #C1C1C1 !important;
}
.time-sch-times-header-0 .time-sch-section-header{
    border-top: 1px solid #C1C1C1 !important;
}

.period-1week .time-sch-header-1-date-column-11,
.period-1week .time-sch-header-1-date-column-23,
.period-1week .time-sch-header-1-date-column-35,
.period-1week .time-sch-header-1-date-column-47,
.period-1week .time-sch-header-1-date-column-59,
.period-1week .time-sch-header-1-date-column-71
{
    border-right: 1px solid #444444 !important;
}

.time-sch-item.disabled {
  background-color: transparent !important;
  width: 0px !important;
}

.time-sch-item.booking {
  background-color: rebeccapurple !important;
  width: 0px !important;
}

.time-sch-item.potential {
  background-color: #6c9dcf !important;
  min-height: 25px;
}

.time-sch-item.potential.occupancy-area {
  background-color: darkgreen !important;
}

.time-sch-date-header.non-working {
  border: 1px solid #dfdfdf !important;
  font-weight: normal !important;
  cursor: not-allowed !important;
  background-color: #F0F0F0 !important;
}

.time-sch-date-header {
  border: 1px solid #817f7f !important;
  text-align: center;
  color: #000000;
}

.time-sch-times-header-1 .time-sch-date-header {
  text-align: left;
}

.time-sch-date-header.weekend {
  border: 1px solid #C1C1C1 !important;
}

.time-sch-date-header.weekend.saturday:not(.first) {
  /* border-left: 1px solid #817f7f !important; */
}

.time-sch-date-header.weekend.sunday:not(.ultra-last) {
  /* border-right: 1px solid #817f7f !important; */
}

.time-sch-date-header.non-working.first {
  /* border: 1px solid #C1C1C1 !important; */
  /* border-bottom: 1px solid #efefef !important;
  border-right: 1px solid #efefef !important; */
}

.time-sch-date-header.non-working.last {
  /* border: 1px solid #817f7f !important; */
  /* border-bottom: 1px solid #efefef !important; */
}

.time-sch-date-header.non-working.ultra-last {
  /* border: 1px solid #efefef !important;
  border-bottom: 1px solid #efefef !important; */
  border-right: 1px solid #444444 !important;
}

.time-sch-date.non-working {
  border: 1px solid #dfdfdf !important;
  font-weight: normal !important;
  cursor: not-allowed !important;
  background-color: #F0F0F0 !important;
}

.time-sch-date {
  /* border: 1px solid #817f7f !important; */
  /* text-align: center; */
}

.time-sch-date.ultra-last {
  border-right: 1px solid #444444 !important;
}

.time-sch-date.non-working.first {
  /* border: 1px solid #C1C1C1 !important; */
}

.time-sch-date.non-working.last {
  /* border-right: 1px solid #817f7f !important; */
}

.time-sch-date.non-working.ultra-last {
  /* border-right: 1px solid #efefef !important;
  border-bottom: 1px solid #efefef !important; */
}

.time-sch-date.weekend {
  /* border: 1px solid #C1C1C1 !important; */
}

.time-sch-date.weekend.saturday:not(.first) {
  /* border-left: 1px solid #817f7f !important; */
}

.time-sch-date.weekend.sunday:not(.ultra-last) {
  /* border-right: 1px solid #817f7f !important; */
}

.time-sch-item-content table.no-border td {
  border-color: transparent !important;
}

.planning-board-task-summary table td {
  /* border-style: dashed !important; */
}

.planning-board-task-summary .parking-permit, .planning-board-delivery-summary .parking-permit {
  padding: 0px;
}

.planning-board-task-summary .parking-permit i, .planning-board-delivery-summary .parking-permit i {
  font-size: 14px;
  padding-left: 4px;
}

.planning-board-task-summary .parking-permit.loading, .planning-board-delivery-summary .parking-permit.loading {
  color: royalblue;
}

.planning-board-task-summary .parking-permit.unloading, .planning-board-delivery-summary .parking-permit.unloading {
  color: green;
}

.planning-board-task-summary.active, .planning-board-delivery-summary.active {
  /* border: 2px solid black;
  border-radius: 4px; */
}

.planning-board-task-summary, .planning-board-delivery-summary {
  border-radius: 5px;
}

.planning-board-task-summary.sm, .planning-board-delivery-summary.sm {
  min-height: 20px !important;
}

.planning-board-task-summary table tr td, .planning-board-delivery-summary table tr td {
  font-size: 11px !important;
}

.time-sch-section.for-unassigned-tasks {
  background-color: whitesmoke !important;
}

.time-sch-section.for-unassigned-tasks .main-heading {
  color: #333854 !important;
}

.time-sch-section.for-deliveries {
  background-color: whitesmoke !important;
}

.required-info-icon {
  font-size: 18px !important;
  padding: 5px;
  /* background-color: #ffcd84;
  color: #000000; */
}

.card-body table.with-spacing {
  margin-top: 0.5rem!important;
  margin-bottom: 0.4rem!important;
}

.limited-address {
  width: 200px; /* Adjust the width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-sch-section.for-customer {
  background-color: #525b6c !important;
}

.time-sch-section.for-customer .main-heading {
  color: #ffffff !important;
}

.planning-board-task-summary.timeline-customer {
  color: #000000 !important;
}

.time-sch-section-header {
  width: 100px !important;
}