@media only screen and (max-width: 851px) {
    #header-menu {
        display: block;
        align-items: center;
        background: white;
        box-shadow: gray 0px 3px 7px 0px;
    }

    
    div#wrapper {
        width: 100%;
        min-width: 100%;
        padding-top: 20px;
    }
    
    div#title .teilung {
        display: none;
    }
    
    div#header-logo {
        justify-content: center;
    }
    
    div#title a .logo {
        max-width: 480px;
    }
    
    div#header-menu {
        flex-wrap: wrap;
    }

    div#header .mainmenu ul {
        display: block !important;
        margin-right: 0px;
    }

    div#header-menu ul li {
        border-right: none;
    }
    
    .blog div#main > h1 {
        margin-top: 0px;
    }

    p.newsdatum {
        padding: 6px 10px;
    }

    div#header .mainmenu ul li:not(:last-child) {
        border-bottom: 1px solid white;
    }
    
    div#content-area {
        display: inline-flex;
        flex-direction: column-reverse;
        width: 100%;
        max-width: 100%;
    }
    
    div#access {
        margin-top: 40px !important;
        min-width: 100%;
        padding: 0;
    }
    
    div#content-area > div{
        width: 100%;
        margin: auto;
    }
    
    div#main {
        padding: 0;
        flex: 1 1 auto;
        width: 100px;
    }

    div#main > * {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    div#access div.menu, div#access div.menu-header {
        margin-left: 0px;
    }
    
    #burger-menu {
        display: block;
        background: #B91023;
        border: none;
    }
    
    body.open {
        overflow: hidden;
    }

    body.open #header-menu {
        display: block;
        position:fixed;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        overflow-y: scroll;
        background: white;
        z-index: 1;
    }

    body.open #header-menu .mainmenu {
        display: block;
    }

    body.open #header-menu #search-header {
        display: flex;
    }

    div.newsinfo {
        display: block;
    }

    div.newstags ul {
        display: flex;
        justify-content: left;
    }

    #header-menu #search-header,
    #header-menu .mainmenu {
        display: none;
    }
    
    div#search-header {
        background-color:#EAEAEA;
        width: auto;
        flex-direction: row-reverse;
    }

    div#header .mainmenu ul {
        width: 100%;
        text-align: left;
    }

    div#header .mainmenu ul li ul {
        position: relative;
        display: block !important;
        visibility: visible;
        box-shadow: none;
    }
    div#header .mainmenu ul li ul li {
        margin-left: 25px
    }

    p.newsheader {
        display: block !important;
        width: auto !important;;
        text-align: left !important;;
    }

    div#search-header {
        display: flex;
        flex-direction: row-reverse;
        padding: 10px 7px;
    }

    #search-header input {
        height: 30px;
    }

    #search-header form, #search-header input[type=text] {
        width: 100%;
    }

    #search-header input[type=submit] {
        width: 30px;
    }

    .mainmenu ul li > ul li ul {
        left: auto !important;
        font-size: 1em;
    }

    div#access{
        max-width: 100%;
    }

    div.newstext {
        hyphens: auto;
        word-wrap: break-word;
        max-width: calc(100% - 20px);
    }

    div#access div.menu, div#access div.menu-header {
        display: none;
    }

    body.open .menudivider {
        display: block;
        margin: 20px 0px;
    }

    body.open #secondarymenu {
        display: block;
    }

    .noborder th, .noborder td {
        border: none;
        display: block;
        clear: both;
        padding: 0 !important;
    }
}