li.workflow-phase {
    display: none;
}

li.workflow-phase.active {
    display: list-item;
    color: green;
    font-weight: bold;
}

li.workflow-phase.active::after {
    content: "✅";
    padding-left: 0.5em;
}

.projects-table {
    width: 80%;
    max-width: 60em;
}

.sortable-header[data-sort-direction='asc']::after {
    content: "⬆";
    padding-left: 0.5em;
}

.sortable-header[data-sort-direction='desc']::after {
    content: "⬇";
    padding-left: 0.5em;
}

.project-id {
    font-family: 'Courier';
    font-weight: bold;
}

.project-status {
    width: 10em;
}

p.advance-done {
    font-weight: bold;
}

th.sortable-header:hover {
    background-color: lightgrey;
}

.project-id .badge {
    font-family: Helvetica, Arial, sans-serif;
}

.project-add-note-control {
    background-color: inherit;
    border: 0;
}

.project-add-note-control svg {
    height: 1.5em;
    width: 1.5em;
}

.project-latest-notes {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: smaller;

    display: block;
    top: 20px;
    height: 2em;
    overflow-y: hidden;
}

.phasename-progress {
    background-color: #999;
}

#overlay {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;

    width: 50%;

    background-color: #ddd;
    opacity: 85%;
}

.header-id {
    width: 16em;
}

.header-phase {
    width: 8em;
}

.advance-button,
.backtrack-button {
    width: 75%;
}

.backtrack-button {
    margin-top: 0.25em;
    font-family: Helvetica, Arial, sans-serif;
    font-size: smaller;
}

.modified-relative,
.created-relative {
    display: inline-block;
    font-size: x-small;
    break-before: always;
}

.time-tracking {
    font-size: small;
}

.project-add-time-control {
    background-color: transparent;
    border: 0;
}

#time-form {
    font-size: small;
}

#time-form input {
    border: 0;
}

@media all and (max-width: 1024px) {
    td {
        font-size: smaller;
    }
}
