﻿.table {
    width: 100%;
    margin: auto;
    border-collapse: separate;
}

    .table td, .table th {
        padding: 0.7143rem 0.5714rem;
        border-bottom: 1px solid #dee2e6;
        max-width: 400px;
    }

        .table td.hasinput,
        .table th.hasinput {
            padding: 0 !important;
        }

    .table.nowrap th, .table.nowrap td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    /*height: 150px;*/
}

.table-bordered {
    border: 1px solid #dee2e6;
}

    .table-bordered td, .table-bordered th {
        border: 1px solid #dee2e6;
    }

.table-toolbar-wrapper, .table-paging-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 2.82rem;
}

.row-hover {
    background-color: #faf8fb !important;
}
/*fixed column*/
thead .fixed__row th,
thead .fixed__row td {
    background: #fff;
    /* color: #fff;*/
    position: -webkit-sticky;
    position: sticky;
    border-bottom: 1px solid #dee2e6;
}

thead .fixed__row th {
    z-index: 2;
}

tfoot .fixed__row th,
tfoot .fixed__row td {
    position: -webkit-sticky;
    position: sticky;
    background: #fff;
    /* color: #fff;*/
    z-index: 4;
    border-top: 1px solid #dee2e6;
    border-bottom: none;
}

tfoot .fixed__row th {
    z-index: 2;
}
/* testing links*/

.fixed__column {
    position: -webkit-sticky;
    position: sticky;
    z-index: 2;
    background: #fff;
    /* color: #fff;*/
}

.border-left {
    border-left: 1px solid #dee2e6;
}

.border-right {
    border-right: 1px solid #dee2e6;
}

thead th.fixed__column,
tfoot th.fixed__column {
    z-index: 5;
}

thead .fixed__row th.fixed__column,
tfoot .fixed__row th.fixed__column {
    z-index: 6;
}

.table-scroll .ps__rail-x,
.table-scroll .ps__rail-y {
    z-index: 10 !important;
}
/*table sort head*/
table.bTables thead > tr > th.sorting_asc,
table.bTables thead > tr > th.sorting_desc,
table.bTables thead > tr > th.sorting,
table.bTables thead > tr > td.sorting_asc,
table.bTables thead > tr > td.sorting_desc,
table.bTables thead > tr > td.sorting {
    padding-right: 30px
}



table.bTables thead .sorting,
table.bTables thead .sorting_asc,
table.bTables thead .sorting_desc,
table.bTables thead .sorting_asc_disabled,
table.bTables thead .sorting_desc_disabled {
    cursor: pointer;
    /*    position: relative*/
}

    table.bTables thead .sorting:after,
    table.bTables thead .sorting_asc:after,
    table.bTables thead .sorting_desc:after,
    table.bTables thead .sorting_asc_disabled:after,
    table.bTables thead .sorting_desc_disabled:after {
        position: absolute;
        bottom: 13px;
        right: 0.5714rem;
        display: block;
        font-family: 'Glyphicons Halflings';
        opacity: 0.5
    }

    table.bTables thead .sorting:after {
        opacity: 0.2;
        content: "\e150"
    }

    table.bTables thead .sorting_asc:after {
        opacity: 0.5;
        content: "\e155";
    }

    table.bTables thead .sorting_desc:after {
        opacity: 0.5;
        content: "\e156"
    }

    table.bTables thead .sorting_asc_disabled:after,
    table.bTables thead .sorting_desc_disabled:after {
        color: #eee
    }


div.bTabless_scrollBody > table > thead .sorting:after,
div.bTabless_scrollBody > table > thead .sorting_asc:after,
div.bTabless_scrollBody > table > thead .sorting_desc:after {
    display: none
}



table.bTables.table-condensed .sorting:after,
table.bTables.table-condensed .sorting_asc:after,
table.bTables.table-condensed .sorting_desc:after {
    top: 6px;
    right: 6px
}

.table-toolbar-wrapper {
    height: 2.82rem;
}
/*text input*/
.input-in-table {
    margin-bottom: 0 !important;
    padding-left: 10px !important;
    font-size: 1rem !important;
}

