/* default styles for extension "tx_frontend" */
.fsc-element>h2 { font-size: 1.58em; color: var(--contentBlue); margin: .95em 0 .7em; }
.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 { clear:both; }

.ce-bodytext p:first-child { margin-top: 0; }

.ce-left .ce-gallery { 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-row { margin-bottom: 10px;  }
.ce-row:last-child { margin-bottom: 0; }

.ce-gallery figure { display: table; margin: 0; }
.ce-textpic figure.image { }
.ce-textpic figure.video { margin-bottom: 34px; }
.ce-textpic figure.video .video-caption { margin-top: 6px;}
.ce-gallery figcaption { display: table-caption; caption-side: bottom; color: #6f7577; font-size: .85em; padding-top: .4em;  }
.ce-gallery img { display: block; max-width: 100%; height: auto; }
.ce-gallery iframe { border-width: 0; }
.ce-gallery figcaption.image-caption span { width: 100%; display: inline-block; margin-top: 3px;}
.ce-border img, .ce-border iframe { border: 1px solid #d6d6d6; padding: 0; }


.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery {margin-bottom: 20px;}

.ce-below .ce-gallery { margin-top: 10px; }

.ce-above .ce-bodytext { clear: both; }

.ce-intext.ce-left ol, .ce-intext.ce-left ul { padding-left: 23px; 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%; }

/* Bildicons Allgemein */
.ce-gallery figure a, [class^=teaser] .image a, .teaser-opener>a, ul.news-img>li>a  { position: relative; overflow: hidden; display: block;}
.media-all {position: absolute; left: .55em; bottom: .55em; font-size: clamp(.77em,1.75vw,1em); }
.media-icon span { color: #fff; }
.media-icon::before { font-family:var(--fontAwesome); font-weight: 300;color: #fff; }
.media-icon.magnifier::before { content: '\f31d'; font-size: 1.65em; }
.media-icon.gallery::before {content: '\f302'; margin-right: 10px;  }
.media-icon.video::before { content: '\f144'; font-size: 1.6em; margin-right: 10px; }

/* Bildicons Teaser */
[class^=teaser] .media-icon.gallery::before {font-size: 1.45em; }
.teaser-opener .media-all { left:.5em; top:.5em;}

/* Bildicons Artikel */
ul.news-img .media-all {color: #fff;  }
ul.news-img .media-icon.gallery {background-color: rgba(143,14,84,.8); padding:.44em .9em; display: flex; align-items: center; border-radius: 1px;  }
ul.news-img .media-icon.has-video { padding: 0.9em; align-items: center; height: .94em;}
ul.news-img .media-icon.gallery::before {font-size: 1.6em;}

/* Bildicons fsc-element */
.ce-gallery figure a.video .media-all, .ce-gallery figure.video .media-all   { position: absolute; top:0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.ce-gallery figure .media-icon.video::before { font-size:clamp(3em,10.5vw,5em); font-weight: 200; text-shadow:  1px  1px 1px rgba(0,0,0,.3), 1px -1px 1px rgba(0,0,0,.3), -1px  1px 1px rgba(0,0,0,.3), -1px -1px 1px rgba(0,0,0,.3) ;}
.ce-gallery figure.video .media-icon.video::before { font-size: 3.2em; }

.ce-image.ce-center .ce-gallery {margin: 1.8em 0 2.8em; overflow: hidden;}

/*
.media-icon.video { display: flex; justify-content: center; align-items: center; border: 3px solid #fff; width: 44px; height: 44px; border-radius: 50%; }
.media-icon.video::before { content: ''; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
*/
@media (min-width: 576px) {

    .ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; }

    .ce-row { display: flex;}
    .ce-column { margin-right: 22px; }
    .ce-column:last-child { margin:0; }
    .ce-gallery[data-ce-columns="2"] .ce-column { flex-basis: 50%; }
    .ce-gallery[data-ce-columns="3"] .ce-column { flex-basis: 33.3333333%; }
    .ce-gallery[data-ce-columns="4"] .ce-column { flex-basis: 25%; }
    .ce-gallery[data-ce-columns="5"] .ce-column { flex-basis: 20%; }
    .ce-gallery[data-ce-columns="6"] .ce-column { flex-basis: 16.6666667%; }
    .ce-gallery figcaption { font-size: .78em; }
    .ce-gallery[data-ce-columns="5"] figcaption, .ce-gallery[data-ce-columns="6"] figcaption { display: none;  }
    .ce-gallery[data-ce-columns="5"] .media-icon, .ce-gallery[data-ce-columns="6"] .media-icon { bottom: -2px; transform: scale(.65); }
    .ce-intext .ce-gallery {margin-top: 3px;}
    .ce-intext.ce-right .ce-gallery { margin-left: 18px; }
    .ce-intext.ce-left .ce-gallery { margin-right: 18px; }
}

@media (min-width: 768px) {

    .ce-gallery figcaption { font-size: .84em; }
    .ce-gallery[data-ce-columns="5"] figcaption, .ce-gallery[data-ce-columns="6"] figcaption { display: block; font-size: .78em; }
    .ce-gallery[data-ce-columns="5"] .media-icon, .ce-gallery[data-ce-columns="6"] .media-icon {  bottom: 7px;  transform: scale(1); }

    /* Bildicons Teaser */
    .teaser-opener .media-all { bottom:.55em; top:unset; }

     .ce-intext.ce-left .ce-gallery {margin:0 1.1em 10px 0;}
    .ce-intext.ce-right .ce-gallery {margin:0 0 10px 1.1em}

}

@media (min-width: 1200px) {
    /* Bildicons Teaser */
    .teaser-opener .media-all { bottom: unset; top:.55em;}
}

@media (min-width: 1440px) {
    /* Bildicons Teaser */
    .teaser-opener .media-all { bottom:.55em; top: unset; }
}