﻿
/*#region Datatable And Table*/
.table {
    width: 100% !important;
    white-space: nowrap;
    overflow-x: auto;
}

    .table thead th {
        padding-left: 10px;
        vertical-align: bottom;
        border-bottom: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        vertical-align: middle;
        font-family: 'Montserrat-SemiBold' !important;
        text-align: center;
        font-size: 16px;
    }

    .table tbody tr td {
        border-right: 1px solid #dee2e6;
        padding-left: 10px;
        vertical-align: middle;
        color: var(--cs-text-color) !important;
        font-family: 'Montserrat-Medium' !important;
        font-size: 14px;
    }

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: var(--cs-lgb-bprimary) !important;
}


        .table tbody tr td.vertical_top {
            vertical-align: top !important;
        }

        .table thead tr th.no_vcenter, .table tbody tr td.no_vcenter {
            vertical-align: unset !important;
        }


        .table tbody tr td input[type=text],
        .table tbody tr td select {
            min-width: 150px;
        }

    .table.table-sm tbody tr td input[type=text],
    .table.table-sm tbody tr td select {
        height: calc(1.5670625rem + 2px);
        padding: 0.25rem 0.5rem;
        line-height: 1.5;
        border-radius: 0.2rem;
    }


div.dataTables_wrapper div.dataTables_info {
    white-space: nowrap !important;
}

table.dataTable {
    border-collapse: collapse !important;
}

.table thead {
    background-color: var(--cs-lgb-bsecondary) !important;
}

table thead th:first-child {
    border-top-left-radius: 10px;
}

table:not(.DTFC_Cloned) thead th:last-child {
    border-top-right-radius: 10px;
}

table.nested_table thead {
    background-color: #FFF !important;
}

.dataTables_filter input[type="search"] {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    height: 30px;
}

.dataTables_filter label {
    visibility: hidden;
}

    .dataTables_filter label input {
        visibility: visible;
    }

.dataTables_empty {
    font-family: 'Montserrat-Medium' !important;
    font-size: 14px;
}

.datatable_nodata_heading {
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 10px;
    color: #3f4648 !important;
}

.datatable_nodata_message {
    opacity: .7 !important;
}

.datatable-action-dropdown-item {
    padding: 2px 1.5rem !important;
}

table.table-sm {
    font-size: 13px !important;
}

tfoot tr th {
    border: none !important;
}

    tfoot tr th.need_border {
        border-top: none !important;
        border: 1px solid #dee2e6 !important;
    }

.table-hover tbody tr:hover {
    background-color: #f5f5f5 !important;
    cursor: pointer;
}

.DT_description_view {
    width: 300px !important;
    white-space: normal !important;
}

.datatable-action-dropdown-item {
    cursor: pointer;
}

table tbody tr td div.d-flex span {
    margin: 5px 0px;
}


/*Fixed Coloum DataTable Region*/
.border_right_bold_visible:not(:last-child) {
    border-right: 2px solid #7e7e7e !important;
}

.DTFC_LeftBodyLiner {
    overflow-x: hidden;
}
/*Fixed Coloum DataTable Region*/
.dataTables_wrapper .row:last-child {
    margin-top: 20px !important;
}

table.pre_action tbody tr td div ._r_btn {
    margin-top: -4px;
}

.table.DTFC_Cloned thead tr th {
    background-color: var(--cs-lgb-bsecondary) !important;
}

.table thead tr th.nosort:before, .tabkle thead tr th.nosort:after {
    display: none;
}

table.dataTable {
    margin-top: 0px !important;
}

.DTFC_LeftHeadWrapper, .DTFC_LeftBodyWrapper {
    border-right: 1px solid #000000;
}

    .DTFC_LeftHeadWrapper table thead tr th {
        border-right: none !important;
    }

div.dataTables_scrollBody table thead .sorting:before,
div.dataTables_scrollBody table thead .sorting_asc:before,
div.dataTables_scrollBody table thead .sorting_desc:before {
    display: none;
}

.DTFC_LeftBodyLiner table.dataTable thead .sorting:before,
.DTFC_LeftBodyLiner table.dataTable thead .sorting_asc:before,
.DTFC_LeftBodyLiner table.dataTable thead .sorting_desc:before,
.DTFC_LeftBodyLiner table.dataTable thead .sorting_asc_disabled:before,
.DTFC_LeftBodyLiner table.dataTable thead .sorting_desc_disabled:before {
    display: none !important;
}

.table:not(.table-bordered) thead tr:first-child th:nth-last-child(1),
.table:not(.table-bordered) tbody tr td:nth-last-child(1) {
    border-right: none !important;
}

.table.nested_table.table-bordered thead tr:first-child th,
.table.nested_table.table-bordered tbody tr td {
    border: 1px solid #dee2e6 !important;
}



.table.pre_action:not(.table-bordered) thead tr:first-child th:nth-child(1),
.table.pre_action:not(.table-bordered) tbody tr td:nth-child(1) {
    border-right: none !important;
}

.table.post_action:not(.table-bordered) thead tr:first-child th:nth-last-child(2),
.table.post_action:not(.table-bordered) tbody tr td:nth-last-child(2) {
    border-right: none !important;
}

.dataTables_scrollHeadInner.table-responsive {
    padding-right: 17px !important;
}
/*#endregion Datatable And Table*/
