.table th {
    letter-spacing: 0.75px;
    font-size: 12px;
    font-weight: 500;
    color: rgb(100 116 139);
    border: 0px;
    padding: 1.5rem 1rem !important;
}

.table thead th {
    border-bottom: 0px solid #e5e7eb;
}

.table td {
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.358rem;
    letter-spacing: 0.35px;
    color: #555;
    padding: 1.6rem 1rem !important;
    border-top: 1px solid #EEE;
}

.table tbody tr:hover {
    background-color: #F8FAFC;
}

.table td,
.table th {
    white-space: nowrap;
    vertical-align: middle;
}

table tr.tr-odd {
    background-color: rgba(0, 0, 0, .05);
}

table tr.tr-odd td:first-child {
    border-left: 5px solid red;
}

table.dataTable {
    clear: both;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    max-width: none !important;
    border-collapse: separate !important;
}

div.dataTables_wrapper .dataTables_length .form-control.form-control-sm, 
div.dataTables_wrapper .dataTables_filter .form-control.form-control-sm {
    min-height: 2rem;
    padding: .3rem 1rem;
}

table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting {
    padding-right: .75rem;
}

table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_desc:after {
    bottom: 2em !important;
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after {
    display: none;
}

table.dataTable thead .sorting_desc::after {
    display: none;
}

/* width */
.table::-webkit-scrollbar {
    height: 6px;
}

/* Track */
.table::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.table::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* Handle on hover */
.table::-webkit-scrollbar-thumb:hover {
    background: #99999990;
}

.table .btn{
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 1.5rem;
    display: inline-flex;
    align-items: center;
}

div.dataTables_wrapper .dataTables_paginate ul.pagination{
    gap: 0.5rem;
}

.page-link,
.dataTables_info,
.dataTables_length,
.dataTables_length label,
.dataTables_filter,
.dataTables_filter label {
    font-size: 13px;
    font-weight: 500 !important;
    color: #777;
    border-radius: 1.5rem !important;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

@media only screen and (max-width:786px) {

    .table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        font-size: 80% !important;
    }

    table .btn {
        padding: .13rem .25rem !important;
        font-size: .675rem;
        line-height: 1;
    }

    table i.fas.fa-long-arrow-alt-right.fa-sm {
        display: none;
    }

    #table_wrapper .col-md-6 {
        width: 50%;
    }

    #table_wrapper .col-md-5 {
        width: 40%;
    }

    #table_wrapper .col-md-7 {
        width: 60%;
    }

    div.dataTables_wrapper div.dataTables_info {
        text-align: left !important;
        font-size: 90%;
    }

    div.dataTables_wrapper div.dataTables_paginate {
        text-align: right !important;
        font-size: 90%;
    }

    #table_wrapper .dataTables_length {
        text-align: left;
    }

    #table_wrapper .col-sm-12 {
        padding: 5px;
    }

    .table td,
    .table th {}

    div.dataTables_wrapper div.dataTables_filter input {
        width: 75% !important;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: right !important;
    }
}
