/* default styles for extension "tx_frontend" V13 */

/* youtubevideo*/
.youtubevideo.tiny>.videoWrapper>.coverimage>.covertext h2, .youtubevideo>.videoWrapper>.coverimage>.covertext h2,  .youtubevideo .videoWrapper .coverimage .covertext h2  {
    font-size: .75rem!important;
    font-weight: 400;

}

/* Content Block folder gallery*/
.folder-gallery {
    position: relative;
    float:left;
    width: 100%;
    margin-top: 5px;
}

.folder-gallery__cover {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: zoom-in;
}

.folder-gallery__cover img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.folder-gallery__cover:hover img {
    transform: scale(1.025);
}

.folder-gallery__cover:focus-visible {
    outline: 3px solid #9a0505;
    outline-offset: 3px;
}

.folder-gallery__hidden {
    display: none;
}

.folder-gallery__overlay {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 8px 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.2;
}
.folder-gallery__text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.folder-gallery__text-link::after {
    /* content: "›"; */
    font-size: 1.25em;
    line-height: 1;
}

.folder-gallery__text-link:hover {
    text-decoration-thickness: 2px;
}

.folder-gallery__text-link:focus-visible {
    outline: 3px solid #9a0505;
    outline-offset: 3px;
}

.folder-gallery__masonry {
    column-count: 3;
    column-gap: 15px;
}

.folder-gallery__masonry-item {
    display: block;
    margin-bottom: 15px;
    break-inside: avoid;
}

.folder-gallery__masonry-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .folder-gallery__masonry {
        column-count: 2;
    }
}

@media (max-width: 550px) {
    .folder-gallery__masonry {
        column-count: 1;
    }
}

/* Text vor dem Link */
.folder-gallery__text-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25em;
}

.folder-gallery__text-intro,
.folder-gallery__text-intro p {
    display: inline;
    margin: 0;
}

.folder-gallery__text-link {
    display: inline;
    /* font-weight: 700; */
    text-decoration: underline;
    text-underline-offset: 0.2em;
    font-size: .8375rem!important;
}

.folder-gallery__text-row span {
    display:none;
    }

/* Content Block folder gallery end*/



.ce-align-left {
    text-align: left;
}

.ce-align-center {
    text-align: center;
}

.ce-align-right {
    text-align: right;
}

.ce-table td, .ce-table th {
    vertical-align: top;
}

.ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div {
    overflow: hidden;
}

.ce-left .ce-gallery, .ce-column {
    float: left;
}

.ce-center .ce-outer {
    position: relative;
    float: right;
    right: 50%;
}

.ce-center .ce-inner {
    position: relative;
    /* float: right; */
    right: -50%;
}

.ce-right .ce-gallery {
    /* float: right; */
}

.ce-gallery figure {
    display: table;
    margin: 0;
}

.ce-gallery figcaption {
    display: table-caption;
    caption-side: bottom;
}

.ce-gallery img {
    /* display: block; */
}

.ce-gallery iframe {
    border-width: 0;
}

.ce-border img, .ce-border iframe {
    border: 2px solid #000000;
    padding: 0px;
}

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
    /* margin-bottom: 10px; */
}

.ce-image .ce-gallery {
    margin-bottom: 0;
}

.ce-intext.ce-right .ce-gallery {
    /* margin-left: 10px; */
}

.ce-intext.ce-left .ce-gallery {
    margin-right: 0px;
    margin-left: 0;
}

.ce-below .ce-gallery {
    /* margin-top: 10px; */
}

.ce-column {
    /* margin-right: 10px; */
}

.ce-column:last-child {
    margin-right: 0;
}

.ce-row {
    margin-bottom: 10px;
}

.ce-row:last-child {
    margin-bottom: 0;
}

.ce-above .ce-bodytext {
    clear: both;
}

.ce-intext.ce-left ol, .ce-intext.ce-left ul {
    padding-left: 40px;
    overflow: auto;
}

