.ExpandListBox table {
    display: flex;
    flex-flow: column;
    max-height: 100%;
    width: 100%;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 12px;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-collapse: collapse !important;

    --td-padding: 5px;

}

.ExpandListBox table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.ExpandListBox table th,
.ExpandListBox table td {
    border: 1px solid #dee2e6;
    border-bottom-width: 0;
    border-left-width: 0;
}

.ExpandListBox table thead {
    /* head takes the height it requires, and it's not scaled when table is resized */
    flex: 0 0 auto;
    width: calc(100% - 17px);
}

.ExpandListBox table tbody {
    /* body takes all the remaining available space */
    flex: 1 1 auto;
    display: block;
    overflow-y: scroll;
}

.ExpandListBox table tbody tr {
    width: 100%;
}

.ExpandListBox table thead,
.ExpandListBox table tbody tr {
    display: table;
    table-layout: fixed;
}

.ExpandListBox table th, 
.ExpandListBox table td {
    padding: var(--td-padding);
}

.ExpandListBox table tbody tr:hover {
    background-color: rgb(0,0,0,0.08);
}

input.row_checkbox {
    margin-inline: 3px;
    vertical-align: text-bottom;
}

.expandBtn {
    width: 18px;
    height: 18px;
    padding: 0;
    line-height: 0;
    margin-right: 3px;
}