/* SCROLL E STICKY HEADER*/
.tbl-wrapper {
    overflow: auto;
}
.tbl-sdk thead th {
    position: sticky;
    top: 0;
    background-color: hsl(210, 100%, 29%);
    color: hsl(0, 0%, 100%);
}

/* TABELA BÁSICA */
.tbl-sdk {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
    background-color: hsl(0, 0%, 100%);
}
.tbl-sdk tbody tr:nth-of-type(2n + 1) {
    background-color: hsl(208, 100%, 97%);
}
.tbl-sdk tbody tr:not(.linha-botoes):hover {
    background-color: hsla(201, 92%, 57%, 0.2);
    cursor: pointer;
}
.tbl-sdk tr {
    border-bottom: 1px solid hsl(210, 100%, 29%);
}
.tbl-sdk tr:not(.linha-botoes) td,
.tbl-sdk th {
    text-align: start;
    padding: 6px;
}

/* MULTIPLOS DADOS */
.tbl-sdk td .multiplos-dados-coluna {
    vertical-align: middle;
    min-height: 21px;
}

/* TABELA VAZIA */
.tbl-sdk tbody td.tabela-vazia {
    padding: 12px;
    margin: 0;
    font-weight: bold;
    text-align: center;
}

/* LINHA SELECIONADA */
.tbl-sdk tbody tr.selecionado {
    font-weight: bold;
    background-color: #C7E0F4;
}

/* BOTÕES EM COLUNA */
.tbl-sdk thead th.th-botoes {
    text-align: center;
}
.tbl-sdk tbody td.coluna-botoes {
    text-align: center;
    white-space: nowrap;
}
.tbl-sdk tbody td.coluna-botoes > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.tbl-sdk tbody td.coluna-botoes button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* BOTÕES EM LINHA ÚNICA */
.tbl-sdk tbody tr.linha-botoes td {
    background-color: rgba(30, 30, 30, 0.1);
    padding: 5px;
}
.tbl-sdk tbody tr.linha-botoes td > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    align-items: center;
    gap: 5px;
}
.tbl-sdk tr.linha-botoes button {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* COLUNA CHECKBOX */
.tbl-sdk thead th.th-check {
    width: 1px;
    white-space: nowrap;
    text-align: center;
}

/* MARCADORES */
.tbl-sdk tbody .td-marcador span {
    line-height: 0px;
}

/* ORDENAÇÃO DE TABELA
.tbl-sdk th.sortable {
    cursor: pointer;
}

.tbl-sdk th.sortable span {
    position: relative;
}

.tbl-sdk th.sortable span::after {
    content: "north";
    font-size: 18px;
    font-family: 'Material Icons';
    -webkit-font-feature-settings: 'liga';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.1s;
}

.tbl-sdk th.sortable:hover span::after {
    opacity: 1;
}
*/

/* bs breakpoint lg - 992px */
@media (max-width: 768px) {
    /* THEAD SOME */
    .tbl-sdk thead {
        display: none;
    }
    
    /* TD RESPONSIVA */
    .tbl-sdk tbody .td-responsiva {
        display: flex;
        width: auto !important;
        justify-content: start !important;
        text-align: left !important;
    }
    .tbl-sdk tbody .td-responsive-header {
        display: grid;
        grid-template-columns: minmax(30%, calc(var(--max-chars) * 1ch)) 1fr; /* ch = characters */
        align-items: center;
    }
    .tbl-sdk tbody .td-responsive-header::before {
        content: attr(data-cell) ": ";
        font-weight: bold;
        text-transform: capitalize;
        padding-right: 8px;
    }
    
    /* DISPOSIÇÃO VERTICAL DOS BOTÕES EM COLUNA */
    .tbl-sdk tbody td.coluna-botoes {
        display: flex;
        justify-content: end;
        align-items: stretch;
        padding: 8px;
    }
    
    /* MARCADORES */
    .tbl-sdk tbody .td-marcador {
        display: block;
    }
    
    /* PROGRESS BAR */
    .tbl-sdk .full-progress {
        flex: 1
    }
}

@media (max-width: 425px) {
    /* ESPÇAMENTO ENTRE TDS MAIOR */
    .tbl-sdk tr:not(.linha-botoes) td.td-responsiva {
        padding: 8px 6px;
    }
}.d-flex {

}
