:root {
    --color-ash: #ebe8e1;
    --color-lilac: #d6c8dc;
}

.mg-b-10 {
    margin-bottom: 10px;
}

.mg-t-10 {
    margin-top: 10px;
}

.mg-b-20 {
    margin-bottom: 20px;
}

.mg-t-20 {
    margin-top: 20px;
}

.mg-b-40 {
    margin-bottom: 40px;
}

.mg-t-40 {
    margin-top: 40px;
}

.underline {
    text-decoration: underline;
}

.msg {
    font-size: 0.9em;
}

.contents {
    grid-area: mainpane;
}

.errorlist {
    list-style-type: none;
}

.errorlist li {
    color: darkorange;
    background: var(--color-alert-bg);
    border: 1px dotted darkorange;
    border-radius: 5px;
    margin-bottom: 7px;
    padding: 5px
}

.h-left h3 {
    text-align: left;
    margin: unset;
}

.msg-box {
    border-radius: 5px;
    margin-bottom: 7px;
    padding: 5px
}

.msg-alert {
    color: darkorange;
    background: var(--color-alert-bg);
    border: 1px dotted darkorange;
}

.msg-warn {
    color: maroon;
    background: var(--color-warn-bg);
    border: 1px dotted maroon;
}

.page-headings {
    align-items: center;
    display: flex;
    justify-content: center;
}

.pagination {
    background: #ddf0c7;
    border-radius: 5px;
    display: flex;
    font-size: 0.8em;
    gap: 5px;
    justify-content: space-between;
    padding: 5px;
}

.pagination a {
    border: 1px solid gray;
    border-radius: 3px;
    margin: 2px;
    padding: 0px 5px;
}

.progress-fraction {
    display: flex;
    flex-direction: column;
    font-family: monospace;
    font-size: 1.2em;
    font-weight: bold;
    height: 40px;
    margin: 15px 0px 0px 5px;
    width: 40px;
}

.progress-fraction div:first-child,
.progress-fraction div:last-child {
    align-items: center;
    display: flex;
    flex: 1;
    font-size: 0.8em;
    justify-content: center;
}

.progress-fraction div:first-child {
    background: var(--color-navbar-bg);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: var(--color);
}

.progress-fraction div:last-child {
    background: var(--color);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    color: var(--color-navbar-bg);
}

.wdt-100 {
    width: 100px;
}

.wgts {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
    flex: 1;
}

/*: var(--wgt-unit);*/

.wgt {
    display: flex;
    flex-direction: column;
}

.wgt label, .wgt input {
    display: block;
    text-align: left;
}

.wgt label, .wgt-check label {
    font-size: 0.8em;
}

.wgt input, .wgt select {
    width: 100%;
    padding: 5px;
}

.wgt-text, .wgt-select, .wgt-textarea {
    min-width: var(--lowest-device-width);
    flex: 1;
}

.wgt-number {
    min-width: calc((0.5 * var(--lowest-device-width)) - 20px);
    max-width: var(--lowest-device-width);
}

.wgt-note {
    font-size: 0.7em;
    text-align: left;
}

.gap-c20-r10 {
    column-gap: 20px;
    row-gap: 10px;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.wgt-check {
    display: flex;
    flex-direction: column;
}

.wgt-file {
}

.wgt-fw {
    width: 100%;
}

.wgt-group {
    display: inline;
}

.object {
    align-items: center;
    background: var(--color-ash);
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.95em;
    gap: 7px;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 7px 14px;
}

.code {
    background: var(--color-lilac);
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    padding: 2px 5px;
}

.ctx-pane {
    display: flex;
    font-size: 0.8em;
    font-weight: bold;
    gap: 5px;
    justify-content: flex-start;
}

.ctx-pane .date {
    align-items: center;
    display: inline-flex;
    font-size: 0.85em;
    justify-content: center;
}

.data {
    text-align: left;
}

.submit {
    background: #d1e6a1;
    border-radius: 5px;
    margin: auto;
    padding: 2px 5px;
}

.no {
    background: var(--color-lightred);
}

.yes {
    background: #d1e6a1;
}

.appname {
    font-size: 4em;
    margin: calc(var(--navbar-height) + 30px) auto 15px auto; 
}

.btn {
    align-items: center;
    display: inline-flex;
    border: 1px solid var(--color);
    border-radius: 5px;
    justify-content: center;
    padding: 3px 5px;
    transition: background 0.5s ease;
}

.btn:hover {
    background: black;
    border: 1px solid black;
    color: white;


