@charset "utf-8";
/* CSS Document */

@media only screen 
and (max-width : 1400px) {
    :root {
        --websiteWidth: 100%;
            --pagePadding: 25px;

    }
    article.websiteWidth.textEditor{
        padding-left: 20px;
        padding-right: 20px;
    }
    
}
@media only screen 
and (max-width : 1100px) {
    .tlbrtdT2Wrapper{
        transform: translateY(-350px);
    }
    .zertifikateWrapper{
        width:95%;
        padding-left:5%;
        padding-right: var(--pagePadding);
    }    
    .butvWrapper article{
        padding-left:1%;
    }
}
@media only screen 
and (max-width : 750px) {

    .downloadsWrapper{
        margin-top: 1em;
    }
    
    .downloadsInner{
        width: 100%;
    }
    
    .flex_oneLine.ea{
        flex-wrap: wrap;
    }
    .loneBlock, .zeitstrahlWrapper{
        width:100%;
        padding-left: var(--pagePadding);
        padding-right: var(--pagePadding);
    }
    .imgDown.butvWrapper{
        margin-bottom: var(--marginBottomEl);
        padding-bottom: 0px;
    }
    .imgUp .butvImageWrapper img, .imgUp .butvImageWrapper iframe{
        transform: none;
    }
    .imgUp.butvWrapper{
        padding-top:0px;
    }
    
    .butvWrapper .butvImageWrapper{
        order:1 !important;
    }
    .butvWrapper article{
        order:2 !important;
    }
    
    .startHeaderWrapper{
        margin-left: 0px;
    }
    .zertifikateWrapper{
        width:100%;
        padding-left:5%;
    }    
    .innerFooter{
        grid-template-columns: 45% 45%
    }
    .innerFooter>div{
        border-bottom:2px solid white;
        margin-bottom: 1em;
    }
    .tlbrtd{
        width: 100%;
        padding-right: var(--pagePadding);
        
    }
    .tlbrtdT2Wrapper{
        transform: translateY(0px);
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .tlbrtdT2{
        width:100%;        
    }
    img.xRelImg{
        position: relative;
        width: 100%;
        right: 0px;
        top:0px;
        order:1;
    }
    .tlbrtd {
        padding-top:20px;
        order:2;
    }
    .tlbrtdMainWrapper {
        margin-top: 0px;
    }
    .tlbrtdMainWrapper .contentColumn{
        display: flex;
        flex-wrap: wrap;
    }
    
    .butvWrapper .contentColumn{
        flex-wrap: wrap;
    }
    .butvWrapper article{
        width:100%;
        padding-left: var(--pagePadding);
        padding-top:1em;
        padding-bottom: 1em;
    }
    .butvImageWrapper{
        width:100%;
    }
    .butvImageWrapper img{
        transform: none;
    }
    .apItemWrapper{
        grid-template-columns: 48% 48%;
    }
    .blogTeaserWrapper a{
       padding-top:200px;
    }
    .blogTeaserWrapper a:nth-child(4n-3){
        width:100%;
    }
    .blogTeaserWrapper a:nth-child(4n-2){
        width:100%;
        margin-left: 0%;

    }
    .blogTeaserWrapper a:nth-child(4n-1){
        width:100%;
        margin-right: 0%;
    }
    .blogTeaserWrapper a:nth-child(4n){
        width:100%;
    }
    
    .blogWidth{
        width:90%;
    }
    .bildergalerie{
        grid-template-columns: 100%;
    }
    .bildergalerieItem:nth-of-type(1){
        transform: translateY(0px);
    }

    .bildergalerieItem:nth-of-type(2){
        transform: translateY(0px);

    }
    .bildergalerieItem:nth-of-type(3){
        transform: translateY(0px);
    }
    .bildergalerieItem:nth-of-type(4){
        transform: translateY(0px);
    }
    .bildergalerieItem:nth-of-type(5){
        transform: translateY(0px);
    }
    .rectContent{
        position: relative;
        width: 100%;
        top:0;
        right: 0;
    }
    .startHeaderWrapper.flex_oneLine{
        flex-wrap: wrap;
    }
    .startHeaderWrapper article{
        width:100%;
    }
    .startHeaderWrapper article h1{
        margin-top: 1em;
    
    }
    #kontSpacer{
        height: 0px;
        display: none;
        margin-bottom: 0px;
    }
    .websiteWidth .flex_oneLine .tlbrtdT2Wrapper{
        margin-bottom: 0px;
    }
}

@media only screen 
and (max-width : 750px) {
    
    :root {
        --marginBottomEl: 3em;

    }    
    
    .x3Elm {
        display: flex;
        flex-wrap: wrap;
        padding-left:var(--pagePadding);
        padding-right:var(--pagePadding);
    }
    .x3Elm .imgWrapper{
        width:100%;
        margin-bottom: 1em;
    }
    .jamWrap{
        margin-top: 3em;
    }
    .x3Elm .fullscreenimg{
        position: relative;
        top:0px;
        left: 0px;
    }
    .x3Elm .filledColumn{
        display: none;
    }
    .x3Elm article{
        width:70%;
    }
    article.col2{
        grid-template-columns: 100%;
    }
}

@media only screen 
and (max-width : 550px) {

    .mfp-content .flex_oneLine{
        flex-wrap: wrap;
    }
    .mfp-content .flex_oneLine img, .mfp-content .flex_oneLine div{
        width:100%;
    }
    .innerFooter{
        grid-template-columns: 90%;
        justify-content: center;
    }
    .halfColumn {
        width:100%;
        margin-bottom: 1em;
    }
    header .leftRow.flex_oneLine{
        flex-wrap: wrap;
    }
    header .leftRow a{
        width:100%;
    }
    header .leftRow a:first-child{
         margin-bottom: 0.4em;
    }
    .zertifikateWrapper .flex_oneLine{
        flex-wrap: wrap;
    }
    #burgerButton{
        margin-right: 20px;
    }
    .fullscreenimg.rectimg{
        display: none;
    }
    .startHeaderWrapper article{
        width:100%;
    }
    .x3Elm {
        grid-template-columns: 100%;
        padding-left:var(--pagePadding);
        padding-right:var(--pagePadding);
    }
    .x3Elm .fullscreenimg{
        position: relative;
        top:0px;
        left: 0px;
    }
    .x3Elm .filledColumn{
        display: none;
    }
    .colums2-50{
        grid-template-columns: 100%;
    }    
    #mainNav{
        width:97%;
    }
    .apItemWrapper{
        grid-template-columns: 100%;
    }
    .apItemFullscreen{
        grid-template-columns: 100%;
    }
    .x3Elm article{
        width:100%;
    }
}
@media only screen 
and (max-width : 380px) {

    .ciButton, .contentColumn a, button{
        padding-left:4px;
        padding-right: 4px;
    }
}
@media only screen 
and (max-width : 350px) {
    .header .leftRow{
        display: none !important;
    }
    .ciButton, .contentColumn a, button{
        display: none !important;
    }
}