table.dataTable tr.selected td.select-checkbox:after,
table.dataTable tr.selected th.select-checkbox:after {
  text-shadow: unset !important;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background-color: white;
}

table.dataTable,
.dataTables_scrollHeadInner {
  margin: 0 auto;
}

.dataTables_scrollHead {
  background-color: #f1f5f8;
  position: sticky !important;
  top: 0;
  z-index: 10;
}

.dt-white .dataTables_scrollHead {
  background-color: white !important;
}

.dt-nofilter .search-filter-button {
  display: none;
}

.dataTables_scrollHead td {
  font-family: "Lato", sans-serif !important;
}

.dataTables_scrollHead .dataTable {
  padding: 0.5rem 0 !important;
}

.dt-buttons .buttons-colvis {
  border-radius: 0.35rem !important;
}

.dataTables_processing {
  position: relative;
  top: 50vh;
  z-index: 1000;
  background: none;
  border: none;
  opacity: 0.5;
}

tr.lowlight {
  opacity: 0.6;
}

td.schedule-time {
  white-space: nowrap !important;
}

.dataTables_wrapper {
  font-size: 90%;
}

.dataTables_wrapper .dropdown.bootstrap-select {
  width: 100% !important;
}

.dataTable thead td,
.dataTable thead th,
table thead td,
table thead th {
  border: 0 !important;
  font-weight: 600;
}

table.dataTable thead th.sorting:hover {
  color: #0091d9;
}

.dataTable {
  padding-bottom: 1rem;
}

.dataTables_processing {
  background-color: transparent !important;
}

.dataTables_processing.card {
  box-shadow: none !important;
}

.dataTables_filter {
  height: 100% !important;
  display: flex;
  flex-grow: 1;
}

.dataTables_filter label {
  width: 100% !important;
  height: 100% !important;
  font-size: 1rem;
  background-color: white;
  border: 1px solid #e4e6ec;
  border-radius: 0.35rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  font-size: 0.9rem;
  padding-left: 1rem;
  display: flex !important;
  align-items: center !important;
}

.dataTables_filter input[type="search"]::placeholder {
  color: #999999 !important;
}

.dataTables_filter input,
.dataTables_filter input:focus {
  border: 0;
  border-radius: 0.5rem;
  font-size: 1rem;
  width: calc(100% - 1.5rem) !important;
  box-shadow: none;
}

table tbody tr:first-child th,
table tbody tr:first-child td {
  border-top: none;
}

.dataTables_empty {
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
}

table.dataTable .dt-select-all-checkbox {
  width: 0;
  height: 0;
  appearance: none;
  border: 0.1rem solid #c2cbce !important;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 0.4rem;
  padding: 0.5rem;
}

table.dataTable .dt-select-all-checkbox:checked {
  background-color: #1da2d8 !important;
  border-color: #1da2d8 !important;
}

table.dataTable .dt-select-all-checkbox:not(:checked):hover {
  background-color: white !important;
}

table.dataTable .dt-select-all-checkbox:checked::after {
  color: white;
  content: "\f00c";
  display: block;
  font-family: "Font Awesome 6 Pro";
  font-size: 0.75rem;
  left: 50%;
  position: relative;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-right: 10px;
}

table.dataTable tbody tr.selected,
table.dataTable tbody th.selected,
table.dataTable tbody td.selected {
  color: inherit !important;
}

table.dataTable tbody td.select-checkbox {
  cursor: pointer;
  margin: auto 0;
  padding-left: 3rem;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody th.select-checkbox:before {
  width: 0;
  height: 0;
  border: 0.1rem solid #c2cbce !important;
  padding: 0.5rem;
}

table.dataTable tr:not(.selected) td.select-checkbox:hover:before,
table.dataTable tr:not(.selected) th.select-checkbox:hover:before {
  background-color: #f1f5f8;
}

table.dataTable tbody tr.selected .candidate-id-span:before {
  width: 0.25rem;
  height: 100%;
  background-color: #1ca2d8;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
}

table.dataTable tr.selected td.select-checkbox:before,
table.dataTable tr.selected th.select-checkbox:before {
  width: 0;
  height: 0;
  background-color: #1ca2d8;
  border-color: #1ca2d8 !important;
  border-radius: 3px !important;
  content: "";
  padding: 0.5rem;
}

table.dataTable tr.selected td.select-checkbox:after,
table.dataTable tr.selected th.select-checkbox:after {
  width: auto !important;
  height: auto !important;
  color: white !important;
  content: "\f00c" !important;
  font-family: "Font Awesome 6 Pro";
  font-size: 0.75rem !important;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody th.select-checkbox:before,
table.dataTable tr.selected td.select-checkbox:after,
table.dataTable tr.selected th.select-checkbox:after {
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  top: 50% !important;
}

.buttons-selected.disabled {
  display: none;
}

.dt-button-collection .dt-button.dropdown-item {
  color: inherit !important;
}

.dt-button-collection .dt-button.dropdown-item.active {
  color: #1da2d8 !important;
}

.datatables-row-number-col {
  width: 1rem !important;
  max-width: 3rem !important;
}

table.dataTable.fixedHeader-floating,
table.dataTable.fixedHeader-locked,
div.dts div.dataTables_scroll,
div.dts div.dataTables_scrollBody,
div.dts div.dataTables_scrollBody table {
  background: #f1f5f8 !important;
}

#selectAllBar {
  background: white;
  display: grid;
  justify-content: center;
}

#selectWrapper {
  display: flex;
  text-align: center;
  padding: 10px;
  margin-bottom: 0;
}

#selectText {
  margin-bottom: 0;
}

#selectAllBar {
  border-bottom: 1px solid #e2e6f0;
  background: #e2f4ff;
}

#selectAllDiv {
  cursor: pointer;
}

#selectAllDiv input {
  margin-left: 10px;
  cursor: pointer;
}

#selectAllLabel {
  margin-left: 4px;
  cursor: pointer;
  color: #2090b5;
  text-decoration: underline;
}
.selected-all {
  background: #e2f4ff !important;
}
.select-active {
  background-color: #1da2d8 !important;
}

.dataTables_wrapper tr:has(span.hidden-row) {
  display: none;
}

/* limit height of colvis dropdown */
.dt-button-collection .dropdown-menu {
  max-height: 50vh;
  overflow: auto;
}
