/* Фиксируем шапку */
table.table--fixed-head,
table.table--fixed-head {
    overflow: auto;
    position: relative;
}

table.table--fixed-head tbody tr:first-child,
table.table--fixed-head thead tr {
    position: sticky;
    top: 0;
    z-index: 1;
    border: none;
    -webkit-box-shadow: 0 10px 15px rgba(207, 218, 229, 0.4);
    box-shadow: 0 10px 15px rgba(207, 218, 229, 0.4);
}

table.table--fixed-head tbody tr:first-child td,
table.table--fixed-head thead tr th {
    outline: 1px solid #E8ECEF;
    border: none;
}

/*сворачивание более 10 строк таблицы*/
[data-table-limit-row="table"]:not(.show-row) tr:nth-child(n+11):not([data-table-limit-row="button-wrap"]) {
    display: none !important;
}

[data-table-limit-row="table"] [data-table-limit-row="button-wrap"] td {
    padding: 0 !important;
}

[data-table-limit-row="button"] {
    display: block;
    padding: 15px !important;
    margin: 0 auto;
}

/* сворачивание отдельных строк */
[data-table-toggle-row]:not(.show-row) {
    display: none !important;
}

[data-table-toggle-row-title] td:last-child {
    position: relative;
    padding-right: 50px !important;
}

[data-table-toggle-row-title] td:last-child::before {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    content: "\e919";
    font-family: "bankiros";
    right: 15px;
    top: 50%;
    font-size: 16px;
    color: #9299A2;

    -webkit-transform: translateY(-50%) rotate(-90deg);
    -ms-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
    -webkit-transition: transform 0.25s;
    -o-transition: transform 0.25s;
    -webkit-transition: -webkit-transform 0.25s;
    transition: -webkit-transform 0.25s;
    transition: transform 0.25s;
    transition: transform 0.25s, -webkit-transform 0.25s;
}

[data-table-toggle-row-title].show-row td:last-child::before {
    -webkit-transform: translateY(-50%) rotate(90deg);
    -ms-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(90deg);
}