.table-wrapper {margin-bottom:20px;}

.table-wrapper table { table-layout: fixed; }

.table-scroll {overflow: hidden auto; max-height: 50vh;}

.table-type-header {margin-bottom: 0;}

.table-type-body {border-bottom: 1px solid #ddd;}
.table-type-body table {border-top: none;}

.w-150 {
    width:150px;
}
.h-300 {
    height: 300px;
}

.dataTables_scrollBody {
    overflow-y:auto;
    overflow-x:hidden !important;
}

.dataTables_horizontal {
    overflow-x:auto;
}

table th, table td {
    white-space: normal !important;
}

.table-scrollable {
    min-height: 70vh;
}
@media (min-height: 1080px){
    .table-scrollable {
        min-height: 80vh;
    }
}
.report-table {
    border-collapse: separate;
    border-spacing: 0;
}

.right-stick {
    position: absolute;
    right:    0;
    bottom:   0;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #e8eaf6;
}

.error-highlight {
    background-color: #f8d7da;
}

.my-custom-scrollbar {
    position: relative;
    height: 200px;
    min-height: 75vh!important;
    overflow: auto;
}
.table-wrapper-scroll-y {
    display: block;
}
.sticky th {
    position: sticky!important;
    position: -webkit-sticky!important; /* Safari */
    background: #e8eaf6;
    top: 0;
    z-index: 1;
}

@media (max-width: 1366px) {
    table {
        width:100%;
    }
    table th, table td {
        white-space: normal !important;
    }
}

/********  стилия для полосы прокрутки *********/

.table-scroll {
    scrollbar-color: #dddddd #ffffff;
    scrollbar-width: auto !important;
}

::-webkit-scrollbar {
    width: 10px !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    border:none !important;
}

::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    border-radius: 9em;
    box-shadow: none !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #dddddd;
}

::-webkit-scrollbar-button:vertical:start:decrement {
    background: linear-gradient(120deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
    linear-gradient(240deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
    linear-gradient(0deg, #fff 30%, rgba(255, 255, 255, 0) 31%);
    background-color: #02141a;
}

::-webkit-scrollbar-button:vertical:end:increment {
    background:
            linear-gradient(300deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
            linear-gradient(60deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
            linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0) 31%);
    background-color: #02141a;
}

::-webkit-scrollbar-button:horizontal:start:decrement {
    background:
            linear-gradient(30deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
            linear-gradient(150deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
            linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0) 31%);
    background-color:#02141a;
}

::-webkit-scrollbar-button:horizontal:end:increment {
    background:
            linear-gradient(210deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
            linear-gradient(330deg, #fff 40%, rgba(255, 255, 255, 0) 41%),
            linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0) 31%);
    background-color: #02141a;
}
tr[data-group-id] {
    cursor: pointer;
}