@media (max-width: 667px) {
    #headersection {
        height: 50px;
    }


}

@media (max-width: 991px) {

    #tvf {
        padding:0 20px
    }


    .all_nav {
        padding-top: 25px;
    }

    #pageheader img {
        margin: 0;
        width: 230px;
        height: auto;
    }

    #headerimage .imageoverlay {
        font-size: 16px;
        padding: 5px
    }

    #bottomsitemap {
        display: none;
    }

    .dropdown-menu {
        border: 0;
        background-color: transparent;
    }

    li.nav-item ul {
        padding-left: 20px;
    }

    .owl-prev, .owl-next {
        position: absolute;
        top: 50%;
    }

    .owl-carousel .owl-item div.hf img {

    }

    /* Logo_________________________________________*/
    .logowrap {
        display: none;
    }

    #logo {
        width: 80%;
        height: auto;
    }

    /*Footer_______________________________________________*/
    #ende IMG {
        width: 100%;
        margin-bottom: 14px;

    }

    #servicenavigator {
        border-left: 0px;
        padding-left: 0px;
    }

    #infobereich {
        margin-top: 20px;
    }

}

@media (min-width: 768px) {

    #textcontent {

    }

    #contentwrap .inner {
        margin-top: 5px;
        padding-bottom: 60px;
        padding-top: 20px;

    }

    .news-single h1, .news-single .teaser-text, {
        text-align: center;
    }

    .narrow #textcontent, .news-single-textcontentwrap {
        padding-left: 20%;
        padding-right: 20%;
    }

    .narrow #textcontent .news-text-wrap {
        padding-left: 10%;
        padding-right: 10%;
    }

    .owl-prev, .owl-next {
        /*top: 40%;*/
    }

    .owl-carousel .owl-item div.hf img {

    }

    #pageheader img {

    }

    .mobileonly {
        display: none;
    }

    .startslider .owl-dots .owl-dot span {
        width: 15px;
        height: 15px;

    }

    .navplus {
        display: none;
    }

    .nav-link-sm {
        padding-left: 0 !important;
        padding-right: 0 !important;

    }

}