.input-wrap-table {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/*Checkbox*/
.bTables tr .bChecked {
    padding-top: 12px !important;
    padding-bottom: 2px !important;
}

.bTables tr td.has-icon {
    padding-top: 12px;
    padding-bottom: 5px;
}

.BTableCheckboxInForm {
    padding-top: 17px !important;
    padding-bottom: 17px !important;
}

.bCheckedAll {
    z-index: 2;
}

[type="checkbox"] + span:not(.lever) {
    line-height: 1.533rem;
    height: 1.533rem;
}
/*badge*/
/*.bTables tr td.has-badge {
    padding-top: 12px !important;
    padding-bottom: 11px !important;
}*/
.bTables tr td.has-badge .badge {
    color: #fff !important;
    height: auto !important;
}
/*select*/
.BDataTable .LengthMenu {
    width: 5rem;
    float: left;
}
/*link-css*/
.link-css:link {
    color: #007BF7;
    background-color: transparent;
    text-decoration: underline;
}

.link-css {
    cursor: pointer;
}

    .link-css:visited {
        color: blue;
        background-color: transparent;
        text-decoration: underline;
    }

    .link-css:hover {
        color: #0056b3;
        background-color: transparent;
        text-decoration: underline;
    }

    .link-css:active {
        color: #007BF7;
        background-color: transparent;
        text-decoration: underline;
    }

.link-document:link {
    color: #fff;
    background-color: transparent;
    text-decoration: underline;
}

.link-document:visited {
    color: #fff;
    background-color: transparent;
    text-decoration: none;
}

.link-document:hover {
    color: cornflowerblue;
    background-color: transparent;
    text-decoration: underline;
}

.link-document:active {
    color: cornflowerblue;
    background-color: transparent;
    text-decoration: underline;
}

/*overlay*/
.BDataTableOverlay {
    position: absolute;
    background-color: #fff;
    opacity: 0.5;
    top: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.BDataTable {
    position: relative;
}

.BDataTableLoadingCircle {
    position: absolute;
    background-color: transparent;
    top: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
}

tbody tr.selected {
    background-color: #ecf436;
}

.BDataTable thead th.has-input {
    padding: 0;
}

    .BDataTable thead th.has-input .input-field {
        margin: 0;
    }

        .BDataTable thead th.has-input .input-field input {
            margin: 0;
            padding-left: 9px;
            padding-right: 9px;
            height: 2.8rem;
        }

.BDataTable thead th.has-icon {
    padding-top: 12px;
    padding-left: 10px;
}

tbody tr.poiter.selected,
tbody tr.poiter.selected:hover {
    background-color: var(--theme-primary-30);
}
.BDataTable tbody td.selected {
    border-top: 1px dashed var(--theme-primary);
    border-bottom: 1px dashed var(--theme-primary);
    /*  border-top: 1px dashed #4887C7;
    border-left: 1px dashed #4887C7;*/
    /*border: 1px double #4887C7;*/
    border-radius: 0;
    background-color: var(--theme-primary-30) !important;
    /*background-color:  aliceblue !important;*/
    padding: 0.643rem 0.5rem;
}

.tcs tbody {
    cursor: cell;
}

.tcs::selection {
    background-color: transparent;
}

.tcs td:not(.tcs-selection-enabled) > *,
.tcs th:not(.tcs-selection-enabled) > *,
.tcs td:not(.tcs-selection-enabled),
.tcs th:not(.tcs-selection-enabled) {
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

    .tcs tr::selection,
    .tcs td:not(.tcs-selection-enabled) > *::selection,
    .tcs th:not(.tcs-selection-enabled) > *::selection,
    .tcs td:not(.tcs-selection-enabled)::selection,
    .tcs th:not(.tcs-selection-enabled)::selection,
    .tcs br::selection {
        background-color: transparent;
    }

    .tcs tr::-moz-selection, .tcs td:not(.tcs-selection-enabled)::-moz-selection, .tcs th:not(.tcs-selection-enabled)::-moz-selection {
        background-color: transparent;
    }

.tcs .tcs-selected:not(.sel-from):not(.tcs-has-input) {
    border: 1px dashed var(--theme-primary);
    /*  border-top: 1px dashed #4887C7;
    border-left: 1px dashed #4887C7;*/
    /*border: 1px double #4887C7;*/
    border-radius: 0;
    background-color: var(--theme-primary-30) !important;
    /*background-color:  aliceblue !important;*/
    padding: 0.643rem 0.5rem;
}

.tcs .has-icon.tcs-selected:not(.sel-from):not(.tcs-has-input) {
    padding: 10px 9px 5px 9px;
}

.tcs .has-icon .material-icons {
    font-size: 23px;
}

.tcs .has-badge .badge {
    line-height: 20px
}

.tcs tbody td {
    outline: none !important;
}

td.tcs-has-input {
    padding: 0;
}

    td.tcs-has-input .input-field {
        margin: 0;
    }

        td.tcs-has-input .input-field input {
            margin: 0;
            padding-left: 9px;
            padding-right: 9px;
            height: 2.8rem;
        }

    td.tcs-has-input.has-icon {
        padding-bottom: 3px !important;
    }

        td.tcs-has-input.has-icon label {
            padding-left: 9px;
            padding-right: 9px;
        }


/*tree table*/
.tree-table-has-icon {
    display: flex;
}

.tree-table-td {
    border: none !important;
    padding: 0 !important
}

.tree-table-item {
    justify-items: center;
    align-items: center;
    display: flex;
    flex: 1;
    height: 2.9285rem;
    padding-left: 5px;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
}

/*cell*/
.cell-disabled {
    background-color: rgba(0, 0, 0, .04);
}

.cell-error {
    border-bottom: 2px solid var(--theme-danger-500) !important;
}

.cell-highlight {
    background-color: #FFFF00!important;
}
.cell-boldtext {
    font-weight: bold !important;
}
.cell-highlight-bg-lightgolden {
    background-color: lightgoldenrodyellow !important;
}

.cell-highlight-bg-lightcyan {
    background-color: lightcyan !important;
}
.action-in-cell {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 7;
}

    .action-in-cell .btn-circle {
        background-color: var(--theme-danger);
        opacity: 0.5;
    }

        .action-in-cell .btn-circle:hover {
            background-color: var(--theme-danger);
            opacity: 1;
        }

    .action-in-cell .material-icons {
        color: #fff;
    }
.grid-image {
    height: 4rem;
    width: 4rem;
}