/* 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-textpic, .ce-image { clear:both; }

.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; position: relative; margin: 0 0 20px;  }
.ce-gallery figure a { /* position: relative; keine Lupe im FF (im Artikel ok. */}
.ce-gallery figcaption { display: table-caption; caption-side: bottom; position: relative; color: #717273; margin-top: 6px; font-size: .85em; }
.ce-gallery figcaption .creator {display: block; font-size: 10px; color: #a3a4a5; background-color: rgba(0,0,0,0.7); position: absolute; top:-21px; right: 3px; padding: 0 2px 1px 2px;}
.ce-gallery img { display: block; width: 100%; height: auto;}
.ce-gallery iframe { border-width: 0; }
.ce-border img { outline: 1px solid #dadada; outline-offset: -1px; padding: 2px 0; }

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

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

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

.ce-textpic .ce-bodytext p:first-child, .ce-textpic .ce-bodytext .zw-titel { margin-top: 0; }

.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-bottom: 1px solid #dadada; }
.ce-table.borderless th, .ce-table.borderless td { border-bottom: none; }
.ce-table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.05); }
.ce-table-striped th { text-align: left; }
.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; }

hr.ce-div { clear:both }

/* 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%; }

.ce-uploads span.file { float: left; padding-right: 4px;}
.ce-uploads span.file:before {font:300 20px var(--fontAwesome); position: relative; top: -2px; }
.ce-uploads span.file:before {content: '\f1c5'; }
.ce-uploads span.file.pdf:before {content: '\f1c1'; }

@media (min-width: 576px) {

    .ce-row { display: flex; margin-bottom: 10px; }
    .ce-row:last-child { margin-bottom: 0; }

    .ce-column { margin-right: 30px; }
    .ce-column:last-child { margin-right: 0; }

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