/* Headline */
.ce-headline-left {
    text-align: left;
}

.ce-headline-center {
    text-align: center;
}

.ce-headline-right {
    text-align: right;
}

/* Uploads */
.ce-uploads {
    margin: 0;
    padding: 0;
}

.ce-uploads li {
    list-style: none outside none;
    margin: 1em 0;
}

.ce-uploads img {
    float: left;
    padding-right: 1em;
    vertical-align: top;
}

.ce-uploads span {
    display: block;
}

/* Table */
.ce-table {
    width: 100%;
    max-width: 100%;
}

.ce-table th, .ce-table td {
    padding: 0.5em 0.75em;
    vertical-align: top;
}

.ce-table thead th {
    border-bottom: 2px solid #dadada;
}

.ce-table th, .ce-table td {
    border-top: 1px solid #dadada;
}

.ce-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

.ce-table-bordered th, .ce-table-bordered td {
    border: 1px solid #dadada;
}

/* Space */
.frame-space-before-extra-small {
    margin-top: 1em;
}

.frame-space-before-small {
    margin-top: 2em;
}

.frame-space-before-medium {
    margin-top: 3em;
}

.frame-space-before-large {
    margin-top: 4em;
}

.frame-space-before-extra-large {
    margin-top: 5em;
}

.frame-space-after-extra-small {
    margin-bottom: 1em;
}

.frame-space-after-small {
    margin-bottom: 2em;
}

.frame-space-after-medium {
    margin-bottom: 3em;
}

.frame-space-after-large {
    margin-bottom: 4em;
}

.frame-space-after-extra-large {
    margin-bottom: 5em;
}

/* Frame */
.frame-ruler-before:before {
    content: '';
    display: block;
    border-top: 1px solid rgba(0,0,0,0.25);
    margin-bottom: 2em;
}

.frame-ruler-after:after {
    content: '';
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    margin-top: 2em;
}

.frame-indent {
    margin-left: 15%;
    margin-right: 15%;
}

.frame-indent-left {
    margin-left: 33%;
}

.frame-indent-right {
    margin-right: 33%;
}

/* Video  */
.youtubevideo>.videoWrapper {
    overflow: inherit !important;
    position: relative;
    height: 0;
}

/* ### Captche-Error  in Formular */
#kontaktTurnseefinal-156 .has-error .error {
    float: left;
    width: 100%;
    color: red;
}

#cookiescript_injected .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark, #cookiescript_injected_fsd .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark {
    /* color: #111111; */
    color: #989696 !important;
}

/* default styles for extension "tx_frontend" V13 end */
/* DEFAULT default styles for extension "tx_frontend" */
.ce-align-left {
    text-align: left;
}

.ce-align-center {
    text-align: center;
}

.ce-align-right {
    text-align: right;
}

.ce-table td, .ce-table th {
    vertical-align: top;
}

.ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div {
    overflow: hidden;
}

.ce-bodytext {
    width: 100%;
}

.ce-left .ce-gallery, .ce-column {
    float: left;
}

.ce-center .ce-outer {
    position: relative;
    float: right;
    right: 50%;
}

.ce-center .ce-inner {
    position: relative;
    /* float: right; */
    /* right: -50%; */
}

.ce-right .intext .ce-gallery {
    float: right;
}

.ce-gallery figure {
    display: table;
    /* margin: 10px; */
    margin-left: 0;
    /* max-width: 380px; */
}

.ce-intext .ce-gallery figure.image {
    /* max-width: 380px; */
}

#sliding .ce-gallery figure {
    /* display: table; */
    margin: 0px;
}

.frame-noshadow .ce-gallery figure {
    display: table;
    margin: 0px;
}

.teasermid .frame-noshadow figure {
    padding-bottom: 0px;
}

