/**
 * Generic styles for all content elements
 */
[class*=csc-]:first-child > .header {
	margin-top: 0; /* No margin for first elements */
}

	/* Header alignments */
.header-center {
	text-align: center;
}
.header-right {
	text-align: right;
}
.csc-linkToTop .fa-chevron-up {
	color: #ff0000;
}

.csc-element div.csc-textpic-intext-right div h3 {
	padding-left: 0px
}

/**
 * Specific styles for the content element textpic
 */
.csc-textpic,
.csc-textpic-imagerow,
.csc-textpic-imagewrap {
	overflow: hidden;
}

	/* Float the columns */
.csc-textpic-imagecolumn {
	float: left;
}

[class*=csc-textpic-intext] .csc-textpic-imagewrap {
	max-width: 50%;
}

.csc-textpic[class*=-nowrap] .csc-textpic-text {
	margin: 0;
	overflow: auto;
}

	/* Fix for unordered and ordered list with image "In text, left" */
.csc-textpic-intext-left ol,
.csc-textpic-intext-left ul {
	padding-left: 40px;
	overflow: auto;
}

	/* Space left or right for "In text" orientations */
[class*=csc-textpic-intext-left] .csc-textpic-imagewrap {
	margin-right: 15px;
}
[class*=csc-textpic-intext-right] .csc-textpic-imagewrap {
	margin-left: 15px;
}

	/* Figure */
.csc-textpic figure {
	display: block;
		/* Space below each image (also in-between rows) */
	margin: 6px 0 15px 6px;
	overflow: hidden;
}
.csc-textpic-imagerow-last figure {
	margin-bottom: 0;
}
	.csc-textpic figure img {
		display: block;
		max-width: 100%;
		width: auto;
		height: auto;
	}

	/* Figcaption */
.csc-textpic figcaption {
		/* This solves the figcaption width inside a column */
	display: block;
	min-width: 100%;
	width: 0;
}
.csc-textpic-caption-c {
	text-align: center;
}
.csc-textpic-caption-r {
	text-align: right;
}

/**
 * Specific image orientation
 */
	/* Center (above or below) */
.csc-textpic-center .csc-textpic-center-outer {
	position: relative;
	float: right;
	right: 50%;
	max-width: 100%;
}
	.csc-textpic-center .csc-textpic-center-inner {
		position: relative;
		float: right;
		right: -50%;
		max-width: 100%;
	}

	/* Right (above or below) */
.csc-textpic-right .csc-textpic-imagewrap {
	text-align: right;
}

	/* Left (above or below) */
.csc-textpic-left .csc-textpic-imagewrap {
	text-align: left;
}

	/* Left (in text) */
.csc-textpic-intext-left .csc-textpic-imagewrap {
	float: left;
}

	/* Right (in text) */
.csc-textpic-intext-right .csc-textpic-imagewrap {
	float: right;
}

	/* Right (in text, no wrap around) */
.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
	float: right;
}

	/* Left (in text, no wrap around) */
.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
	float: left;
}

/**
 * Specific styles for the content element table
 */
.contenttable-0 td,
.contenttable-0 th {
	border: 1px solid #999;
	padding: 5px;
	text-align: right;
	white-space: normal;
}
.contenttable-0 .td-0 {
	white-space: normal;
}

/**
 * Specific styles for the content element uploads
 */

.csc-uploads {
}
	.csc-uploads li.csc-uploads-element {
		margin: 0;
	}
		.csc-uploads li span {
			display: inline-block;
		}
		.csc-uploads li span.csc-uploads-fileSize {
			padding-left: 5px;
		}
			.csc-uploads li a i,
			.csc-uploads li a img {
				padding: 0 4px 0 0;
			}

