.mobilenav {
    display: none;
    position: absolute;
    width: 100%;
    max-width: 100vw;
    top: 70px;
    left: 0;
    z-index: 3047;
}
.mobilenav .buttonbg {
    text-align: right;
    position: absolute;
    width: 100%;
}

.navbar-toggler {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.1);
    margin-right: 1rem;
}

.navbar-toggler-icon {
    background-color: currentColor;
    width: 22px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
    margin-top: 12px
}

#header.fixed-theme  .navbar-toggler {
    background-color: rgba(82,144,196,1);
}

.navbar-nav {
    background: rgba(82,144,196,0.95);
    height: calc(100vh - 68px);
    overflow-y: scroll;
}
.navbar-nav li {
    text-align: center;
    border-bottom: 1px solid white;

}
.navbar-nav a {
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar-nav li.subnav {
    border: unset;
}

.navbar-nav .subnav a {
    font-size: 90%;
    text-transform: unset;
}

@media screen and (max-width: 1440px) {
    .nav-container ul.dropdown {
        padding-right: 3vw;
    }
    ul.dropdown li.toplevel {
        padding: 0 1%;
    }
}
@media screen and (max-width: 1366px) {
    .nav-container ul.dropdown {
        padding-left: unset;
        padding-right: unset;
    }
    .frame,
    .dfcontentslide-wrap
    {
        margin: 0 2rem;
    }
    .dfcontentslide-wrap {
        margin-bottom: 1.5rem;
    }
    .dfcontentslide-content {
        font-size: unset;
    }
    .content .frame-layout-12 {
        margin-right: unset !important;
    }
    .frame-layout-14 {
        max-width: 380px;
        margin-right: 0;
    }

    .carousel-small .item {
        margin-left: unset;
    }
}

@media screen and (max-width: 1279px) {
    .news .panel-title h3 > a:first-of-type:after {
        display: none;
    }
}

@media screen and (max-width: 1112px) {
    body {
        font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1600 - 300))) !important;
    }

    .nav-container ul.dropdown {
        /*justify-content: unset;*/
    }

    .dropnav-container {
        margin-left: -2.5rem;
    }

    .h4, h4 {
        margin-bottom: 0.9rem;
    }

    .content.float-only {
        max-width: unset;
    }

    .content.float-only .frame.frame-type-shortcut {
        margin-bottom: 5em
    }

    .has-icon a:before {
        width: 25px;
        height: 15px;
        margin-right: 0.4rem;
        background-size: 25px 15px;
    }

    .frame.frame-default,
    .frame.frame-type-text
    {
        padding-bottom: 0;
    }

    .frame-layout-4 p {
        margin-bottom: 0.5rem;
    }
    .frame-layout-4 .shortcut-list .media-list,
    .frame-layout-12 .shortcut-list .media-list {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    }

    .frame-layout-4 .shortcut-list .list-group-item, .frame-layout-12 .shortcut-list .list-group-item {
        min-width: unset;
        margin: 0 0 3rem 0;
    }

    .title-container {
        min-width: 360px;
    }

    ul.dropdown li.toplevel {
        padding: 0 0 1.5rem 0;
    }
    .banner-container .fader {
        max-height: 25vh;
    }

    .hh-slider figcaption .frame {
        font-size: 80%;
        width: 60%;
        background: rgba(255,255,255,0.85);
    }

    .title {
        white-space: unset;
    }

    .carousel-small.event-boxes .carousel-inner:first-child {
        padding-left: 3rem;
    }

    .frame.frame-type-header {
        margin-top: 2rem;
    }

    .femanager_list .list-group-item {
        flex-direction: column;
    }

    .content .frame-layout-12,
    .content .frame-layout-13 {
        margin-top: 1rem;
    }
    .frame-layout-14 {
        max-width: 300px;
        min-width: unset;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    .card-group-element-columns-2 {
        margin: 2rem auto 0 -3rem;
    }

    .card-group-element-columns-2 .card-group-element-item {
        padding: 0 3rem;
    }

    .frame.frame-space-after-large {
        margin-bottom: 2rem
    }

    .timeline-item-inner {
        margin: 1rem !important;
    }

    .footer-container .content {
        width: 100%;
    }

    .dp--overlay {
        font-size: 60%;
    }
    .cc-revoke, .cc-window {
        font-size: 90%;
    }
    .cc-floating.cc-theme-edgeless .cc-message {
        margin: 0.5rem 1rem;
    }
    .dp--cookie-check {
        max-width: unset;
        margin-top: 0;
    }

    .dp--cookie-check label {
            text-overflow: unset;
            white-space: unset;
            float: left;
            margin: 0;
        }

        .cc-compliance {
            margin-right: unset;
        }
    .cc-btn {
        min-width: unset;
    }
}


    @media screen and (max-width: 834px) {
        .nav-container ul.dropdown {
            display: none;
        }

        .mobilenav {
            display: inline-block;
        }

        .dropdown {
            display: none;
        }

        .hh-slider header {
            min-width: 55%;
        }

        .h4, h4 {
            margin-bottom: 0.3rem;
        }

        .content.float-only .icongroup-columns-3 .icongroup-item {
            width: calc(100% / 1);
        }

        .frame.frame-type-header {
            margin-top: 1rem;
        }

        .layout-14 {
            max-width: 230px;
        }
        .frame,
        .dfcontentslide-wrap
        {
            margin: 0 1rem;
        }
        .content.float-only .frame {
            margin: 0 1rem;
        }

        ul.ce-layout-7,
        .frame-layout-7  .tx-events2 .list {
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        }
    }

