/*
table {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 42px);
    color: var(--txt);
    font-size: 1rem;
    border-collapse: collapse;
    border-radius: 0 0 8px 8px;
    table-layout: fixed;
}*/

table {
    display: flex;
    flex-direction: column;
    height: calc(100% - 42px);
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

thead,
tfoot {
    flex: 0 0 auto;
    /* background-color: var(--hdr_bkgr);*/
}

tfoot {
    border-radius: 0 0 8px 8px;
}



/*
tbody {
    flex: 1 1 auto;
    background-color: var(--tbl_bkgr);
    overflow-y: auto;
}*/

/* 3. Make tbody the sole scroll container */
tbody.tbody_target {
    display: block;
    flex: 1 1 auto;
    background-color: var(--tbl_bkgr);
    overflow-y: auto;
    min-height: 0;
}

thead tr,
tbody tr,
tfoot tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-style: hidden;
}

tbody.tbody_target tr {
    display: table;
    /* Preserves table row layout inside block tbody */
    table-layout: fixed;
    width: 100%;
}

thead tr,
tbody tr {
    border-bottom: none;
    box-shadow: 0 1px 0 0 var(--line);
}

tfoot tr {
    /*  display: grid;*
    /*  grid-template-columns: 100%;*/
    height: 42px;
    line-height: 42px;
    text-align: left;
    border-top: 1px solid var(--line);
}

th,
td {
    height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box
}

th {
    line-height: 42px;

}

thead th {
    text-align: left;
    /*   color: var(--tbl_thead_txt);*/
}

table,
th,
td {
    box-sizing: border-box;
}

tr.selected {
    background-color: var(--tbl_sel_bkgr);
    color: var(--tbl_sel_txt);
}

tr:focus {
    outline: none;
    box-shadow: none;
}

td.count {
    color: var(--txt);
}

.loading {
    margin-left: 20px;
    fill: hsl(270, 50%, 50%);
    width: 50px;
    height: 10px;
}

.hline {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
}


.hline .box_right,
.hline .box_left {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1px;
    height: 100%;
}

.back_icn {
    display: none;
    align-items: center;
    position: relative;
    text-decoration: none;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 25%;
    stroke-width: 2px;
    fill: none;
    stroke: var(--txt);
}

/*
.row-item {
  margin: 10px 0;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}*/

/* standard formatting for bars */
/* left box inside header
.box_left {
    display: flex;
    height: 42px;
    color: var(--hdr_txt);
} */