.ce-gallery figure img {
    -webkit-box-shadow: 2px 2px 7px rgba(0,0,0,0.45);
    -moz-box-shadow: 2px 2px 7px rgba(0,0,0,0.45);
    box-shadow: 2px 2px 7px rgba(0,0,0,0.35);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* blur raus
.ce-gallery figure img:hover {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
*/
#sliding .ce-gallery figure img:hover {
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    filter: none;
}

.frame-noshadow .ce-gallery figure img {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.shadow {
    -webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.45);
    -moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.45);
    box-shadow: 4px 4px 4px rgba(0,0,0,0.45);
}

.ce-gallery figcaption {
    display: table-caption;
    caption-side: bottom;
    margin-bottom: 5px;
}

.ce-gallery img {
    display: block;
}

.ce-intext .ce-gallery img {
    display: block;
    /* max-width:380px; */
}

ce.ce-gallery img {
    display: block;
}

.ce-gallery iframe {
    border-width: 0;
}

.ce-border img, .ce-border iframe {
    border: 1px solid #949494;
    padding: 1px;
}

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
    margin-bottom: 10px;
    /* margin-top: 10px; */
}

#sliding .ce-intext.ce-right .ce-gallery, #sliding .ce-intext.ce-left .ce-gallery,#sliding .ce-above .ce-gallery {
    margin: 0;
}

.frame-noshadow .ce-gallery {
    margin: 0px;
}

.ce-intext {
    float: left;
    width: 100%;
}

.ce-intext.ce-right .ce-gallery .image {
    padding-bottom: 0;
}

.ce-intext.ce-right .ce-gallery {
    /* margin-left: 0px; */
    /* display: block; */
    /* clear: both; */
    /* float: none; */
    /* width: 100%; */
    /* margin-top: 20px; */
    /* padding-bottom :0 */
}

.ce-intext.ce-left .ce-gallery {
    display: block;
    clear: both;
    /* float: none; */
    width: 100%;
    /* margin-right: 30px; */
    /* margin-top: 20px; */
}

.ce-below .ce-gallery {
    /* margin-top: 10px; */
}

.frame-noshadow .ce-below .ce-gallery {
    margin-top: 0px;
}

.ce-below {
    /* float: left; */
    width: 100%;
}

.ce-above {
    float: left;
    width: 100%;
}

.ce-column {
    /* margin-right: 10px; */
}

.ce-column:last-child {
    margin-right: 0;
}

.ce-row {
    margin-bottom: 10px;
}

.ce-row:last-child {
    margin-bottom: 0;
}

.frame-type-image .ce-image.ce-right .ce-row {
    float: right;
}

.ce-above .ce-bodytext {
    clear: both;
    /* margin-left: 10px; */
    padding-right: 10px;
}

.ce-intext.ce-left ol, .ce-intext.ce-left ul {
    padding-left: 40px;
    overflow: auto;
}

/* Headline */
.ce-headline-left {
    text-align: left;
}

.ce-headline-center {
    text-align: center!important;
}

.ce-headline-right {
    text-align: right;
}

/* Uploads */
.ce-uploads {
    margin: 0;
    padding: 0;
}

.ce-uploads li {
    list-style: none outside none;
    margin: 1em 0;
}

.ce-uploads img {
    float: left;
    padding-right: 1em;
    vertical-align: top;
}

.ce-uploads span {
    display: block;
}

/* Table */
.ce-table {
    width: 100%;
    max-width: 100%;
}

.ce-table th, .ce-table td {
    padding: 0.5em 0.75em;
    vertical-align: top;
}

.ce-table thead th {
    border-bottom: 2px solid #dadada;
}

.ce-table th, .ce-table td {
    border-top: 1px solid #dadada;
}

.ce-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

.ce-table-bordered th, .ce-table-bordered td {
    border: 1px solid #dadada;
}