@media screen and (max-width: 768px) {
    .banner-container .fader {
        max-height: 20vh;
    }

    .timeline-item-inner {
        margin: 0 !important;
    }
}

@media screen and (max-width: 736px) {
    .content-container {
        position: relative;
    }
    #right {
        float: none;
        width: inherit;
        font-size: unset;
    }
    #right.float-only {
        max-width: 70%;
        margin: 0;
    }

    .content.float-only {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    #right.float-only {
    order: 100;
    }

    .footer-container .frame-type-menu_pages:not(.cat-mobil) {
        display: none;
    }
}

@media screen and (max-width: 667px) {
    #right.float-only {
        max-width: unset;
    }
     .textmedia, .textpic {
        margin-left: unset;
        margin-right: unset;
    }
    .textmedia.textmedia-right, .textpic.textpic-right {
        flex-direction: column-reverse;
        flex-direction: row-reverse;
    }

    .textmedia-item.textmedia-gallery {
        width: 30%;
    }
    .textmedia-item.textmedia-text {
        width: 65%;
    }

    .textmedia-right .textmedia-gallery .gallery-item,
    .textpic-right .textpic-gallery .gallery-item {
        padding-right: unset;
        padding-left: 1rem;
    }
    .content figure img,
    .content figure picture {
        max-width: 100vw;
    }
}

