.cGalleryWidget {
	margin-bottom: 5px;
	position: relative;
}

html[dir="ltr"] .ipsWidget .cGalleryWidget .cGalleryWidgetInfo {
	padding-left: 2px;
}

	.ipsWidget.ipsWidget_horizontal .cGalleryWidget .cGalleryWidgetInfo	{
		max-width: 175px;
	}

	.cGalleryWidget > div:first-child {
		margin-bottom: 5px;
		background: rgb( var(--theme-area_background_reset) );
	}

	.ipsWidget.ipsWidget_vertical .cGalleryWidget .ipsImage {
		max-height: 175px;
	}

	.ipsWidget.ipsWidget_horizontal .cGalleryWidget .ipsImage {
		max-height: 145px;
		margin-bottom: 5px;
	}

	.cGalleryWidget .ipsNoThumb {
		display: block;
	}

	.cGalleryWidget_verticalThumb {
		height: 150px;
	}

.cGalleryWidgetList > li {
	border-bottom: 1px solid rgb( var(--theme-area_background) );
	padding-bottom: 10px;
	margin-bottom: 10px;
}

	.cGalleryWidgetList > li:last-child {
		padding-bottom: 0;
		margin-bottom: 0;
		border: 0;
	}

.cGalleryWidget_comments {
	position: absolute;
	top: 122px;
	color: #fff;
	background: rgb( var(--theme-area_background_dark) );
	padding: 0px 4px;
	border-radius: 2px;
	font-size: 12.0px;
}
html[dir="ltr"] .cGalleryWidget_comments {
	right: 7px;
}
html[dir="rtl"] .cGalleryWidget_comments {
	left: 7px;
}
	#elGalleryStatsLatest .cGalleryWidget_comments {
		top: 140px;
	}

	.cGalleryWidget_comments.ipsFaded {
		opacity: 0.7;
	}

	.ipsCarousel_item .cGalleryWidget_comments {
		top: 150px;
	}

.cGalleryWidget_album > a {
	display: block;
	height: 235px;
	position: relative;
	color: #fff;
}

	.cGalleryWidget_album > a:before {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 53px;
		background: rgba(0,0,0,0.8);
	}
	
	.cGalleryWidget_album .ipsType_sectionHead,
	.cGalleryWidget_album .cGalleryWidget_albumInfo {
		position: absolute;
		left: 7px;
		right: 7px;
		text-shadow: 1px 1px 1px rgba(0,0,0,1);
	}

		.cGalleryWidget_album .cGalleryWidget_albumInfo > li:first-child {
			position: absolute;
			top: 0;
		}

	.cGalleryWidget_album .ipsType_sectionHead {
		bottom: 23px;
		color: inherit;
		font-size: 14.0px;
	}

	.cGalleryWidget_album .cGalleryWidget_albumInfo {
		bottom: 7px;
		font-size: 12.0px;
	}