:root {
    color: #333333;
    font-family: sans-serif;
    font-size: 12px;
}

header {
    margin-bottom: 2rem;
}

input[type=date] {
    margin: 0.2em;
}

::-webkit-calendar-picker-indicator {
    margin-inline-start: 0;
}

table {
    border-collapse: collapse;
}

table thead {
    color: white;
    background-color: var(--secondary);
}

/*table tbody tr:nth-child(odd) {*/
/*    background-color: #cccccc;*/
/*}*/

td, th {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
}

.menubar {
    display: flex;
    justify-items: flex-start;
    align-items: center;
    color: white;
    background-color: var(--primary);
    font-size: 1.25rem;
}

.menubar input[type=date] {
    width: 10em;
}

.menubar--item {
    padding: 0em 1em;
    cursor: pointer;
    overflow: hidden;
}

.menubar--item .title {
    padding: 0.25em;
    border: 1px solid transparent;
    border-bottom: none;
    transition-property: border-color, background-color, color;
    transition-timing-function: step-end;
    transition-duration: 0.5s;
}

.menubar--item:hover .title {
    border-color: var(--secondary);
    background-color: white;
    color: var(--secondary);
    transition-timing-function: step-start;
}

.menubar--item .title.active {
    color: var(--secondary);
}

.menubar--item .dropdown {
    overflow: hidden;
    max-height: 0;
    position: absolute;
    transition-property: max-height;
    transition-duration: 0.5s;
    border: 1px solid transparent;
    border-top: none;
    transition: max-height 0.5s, border-color 0.5s step-end;
    cursor: auto;
}

.menubar--item ul {
    list-style-type: none;
    background-color: white;
    color: #333333;
    margin: 0;
    padding: 0.5em;
}

.menubar--item .dropdown label, .menubar--item .dropdown input {
    cursor: pointer;
}

.menubar--item:hover .dropdown {
    border-color: var(--secondary);
    max-height: 10000px;
    transition: max-height 0.5s, border-color 0.5s step-start;
}

.filter-summaries {
    display: flex;
    flex-wrap: wrap;
    margin-left: 1em;
}

.filter-summary::after {
    margin: 0 0.5em 0 0.25em;
    content: "»";
}

.filter-summary:last-of-type::after {
    content: "";
}

button {
    border-radius: 0;
    border: none;
    color: white;
    background-color: var(--secondary);
    padding: 0.25em 1em;
    cursor: pointer;
}

button:hover {
    background-color: var(--primary);
    color: white;
}

button:disabled {
    opacity: 0.5;
}