.ce-div {
    display: block;
    height: 1px;
    border: 0;
    /* border-top: 1px solid rgb(150 151 152 / 0.5); */
    border-bottom: 2px solid #FFEB3B;
    margin: 1.5rem 0;
    padding: 0;
    /* float: left; */
    width: 100%;
}

/* langsames Einblenden beim reload bei Sitze-Aenderung*/
.headwrap {
    animation: einblenden 1.5s;
    -moz-animation: einblenden 5.5s;
    /* FÃ¼r Firefox */
    -webkit-animation: einblenden 1.5s;
    /* FÃ¼r Safari und Chrome */
    -o-animation: einblenden 1.5s;
    /* FÃ¼r Opera */
}

@keyframes einblenden {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes einblenden {
    /* FÃ¼r Firefox */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes einblenden {
    /* FÃ¼r Safari und Chrome */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes einblenden {
    /* FÃ¼r Opera */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mainmidtext .frame-default {
    float: left;
    width: 100%;
}

.mainmidtext .frame-type-textpic {
    /* clear: left; */
    /* float:left; */
    /* width: unset; */
    float: left;
    width: 100%;
}

.maimidtext-down .frame-type-textpic {
    clear: both: float:left;
    width: inherit!important;
}

/* barriere*/
.d-inline {
    display: inline!important
}

.d-inline-block {
    display: inline-block!important
}

.d-block {
    display: block!important
}

.d-grid {
    display: grid!important
}

.d-table {
    display: table!important
}

.d-table-row {
    display: table-row!important
}

.d-table-cell {
    display: table-cell!important
}

.d-flex {
    display: flex!important
}

.d-inline-flex {
    display: inline-flex!important
}

.d-none {
    display: none!important
}

/* Space */
.frame-space-before-negative {
    margin-top: -1.5em;
}

.frame-space-before-extra-small {
    margin-top: 1em;
}

.frame-space-before-small {
    margin-top: 2em;
}

.frame-space-before-medium {
    margin-top: 3em;
}

.frame-space-before-large {
    margin-top: 4em;
}

.frame-space-before-extra-large {
    margin-top: 5em;
}

.frame-space-after-extra-small {
    margin-bottom: 1em;
}

.frame-space-after-small {
    margin-bottom: 2em;
}

.frame-space-after-medium {
    margin-bottom: 3em;
}

.frame-space-after-large {
    margin-bottom: 4em;
}

.frame-space-after-extra-large {
    margin-bottom: 5em;
}

/* Frame */
.frame-ruler-before:before {
    content: '';
    display: block;
    border-top: 1px solid rgba(0,0,0,0.25);
    margin-bottom: 2em;
}

.frame-ruler-after:after {
    content: '';
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    margin-top: 2em;
}

.frame-indent {
    margin-left: 5%;
    margin-right: 5%;
    float: left;
}

.frame-indent-left-10 {
    margin-left: 10%;
    float: left;
}

.frame-indent-left-20 {
    margin-left: 20%;
    float: left;
    width: 80% !important;
}

.frame-indent-kl-10 {
    margin-left: 10%;
    margin-right: 10%;
    float: left;
    width: 80% !important;
}

.frame-indent-left {
    margin-left: 33%;
    float: left;
}

.frame-indent-right {
    margin-right: 33%;
    float: left;
}

.frame-indent-right-10 {
    margin-right: 10%;
    float: left;
    width: 90% !important;
}
.frame-indent-60-40 {
    width: 60%!important;
    margin-right: 40%;
    float: left;
}

.frame-indent-67-33 {
    width: 67%!important;
    margin-right: 33%;
    float: left;
}

.frame-indent-75-25 {
    width: 75%!important;
    margin-right: 25%;
    float: left;
}

.frame-indent-80-20 {
    width: 80%!important;
    margin-right: 20%;
    float: left;
}

.frame-indent-85-15 {
    width: 85%!important;
    margin-right: 15%;
    float: left;
}

.frame-indent-90-10 {
    width: 90%!important;
    margin-right: 10%;
    float: left;
}

.frame-indent-75-20 {
    width: 75%!important;
    margin-right: 25%;
    float: left;
}

.frame-content-narrow {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

@media only screen and (min-width: 768px) {
    .ce-intext.ce-right .ce-gallery {
        /* margin-left: 30px; */ /* display: block; */ /* clear: both; */ /* float: none; */ /* width: unset; */ /* margin-top: 20px; */ /* padding-bottom :0 */
    }

    .ce-intext.ce-left .ce-gallery {
        display: block;
        clear: both;
        /* float: none; */
        width: unset;
        margin-right: 30px;
        /* margin-top: 20px; */
    }

    .ce-right.ce-intext .ce-gallery {
        margin-left: 30px;
        display: block;
        clear: both;
        float: right;
        /* width: unset; */
        /* margin-top: 0px; */
        /* padding-bottom :0; */
    }

    .ce-right.ce-intext.ce-nowrap .ce-gallery {
        margin-left: 0px;
        display: block;
        /* clear: both; */
        float: right;
        width: inherit;
        width: 35%;
        margin-top: 0;
    }

    /* ce-row soll display_flex erhalten wenn 2 bilder, 2 spalten*/
    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column {
        /* flex: 1 1; */
        /* min-width: 0; */
        /* max-height: 250px; */
        /* overflow: clip; */
    }

    /* ce-row soll display_flex erhalten wenn 3 bilder, 3 spalten*/
    .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        /* min-width: 0; */
        /* max-height: 185px; --> hier keien max-height, sondt figcaption abgeschnitten */
        /* overflow: clip; */
    }

    .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column figure img {
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 225px;
        /* Gleiche, feste Höhe für alle Bilder */
        object-fit: cover;
        /* Verhindert Verzerrung und schneidet ggf. Ränder ab */
        object-position: center top;
        /* Bild oben ausgerichtet  */
        /* object-position: 50% -30px; */
        /* negativ, Bild gezielt nach oben zu verschieben  */
    }
    .frame-bildhohe-170 .ce-gallery[data-ce-columns="1"][data-ce-images="1"] .ce-column figure img, .frame-bildhohe-170 .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column figure img, 
    .frame-bildhohe-170 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column figure img, .frame-bildhohe-170 .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column figure img { 
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 170px;
        /* Gleiche, feste Höhe für alle Bilder */
        object-fit: cover;
        /* Verhindert Verzerrung und schneidet ggf. Ränder ab */
        object-position: center top;
        /* Bild oben ausgerichtet  */
        /* object-position: 50% -30px; */
        /* negativ, Bild gezielt nach oben zu verschieben  */
    }
    .frame-bildhohe-200 .ce-gallery[data-ce-columns="1"][data-ce-images="1"] .ce-column figure img, .frame-bildhohe-200 .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column figure img, 
    .frame-bildhohe-200 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column figure img, .frame-bildhohe-200 .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column figure img { 
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 200px;        
        object-fit: cover;        
        object-position: center top;        
    }
    .frame-bildhohe-250 .ce-gallery[data-ce-columns="1"][data-ce-images="1"] .ce-column figure img, .frame-bildhohe-250 .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column figure img, 
    .frame-bildhohe-250 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column figure img, .frame-bildhohe-250 .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column figure img { 
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 250px;        
        object-fit: cover;        
        object-position: center top;        
    }
    .frame-bildhohe-300 .ce-gallery[data-ce-columns="1"][data-ce-images="1"] .ce-column figure img, .frame-bildhohe-300 .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column figure img, 
    .frame-bildhohe-300 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column figure img, .frame-bildhohe-300 .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column figure img { 
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 300px;        
        object-fit: cover;        
        object-position: center top;        
    }
     .frame-bildhohe-350 .ce-gallery[data-ce-columns="1"][data-ce-images="1"] .ce-column figure img, .frame-bildhohe-350 .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column figure img, 
    .frame-bildhohe-350 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column figure img, .frame-bildhohe-350 .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column figure img { 
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 350px;        
        object-fit: cover;        
        object-position: center top;        
    }

 /* 4 Bilder in Reihe */
     /* ce-row soll display_flex erhalten wenn 3 bilder, 3 spalten*/
    .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column {
        flex: 1 1 0;
        /* min-width: 0; */
        /* max-height: 185px; --> hier keien max-height, sondt figcaption abgeschnitten */
        /* overflow: clip; */
    }

     .ce-gallery[data-ce-columns="4"][data-ce-images="4"] figure {
        width: 100%;
        margin: 0;
    }
    .ce-gallery[data-ce-columns="4"][data-ce-images="4"] .ce-column figure img {
        /* Jedes Bild nimmt den gleichen Platz ein */
        width: 100%;
        height: 180px;
        /* Gleiche, feste Höhe für alle Bilder */
        object-fit: cover;
        /* Verhindert Verzerrung und schneidet ggf. Ränder ab */
        object-position: center top;
        /* Bild oben ausgerichtet  */
        /* object-position: 50% -30px; */
        /* negativ, Bild gezielt nach oben zu verschieben  */
    }
     /* 4 Bilder in Reihe End */
    
    
 /* object-position: 50% -30px; --> für hohe Bildr geeignet, sonst nicht */
    /* Zwei Bilder in zwei Spalten sowie drei Bilder in drei Spalten */
    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-row, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        min-width: 0;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] figure, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] figure {
        margin: 0;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] img, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] img {
        display: block;
        width: 100%;
        height: 225px;
        object-fit: cover;
        object-position: center top;
    }

    .frame-bildhohe-200 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        min-width: 0;
        /* max-height: 200px; */
        overflow: clip;
    }

    .frame-bildhohe-250 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        min-width: 0;
          /*max-height: 250px;*/
        overflow: clip;
    }

    .frame-bildhohe-300 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        min-width: 0;
         /*max-height: 300px;*/
        overflow: clip;
    }

    .frame-bildhohe-350 .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        min-width: 0;
         /*max-height: 360px;*/
        overflow: clip;
    }

    .ce-gallery[data-ce-columns="3"][data-ce-images="3"] figure {
        width: 100%;
        margin: 0;
    }

    .ce-gallery[data-ce-columns="3"][data-ce-images="3"] img {
        /* display: block; */
        /* width: 100%; */
        /* height: auto; */
        /* overflow: clip; */
    }

  .frame-bildbreite-200 .ce-gallery .ce-column {        
        max-width: 200px;        
    }

    /* Smartphone: anordnung untereinander */
    @media (max-width: 767px) {
        .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-row {
            flex-direction: column;
            gap: 10px;
        }

        .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
            width: 100%;
        }
    }

    /* Abstand zwischen den Bildern bei 1 spalze vertikal ausschließlich über .ce-row zu steuern, Abstand oberhalb und unterhalb der gesamten Galerie bleibt erhalten*/
    .ce-gallery[data-ce-columns="1"][data-ce-images="2"] figure {
        margin: 0;
    }

    .ce-gallery[data-ce-columns="1"][data-ce-images="2"] .ce-row {
        margin-bottom: 6px;
    }

    .frame-type-textpic .ce-center .ce-gallery[data-ce-columns="1"][data-ce-images="2"] .ce-row {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .ce-gallery[data-ce-columns="1"][data-ce-images="2"] .ce-row:last-child {
        margin-bottom: 0;
    }

    .ce-right.ce-intext.ce-nowrap .ce-gallery .ce-row {
        float: right;
    }

    .ce-right.ce-intext.ce-nowrap .ce-bodytext {
        width: 62%;
        float: left;
        /* margin-right: 30px; */
        margin-top: 20px;
    }

    .ce-left.ce-intext.ce-nowrap .ce-gallery {
        width: 35%;
        float: left;
        margin-right: 0;
        /* margin-top: 20px; */
    }

    .frame-bild_text_50 .ce-left.ce-intext.ce-nowrap .ce-gallery, .teaser-teilhabe .ce-left.ce-intext.ce-nowrap .ce-gallery, .teaser-gemeinsam .ce-left.ce-intext.ce-nowrap .ce-gallery {
        width: 35%;
        width: 48%;
        float: left;
        margin-right: 0;
        /* margin-top: 20px; */
    }

    .ce-left.ce-intext.ce-nowrap .ce-bodytext {
        width: 62%;
        float: left;
        margin-left: 2%;
        margin-top: 20px;
    }

    .frame-bild_text_50 .ce-left.ce-intext.ce-nowrap .ce-bodytext, .teaser-teilhabe .ce-left.ce-intext.ce-nowrap .ce-bodytext, .teaser-gemeinsam .ce-left.ce-intext.ce-nowrap .ce-bodytext {
        width: 48%;
        float: left;
        margin-left: 4%;
        margin-top: 20px;
    }

    .ce-bodytext h3 {
        margin: .0 0 .5rem 0rem;
    }

    .ce-bodytext header {
        padding-bottom: .5rem;
    }

    /* Zwei Bilder in zwei Spalten sowie drei Bilder in drei Spalten */
    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-row, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] .ce-column, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] .ce-column {
        flex: 1 1 0;
        min-width: 0;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] figure, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] figure {
        margin: 0;
    }

    .ce-gallery[data-ce-columns="2"][data-ce-images="2"] img, .ce-gallery[data-ce-columns="3"][data-ce-images="3"] img {
        display: block;
        width: 100%;
        height: 225px;
        object-fit: cover;
        object-position: center top; /* keine Verschiebung nur bei hohen Bildern */
    }
}

