#login_form {
    margin: auto;
    max-width: 16em;
    text-align: center;
    top: calc(50vh - 5em);
    position: relative;
}

input {
    padding: .33em;
}

#login_form input {
    margin: .4em;
    padding: .8em;
    border-width: 1px;
}

#login_form button {
    padding: .2em;
    margin: .4em;
}

#login_backdrop {
    width: 100vw;
    height: 100vh;
    display: block;
    position: absolute;
    overflow: hidden;
    z-index: -10;
    top: 0;
}

#login_backdrop::after {
    background-image: url("../img/drop.a8060c5d5726.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 0.5;
    filter: sepia(20%);

    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#login_form p {
    margin: 0;
}

#login_form label {
    display: none;
}

#login_form a {
    text-decoration: none;
}

#login_form a:hover {
    text-decoration: underline;
}

.errorlist {
    color: rgb(215, 75, 75);
    list-style: none;
    padding-left: 0;

}

#login_form .errorlist {
    margin-top: -6em;
}

.errorlist::before {
    content: "⚠️";
}

body {
    /* padding: 1em; */
    background-color: #fafafa;
    transition: background-color .2s ease-in-out;
}

body, h1, h2 {
    font-family: 'Martel', serif;
}

p, input, button, form {
    font-family: 'Lato', sans-serif;
}

body > p {
    max-width: 600px;
    margin: auto;
}

body > h1, body > h2 {
    text-align: center;
}

#center-box {
    margin: auto;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    top: calc(40vh - 6em);
    padding-left: 1em;
    padding-right: .5em;
    max-width: 25em;
}

@media only screen and (max-width: 600px) {
    #center-box {
        top: calc(2em);
    }
}

#top_menu {
    font-family: 'Lato', sans-serif;

    top: .2em;
    /* width: 100%; */
    max-width: 800px;
    text-align: right;
    margin: .4em auto -2em auto;
    margin-right: 1em;

}


#top_menu a {
    display: inline-block;

    text-decoration: none;
}


/* @media (prefers-color-scheme: dark) { */
body.dark {
    /* background: #111; */
    background-color: #110102;
    background-color: rgb(34, 34, 34);
    color: #eee;
}

body.dark a {
    color: inherit;
}

body.dark a:hover {
    color: #fff;
}

body.dark .dygraph-axis-label {
    color: inherit !important;
}

body.dark tr.odd, body.dark tbody.alternate tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, .04) !important;
}


/** ccd */
.db_miss {
    color: red;
}

.db_ok {
    color: lightgreen;
}

.db_miss {
    color: red;
}

.def_miss {
    color: lightyellow;
}

table.ccdTable td {
    vertical-align: top;
    border-top: 1px solid #555;
    padding-top: 1em;
}

table.ccdTable tr:hover, table.ccdTable tr:active {
    background-color: #3a3c3c;
}

/* } */