@charset "utf-8";
/* https://www.cleancss.com/css-beautify/ */
:root {
    --header: 90px;
    --header-min: 45px;
}
* {
    box-sizing: border-box;
}
body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#header {
    flex: 0 0;
    width: 100%;
    padding: 100px 1em 1em 1em;
    background: #F1F3F4 url("/assets/logo.png") no-repeat left top;
    border-color: #d5d5d5;
    text-align: center;
}
#header.hamburger {
    flex: 0 0;
    height: var(--header-min);
    min-height: var(--header-min);
    width: 100%;
    padding: 0.2em 0.2em 0.2em 40px;
    background-image: url("/favicon-32x32.png")
}
main {
    flex-grow: 2;
    overflow: auto;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#hamburger{
    display: none;
    float: right;
    width: 40px;
    height: 40px;
    background: url(/assets/arrows-up-to-line.svg) center/25px no-repeat;
}
#header.hamburger #hamburger {
    display: block;
}
#inner {
    height: 100%;
    border: 3px dashed pink;
}

footer {
    flex: 0 0 3em;
    width: 100%;
}

aside {
    flex: 0 0 20vw;
    order: -1;
}
article {
    flex: 1;
    position: relative;
}
.inactive {
    display: none;
}

nav {
    width:100%;
    /*position: absolute;
    top: 0;*/
}
nav li {
    width: 100%;
}
nav form {
    width: 100%;
}
sub {
    float: right;
}
img#kachel1,img#kachel2 {
    width: 100%;
    padding: 0 1rem;
}
img#kachel3 {
    display: none;
    float: right;
}

@media screen and (min-width: 380px) {
    #header {
        min-height: var(--header);
        height: var(--header);
        padding: 0.5em 1em 1em 200px;
    }
}
@media screen and (min-width: 515px) {
    img#kachel1,img#kachel2 {
        width: 300px;
        padding: 0.2rem;
    }
}

@media (min-width: 580px) {
    nav {
        background: #d5dce8;
    }
    nav ul {
        overflow: hidden;
        float: left;
    }

    nav li label,nav li input {
        /*margin: 0 0.2rem 0.5rem 0.2rem;*/
    }
    nav li {
        float: left;
    }
    .right {
        float: right;
    }
    nav form {
        float: right;
    }
}
@media (min-width: 780px) {
    main {
        flex-direction: row;
        flex-wrap:wrap;
        flex: 1;
    }
    nav {
        width: 10em;
        flex:-1;
    }
    nav li label {
        /*margin: 0 0.2rem 0.5rem 0.2rem;*/
    }
    nav li input {
        /*margin: 0 0.2rem 0.5rem 0.2rem;*/
    }
    nav li {
        float: inherit;
    }
    .right {
        float: inherit;
    }
    table {
        width:100%;
    }

}
@media screen and (min-width: 1000px) {
    img#kachel2 {
        display: none;
    }
    img#kachel3 {
        display: block;
    }
}

@media print {
    nav {
        display: none;
    }
}
body{
    font-family: sans-serif;
    color: #333333;
}
footer, article, aside,section {
    padding: 1em;
}
header, nav, main1, article, aside, footer {
    border-radius: 0px 0.5em 0.5em;
    border: 1px solid;
}
input[type="submit"], button {
    border-radius: 0.5em;
    border: 1px solid;
}
section {
    border-radius: 0px 0.5em 0.5em;
    border: 1px solid;
}
nav {
    background: #fffbf0;
    border-color: #e7c157;
}
section {
    background: #F1F3F4;
    border-color: slateblue;
}
main1 {
    background: #c4ced3;
    border-color: #8a9da8;
}
article {
    background: #ffede0;
    border-color: #df6c20;
    /*position: relative;
    top: var(--header);*/
}
aside {
    background: #ebf5d7;
    border-color: #8db243;
}
footer {
    background: #e4ebf2;
    border-color: #8a9da8;
    text-align : center;
    font-size : 0.8em;
    font-style : italic;
}
nav ul {
    list-style-type: none;
    margin: 0.25em;
    padding: 0;
    /*width: 200px;*/
    background-color: #fffbf0;
}

nav li a {
    display: block;
    color: #000;
    padding: 0.5em 1em;
    text-decoration: none;
}
nav li label {
    padding: 0.5em 1em;
}
nav li input {
    margin: 0 0.2rem 0.5rem 0.2rem;
    width: 5rem;
    float: right;
}

form li {
  height: 2.1rem;
}
/* Change the link color on hover */
nav li a:hover {
    background-color: #555;
    color: white;
}
nav .active {
    background-color: #04AA6D;
    color: white;
}
/* PIN-Engabe ohne Zoom */
input {
    font-size: 16px;
}
/* Tabellen responsive https://kulturbanause.de/blog/tabellen-im-responsive-webdesign/ */
/*table {
        width:100%;
}

table, td, tr, th {
        border:2px solid black;
        border-collapse: collapse;
        text-align: left;
}

td, tr, th {
        padding:1em;
}

th {
        background:#eee;
        font-weight: bold;
}*/
/* Kein JavaScript? Info anzeigen */
.no-js #no-js{
    display: block;
}
.js #no-js{
    display: none;
}

h1 {
    margin: 0;
}
h2 {
    /*float: left;*/
    margin: 1em 0;
}
h3 {
    margin: 1em 0;
}

article li {
    display: block;
    color: #000;
    padding: 0.5em 1em;
    text-decoration: none;
}

a{
    text-decoration: none;
    color: #04AA6D;
}
article a:hover {
    text-decoration-line: underline;
}

#kachel1 {
    float: left;
    margin: 10px 10px 10px 0;
}

#kachel2 {
    float: right;
    margin: 10px 0 10px 10px;
}

#demo h1 {
    margin-right: 50px;
}
#demo-refresh {
    position: absolute;
    top: 8px;
    right: 8px;
}
button#auffrischen {
    width: 40px;
    height: 40px;
}

.log-time {
    color: #aaa;
}
.log-trace {
    color: #aaa;
}