@media (max-width: 767px) {

    #headersection {
        height: 50px;
    }

    li.nav-item {
        border-bottom: 1px solid #ccc;
    }

    .navplus {
        position: absolute;
        right: 0;
        top: 15px;
        font-size: 14px;
    }

    .box, .autobox {
        margin-top: 20px;
    }

    .autobox p {
        display: none;
    }

    .autobox {
        border: 0;
        padding: 0;
    }

    .autobox h2 {
        font-size: 20px;
        border: 3px solid #e30613;
        padding: 6px 12px 6px 12px;
        color: #e30613;
        text-transform: uppercase;
        font-weight: 600;
        background-color: #fff;
        border-radius: 0;
    }

    .text-center {
        text-align: left !important;
    }

    .hparticle.mit_bild {
        min-height: 0;

    }

    .hparticle.mit_bild .teaser-text {
        padding-bottom: 50px;
        display: inline-block;
    }

    #textcontent {

    }

    .news-single h1, .news-single .teaser-text {
        text-align: left;
    }

    .startslider .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;

    }

    .textchart {
        padding: 40px 20px 80px 20px

    }

    .textchart .main {
        font-size: 1.8em;
        line-height: 1em;
        display: inline-block;
        margin-bottom: 20px;
    }

    .textchart .subheader {
        font-size: 1.2em;
        line-height: 1em;
        margin-bottom: 0.5em;
        display: inline-block;
    }

    #contentwrap .inner {
        margin-top: 5px;
        padding-bottom: 10px;
        padding-top: 15px;

    }

    .mobileonly {
        display: block;
    }

    .desktoponly {
        display: none;

    }

    .dienstanschrift, .buergerbuero {
        display: none;
    }

    /* Kopf_Logo_Nav_________________________________________*/
    #pageheader img {

    }

    .row_suche, .col_socialmedia {
        display: none;
    }

    #contentwrap {
        padding-top: 10px !important;

    }

    #pageheader {
        background-position: 20px 20px, left center;
        background-repeat: no-repeat;
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 0px;
        padding-bottom: 0px;

    }

    /* ENDE Kopf_Logo_Nav_________________________________________*/
    h2 {
        font-size: 1.4rem !important;
    }

    h3.folder {
        font-size: 18px;
        padding-right: 50px;
    }

    /* Navigation_________________________________________*/
    #mainNav {
        background-color: #fff;
        text-align: left;
        width: 100%

    }

    #mainNav #topnav {
        float: left;
        width: 95%;
        margin-right: 15px;

    }

    #navButton {
        background-color: #0077AB;
        display: block;
        color: #fff;
        height: 50px;
        width: 50px;
        width: 50px;
        padding: 0px;
        border: 0;
        border-radius: 0;
        position: absolute;
        top: -0px;
        right: 0px;
        z-index: 100;
        font-size: 24px;

    }

    #navButton a {
        color: #fff;
    }

    .offcanvas-collapse {
        z-index: 10000;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 100%;
        width: 100%;
        overflow-y: auto;
        visibility: hidden;
        background-color: #fff;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: left, visibility;
    }

    .offcanvas-collapse.open {
        top: 100px;
        left: 0%;
        visibility: visible;
    }

    .mobilesearch {
        background-color: transparent;
        padding: 20px 0px 15px 0px;
        color: #1d1d1d;
        border-bottom: solid 1px #fff;
        border-top: solid 1px #fff;
    }

    .mobilesearch button, .mobilesearch button:focus {
        border: 0;
        background-color: transparent;
        color: #FFFFFF;
        padding: 2px 0px 0px 3px;
        font-size: 24px;
        float: left;

    }

    button.navbar-toggler:active, .folder button {
        outline: none;
        border: none;
    }

    button.navbar-toggler:focus, .folder button:focus {
        outline: 0;
    }

    .mobilesearch .form-control {
        height: auto;
        padding: 3px 5px 1px 5px;
        width: 80%;
        float: left;
        margin-right: 5px;
    }

    .mobilelanguage {
        padding: 15px 5px 10px 0px;
        background-color: transparent;
        color: #FFFFFF;

    }

    .icon-leichte_sprache {
        color: #fff;
        display: inline-block;
        margin-right: 5px;
        margin-left: 5px;

        font-size: 24px;

    }

    .navbar {
        padding: 0;
    }

    .navbar-nav {
        margin-top: 22px;

        width: 100%;
    }

    .nav-item {
        margin-bottom: 0px;
        padding-left: 20px;
    }

    #mainNav a {
        font-size: 1.1em;
        margin-right: 17px;
        margin-left: 17px;
    }

    .logowrap {
        display: none;
    }

    #logo {
        width: 80%;
        height: auto;
    }

    /*Footer_______________________________________________*/
    #ende IMG {
        width: 100%;
        margin-bottom: 14px;

    }

    #servicenavigator {
        border-left: 0px;
        padding-left: 0px;
    }

}

@media (min-width: 992px) {

    .imageoverlay .innername {
        padding-left: 60px;
    }

    #mainNav li {
        border: 0;
        border-bottom: 0;

    }

    #mainNav li li {
        border: 0
    }

    #mainNav li.haschildren.selected {
        border: 1px solid #0077ab;
        border-bottom: 0;
        border-top: 4px solid #0077ab;
        background-color: #fff;

    }

    .haschildren.selected a.nav-link {
        background-color: #fff;
        z-index: 0;

    }

    .haschildren.selected .dropdown-menu a {
        height: auto
    }

    #mainNav li.active li {
        border: 0
    }

    .dropdown-menu {
        background-color: #fff;
        min-width: 250px;
        border-radius: 0;
        margin-top: -1px;
        margin-left: -1px;
        border: 1px solid #0077ab;
        z-index: -1;
        background-color: #ffff;
        padding: 0;

    }

    /*
        #mainNav li .dropdown-menu li:first-child{
            border-top: 1px solid #0077ab;
        }
    */
    #topnav {
        background-color: transparent;
    }

    .img-fluid {
        margin: 5px 0 0px 0;
    }

    #ajaxcontainer {
        padding-top: 50px;
    }

    #contentwrap {

    }

    .owl-carousel .owl-item div.hf img {

    }

    .owl-prev, .owl-next {
        /*top: 30%;*/
    }

}

