/*CE-Images Anpassungen*/

.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-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: inherit !important
	; }

.GFX .ce-textpic { overflow: hidden !important}

.animation .ce-left .ce-gallery, .ce-column {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-intext.ce-left .ce-gallery {
    width: 50%;
}

.ce-intext.ce-right .ce-gallery {
    width: 50%;
	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: {$styles.content.textmedia.borderWidth}px solid {$styles.content.textmedia.borderColor};
	padding: {$styles.content.textmedia.borderPadding}px;
}

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
	margin-bottom: {$styles.content.textmedia.textMargin}px;
}
.ce-intext.ce-right .ce-gallery {  margin-left: 100px;}
.ce-intext.ce-left .ce-gallery {  margin-right: 100px;}
.ce-intext.ce-left .ce-gallery { margin-right: {$styles.content.textmedia.textMargin}px; }
.ce-below .ce-gallery { margin-top: {$styles.content.textmedia.textMargin}px; }

.ce-column { margin-right: {$styles.content.textmedia.columnSpacing}px; }
.ce-column:last-child { margin-right: 0; }

.ce-row { margin-bottom: {$styles.content.textmedia.rowSpacing}px; }
.ce-row:last-child { margin-bottom: 0; }

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

.ce-intext.ce-left ol, .ce-intext.ce-left ul { overflow: auto; }

.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; }



  
figcaption {
    bottom: 20px;
    color: #000;
    font-size: 16px;
    left: 0;
    margin: 0 auto;
    max-width: 400px;
    padding: 2% 4%;
    position: absolute;
    text-align: center;
	background:rgba(255, 255, 255, 0.8) none repeat scroll 0 0
}

.csc-textpic-caption  {
   color: #00333f ;
    font-size: 25px;
    font-weight: bold;
    margin: 0 auto;
    max-width: 400px;
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
}
}
.ce-media{
padding-bottom: 20px;
}

    .ce-gallery .ce-column {
        margin: 0;
        /* Abstand zwischen Bildern */
        padding: 0 5px;
        box-sizing: border-box;
    }
 
 
    /* Kein Abstand beim ersten und letzten Bild */
	/*
    .ce-gallery .ce-column:first-child {
        padding-left: 0;
    }
    .ce-gallery .ce-column:last-child {
        margin-right: 0;
    }
	*/
	/* Kein Abstand beim ersten und letzten Bild */
 
    /* Fluid Image Tags */
    .ce-gallery img,
    .ce-gallery picture {
        width: 100%;
        height: auto;
    }
 
    /* Spaltenbreiten je nach eingestellten Columns */
	
	 .ce-gallery[data-ce-columns="1"] .ce-column {
        width: 100%;
    }
 
    .ce-gallery[data-ce-columns="2"] .ce-column {
        width: 50%;
    }
 
    .ce-gallery[data-ce-columns="3"] .ce-column {
        width: 33%;
    }
 
    .ce-gallery[data-ce-columns="4"] .ce-column {
        width: 25%;
    }
 
    .ce-gallery[data-ce-columns="5"] .ce-column {
        width: 20%;
    }


/*CE-Images Anpassungen*/


/*CE-Images Responsive Anpassungen */
/* Gallerie bis 992px auf volle Breite */
@media (max-width: 992px) {
    .ce-gallery, .ce-bodytext {
        width: 100%;
		position: relative;
		float: left;
		padding:0;
		margin:0;
    }
}
 
/* Anpassungen von kleinen bis groeÃŸeren Geraeten */
@media (min-width: 640px) and (max-width: 1200px) {
    .ce-gallery .ce-column {
        margin: 0;
        /* Abstand zwischen Bildern */
        padding: 0 5px;
        box-sizing: border-box;
    }
 
 
    /* Kein Abstand beim ersten und letzten Bild */
    /*.ce-gallery .ce-column:first-child {
        padding-left: 0;
    }
    .ce-gallery .ce-column:last-child {
        margin-right: 0;
    }*/
 
    /* Fluid Image Tags */
    .ce-gallery img,
    .ce-gallery picture {
        width: auto;
        height: auto;
    }
 
    /* Spaltenbreiten je nach eingestellten Columns */
    .ce-gallery[data-ce-columns="2"] .ce-column {
        width: 50%;
    }
 
    .ce-gallery[data-ce-columns="3"] .ce-column {
        width: 33%;
    }
 
    .ce-gallery[data-ce-columns="4"] .ce-column {
        width: 25%;
    }
 
    .ce-gallery[data-ce-columns="5"] .ce-column {
        width: 20%;
    }
}
 
/* Anpassungen fuer kleine Geraete */
@media (max-width: 640px) {
 
    /* Ein Bild pro Zeile */
    .ce-gallery .ce-column {
        margin: 0 0 10px;
        width: 100% !important;
        box-sizing: border-box;
    }
 
    /* Fluid Image Tags */
    .ce-gallery img,
    .ce-gallery picture {
        width: auto;
        height: auto;
    }
}
/*CE-Image Responsive Anplassunge*/