.dataTables_wrapper > div.row:nth-child(2) {
  margin-bottom: 6px;
}
.dataTables_wrapper > div.row:nth-child(2) table {
  width: 100% !important;
}
.dataTables_wrapper > div.row:nth-child(2) table thead {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
body.dark-mode .dataTables_wrapper > div.row:nth-child(2) table thead {
  background: #343a40;
}
.th-actions {
  width: 90px;
  max-width: 90px;
}
.dataTable_actions {
  display: flex;
  flex-wrap: nowrap;
  max-width: 180px;
  width: auto;
}
@media (max-width: 767px) {
  .dataTable_actions {
    flex-wrap: wrap;
    max-width: 90px;
  }
}
.dataTable_actions > * {
  margin: 0 0.25rem 0.25rem 0;
}
.dataTable_actions > *:last-child {
  margin: 0 0 0.25rem;
}
.card-table {
  padding: 1.25rem 0;
}
.card-table-header,
.card-table-footer {
  padding: 0 1.25rem;
}
.dt-buttons .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}
.card-edit {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 57px;
  z-index: 50;
  padding: 0.5rem 1.25rem 0;
}
.card-edit h1 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}
.card-edit .card-buttons {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0.75rem;
}
.card-edit .card-buttons .btn {
  margin: 0 0 0.5rem 0.5rem;
}
.content-wrapper > .content {
  padding-top: calc(0.5rem + 7.5px);
}
.form-group.form-group-error .form-control {
  border-color: #dc3545 !important;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-group.form-group-error .formelement-error {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}
.daterangepicker .calendar-table td,
.daterangepicker .calendar-table th {
  color: #212529;
}
.daterangepicker .calendar-table td:hover,
.daterangepicker .calendar-table th:hover {
  color: #212529;
}
.daterangepicker .calendar-table td.active,
.daterangepicker .calendar-table th.active,
.daterangepicker .calendar-table td.active:hover,
.daterangepicker .calendar-table th.active:hover {
  color: #fff;
}
.dropzone .dz-preview.dz-image-preview {
  background: transparent;
}
.pdf-preview {
  position: relative;
  width: 100%;
  padding-bottom: 200%;
}
.pdf-preview > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.text-sm .form-control {
  height: calc(1.8125rem + 2px);
  font-size: 0.875rem;
}
.cell-sticky-left {
  position: sticky;
  left: 0;
  border: 1px solid #dee2e6;
  background: #343a40;
}
.cell-sticky-top {
  position: sticky;
  top: 0px;
}
.modal-td-filled {
  background: #dee2e6;
}
.small-text {
  font-size: 0.95rem;
}
.table-workplan {
  table-layout: fixed;
}
