table.dataTable th {
    background-color: inherit;
    border-bottom-color: inherit;
}

.dt-buttons > button {
    border: 0;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
}

/* Paginate button spacing */
.dataTables_paginate li.paginate_button > a {
    padding: 0.5rem 1rem;
    margin-left: 0.1rem !important;
    outline: none !important;
    box-shadow: none !important;
    border:0;
    border-radius: 0.5rem !important;
    color: black;
}

/* Active page button */
.dataTables_paginate li.paginate_button > a:hover,
.dataTables_paginate li.paginate_button.active > a {
    color: white;
    opacity: 1;
}

/* Paging button */
.dataTables_paginate li.paginate_button > a{
    color: white !important;
    opacity: 0.75;
}
.dataTables_paginate li.paginate_button.previous.disabled > a,
.dataTables_paginate li.paginate_button.next.disabled > a{
    color:white;
    opacity: 0.35;
}


/* Sorting buttons */
table.dataTable>thead>tr>th:not(.sorting_disabled), table.dataTable>thead>tr>td:not(.sorting_disabled) {
    padding-right:1.5em;
}

.dataTable .sorting::before {
    content: "" !important;
    position: absolute;
    right: 0.5em !important;
    bottom: calc(50% + 1px) !important;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid white;
}

.dataTable .sorting::after {
    content: "" !important;
    position: absolute;
    right: 0.5em !important;
    top: calc(50% + 1px) !important;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
}

table.dataTable tr td {
    background-color: var(--bs-table-bg);
}

table.dataTable tr th {
    background-color:inherit;
    color: var(--bs-body-color);
}

div.dataTables_scrollBody,
div.dataTables_scrollHeadInner,
div.dataTables_scrollFootInner {
    border-left: 1px solid var(--bs-border-color) !important;
}

/* body[data-bs-theme="dark"] div.dataTables_scrollBody,
body[data-bs-theme="dark"] div.dataTables_scrollHeadInner,
body[data-bs-theme="dark"] div.dataTables_scrollFootInner {
    border-left: 1px solid var(--bs-border-color) !important;
} */

div.dataTables_scrollFootInner table.table-bordered tr th:first-child,
div.dataTables_scrollHeadInner table.table-bordered tr th:first-child {
    border-left: 1px solid var(--bs-border-color) !important;
}

/* body[data-bs-theme="dark"] div.dataTables_scrollFootInner table.table-bordered tr th:first-child,
body[data-bs-theme="dark"] div.dataTables_scrollHeadInner table.table-bordered tr th:first-child {
    border-left: 1px solid var(--bs-border-color) !important;
} */

.active>.page-link, .page-link.active {
    z-index:0;
}

.dtfc-right-top-blocker {
    background-color:inherit !important;
}
