.table-container {
    width: 100%;
    overflow-x: auto;
    max-width: 100%;
}

    .table-container::-webkit-scrollbar {
        background: transparent; /* Chrome/Safari/Webkit */
        width: 0px;
    }

/* allows menus to pop in elements with hidden  */
.table-container:has(.menu-down) {
    overflow: visible;
}

table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin: 2em 0;
    line-height: 1;
}

th, td {
    padding: 0.96875em 1em;
}

td.date {
    white-space: nowrap;
}

.td-date-container {
    min-width:unset;
}
.tr-withlink {
    cursor:pointer;
}

.table-heading {
    display: flex;
    align-items: center;
    column-gap: 0.5em;
}

.table-sort-icons {
    display: flex;
    flex-direction: column;
    row-gap: 0.1em;
    flex-shrink: 0;
}

.table-sort-icons img {
    --table-sort-icon-size: 0.5em;
    width: var(--table-sort-icon-size);
    height: var(--table-sort-icon-size);
}

tbody tr {
    border-top: 1px solid var(--light-grey2);
    border-bottom: 1px solid var(--light-grey2);
}

tbody tr:nth-child(2n + 1) {
    background-color: var(--light-grey1);
}

/* Table Navigation */

.table-nav-text {
    color: var(--black);
}

.table-nav-prev-button {
    border-radius: 0.5em 0 0 0.5em;
}

.table-nav-prev-button, .table-nav-next-button {
    padding-left: 1em;
    padding-right: 1em;
    max-height: 2.5rem;
}

.table-nav-page-button {
    border-radius: 0;
    border-color: var(--light-grey2);
/*    padding: 0;*/
    width: 2.5rem;
    height: 2.5rem;
}

.table-nav-next-button {
    border-radius: 0 0.5em 0.5em 0;
}

.table-row-link {
    text-decoration: underline;
}

/*.four-button-group {
    min-width: 10em;
}

.three-button-group {
    min-width: 7.5em;
}
*/
td:has(.icon-button-container) {
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 1200px) {
    .td-date-container {
        min-width: 14em;
    }
}