@media (min-width: 1200px) {

    .imageoverlay .innername {
        padding-left: 70px;
    }

    .owl-carousel .owl-item div.hf img {
        height: 480px;

    }

    .hparticle.mit_bild {
        min-height: 450px;

    }

}

@media (min-width: 1500px) {

    .imageoverlay .innername {
        padding-left: 90px;
    }

    .container {
        max-width: 1440px;
    }

    .owl-stage-outer {
        /*height: 670px*/
    }

    #hpslider .owl-stage-outer {
        /*height: 570px;*/
    }

    .owl-prev, .owl-next {
        top: 50%;
    }

    .owl-carousel .owl-item div.hf img {
        height: 613px;

    }

}

@media (max-width: 768px) {

    .news-img-wrap {
        float: none;
        margin-top: 0;
        margin-right: 0px;
        margin-bottom: 20px;
        width: 100%;

    }

    #ende .col-12 {
        margin-bottom: 14px;

    }

    .img-fluid {
        margin: 0 0 5px 0;
    }

    .owl-prev, .owl-next {
        position: absolute;
        top: 45%;
    }

    .owl-stage-outer .personwrap {
        height: auto;
        padding: 15px 15px 15px 15px;
        margin-bottom: 20px;

    }

    .personsliderwrap {
        margin-right: 30px;
        margin-left: 30px;
    }

    footer .content_right {
        text-align: center;
    }

    footer .content_left {
        display: none;
    }

    .hparticle {
        border-top: 0;
        margin-top: 10px;

    }

    .card-body {
        padding: 15px;
    }

    .col {
        margin-top: 10px;
        width: 100%;
    }

    .hparticle {
        min-height: 200px
    }
}

@media (max-width: 991px) {

    .tt_address_detail {
        margin-top: 0px;
    }

    .hparticle {
        min-height: 180px
    }

    .news-img-wrap {
        float: none;
        margin-top: 0;
        margin-right: 0px;
        margin-bottom: 20px;
        width: 100%;

    }

    .article .col-sm-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .article .col-sm-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    #mainNav a {
        margin-right: 10px;
        margin-left: 10px;
    }

    #suchbox::before,
    #suchbox::after {
        content: " ";
        display: table;
    }

    #suchbox .form-control {
        width: 82%;
    }

    #suchbox::after {
        clear: both;
    }

    #contentwrap {
        padding-top: 20px;
    }

    #suchbox {
        padding: 10px;
        margin-right: -15px;
        margin-left: -15px;
    }

    .frame-layout-1 {
        margin-right: -15px;
        margin-left: -15px;
    }

    #mobile {
        display: block;
    }

    #suchbox, #language, #hpslider {
        display: none;
    }

    #infobereich .logo, #sponsors .logo {
        margin-bottom: 20px;
    }

    select {
        margin-bottom: 20px;
    }

    .umkreis {
        margin-top: 20px;
    }

    h1 {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        text-align: left;
        font-size: 1.3em;
    }

    h1 span.sub {
        font-size: 1.2rem;
    }

    .tx-ttaddress h1 {
        text-align: left;
        margin: 20px 0 20px 0 !important;
    }

    .hlbackground header {
        justify-content: left;

    }

    .nav-item:first-child {
        margin-left: 0px !important;
    }

    .currentboxes {
        margin-top: 20px;
    }

}

@media (max-width: 1199px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.3rem;
        padding-left: 0.3rem;
    }

    #suchbox .form-control {
        width: 70%;
    }

    #ende IMG {
        width: 100%;
        margin-bottom: 14px;

    }

    #servicenavigator {
        border-left: 0px;
        padding-left: 0px;
    }

}

@media (min-width: 1200px) {
    .owl-carousel .owl-item .qf {
    }
}

@media (min-width: 1500px) {
    .owl-carousel .owl-item .qf {

    }
}

@media (max-width: 375px) {



    .news-list-date, .hparticle .news-list-date {
        font-size: 16px;
    }

    .highlight {
        font-size: 18px;

    }

    #servicenavigator li {
        margin-left: 15px;
        font-size: 16px;
    }

    .news .personwrap {
        width: 50%;
        margin: 0 auto;
    }

    .owl-stage-outer .personwrap {
        height: 400px !important;
        margin-bottom: 20px;
    }
}

