
table.dataTable {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    /*border-collapse: separate !important;*/
}

    table.dataTable td, table.dataTable th {
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

        table.dataTable td.dataTables_empty, table.dataTable th.dataTables_empty {
            text-align: center;
        }

    table.dataTable.nowrap th, table.dataTable.nowrap td {
        white-space: nowrap;
    }

div.dataTables_wrapper div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_length select {
    width: 75px;
    display: inline-block;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
}

    div.dataTables_wrapper div.dataTables_filter label {
        font-weight: normal;
        white-space: nowrap;
        text-align: left;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        margin-left: 0.5em;
        display: inline-block;
        width: auto;
    }

div.dataTables_wrapper div.dataTables_info {
    padding-top: 8px;
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
    display: flex;
    align-items: center;
}

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin: 2px 0;
        white-space: nowrap;
    }

div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
}

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: 30px;
}

table.dataTable thead > tr > th:active, table.dataTable thead > tr > td:active {
    outline: none;
}

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;
    position: relative;
}

    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 {
        position: absolute;
        bottom: 8px;
        right: 8px;
        display: block;
        font-family: 'Glyphicons Halflings';
        opacity: 0.5;
    }

/*table.dataTable thead .sorting:after {
        opacity: 0.2;
        content: "\e150"
    }

    table.dataTable thead .sorting_asc:after {
        content: "\e155"
    }

    table.dataTable thead .sorting_desc:after {
        content: "\e156"
    }

    table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
        color: #eee
    }*/

div.dataTables_scrollHead table.dataTable {
    margin-bottom: 0 !important;
}

div.dataTables_scrollBody > table {
    border-top: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

    div.dataTables_scrollBody > table > thead .sorting:after, div.dataTables_scrollBody > table > thead .sorting_asc:after, div.dataTables_scrollBody > table > thead .sorting_desc:after {
        display: none;
    }

    div.dataTables_scrollBody > table > tbody > tr:first-child > th, div.dataTables_scrollBody > table > tbody > tr:first-child > td {
        border-top: none;
    }

div.dataTables_scrollFoot > .dataTables_scrollFootInner {
    box-sizing: content-box;
}

    div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
        margin-top: 0 !important;
        border-top: none;
    }

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        text-align: center;
    }
}

table.dataTable.table-condensed > thead > tr > th {
    padding-right: 20px;
}

table.dataTable.table-condensed .sorting:after, table.dataTable.table-condensed .sorting_asc:after, table.dataTable.table-condensed .sorting_desc:after {
    top: 6px;
    right: 6px;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td {
    border-left-width: 0;
}

    table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
        border-right-width: 0;
    }

table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
    border-bottom-width: 0;
}

div.dataTables_scrollHead table.table-bordered {
    border-bottom-width: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row {
    margin: 0;
}

    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
        padding-left: 0;
    }

    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
        padding-right: 0;
    }

/*CUSTOM GRID STYLE*/

table.dataTable tbody tr:last-child td {
    border-bottom-width: 0 !important;
}

.dataTables_scrollBody table.dataTable tbody tr:last-child td {
    border-bottom-width: 1px !important;
}

.dataTables_scrollBody {
    /*overflow: hidden !important;*/
    /*overflow: unset !important;*/
    height: 100%;
    /*display: flex;
    display: -webkit-flex;*/
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    flex: 1;
    max-height: unset !important;
}

    .datatables_scrollbody table.datatable {
    }

    .datatables_scrollbody::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .datatables_scrollbody::-webkit-scrollbar-track-piece {
        background-color: #c2d2e4;
        width: 6px;
    }

    .datatables_scrollbody::-webkit-scrollbar-thumb:vertical {
        height: 6px;
        background-color: #0a4c95;
        width: 6px;
    }



table.m-grid {
    /*opacity: 0;*/
}

table.dataTable {
    margin: 0 !important;
    min-width: 100% !important;
    width: 100% !important;
}

.dataTables_scrollBody .m-bottom-scrollbar {
    /*margin-bottom: 8px !important;*/
}

    .dataTables_scrollBody .m-bottom-scrollbar tr:last-child td {
        border-bottom-color: #ececec !important;
    }

