/*-----------------------------------------*/
/* Überschreibungen des Typo3-Stylesheets: */
/*-----------------------------------------*/

/* Allgemein */

.ce-bodytext {
    padding-bottom: calc(var(--paragraph-spacing) + 2px);
}

.ce-gallery {
    margin-bottom: 0!important;
}

.ce-below .ce-gallery {
    margin-top: 0;
}

/* Bildergallerien */

.ce-gallery .ce-outer,
.ce-gallery .ce-inner {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ce-row {
    display: flex;
}

.ce-row .ce-column {
    flex: 1;
}

.ce-column {
    margin-right: 3.33%;
}

.ce-column:last-child {
    margin-right: 0;
}

.ce-row .ce-column figure {
    margin: 0;
}

.ce-row .ce-column img {
    width: 100%;
    height: auto;
}

/* Text links oder rechts neben dem Bild */

.ce-textpic:not(.ce-below):not(.ce-above) {
    display: flex;
}

.ce-textpic:not(.ce-below):not(.ce-above) .ce-bodytext,
.ce-textpic:not(.ce-below):not(.ce-above) .ce-gallery {
    flex: 1;
}

.ce-textpic.ce-left .ce-bodytext,
.ce-textpic.ce-right .ce-gallery {
    margin-left: 3%;
}

.ce-textpic.ce-right {
    flex-direction: row-reverse;
}





