@charset "UTF-8";


/* Navigation */
.site-nav {
    position: sticky;
    top: 0;
    padding: 0;
}

.site-nav ul{
    display: flex;
    flex-flow: column;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.site-nav a{
    display: block;
    text-decoration: none;
    background: #800000;
    color: #ffffff;
    padding: 0.5rem 1rem;
}

.site-nav a:focus{
    color: #ffffff;
    background-color: #a00000;
}

.site-nav a:hover{
    color: #ffffff;
    background-color: #a00000;
}

.current a{
    color: #ffffff;
    background-color: #660000;
}

.menubutton{
    display: flex;
    align-items: center;
    cursor: pointer;
    background: inherit;
    color: #ffffff;
    font: inherit;
    text-align: center;
    padding: .5rem 0;
    border: 0;
    margin: 0;
}

.menubutton::before {
    content: url(../button/menuburger.svg);
    width: 2rem;
    height: 2rem;
    padding: .5rem 1rem .5rem 1rem;
    margin-right: .5rem;
}

.showmenu + ul{
    max-height: 100rem;
    transition:  max-height 500ms;
    overflow: initial;
}

.showmenu.menubutton::before{
    content: url(../button/menuclose.svg);
    width: 1rem;
    height: 1rem;
}

/* @media*/
@media screen and (min-width: 70em){
    .menubutton { 
    display: none !important;
}
    .site-nav {
    position: sticky;
}
    .site-nav ul {
    max-height: none !important;
    flex-flow: row;
    padding: 0;
}
    .site-nav li {
    flex: 1;
    max-width: 12rem;
    text-align: center;
}
.site-nav a{
    margin-right: 0;
    padding:1rem;
}
body{
    max-width: 75%;
    font-size: 1rem;
}
main{
    padding: 1rem 5rem 1rem 5rem;
}

table{
    display: table;
    border-collapse: collapse;
    width: 100%;
    white-space: normal;
}

thead{
    background-color: #f5deb3;
    display: table-caption;
}

tbody{
    background-color: #fff8dc;
}

th, td{
    display: table-cell;
    text-align: left;
    vertical-align: top;
    padding: .5rem 1rem .5rem 1rem;
}

tr{
    display: table-row;
    text-align: left;
    vertical-align: top;
    padding: .5rem 1rem .5rem 1rem;
}

td:last-child {
	width: 75%;
}

figure{
    float: left;
    margin-left: 2.5rem;
}

address{
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.5rem;
    padding: 0;
    margin-left: 2.5rem;
}

.h5kontakt{
    font-size: 1.375em; /* = 22px */
    margin-bottom: 1.125em;
    margin-top: 1.125em;
    margin-left:2.5rem;
}

.site-footer li{
    max-width: 20rem;
}
}