/* Headerinfoleiste */
.headerinfowrap {
    text-align: left;
    font-size: .975rem;
    font-weight: 600;
    color: #fff;
    /* background: #c51113; mit fplgender bg-color auf AAA*/
    background: #b20305;
    padding: .65rem;
    margin-bottom: 10px;
    transition: all .5s;
    /* border-bottom: 1px solid grey; */
}

.headerinfowrap .contentwrap {
    /* display: flex; */
    justify-content: space-between;
    max-width: 1430px;
    padding: 0;
}

header .fa.fa-envelope, header.fa.fa-home, .fa.fa-map-marker, .fa.fa-phone {
    color: #fff;
    font-size: .975rem;
    margin-right: 5px;
    /* font-weight: 300; */
}

#mainwrapstart, #sidebar, .headerinfowrap .gap {
    display: block;
    /* width: 100%; */
}

.headerinfowrap .gap {
    /* margin-right: 1%; */
    font-size: .75rem;
    color: #fff;
    margin: 0 0px;
    display: inline-block;
}

.headerinfowrap .mailinfo {
    display: none!important;
}

.headerinfowrap a {
    color: #fff;
}

.headerinfowrap .gaphide1 {
    /* display: inline-block; */
    /* margin: 0 10px; */
}

@media only screen and (min-width: 481px) {
    .headerinfowrap .gap {
        /* margin-right: 1%; */ font-size: .75rem;
        width: inherit;
        display: inline-block;
        color: #fff;
    }

    .headerinfowrap .gaphide1 {
        display: inline-block;
        margin: 0 5px;
    }
}

@media only screen and (min-width: 880px) {
    .headerinfowrap .mailinfo {
        display:block!important;
    }

    .headerinfowrap .contentwrap {
        display: flex;
        justify-content: space-between;
        max-width: 1430px;
        padding: 0;
    }
}

@media only screen and (min-width: 1040px) {
    .headerinfowrap .gap {
        /* margin-right: .5%; */ font-size: .875rem;
    }
}
