/* 
 * Copyright 2011-2025, The Trustees of Indiana University and Northwestern
 *   University.  Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 *   under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 *   CONDITIONS OF ANY KIND, either express or implied. See the License for the
 *   specific language governing permissions and limitations under the License.
 * ---  END LICENSE_HEADER BLOCK  ---
*/

@import 'datatables/dataTables.bootstrap4';

// optional remove '//=' to enable

//@import 'datatables/extensions/AutoFill/autoFill.bootstrap4';
//@import 'datatables/extensions/Buttons/buttons.bootstrap4';
//@import 'datatables/extensions/ColReorder/colReorder.bootstrap4';
//@import 'datatables/extensions/FixedColumns/fixedColumns.bootstrap4';
//@import 'datatables/extensions/FixedHeader/fixedHeader.bootstrap4';
//@import 'datatables/extensions/KeyTable/keyTable.bootstrap4';
//@import 'datatables/extensions/Responsive/responsive.bootstrap4';
//@import 'datatables/extensions/RowGroup/rowGroup.bootstrap4';
//@import 'datatables/extensions/RowReorder/rowReorder.bootstrap4';
//@import 'datatables/extensions/Scroller/scroller.bootstrap4';
//@import 'datatables/extensions/Select/select.bootstrap4';

table.dataTable {
  border-collapse: collapse !important;
  border-spacing: 0;
}

table.dataTable thead tr th,
table.dataTable tbody tr td {
  padding: 10px;
}

table.dataTable a {
  text-decoration: underline;
}

table.dataTable a.btn {
  text-decoration: none;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  white-space: nowrap;
  cursor: pointer;
  *cursor: hand;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
  display: none;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
  position: relative;
  left: 5px;
  display: inline-block;
  content: '';
  width: 1em;
  height: 1em;
  opacity: 1;
  background-repeat: no-repeat;
  background-position: center right;
}

table.dataTable thead .sorting:after {
  background-image: url("datatables/sort_both.png");
  bottom: -1px;
}
table.dataTable thead .sorting_asc:after {
  background-image: url("datatables/sort_asc.png");
  bottom: -4px;
}
table.dataTable thead .sorting_desc:after {
  background-image: url("datatables/sort_desc.png");
  bottom: 1px;
}
table.dataTable thead .sorting_asc_disabled:after {
  background-image: url("datatables/sort_asc_disabled.png");
  bottom: -4px;
}
table.dataTable thead .sorting_desc_disabled:after {
  background-image: url("datatables/sort_desc_disabled.png");
  bottom: 1px;
}

.dataTableToolsBottom .pagination .active a {
  cursor: default;
  color: #6e6e6e;
}

.dataTableToolsBottom .pagination .page-item.disabled .page-link {
  color: #767676 !important;
}
