@media (hover: none) {
   
}

@media (max-width: 1400px){
    .frame-textge .row > div:before {
        width: 95%;
        left: 0%;
    }

    .frame-textge .row > div .ce-bodytext a.more {
        position: absolute;
        bottom: 50px;
        left: calc(50% - 101px);
        padding: 15px 20px;
    }
}

@media (max-width: 1270px){
    #oben .image-embed-item,
    #oben.scroll .image-embed-item {
        max-width: 200px;
        margin-top: 17px;
    }

    #oben.scroll .hnavi > li {
        padding-top: 34px;
    }
}

@media (max-width: 1250px) {
    #header{
        margin-top: 90px;
    }

    #inhaltsbereich .frame-schmal .ce-gallery,
    #inhaltsbereich > .frame-default.frame-type-textmedia > .rahmen .ce-gallery{
        max-width: 50%;
    }

    .ce-intext.ce-left .ce-gallery {
        margin-right: 60px;
    }

    .ce-intext.ce-right .ce-gallery {
        margin-left: 60px;
    }

    .frame-schmal .ce-bodytext p {
        max-width: 100%;
    }

    .frame-textkacheln .row .col-.bild{
        width: 49%;
    }

    .frame-textkacheln .row .col- {
        width: calc(49% - 40px);
    }

    .frame-textkacheln .row .block:last-child{
        display: none;
    }

    .frame-textkacheln .row .col-.bild .ce-gallery,
    .frame-textkacheln .row .col-.bild .ce-gallery .ce-column,
    .frame-textkacheln .row .col-.bild .ce-gallery .ce-column .image,
    .frame-textkacheln .row .col-.bild .ce-gallery .ce-column .image .image-embed-item{
        width: 100%;
    }

    .frame-textkacheln .row .col-:not(.bild) + .col-.bild .ce-gallery .ce-column .image .image-embed-item{
        /* margin-top: -50%; */
        object-fit: cover;
        object-position: center;
    }

    /* .news.news-single .article .news-img-wrap .outer{
        float: left;
        clear: both;
        width: 100%;
        margin-left: 0 !important;
    } */

    .frame-textkacheln .row .block + .block {
        margin-top: 0;
    }
}

@media (max-width: 1200px){
    h1, h2{
        font-size: 30px;
    }

    h2.folgt, h3 {
        font-size: 26px;
    }

    .news .news-listslider-view {
        width: calc(100% - 140px);
        margin: 0 70px;
    }


    .tx_cn-multicontent .col-15,
    .tx_cn-multicontent .col-15 > div,
    .tx_cn-multicontent .col-20,
    .tx_cn-multicontent .col-20 > div,
    .tx_cn-multicontent .col-25,
    .tx_cn-multicontent .col-25 > div,
    .tx_cn-multicontent .col-33,
    .tx_cn-multicontent .col-33 > div,
    .tx_cn-multicontent .col-66,
    .tx_cn-multicontent .col-66 > div,
    .tx_cn-multicontent .col-75,
    .tx_cn-multicontent .col-75 > div,
    .tx_cn-multicontent .col-80,
    .tx_cn-multicontent .col-80 > div,
    .tx_cn-multicontent .col-85,
    .tx_cn-multicontent .col-85 > div{
        float: left;
        clear: both;
        width: 100% !important;
        margin: 0 !important;
    }

    .row.equalize > div{
        height: auto !important;
        margin-bottom: 20px !important;
    }

    #footer .tx_cn-multicontent.frame-default .row > div{
        margin-bottom: 20px !important;
    }

    #footer .tx_cn-multicontent.frame-default .row > div .ce-gallery{
        float: left;
    }
}

@media (max-width: 1100px){
    body{
        font-size: 18px;
    }

    #oben{
        width: 96%;
        padding: 0 2%;
    }

    .hnavi > li > a {
        margin: 0 5px 0;
    }

    #header .ce-bodytext {
        position: absolute;
        left: 2%;
        width: calc(96% - 160px);
        bottom: -20px;
        padding: 40px 80px;
        max-width: unset;
    }

    .down {
        display: none;
    }

    .news .news-list-view .article .news-img-wrap{
        width: calc(50% - 40px);
    }

    .news .news-list-view .article .content{
        margin-top: 0;
        width: 50%;
    }

    #footer .tx_cn-multicontent:nth-child(3) .col-25{
        width: 50%;
    }

    #footer .tx_cn-multicontent:nth-child(3) .col-25 > div{
        width: 100%;
        margin: 0 !important;
    }

    #footer .tx_cn-multicontent:nth-child(3) .col-25 .ce-gallery{
        float: left;
    }
}