@media screen and (max-width: 430px) {
    .mobilenav {
        top: 40px;
    }
    .nav-container {
        display: grid;
        grid-template-columns: 100%;
        top: 0;
        height: 80px;
    }

    #logo img {
        max-width: 60px;
        width: auto;
    }

    #header.fixed-theme #logo a {
        background-size: contain;
        max-height: 60px;
        margin-top: 10px;
    }

    .hh-slider header {
        min-width: 85%;
        bottom: 2rem;
    }

    .hh-slider figcaption .frame {
        position: unset;
        width: 100%;
        right: unset;
        background: rgba(120,120,120,0.1);
    }

    .hh-slider .ce-bodytext {
        position: relative;
        width: unset;
        bottom: unset;
        min-height: auto;
        right: unset;
    }

    .hh-slider .list {
        min-height: unset;
    }

    .hh-slider .pagination {
        bottom: -1rem;
        bottom: auto;
        top: 40vw;
    }

    #right.float-only {
        margin-left: unset;
    }
    .losung-container {
        width: 80%;
    }
    .tnav:not(.internnav) {
        display: none;
    }

    .content-container {
        margin-top: 2rem;
    }


    .textmedia-right .textmedia-item,
    .textpic-item,
    .textmedia-right .gallery-item,
    .textpic-right .gallery-item
    {
        padding-right: unset !important;
        padding-left: unset !important;
    }

    .textmedia-item, .textpic-item {
        padding-right: unset !important;
    }

    .textmedia.textmedia-right, .textpic.textpic-right {
        flex-direction: column-reverse;
    }

    .textmedia-item.textmedia-gallery {
        width: unset;
    }
    .textmedia-item.textmedia-text {
        width: unset;
    }

     .embed-responsive {
         max-width: 90% !important;
         margin-left: 1rem;
         margin-top: 1rem;
    }

    .gallery-item-size-3 {
        width: 100%;
    }

    #right .video .embed-responsive {
        max-width: unset !important;
    }
    .tx-events2 .event-description {
        padding-left: 0.5rem;
    }

    .carousel-small .carousel-inner:first-child {
        padding-left: unset !important;
    }
    .shortcut-list  .media-object {
        max-width: 100px;
    }

    .news-content-container {
        max-width: unset;
    }

    .news-single .article .news-img-wrap {
        max-width: 100%;
        margin: 0;
        float: none;
    }

    .tx-events2 .event-description img {
        width: 100%;
    }

    .content .frame-layout-12,
    .content .frame-layout-13 {
        max-width: unset;
        margin-right: 2rem !important;
    }

    .frame-layout-14 {
        width: 100%;
        max-width: 85%;
        min-height: 168px;
        margin-bottom: 1rem !important;
    }

    .frame-layout-14 .element-header::before {
        max-width: 80px;
    }

    .card-group-element-columns-2 {
        margin: unset;
        max-width: unset;
    }

    .card-group-element-columns-2 .card-group-element-item {
        padding: 0;
    }

    .footer-container .content {
        margin: 0 0.5rem;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }

        .footer-container .title-container {
        position: unset;
    }

    .footer-container .tt_address_list .address {
        min-height: unset;
    }
    
    .footer-container .iconnav {
        /*margin-bottom: 2rem;*/
        display: flex;
    }
    .iconnav li {
        margin-bottom: 0.5rem;
    }
    .nav.right {
        bottom: 0;
    }
}

@media screen and (max-width: 375px) {
    .hh-slider .pagination {
        /*top: 18vh;*/
    }
    .footer-container .title {
        margin-left: 1vw;
    }
    .frame.frame-type-shortcut {
        margin-left: 0rem !important;
        margin-right: 0rem !important;
    }

    .frame.frame-type-shortcut.frame-layout-4,
    .frame.frame-type-shortcut.frame-layout-12,
    .frame.frame-type-shortcut.frame-layout-18
    {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .frame-layout-14 {;
        max-width: 95%;
    }
    .frame:not(.frame-type-hhslider_hh_slider),
    .frame.frame-type-shortcut .dfcontentslide-wrap {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .frame:not(.frame-type-shortcut) .dfcontentslide-wrap {
        margin-left: 1rem !important;
        margin-right:1rem !important;
    }


}

/* Bigscreens */
@media screen and (min-width: 1800px) {
    .frame:not(.frame-type-ctiframe) {
        margin-left: 20rem;
        margin-right: 20rem;
    }
    .frame.frame-type-hhslider_hh_slider {
        margin: 0;
    }

    .frame.frame-type-hhslider_hh_slider figcaption .frame {
        margin: unset;
    }
    .dfcontentslide-wrap .frame {
        margin: unset;
        padding: 0 1rem;
    }
    .dfcontentslide-wrap {
        margin: 0 20rem 2rem 20rem;
    }
    .textmedia-right .textmedia-item,
    .textmedia-right .textpic-item{
        width: 70%;
    }
    .textmedia-right .textmedia-gallery,
    .textmedia-right .textpic-gallery
    {
        width: 30%;
    }

    .content .textmedia figure img,
    .content .textpic figure img {
        max-width: 400px;
    }

    .frame.frame-type-header.frame-layout-7 {
        margin-top: 3rem;
    }

    .frame-layout-16 .textmedia-text,
    .frame-layout-16 .textpic-text {
        padding-left: 6vw;
    }

    #right header {
         height: 3.5rem;
    }

}