/*

  Table Filters

*/
.table-filter-card {}

.table-filter-card .results-text {
  margin-top: 8px;
  margin-bottom: 0;
}

.table-results-card {}


.timesheet-table-card {
  box-shadow: none;
}


.table-btn {
  cursor: pointer;
  padding: 8px;
  font-size: 18px;
}

.table-btn:hover {
  opacity: 0.8;

  transition: 0.2s;
}



.timesheet-entry-table {}

.timesheet-entry-table input[disabled] {
  background-color: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  max-width: 100%;

  padding: 12px 0;
  overflow-x: scroll;
  box-sizing: content-box;
}

.timesheet-entry-table tr:nth-child(even) td:not(.alert-warning td) {
  background-color: #f6f9fc;
}




@media screen and (max-width: 360px) {
  .my-profile-card .avatar {
    display: none;
  }
}








/* Settings Page */

#settings-roles-table td {
  /*vertical-align: bottom;*/
  padding: 12px 0;
}

#settings-roles-table td:nth-child(2) {
  width: 0%;
  white-space: nowrap;
  padding-left: 24px;
}







/* Bonus Payable Page */

.dashboard-fixed-footer {
  position: fixed;
  bottom: 0;
  width: 100%;

  background-color: white;
}

.dashboard-fixed-footer .inner {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 1200px) {
  .dashboard-fixed-footer {
    padding-left: 250px;
  }
}









/* Performance Data Tables */
.performance-table-card {}

.performance-table-card .card-header {
  padding: 16px 24px;
  font-weight: bold;
}

.performance-table-card tr:first-of-type th,
.performance-table-card tr:first-of-type td {
  border-top: 0;
}

.performance-table-card tr td:first-of-type {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-table-card th,
.performance-table-card td {
  font-weight: 600;
}

.performance-table-card .badge {
  font-weight: 600;
}

.performance-table-card .badge i {
  width: .5rem;
  height: .5rem;
}

.performance-table-card .progress-wrapper {
  display: flex;
  align-items: center;
  padding-top: 0;
}

.performance-table-card .progress-title {
  margin-bottom: 0;
  font-size: 1.2em;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

.performance-table-card .progress {
  width: 160px !important;
  height: 7px !important;
  border-radius: 1000px;
  background-color: var(--primary);
  margin: 12px !important;
  margin-left: 0 !important;
}

.performance-table-card .progress-bar {
  border-radius: 1000px;
}





.performance-table-card .progress-summary>* {
  margin-right: 6px;
}

.performance-table-card .progress-summary .badge,
.performance-table-card .progress-summary .trend-arrow {
  border-radius: 1000px;
  color: white;
  padding: 5px;
  font-size: .75rem;
}

.performance-table-card .progress-summary .trend-arrow.up {
  transform: rotateZ(-45deg);
}

.performance-table-card .progress-summary .trend-arrow.down {
  transform: rotateZ(45deg);
}






/* stages display */
.timeline-navigation {
  position: relative;
  padding-left: 20px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Timeline item */
.timeline-item {
  position: relative;
  padding: 14px 0;
  /*cursor: pointer;*/
}

/* Vertical line segment */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #ccc;
  /* default (incomplete) */
}

/* Remove line above first item */
.timeline-item:first-child::before {
  top: 50%;
}

/* Remove line below last item */
.timeline-item:last-child::before {
  bottom: 50%;
}

/* Text */
.status-title {
  margin-left: 40px;
  font-weight: bold !important;
}

/* Status point (circle) */
.status-point {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #ccc;
  border-radius: 50%;
  z-index: 1;
}

.status-progress {
  font-weight: 600;
}



/* =========================
   COMPLETED STATE
   ========================= */

/* Green line for completed steps */
.timeline-item.complete::before {
  background-color: #3BA55D;
}

/* Green circle */
.timeline-item.complete .status-point {
  background-color: #3BA55D;
  border: 0px solid #3BA55D;
}

.timeline-item.complete .status-point i {
  display: block;
  margin-left: 45%;
  margin-top: 55%;
  transform: translateX(-50%) translateY(-50%);

}


/* Tick inside completed circle */
.timeline-item.complete .status-point::after {
  /*content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 9px;
  height: 14px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);*/
}














/* progress table update */
.deliverables-table {}

.deliverables-table .stage {
  border: 1px solid #eee;
  border-radius: 9px;
  padding: 24px;
  margin-bottom: 10px;
}

.deliverables-table .stage>label {
  font-weight: bold;
  font-size: 1.1em;
}

.deliverables-table .deliverables {
  margin-left: 24px;
}

.deliverables-table .deliverable-checkbox {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: 4px;
  transform: translateY(-1px);
}




.progress-report-table {}

.progress-report-table .stage {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 24px;

  overflow: hidden;
}

.progress-report-table .deliverable {
  margin-left: 20px;
  padding: 5px 0;
  transition: height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.progress-report-table .not-included {
  height: 0;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  overflow: hidden;
  display: none;
}

.progress-report-table .prev-progress {
  font-size: 0.9em;
  /*color: #555;*/
  margin-left: 6px;
}


/*.stage {
      border: 1px solid #ccc;
      margin-bottom: 10px;
    }*/

.progress-report-table .stage-header {
  padding: 10px;
  background: #f5f7f9;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-report-table .stage.completed .stage-header {
  background: #e8fced;
  border-left: 6px solid #3BA55D;
}

.progress-report-table .stage-title {
  font-weight: bold;
  margin: 6px;
}

.progress-report-table .toggle {
  font-size: 0.85em;
  color: #555;
}

.progress-report-table .stage-body {
  padding: 10px;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.progress-report-table .stage.collapsed .stage-body {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.progress-report-table .deliverable {
  margin-left: 20px;
  padding: 6px 0;
  overflow: hidden;
}

.progress-report-table .deliverable.collapsed {
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}