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_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 {
        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;
    }
}
