/* Update the link colors in the table */
table.dataTable a {
    color: var(--bs-secondary);
}
table.dataTable a:visited {
    color: var(--bs-primary);
}
table.dataTable a:hover{
    text-decoration: underline;
}
/* Update the color of the pagination buttons */
.page-item.active .page-link {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}
/* override the margins between the buttons */
.paginate_button {
    padding: 1px !important;
}
/* override the jquery sort columns image */
table.dataTable thead .sorting_asc {
    background-image: None !important;
}
table.dataTable thead .sorting{
    background-image: None !important;
}
table.dataTable thead .sorting_desc {
    background-image: None !important;
}
/* Reposition the number of records per page controller */
.dataTables_length {
  position: relative;
  float: none !important;
  text-align: center;
}
/* Deal with the arrows in the forms (e.g. showing page X of Y) */
.form-select {
    background-position: right 0.5rem center !important;
    padding: 0.5rem 2rem 0.5rem 1rem !important;
}
/* Try to adjust the checkmarks upon row selection*/
table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    font-size: 16px !important;
    margin-top: -16px !important;
    text-shadow: None !important;
}
/* adjust background color of selected rows */
table.dataTable tbody tr.selected {
    background-color: var(--bs-gray-400) !important;
}
/* Make the processing message like a volt alert */
.dataTables_wrapper .dataTables_processing {
    position: relative;
    top: 30%;
    left: 50%;
    width: 30%;
    height: 40px;
    margin-left: -20%;
    margin-top: -25px !important;
    padding-top: 20px;
    padding-bottom: 45px!important;
    text-align: center;
    font-size: 1.2em;
    background: none;
    z-index: 99999;
    background-color: var(--bs-primary);
    color: var(--bs-gray-100);
}
