﻿div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}

div.dataTables_wrapper div.dataTables_filter input, input.columnSearch {
    margin: 0;
    padding: 0.25rem 0.5rem;
    width: 200px;
    border: 1px solid #ccd1d7;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

div.dataTables_wrapper div.dataTables_filter::after, div.input-wrapper::after {
    font-family: "Font Awesome 5 Free";
    color: #999999;
    position: relative;
    left: -22px;
    content: "\f002";
    font-style: normal;
    font-weight: bold;
    text-decoration: inherit;
}

table.dataTable {
    margin: 0 !important;
}

.table td, .table th {
    border-top: 0;
    border-bottom: 1px solid #dee2e6;
}

.table th {
    font-weight: 600;
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}

.table-striped tbody tr:nth-of-type(2n) {
    background-color: #ffffff;
}

table.dataTable.table-striped tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
table.dataTable.table-striped tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: rgba(150, 150, 150, 0.05);
}

.table-hover tbody tr:hover,
.table-hover tbody tr.hover {
    background-color: #ececec;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 600;
    border-bottom: 1px solid #dddddd;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.25rem;
}

table.dataTable thead th:first-child, table.dataTable tbody td:first-child {
    padding-left: 1.5rem;
}

table.dataTable thead th:last-child, table.dataTable tbody td:last-child {
    padding-right: 1.5rem;
}

table.dataTable.table-striped tbody tr.odd.selectedRow, table.dataTable.table-striped tbody tr.even.selectedRow {
    background-color: #e6ecf6;
}

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,
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 {
    left: 0;
    bottom: 0.5rem;
    display: block;
    opacity: 0;
}

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 {
    background-image: none;
}

table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc {
    padding: 0 1rem 0 1.5rem;
}

table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_desc::before {
    font-family: "Font Awesome 5 Free";
    content: "\f106";
    padding-left: 0.5rem;
}

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 {
    font-family: "Font Awesome 5 Free";
    content: "\f107";
    padding-left: 0.5rem;
}

table.dataTable thead .sorting:hover {
    background-image: none;
}

table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_desc::after {
    opacity: 1;
}

table.dataTable thead th .filterIcon {
    position: absolute;
    top: 12px;
    right: 4px;
    z-index: 10;
    opacity: 0;
}

    table.dataTable thead th:hover .filterIcon,
    table.dataTable thead th .filterIcon.in-use {
        opacity: 0.4;
    }

        table.dataTable thead th .filterIcon:hover,
        table.dataTable thead th .filterIcon.active {
            opacity: 1;
        }

table.dataTable .colIcon {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

    table.dataTable .colIcon .far, table.dataTable .colIcon .fas {
        opacity: 0.6;
    }

    table.dataTable .colIcon .far:hover, table.dataTable .colIcon .fas:hover {
        opacity: 1;
    }

    table.dataTable .colIcon .fa-file-pdf {
        font-size: 1rem;
        vertical-align: middle;
        opacity: 1;
    }

.input-wrapper {
    display: none;
    padding: .5rem 0 .5rem 1rem;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}