@media (max-width: 1000px){
    #oben{
        border: none;
    }
    .frame-kacheln .row {
        display: flex;
        flex-wrap: wrap;
    }

    .frame-kacheln .row .col- {
        width: calc(50% - 10px);
        margin: 0 10px 20px 0 !important;
        float: left;
        transform: translateY(0) !important;
    }

    .frame-kacheln .row .col-:nth-child(even){
        margin: 0 0 20px 10px !important;
    }

    .frame-kacheln .row .col- header::before {
        bottom: calc(100% - 1px);
    }

    .mob_button{
        display: block;
    }

    .hnavi{
        position: absolute;
        display: none;
        right: 0;
        top: 90px;
        background: #fff;
        width: 100%;
        border-bottom: 2px solid var(--gelb);
        border-top: 2px solid var(--gelb);
        max-height: calc(100vh - 100px);
        overflow-y: scroll;
        max-width: 800px;
    }

    #oben .hnavi > li{
        display: block;
        float: left;
        clear: both;
        width: 80%;
        padding: 0 0 0 0;
        margin: 0 10% !important;
        text-align: left;
        border-bottom: 1px solid var(--gelb);
    }

    #oben .hnavi > li:last-child{
        border-bottom: none;
    }

    .hnavi > li > a{
        float: left;
        clear: both;
        width: calc(100% - 20px);
        margin: 0;
        border: none;
        color: var(--hellblau);
    }

    .hnavi > li > a::before{
        display: none;
    }

    .hnavi > li.ifsub > a::after {
        content: '';
        background: url(/fileadmin/cn_website/images/arrow-blue.png) center center/contain no-repeat;
        transform: rotate(90deg);
        display: inline-block;
        position: absolute;
        top: 19px;
        width: 20px;
        height: 20px;
        margin-left: 10px;
        transition: ease-out all 0.3s;
        right: 10px;
    }

    .hnavi > li:hover > a {
        color: var(--hellblau) !important;
    }

    .hnavi > li:hover {
        background: none;
    }

    .hnavi > li.act .unavi{
        background: var(--hellgrau);
    }

    .hnavi li:last-child .unavi {
        left: 0;
    }

    .hnavi > li[data-toggled="on"] .unavi,
    .hnavi > li.act .unavi{
        border-bottom: 5px solid #FFF;
    }

    .hnavi > li[data-toggled="on"],
    .hnavi > li.act{
        border-bottom: 2px solid var(--hellgrau);
    }

    .hnavi > li[data-toggled="on"] > a,
    .hnavi > li.act > a{
        background: #f0f0f0;
        border-top: 5px solid #FFF;
        border-bottom: 5px solid #FFF;
        color: var(--hellblau) !important;
    }

    .hnavi > li.act > a{
        color: var(--dunkelblau) !important;
    }

    .hnavi > li.act > a{
        background: var(--hellgrau);
    }

    .hnavi > li.ifsub[data-toggled="on"] > a::after {
        transform: rotate(180deg);
        top: 24px;
    }

    .hnavi > li.act > a::after {
        /* background: url(/fileadmin/cn_website/images/arrow-white-nav.png) center center/contain no-repeat; */
        top: 24px;
    }

    #oben.scroll .hnavi > li {
        padding-top: 0;
    }

    .unavi{
        position: inherit;
        float: left;
        clear: both;
        width: 100%;
        margin: 0 0 0 0;
        box-shadow: none;
        background: #f0f0f0;
        left: 0;
        padding: 0 0 0 0;
    }

    .unavi::after {
        display: none;
    }

    .unavi li{
        float: left;
        clear: both;
        width: 90%;
        padding: 0 5%;
        text-align: left;
    }

    .unavi li a{
        border: none;padding: 10px 25px;
        padding: 10px 0;
        width: 100%;
        margin: 0;
        color: var(--hellblau);
    }

    /* li.act .unavi li a,
    .unavi li.act a{
        color: #FFF !important;
    } */

    .unavi li.act a::before {
        content: '⬤';
        margin-right: 5px;
    }

    .hnavi > li:hover > a::before,
    .hnavi > li.act > a::before,
    .unavi li:hover a::before{
        display: none;
    }

    .news.news-single .article .news-img-wrap .outer{
        width: 49%;
    }
}

