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 {
    cursor: pointer;
    *cursor: hand;
    background-repeat: no-repeat;
    background-position: center right
}

table.dataTable thead .sorting {
    background-image: url("image/sort_both.png")
}

table.dataTable thead .sorting_asc {
    background-image: url("image/sort_asc.png")
}

table.dataTable thead .sorting_desc {
    background-image: url("image/sort_desc.png")
}

table.dataTable thead .sorting_asc_disabled {
    background-image: url("image/sort_asc_disabled.png")
}

table.dataTable thead .sorting_desc_disabled {
    background-image: url("image/sort_desc_disabled.png")
}

:root {
    --datatable-gap: 20px;
}

.dt-b {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    font-size: 0.9rem;
}

table.dataTable {
    width: 100% !important;
}

.dataTables_scrollHeadInner table.dataTable,
.dataTables_scrollBody table.dataTable {
    margin-bottom: 0;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
    overflow-y: scroll;
}

table.dataTable thead th, table.dataTable tfoot th {
    padding: 0.5rem 1rem;
    font-weight: normal;
}

table.dataTable thead tr {}

table.dataTable .btn-in-table {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 0.4rem;
}

table.dataTable.cell-border thead th {
    border-right: 1px solid #AAA;
}

table.dataTable.cell-border thead th:nth-child(1) {
    border-left: 1px solid #AAA;
}

table.dataTable.cell-border tbody th table.dataTable.cell-border tbody td {
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}

.dataTables_wrapper .dt-b {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.dataTables_wrapper .dt-b .dataTables_length {
    flex-grow: 1;
}

.dataTables_wrapper .dataTables_length {
    margin-right: 1.5rem;
}

.dataTables_wrapper .dataTables_length>label {
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.dataTables_wrapper .dataTables_length select {
    width: auto;
    margin: 0.25rem;
    padding: 0.25rem;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0;
    margin-right: 20px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: content: '';
}


@media (max-width: 768px) {
    .dataTables_wrapper .dt-b{
        width: 100%;
        flex-direction: column;
    }
    .dataTables_wrapper .dataTables_info{
        margin: 0.75rem 0;
    }
    .dataTables_wrapper .dataTables_paginate{
        margin-left: 0;
    }
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color: #EEE;
}

table.dataTable.display tbody tr.odd>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd>.sorting_1 {
    background-color: #dcdcdc;
}

table.dataTable.display tbody tr.even>.sorting_1, table.dataTable.order-column.stripe tbody tr.even>.sorting_1 {
    background-color: #EEE;
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: #dcdcdc;
}

table.dataTable.hover tbody tr:hover td, table.dataTable.display tbody tr:hover td {
    border-color: #CCC;
}

table.dataTable.display tbody tr:hover>.sorting_1, table.dataTable.order-column.hover tbody tr:hover>.sorting_1 {
    background-color: #c7c7c7;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom-color: #DDD;
}

table.dataTable.no-footer {
    border-bottom-color: #DDD;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    border-top-color: #DDD;
}

.dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dataTables_paginate .paginate_button:hover {
    background-color: rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.dataTables_paginate>.paginate_button {
    padding: 0.5rem;
    border-radius: 0.4rem;
}

.dataTables_paginate>span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
}

.dataTables_paginate>span>.paginate_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #dee6ef;
    color: #333;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #AAA !important;
    border: 0;
    background-color: transparent;
    cursor: not-allowed;
}

table.dataTable.display tbody tr.even.selectedTr>.sorting_1, table.dataTable.order-column.stripe tbody tr.even.selectedTr>.sorting_1,
table.dataTable.display tbody tr.odd.selectedTr>.sorting_1,
table.dataTable.order-column.stripe tbody tr.odd.selectedTr>.sorting_1 {
    background-color: #2b42b0;
}

table.dataTable.cell-border tbody tr th:first-child,
table.dataTable.cell-border tbody tr td:first-child {
    border-left: 1px solid #888;
}

table.dataTable.cell-border tbody th,
table.dataTable.cell-border tbody td {
    border-top: 1px solid #888;
    border-right: 1px solid #888;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    overflow-y: scroll !important;
    border-bottom: 1px #DDD solid;
}

.dataTables_empty{
    text-align: center;
}
