/*---------------------------------------------------------------*/
/*----------------- Fluid styled content ------------------------*/
/*---------------------------------------------------------------*/

/* Start Default */

.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-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; }

.ce-column { float: left; }

.ce-center .ce-row { text-align: center; }
.ce-center .ce-column { display: inline-block; float: none; vertical-align: top; }

.ce-right .ce-gallery { float: right; }

.ce-gallery figure { display: table; margin: 0; }
.ce-gallery figcaption { display: table-caption; caption-side: bottom; font-size: 0.8em; line-height: 1.2em; padding-top: 5px; text-align: left; }
.ce-gallery img { display: block; }
.ce-gallery iframe { border-width: 0; }
.ce-border img,
.ce-border iframe {
	border: none;
	padding: 0;
}

.ce-left .ce-gallery { float: left; }
.ce-right .ce-gallery { float: right; }
.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
	margin-bottom: 10px;
}
.ce-intext.ce-right .ce-gallery { margin-left: 40px; margin-top: 10px; }
.ce-intext.ce-left .ce-gallery { margin-right: 40px; margin-top: 10px; }
.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-image:after { display: block; content: ' '; float: none; clear: both; }

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

.ce-headline-center { text-align: center; }
	
/* End Default */

hr.ce-div {
	display: block;
	width: 100%;
	max-width: 1140px;
	height: 4px;
	background: #ddd;
	border: none;
	margin: 20px auto;
	overflow: hidden;
	float: none;
	clear: both;
}


.ce-textpic .ce-bodytext { padding: 10px 0; }

.typo3-editPanel { clear: both; }
.typo3-feedit-element { margin-top: 20px; }
a.typo3-editPanel-btn.content-link { display: none; }
.frontEndEditIconLinks img { width: auto; height: auto; }

.ce-intext .ce-bodytext h2:first-child,
.ce-intext .ce-bodytext h3:first-child { padding-top: 0; }

.typo3-feedit-element { position: relative; padding-top: 20px; }
.typo3-feedit-element:hover {
	-webkit-box-shadow: 0px 0px 0px 4px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 0px 4px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 0px 4px rgba(0,0,0,0.1);
}
.typo3-editPanel { position: absolute; top: 0; left: 0; z-index: 100; padding: 0 5px; background: #ddd; }
.typo3-feedit-element:hover > form .typo3-editPanel { display: block !important; }
.typo3-editPanel .frontEndEditIconLinks { display: inline !important; }
.typo3-editPanel a { text-decoration: none; }
.typo3-editPanel .icon-markup { display: inline-block; width: 26px; height: 26px; padding: 5px; }
.typo3-editPanel-label {display: none;}

.ce-media img { width: 100%; height: auto; }

/* Sitemap */

#content-col-0 .frame-type-menu_sitemap_pages ul { margin: 10px 0 10px 30px; }
#content-col-0 .frame-type-menu_sitemap_pages > ul { margin-left: 0; border-left: 0; }
#content-col-0 .frame-type-menu_sitemap_pages ul li { padding: 5px 0 0 0; }
#content-col-0 .frame-type-menu_sitemap_pages ul a { text-decoration: none; }
#content-col-0 .frame-type-menu_sitemap_pages ul a:hover { text-decoration: underline; }
#content-col-0 .frame-type-menu_sitemap_pages > ul > li > a { font-size: 1.4em; }
#content-col-0 .frame-type-menu_sitemap_pages > ul > li > ul { font-size: 1.2em; }
#content-col-0 .frame-type-menu_sitemap_pages > ul > li > ul > li ul { font-size: 0.9em; }



@media only screen and (max-width: 959px) {
	
	/* ----- Fluid styled content ----- */

	.ce-gallery[data-ce-columns="2"] .ce-column { max-width: 49.375%; margin-right: 1.25%; }
	.ce-gallery[data-ce-columns="3"] .ce-column { max-width: 32.5%; margin-right: 1.25%; }
	.ce-gallery[data-ce-columns="4"] .ce-column { max-width: 24.06%; margin-right: 1.25%; }
	.ce-gallery[data-ce-columns="5"] .ce-column { max-width: 19%; margin-right: 1.25%; }
	.ce-gallery[data-ce-columns="6"] .ce-column { max-width: 15.62%; margin-right: 1.25%; }
	.ce-gallery .ce-column:last-child { margin-right: 0; }

	div[data-csc-cols="1"] img { width: 100% !important; }
	
}

@media only screen and (max-width: 479px) {
	
	.ce-left .ce-gallery,
	.ce-intext.ce-left .ce-gallery,
	.ce-right .ce-gallery,
	.ce-intext.ce-right .ce-gallery { float: none; margin-left: 0; margin-right: 0; }
	
}