.dataTables_length {
}
/*.dataTables_length {
    float: left;
    margin-top: 6px;
}

    .dataTables_length select {
        height: 26px;
        width: 56px !important;
    }*/

.dataTables_scroll {
    /*border-bottom: solid 1px #ddd;*/
    /*border-top: solid 1px #ddd;*/
}



.dataTables_scrollHead {
    border-bottom: solid 1px #ddd !important;
}

table.dataTable tr th:first-child, table.dataTable tr td:first-child {
    border-left-width: 0;
}

.dataTables_scrollHeadInner {
    /*width: 100% !important;*/
    background-color: #F4F5F8;
    box-sizing: border-box !important;
    /*padding-right: 8px;*/
}

.dataTables_scrollBody {
    padding-right: 8px;
}

table.dataTable th, table.dataTable td {
    height: 36px;
    /*cursor: pointer;*/
}

table.dataTable tbody tr td {
    padding: 4px 6px;
}

table.dataTable td {
    border: solid 1px #ddd;
    border-left-style: dotted;
    border-right-style: dotted;
}

.dataTables_scrollBody tr:first-child td, .mCustomScrollBox .dataTables_scrollBody tr:last-child td {
    border-top-color: transparent !important;
}

table.dataTable th {
    /*padding: 6px 0;*/
    height: 36px;
    text-align: center !important;
    background-color: #F4F5F8;
    border-color: #ddd;
    border-width: 0 1px 0 0;
    border-style: solid dotted solid dotted;
}

table.dataTable tr th:last-child, table.dataTable tr td:last-child {
    border-right-width: 0 !important;
}

table.dataTable tr.odd {
    background-color: #fff;
}

table.dataTable th span, table.dataTable td span {
    line-height: 18px;
}

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: 0;
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected,
table.dataTable.display tbody > tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody > tr.odd.selected > .sorting_1,
table.dataTable.display tbody > tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody > tr.even.selected > .sorting_1,
table.dataTable.display tbody > tr.selected:hover > .sorting_1, table.dataTable.order-column.hover tbody > tr.selected:hover > .sorting_1 {
    background-color: #e5f4fa !important;
}

    table.dataTable.order-column.hover tbody > tr.selected:hover > .sorting_1 table tbody tr td a:focus {
        background-color: #962a4442;
        border-radius: 4px;
    }

.dataTables_wrapper {
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
    border-radius: 3px;
    position: relative;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

div.dataTables_wrapper div.dataTables_processing {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
}

.dataTables_wrapper .select-info {
    display: none !important;
}

.dataTables_wrapper .dataTables_info {
    height: 38px;
    overflow-y: hidden;
    margin-right: 8px;
    float: left;
}

.dataTables_wrapper .dataTables_paginate {
    float: right !important;
    height: 38px !important;
    overflow-y: hidden;
    border-top-width: 0 !important;
}


    .dataTables_wrapper .dataTables_paginate a {
        line-height: 22px !important;
        padding: 0 2px !important;
        min-width: 25px !important;
        border-radius: 4px !important;
        background: #FFF !important;
        border: solid 1px #ddd !important;
        text-align: center;
        display: inline-block;
        margin-right: 4px;
        text-decoration: none;
        cursor: pointer;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background-color: #3999FB !important;
        color: #FFF !important;
    }

        .dataTables_wrapper .dataTables_paginate a:hover,
        .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
            background-color: #0877BB !important;
            color: #FFF !important;
        }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
        border: solid 1px #ddd;
        background-color: #E7E7E7 !important;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
            background-color: #E7E7E7 !important;
        }

.dataTables_wrapper .dataTables_processing {
    background: rgba(162, 156, 156, 0.25) !important;
    top: 0;
    height: 100%;
    margin-top: 0;
    z-index: 999 !important;
    display: none;
}


/*.dataTables_wrapper .dataTables_paginate .paginate_button:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #0877BB !important;
    border-color: transparent !important;
}*/


.dataTables_wrapper .dataTables_processing .m-mask-message {
    left: calc(50% - 50px);
    top: calc(50% - 100px);
}

table.dataTable tr:hover,
table.dataTable tr:active,
table.dataTable tr:focus {
    background-color: #E7F3FF !important;
}
