table th {
    letter-spacing: 0.9px;
    background: #1E1E1E;
    color: #FFF;
}

table td {
    color: #404040;
}

.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;
}

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::after,
table.dataTable thead .sorting_asc::after {
    display: none;
}

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

table.dataTable thead .sorting {
    background-image: url(https://datatables.net/media/images/sort_both.png);
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable thead .sorting_asc {
    background-image: url(https://datatables.net/media/images/sort_asc.png);
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable thead .sorting_desc {
    background-image: url(https://datatables.net/media/images/sort_desc.png);
    background-repeat: no-repeat;
    background-position: center right;
}

@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: 50%;
    }

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

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

    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter {
        color: #777;
    }

    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 {
        /*        padding: 0.5rem;*/
    }

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

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