@media (max-width: 991px){
    #inhaltsbereich > .frame-default.frame-type-textmedia > .rahmen .ce-gallery,
    #inhaltsbereich > .frame-default .ce-gallery,
    #inhaltsbereich > .frame-default .ce-bodytext,
    #inhaltsbereich > .frame-schmal .ce-gallery,
    #inhaltsbereich > .frame-schmal .ce-bodytext{
        float: left;
        clear: both;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #inhaltsbereich .ce-nowrap .ce-bodytext {
        width: calc(100% - 20px) !important;
    }
    

    #inhaltsbereich > .frame > .rahmen,
    #footer > .frame > .rahmen{
        margin: 0 5%;
        float: left;
    }

    .ce-intext.ce-nowrap .ce-gallery {
        margin-top: 0;
    }

    #header{
        position: relative;
    }

    .down {
        top: unset;
        bottom: 10px;
    }

    #inhaltsbereich > .frame {
        margin: 30px 0;
    }

    .news.news-single .article .news-img-wrap.vorschaubild{
        float: left;
        width: 100%;
        clear: both;
        max-width: 400px;
    }

    .news-single .teaser-text,
    .news-single .news-text-wrap,
    .news-single .news-img-wrap.weitere,
    .news-single .news-backlink-wrap{
        float: left;
        clear: both;
        width: 100%;
    }

    /* .news-single .news-list-date */

    .frame-textkacheln .row .col-,
    .frame-textkacheln .row .col-.bild{
        width: 90%;
        margin: 10px 0 !important;
    }

    .frame-textkacheln .row .col-.bild{
        width: calc(90% + 40px);
    }

    .frame-textkacheln .row .col-:not(.bild) + .col-.bild .ce-gallery .ce-column .image .image-embed-item{
        margin-top: 0;
    }

    .frame-textkacheln .row .col-:nth-child(even), .frame-kacheln .row .col-:nth-child(even){
        margin-top: 10px;
        float: left;
    }

    .frame-textkacheln .row .col-:nth-child(2n+5), .frame-kacheln .row .col-:nth-child(2n+5){
        margin-top: 10px;
    }
    
    .tx_cn-multicontent .col-40,
    .tx_cn-multicontent .col-40 > div,
    .tx_cn-multicontent .col-50,
    .tx_cn-multicontent .col-50 > div,
    .tx_cn-multicontent .col-60,
    .tx_cn-multicontent .col-60 > div{
        float: left;
        clear: both;
        width: 100% !important;
        margin: 0 !important;
    }

    .tx_cn-multicontent > .row > div + div{
        margin-top: 20px !important;
    }
}

@media (max-width: 900px){
    #header .ce-bodytext {
        position: absolute;
        left: 0;
        width: calc(100% - 60px);
        bottom: 0;
        padding: 20px 20px 20px 40px;
        max-width: unset;
        background: rgba(13, 144, 214, 0.9);
    }

    #header .ce-bodytext::after {
        display: none;
    }

    #header .ce-bodytext::before {
        background: rgba(13, 144, 214, 0.9);
        bottom: 100%;
    }

    .down{
        display: none;
    }

    #inhaltsbereich{
        margin-top: 40px;
    }

    .news .news-list-view .article .content,
    .news .news-list-view .article .news-img-wrap{
        float: left;
        clear: both;
        width: 100%;
        margin: 0;
    }

    .news .news-list-view .article .content{
        margin-top: 20px;
    }


    #footer .tx_cn-multicontent:nth-child(2) .row > div.col-25{
        float: right;
    }

    #footer .tx_cn-multicontent:nth-child(2) .row > div:last-child{
        width: 100%;
    }

    #footer .tx_cn-multicontent:nth-child(2) .row > div:last-child ul{
        text-align: center;
    }

    #footer .tx_cn-multicontent:nth-child(2) .row > div:last-child ul li{
       /*  display: inline-block; */
        margin: 0 0 10px;
        float: left;
        clear: both;
    }

    #footer .tx_cn-multicontent:nth-child(2) .row > div:last-child ul li a{
        /* border: 1px solid var(--dunkelblau);
        padding: 10px 20px;*/
        float: left; 
        clear: both;
        text-decoration: underline;
    }
}

@media (max-width: 850px){
    #inhaltsbereich > .frame + .frame.frame-schraeg {
        margin-top: 50px;
    }
    .frame-schraeg .ce-bodytext,
    .frame-schraeg .ce-bodytext header{
        margin-left: 0;
    }

    .frame-schraeg .ce-intext.ce-nowrap .ce-gallery{
        max-width: 50%;
    }

    .frame-kacheln .row{
        display: block;
        margin-top: 40px;
    }

    .frame-kacheln .row .col- {
        width: 48%;
        margin: 0 1% 20px 1% !important;
    }

    .frame-kacheln .row .col-:nth-child(2),
    .frame-kacheln .row .col-:nth-child(4n+4),
    .frame-kacheln .row .col-:nth-child(4n+6),
    .frame-kacheln .row .col-:nth-child(2n+3){
        margin-top: 0 !important;
    }

    .frame-kacheln .row .col-:nth-child(2){
        margin-top: 70px !important;
    }

    #inhaltsbereich > .frame + .frame-schraeg{
        margin-top: -50px;
    }
}

