table { 
    border-collapse: collapse; 
    width: 100%;
}
th, td{ 
    padding: 0.8rem; 
    text-align: center;
}
td input{
    width: 100%;
    border: none;
}
th { 
    background-color: var(--bg-hover);
    border-top:var(--border) ;
}
tr:hover, tr:hover input { 
    background-color: var(--bg-hover);
}
tr.active, tr.active td, tr.active input, tr.active select { 
    background-color: var(--bg-active);
    color: var(--color-active);
}
tr.active option, tr.active option:hover { 
    color: var(--color);
}
tr.active button{
    background-color:var(--bg-hover);
    color:var(--color);
}
div.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    background: var(--bg-hover);
    padding: 0.3rem 2rem;
    font-size: 2rem;
    height: 3.3rem;
}

div.nav div:first-child {
    text-align: left;
    font-size: 1.4rem;
}

div.nav button {
    min-width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    padding: 0px;
    margin: 0 2px;
}

div.nav button.active {
    background-color: white;
    color: var(--button);
    font-weight: 700;
}

div.nav button:hover {
    border: 1px solid var(--button);
}

td.nav {
    padding: 0;
    background-color: var(--bg-hover);
}
.sort-down::after {
    content: " ▼";
    font-size: 0.8em;
    padding-right: 0;
}

.sort-up::after {
    content: " ▲";
    font-size: 0.8em;
    padding-right: 0;
}

th.sort {
    cursor: pointer;
}
th.sort:hover {
    background-color: var(--bg-active);
    color:white
}
