/* -- */
:root {
    --aspect-ratio: 20/6;
}
/* -- Zwischenheader normal -- */
.frame-layout-20 {
    display: block;
    width: 100%;
    float: left;
    clear: both;
}

.frame-layout-20 > .rahmen {
    width: 100% !important;
    margin: 0 !important;
    float: left !important;
    clear: both !important;
    padding: 0 !important;
    display: block !important;
    max-width: none !important;
}

.frame-layout-20 > .rahmen .ce-gallery {
    padding-top: calc(100% / (var(--aspect-ratio)));
    overflow: hidden;
    margin: 0;
    display: flex;
    opacity: 0;
    height: 0;
    width: 100%;
    float: left;
    clear: both;    
    position: relative;
}

.frame-layout-20 > .rahmen .ce-gallery.zw_normal {
    height: 0;
    opacity: 1;  
}

.frame-layout-20 > .rahmen .ce-gallery .ce-row,
.frame-layout-20 > .rahmen .ce-gallery .ce-column,
.frame-layout-20 > .rahmen .ce-gallery .image {
    width: 100%;
    float: left;
    clear: both;
    margin: 0;
    padding: 0;
    display: block;
}

.frame-layout-20 > .rahmen .ce-gallery .ce-row {
    position: absolute;
    top: 0;
    left: 0;
}

.frame-layout-20 .ce-textpic.ce-left.ce-above .ce-gallery .ce-row {
    top: 0;
}

.frame-layout-20 .ce-textpic.ce-right.ce-above .ce-gallery .ce-row {
    top: -50%;
}

.frame-layout-20 .ce-textpic.ce-below .ce-gallery .ce-row {
    top: auto;
    bottom: 0;
}

.frame-layout-20 > .rahmen .ce-gallery .image img  {
    width: 100vw;
    display: block;
}

.frame-layout-20 > .rahmen .ce-gallery .image .image-caption {
    display: none;
}


/* -- Zwischenheader fixiert -- */
.frame-layout-20 .ce-gallery.ce-border.zw_fixed {
    padding-top: calc(100% / (var(--aspect-ratio)));
    overflow: hidden;
    margin: 0;
    display: flex;
    background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;	
    height: auto;
    opacity: 1;
}

.frame-layout-20 .ce-gallery.zw_fixed.fxcenter {
    background-position: left center;
}

.frame-layout-20 .ce-gallery.zw_fixed.fxbottom {
    background-position: left bottom;
}

/* -- Zwischenheader animiert -- */
.frame-layout-20 .ce-gallery.farbani {
    position: relative;
    height: auto;
    opacity: 1;
}

.frame-layout-20 .ce-gallery.farbani .farboverlaybox {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    display: block;
    z-index: 1;
    mix-blend-mode: multiply;
    background-size: 150% 150%;
    animation: farbani 20s ease infinite;
    transform: rotate3d(0, 1, 1, -10deg);
}

@keyframes farbani { 
  0%{background-position: 0% 0%; transform: rotate3d(0, 1, 1, -10deg);}
  20%{background-position: 20% 20%}
  40%{background-position: 40% 40%}
  50%{background-position: 50% 50%; transform: rotate3d(0, 1, 1, 10deg);}
  60%{background-position: 40% 40%}
  80%{background-position: 20% 20%}
  100%{background-position:0% 0%; transform: rotate3d(0, 1, 1, -10deg);}
}

@media (max-width: 1200px) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
       /* background-size: auto 100%;*/
        background-position: center;
        
    }
}

@media (max-width: 600px) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
        background-size: cover;
        background-attachment: scroll;
    }
}

@media only screen and (max-width: 1024px) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
        background-size: cover;
        background-attachment: scroll;
    }
}