@media (max-width: 770px){
    .frame-bild50 .ce-textpic {
        position: static;
    }

    .frame-bild50 .ce-gallery {
        position: static;
        float: left;
        clear: both;
        width: 100%;
    }

    .frame-bild50 .ce-gallery img {
        max-height: 300px !important;
        width: auto;
    }

    .frame-bild50 .ce-gallery .ce-row {
        position: relative;
        padding: 0 20px;
        width: calc(100% - 40px);
    }
/* 
    .frame-bild50 .ce-gallery * {
        object-position: center -80px;
    } */

    .frame-bild50 .ce-bodytext {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .bite-jobs-list-table td {
        padding: 8px 1rem 8px 4px;
        vertical-align: top;
        color: #29353d;
        float: left;
        clear: both;
        width: 100% !important;
    }

    .bite-jobs-list-table .bite-jobs-list--title{
        border: none;
    }

    th.bite-jobs-list-head-cell.bite-jobs-list--jobSite{
        display: none;
    }

    th.bite-jobs-list-head-cell.bite-jobs-list--title{
        border-bottom: 1px solid #f2f2f2;
    }
}

@media (max-width: 767px){
    .frame-schraeg .ce-intext.ce-nowrap .ce-gallery {
        display: none;
    }

    .frame-schraeg .ce-bodytext {
        width: calc(100% - 20px);
        float: left;
        clear: both;
        margin: 0 0 0 0;
    }
}

@media (max-width: 749px){
    .owl-nav{
        float: left;
        clear: both;
        width: 100%;
        text-align: center;
    }
    
    .owl-prev, .owl-next{
        position: inherit;
        float: none;
        margin: 10px;
        display: inline-block;
    }

    .news .news-listslider-view .article{
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 620px){
    h1::after, h2:not(.folgt)::after {
        left: 0px;
    }

    #inhaltsbereich .ce-nowrap .ce-bodytext {
        width: 100% !important;
        padding-left: 0;
    }
    

    #footer .tx_cn-multicontent:nth-child(2) .row > div,
    #footer .tx_cn-multicontent:nth-child(3) .col-25{
        width: 100%;
    }

/*     #footer .tx_cn-multicontent.frame-strich .row > div .ce-textpic{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 */
    .frame-kacheln .row .col-,
    .frame-kacheln .row .col-:nth-child(2) {
        width: 100%;
        margin: 0 0 20px 0!important;
        float: left;
        clear: both;
    }

    h1, h2 {
        font-size: 30px;
        -ms-hyphens: auto; /* ab IE10 */
        -moz-hyphens: auto; /* seit Firefox 6 */
        -webkit-hyphens: auto; /* seit Safari 5.1 (OS X), Safari 4.1 (iOS) */
        hyphens: auto;
    }

    .frame-bild50 .ce-textpic {
        margin-left: 0;
    }
}

@media (max-width: 550px){
    #header{
        max-height: inherit;
    }
    #header .ce-bodytext {
        position: static;
        float: left;
        clear: both;
        background: var(--hellblau);
    }

    #header .ce-bodytext::after {
        display: block;
    }

    #header .ce-bodytext::before {
        display: none;
    }

    .frame-bild50 .ce-gallery * {
        object-position: center top;
    }

    .news .news-listslider-view {
        width: 100%;
        margin: 0 0 0 0;
    }
    
    .news .news-listslider-view .owl-nav {
        text-align: center;
    }

    #footer .owl-carousel {
        width: calc(100% - 80px);
        margin: 0 40px;
    }

    .frame-bildslider .owl-nav button.owl-next,
    .frame-bildslider .owl-nav button.owl-prev,
    .news .news-listslider-view .owl-nav button.owl-next,
    .news .news-listslider-view .owl-nav button.owl-prev {
        position: static;
        display: inline-block;
        width: 30px;
        height: 49px;
    }

    #footer .owl-carousel .owl-nav button.owl-next,
    #footer .owl-carousel .owl-nav button.owl-prev {
        right: -40px;
        top: calc(50% - 16px);
        width: 20px;
        height: 32px;
        margin: 0 0 0 0;
    }

    #footer .owl-carousel .owl-nav button.owl-prev {
        left: -40px;
    }

    #footer .tx_cn-multicontent:nth-child(2) .row > div:last-child{
        float: right;
        line-height: 1em;
    }
}

@media (max-width: 500px){
    .frame-slider .col-100{
        max-height: 300px;
    }

    .news.news-single .article .news-img-wrap .outer{
        width: 100%;
    }
}

@media (max-width: 400px){
    #oben .image-embed-item {
        max-width: 200px;
        height: auto;
    }
}