/* Gallery rework */
.elGalleryHeader {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	flex: 1 1 100%;
}

.elGalleryImage {
	height: clamp(300px, 60vh, 800px);
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

	.cGalleryLightbox .elGalleryImage {
		min-height: 300px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		overflow: hidden;
	}

.cGalleryImageFade {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	transition: opacity 0.3s ease-in-out;
	opacity: 0;
	pointer-events: none;
}

.elGalleryImage:hover .cGalleryImageFade,
.elGalleryImage.cGalleryImageHover .cGalleryImageFade {
	opacity: 1;
}

.elGalleryImage .ipsImageBlock__nsfw{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: #fff;
}

section[data-role="imageInfo"] .ipsPhotoPanel .ipsPos_right {
	margin-left: 4px;
}

#elGalleryImageStats [data-ipsRating] > .ipsRating {
	float: none;
}

.elGalleryImageNav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.elGalleryImageNav a {
	color: #fff;
	font-size: 60px;
	font-size: clamp(30px, 5vw, 60px);
	padding: 0 15px;
	opacity: 0.2;
	transition: all 0.2s ease-in-out;
	z-index: 100;
	pointer-events: auto;
}
	.elGalleryImage:hover .elGalleryImageNav a {
		opacity: 1;
		background: rgba(0,0,0,0.2);
	}

/*
	----------------
	- Carousel
	----------------
*/

.cGalleryCarousel{
	margin: 0;
	padding: 0;
	list-style: none;
	--carousel--show: 1;
	--carousel--scroll: var(--carousel--show);
	--gap: 10px;
	--carousel--pull: 0px;
	display: flex;
	gap: var(--gap);
	overflow-x: scroll;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

	.cGalleryCarousel::-webkit-scrollbar {
		-webkit-appearance: none;
		height: 0px;
	}

/* Carousel items */
.cGalleryCarousel > *{
	flex: 0 0 0;
	flex-basis: calc( (100% - (var(--gap) * (var(--carousel--show) - 1) )) / var(--carousel--show) );
	scroll-snap-align: start;
}

	.cGalleryCarousel:focus-within > *:not(:focus-within){
		scroll-snap-align: none;
	}

/* Navigation buttons */
.cGalleryCarouselNav{
	display: flex;
	justify-content: center;
	gap: 6px;
}

	.cGalleryCarouselNav[hidden]{
		display: none !important;
	}

	.cGalleryCarousel + .cGalleryCarouselNav,
	.cGalleryCarouselNav + .cGalleryCarousel{
		margin-top: var(--sp-2);
	}

.cGalleryCarouselNav__button{
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	min-width: 44px;
	border-radius: 6px;
	background: none;
	color: inherit;
	border: 2px solid currentColor;
	touch-action: manipulation;
	opacity: .5;
}

	.cGalleryCarouselNav__button svg{
		fill: currentColor;
	}

@media (hover: hover){
	.cGalleryCarouselNav__button:hover{
		opacity: 1;
	}
}

@media (min-width: 768px){
	.cGalleryCarouselNav--overlay{
		color: #fff;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 1rem;
		right: 1rem;
		justify-content: space-between;
		pointer-events: none;
		margin-top: 0 !important;
	}

		.cGalleryCarouselNav--overlay button{
			pointer-events: auto;
		}
}

/*
	----------------
	- Wallpaper carousel
	----------------
*/

.ipsColumns--gallery-featured-carousel{
	--carousel-height: clamp(480px, 80vh, 610px);
}

.cGalleryCarousel--wallpaper{
	--carousel--show: 1;
	--gap: 3px;
	padding-bottom: 0;
	max-height: 90vh;
	height: var(--carousel-height, auto);
}

	.cGalleryCarousel--wallpaper .ipsImageBlock{
		height: 100%;
	}

	.cGalleryCarousel--wallpaper .ipsImageBlock__footer{
		padding: 1.5em;
	}

/*
	----------------
	- Image view: thumbnail carousel
	----------------
*/

.cGalleryImageThumbs{
	position: relative;
	background: rgb(var(--theme-area_background_dark)) linear-gradient(rgba(0,0,0,.3) 0% 100%);
	box-shadow: inset rgba(255,255,255,.1) 0px 1px 0px;
	border-radius: 0 0 var(--box--radius) var(--box--radius);

	padding: 20px 44px;
}

	.cGalleryImageThumbs .cGalleryCarousel{
		--gap: 15px;
		padding: 4px;		
		scroll-snap-type: none;
	}

		.cGalleryImageThumbs .cGalleryCarousel__item{
			flex-basis: auto;
			border-radius: 4px;
			outline: 1px solid rgb(var(--theme-area_background), .001); /* Color is needed to prevent thumbnails from jumping on hover in Safari */
			outline-offset: 2px;
		}

			.cGalleryImageThumbs .cGalleryCarousel > *:first-child{
				margin-inline-start: auto;
			}
			.cGalleryImageThumbs .cGalleryCarousel > *:last-child{
				margin-inline-end: auto;
			}

			.cGalleryImageThumbs .ipsImageBlock__main > *{
				height: 80px;
			}

			.cGalleryImageThumbs .cGalleryCarousel__item--active{
				outline-color: rgb(var(--theme-area_background), 1);
				outline-width: 2px;
			}

			.cGalleryImageThumbs .cGalleryCarousel__item:not(.cGalleryCarousel__item--active):hover{
				outline-color: rgb(var(--theme-area_background), .5);
			}

		.cGalleryImageThumbs .cGalleryCarouselNav{
			color: #fff;
			left: 0;
			right: 0;
		}

			.cGalleryImageThumbs .cGalleryCarouselNav__button{
				border-color: transparent;
			}

@media (max-width: 767px){
	.cGalleryImageThumbs{
		padding-left: 0;
		padding-right: 0;
	}
	.cGalleryImageThumbs .cGalleryCarousel{
		padding-left: 20px;
		padding-right: 20px;
	}
	/* Remove arrow buttons on touch devices */
	@media (hover: none){
		.cGalleryImageThumbs .cGalleryCarousel + .cGalleryCarouselNav{
			display: none;
		}
	}
}

/*
	----------------
	- Masonry
	----------------
*/
.iGalleryMasonry{
	margin: 0;
	padding: 0;
	list-style: none;
	--ratio: 16/9;
	--gap: 12px;
	--basis: clamp(180px, 30vw, 240px);
	--basis: clamp(120px, 25%, 240px);
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
}

	.iGalleryMasonry--mini{
		--basis: 70px;
	}

	.iGalleryMasonry__item,
	.iGalleryMasonry::after{
		flex-grow: calc(10 * (var(--ratio)));
		flex-shrink: 1;
		flex-basis: calc(var(--ratio) * var(--basis));
		display: grid;
		border-radius: 7px;
		position: relative;
	}

	.iGalleryMasonry__item:has(:checked){
		outline: 2px solid rgb(var(--theme-brand_primary));
		outline-offset: 2px;
	}

	.iGalleryMasonry::after{
		content: '';
		flex-basis: 50%;
		align-self: flex-end;
	}

		.iGalleryMasonry__item > *{
			grid-area: 1/-1;
			position: relative;
		}

		.iGalleryMasonry__item::before{
			content: '';
			padding-top: calc(100% / (var(--ratio)));
			grid-area: 1/-1;
		}

		/* Ensure media in masonry grids follow their ratio */
		.iGalleryMasonry .ipsImageBlock__main img,
		.iGalleryMasonry .ipsImageBlock__main video,
		.iGalleryMasonry .ipsImageBlock__main iframe{
			position: absolute;
			width: 100%;
			height: 100%;
			border-radius: inherit;
		}


/*
	----------------
	- Latest comments sidebar
	----------------
*/

@media (min-width: 980px){
	.ipsWidget--gallery-comments{
		height: var(--carousel-height, 610px);
	}
	.cGalleryLatestComments{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		overflow-y: auto;
	}
}

	.cGalleryLatestComments > ul{
		margin: 0;
		padding: 0;
		list-style: none;
	}

		.cGalleryLatestComments__item{
			display: flex;
			padding: 1em;
			border-bottom: 1px solid rgba( var(--theme-text_light), 0.15 );
		}

		.cGalleryLatestComments__thumb{
			flex: 0 0 72px;
			margin-inline-end: 1em;
		}

			.cGalleryLatestComments__thumb .ipsImageBlock__main{
				height: 72px;
			}

		.cGalleryLatestComments__text{
			flex: 1 1 100%;
			align-self: center;
		}

			.cGalleryLatestComments .ipsType_richText{
				display: -webkit-box;
				-webkit-line-clamp: 4;
				-webkit-box-orient: vertical;
				overflow: hidden;
				text-overflow: ellipsis;
				margin-bottom: 0.5em;
				font-weight: 450;
			}

/*
	----------------
	- Categories
	----------------
*/
.cGalleryCats{
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 35px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 20%, 280px), 1fr));
	text-align: center;
	padding-bottom: 30px;
}

.cGalleryCat .ipsImageBlock {
	margin-bottom: 15px;
}

	.cGalleryCat .ipsImageBlock__main{
		aspect-ratio: 4/3;
	}

	@supports not (aspect-ratio: 1){
		.cGalleryCat .ipsImageBlock__main{
			height: 250px;
		}
	}

	.cGalleryCats__name {
		margin: 0;
		color: rgb( var(--theme-text_dark) );
		font-size: 18.0px;
		font-weight: 500;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

		.cGalleryCats__name .ipsItemStatus:not( .ipsItemStatus_large ){
			font-size: 10px;
		}

	.cGalleryCats__stats {
		margin: 0;
		margin-top: 5px;
		padding: 0;
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 5px 20px;
		font-size: 12.0px;
		color: rgb(var(--theme-text_light));
	}

	.cGalleryCats .ipsType_richText{
		margin-top: .5em;
	}

/* 
	Align text/stats to the start instead of centered.
	This makes categories with descriptions more visually pleasing.
*/
.cGalleryCats--start{
	text-align: start;
}

	.cGalleryCats--start .cGalleryCats__stats{
		justify-content: flex-start;
	}


/* ALBUM LIST IN A CATEGORY */
.cGalleryAlbums > li:not( :last-child ) {
	margin-bottom: 7px;
}

html[dir="ltr"] .cGalleryEvents .ipsDataList .ipsDataItem,
html[dir="ltr"] .cGalleryEvents .ipsDataList .ipsDataItem_icon {
	padding-left: 0 !important;
}
html[dir="rtl"] .cGalleryEvents .ipsDataList .ipsDataItem,
html[dir="rtl"] .cGalleryEvents .ipsDataList .ipsDataItem_icon {
	padding-right: 0 !important;
}

.cGalleryImageItem.cGalleryImageItem_selected {
	background-color: rgb( var(--theme-selected) );
}

.ipsDataItem.cGalleryImageItem > *{
	vertical-align: middle;
}

/* IMAGE VIEW PAGE */
.cGalleryViewImage {
	display: grid;
	place-items: center;
	position: relative;
}

	.cGalleryViewImage img[data-role="theImage"],
	#elGalleryVideo {
		position: relative;
		max-width: 100%;
		max-height: clamp(300px, 60vh, 800px);
		display: block;
	}

	.cGalleryViewImage [data-ipslightbox]{
		cursor: zoom-in;
	}

	.cGalleryImageTitle {
		color: #fff;
		text-align: left;
		z-index: 100;
		pointer-events: auto;
	}

		.cGalleryImageTitle .ipsType_pageTitle, .cGalleryImageTitle .ipsType_pageTitle a,
		.cGalleryImageTitle .ipsType_minorHeading, .cGalleryImageTitle a {
			color: inherit;
			font-weight: inherit;
		}

		.cGalleryImageTitle .ipsType_pageTitle {
			font-size: 20.0px;
		}

	.cGalleryCreditInfo {
		text-align: left;
		color: #fff;
		text-shadow: 2px 2px 5px #000;
		pointer-events: auto;
	}
	
	.cGalleryViewImage_controls {
		z-index: 100;
		pointer-events: auto;
	}

	.cGalleryLightbox [data-role="imageComments"] .ipsTabs_panels.ipsTabs_contained .ipsTabs_panel {
		padding: 0px;
	}

[data-role="imageComments"] .ipsTabs_panel .ipsRecommendedComments {
	margin: -15px 0px 5px 0px;
}

.elGalleryImage .ipsButton.ipsButton_link {
	background: rgba(0,0,0,0.4) !important;
	color: #fff;
	border-color: transparent !important;
	margin-inline-start: 3px;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.elGalleryImage .ipsButton.ipsButton_primary {
	background: #fff !important;
	color: #000;
	border: 1px solid #fff !important;
	margin-inline-start: 3px;
}

	.elGalleryImage .ipsPromote .ipsPromote_icon {
		background: transparent;
	}

.cGalleryExif_data {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.cGalleryExif_data li {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: .5em;
		padding: 1em 0;
		border-bottom: 1px solid rgba(var(--theme-area_background_dark), .1);
	}

		.cGalleryExif_data li:last-child{
			border-bottom-width: 0;
		}

	.cGalleryExif_data__icon{
		flex: 0 0 1.6em;
		color: rgb(var(--theme-text_light));
		text-align: center;
	}

	.cGalleryExif_data__label{
		font-weight: 500;
		color: rgb(var(--theme-text_dark));
	}

	.cGalleryExif_data__value{
		margin-inline-start: auto;
		color: rgb(var(--theme-text_light));
		text-align: end;
	}

	.cGalleryExif .cGalleryExif_f {
		font-family: 'Palatino', 'Times New Roman';
		font-style: italic;
		font-weight: bold;
	}

/* NOTES */
.cGalleryViewImage_addNote {
	cursor: crosshair;
}

.cGalleryViewImage:hover .cGalleryNote {
	opacity: 1;
}

.cGalleryNote {
	position: absolute;
	opacity: 0;
}

.cGalleryNote_border {
	border: 1px solid #000;
	height: 100%;
	background: rgba(255,255,255,0.0001);
}

	.cGalleryNote_border:after {
		position: absolute;
		left: 1px;
		right: 1px;
		top: 1px;
		bottom: 1px;
		content: '';
		display: block;
		border: 1px solid #ccc;
	}

	.cGalleryNote_editing .cGalleryNote_border,
	.cGalleryNote_editing .cGalleryNote_border:after {
		border-style: dashed;
		opacity: 1;
	}

.cGalleryNote_editing {
	opacity: 1 !important;
}

	.cGalleryNote_editing .cGalleryNote_note {
		opacity: 1 !important;
		display: block !important;
		max-width: 220px;
		width: 220px;
		padding: 4px;
		pointer-events: auto;
		z-index: 1000;
	}

		.cGalleryNote_editing .cGalleryNote_note ul {
			text-align: start;
			margin-top: 5px;
		}

		.cGalleryNote_editing .cGalleryNote_note a {
			color: #fff;
		}

		.cGalleryNote_editing .cGalleryNote_note textarea {
			font-size: 12.0px;
			color: #000;
		}

.cGalleryNote_note {
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
	position: absolute;
	top: 0;
	inset-inline-start: 105%;
	margin-top: 5px;
	background: #2a2a2a;
	color: #fff;
	font-size: 12.0px;
	border-radius: 2px;
	pointer-events: none;
}

	.cGalleryNote_note > div {
		width: 100%;
		max-width: 200px;
		padding: 4px 8px;
	}


.cGalleryNote_delete { 
	position: absolute;
	top: -10px;
	inset-inline-end: -10px;
	width: 24px;
	height: 24px;
	line-height: 19px;
	border-radius: 12px;
	background: #000;
	border: 1px solid #fff;
	color: #fff;
	font-size: 17px;
	text-align: center;
}

/* jQuery resizable styles */
.ui-resizable-handle { position: absolute; font-size: 0.1px; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize;	height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize;	height: 7px; width: 100%; bottom: -5px;	left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px;	right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize;	width: 7px;	left: -5px;	top: 0;	height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px;	top: -5px; }
.ui-icon-gripsmall-diagonal-se {
	background: url( "https://thiswebsite.rip/applications/core/dev/resources/global/resizable.png" );
}
.ui-draggable { cursor: move;}

.cGallerySearchAlbumThumbs,
.cGalleryManagedAlbumThumbs {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 4px;
	overflow: hidden;
	width: 100%;
}

.cGalleryManagedAlbumThumbs{
	margin-top: 10px;
}

.cGallerySearchAlbumThumbs.cGallerySearchExpanded {
	padding-inline-start: 30px;
}
	 
	.cGallerySearchAlbumThumbs li,
	.cGalleryManagedAlbumThumbs li {
		max-width: 35px;
		max-height: 35px;
		display: block;
	}


/* Lightbox */
#cLightbox {} 

	#cLightbox .cLightboxBack {
		background-color: #000;
		opacity: 1.0;
	}

.cLightboxClose {
	background-color: #000;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 28px;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	line-height: 40px;
	text-align: center;
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	z-index: 10;
	cursor: pointer;
}

.cGalleryLightbox {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;	
}

	.cGalleryLightbox_inner {
		display: flex;
		align-items: stretch;
		background: rgb(var(--theme-area_background_dark)) linear-gradient(rgba(0,0,0,.6) 0% 100%);
		border-radius: var(--box--radius) var(--box--radius) 0 0;
	}

	@media (max-width: 767px){
		.cGalleryLightbox_inner,
		.cGalleryImageThumbs{
			margin-left: -10px;
			margin-right: -10px;
			border-radius: 0;
		}
	}

		.cGalleryLightbox .cGalleryLightbox_inner {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			box-shadow: 0px 5px 55px rgba(0,0,0,0.4);
			margin: 0;
		}


.cGalleryLightbox_image {
	flex-grow: 1;
}

.cGalleryLightbox_info {
	width: 445px;
	min-width: 445px;
	overflow-y: auto;
}

	/* Adds smaller margins to staff notes in the lightbox for a neater layout. Important is necessary to overwride utility classes */
	.cGalleryLightbox_info .cContentMessage {
		margin: 5px !important;
	}

.cGalleryImageTopBar,
.cGalleryImageBottomBar {
	position: absolute;
	left: 0;
	right: 0;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	pointer-events: auto;
}

	.cGalleryImageBottomBar .ipsList_inline{
		margin-inline-start: auto;
	}

.cGalleryImageTopBar {
	top: 0;
	align-items: flex-start;
	padding: 20px 20px 0 20px;
}
.cGalleryImageBottomBar {
	bottom: 0;
	align-items: flex-end;
	padding: 0 20px 20px 20px;
	pointer-events: none;
}

	.cGalleryImageBottomBar > *{
		pointer-events: auto;
	}

.cGalleryControls {
	white-space: nowrap;
	margin-inline-start: auto;
}

/* Customized styles for comments area inside lightbox */
/*
.cGalleryLightbox [data-role="imageComments"] #comments,
.cGalleryLightbox [data-role="imageComments"] #reviews {
	padding: var(--sp-4);
}

.cGalleryLightbox_info [data-role="noComments"] {
	display: none;
}

.cGalleryLightbox_info .ipsComposeArea_dummy {
	padding: 7px 15px;
	font-size: 14.0px;
}

.cGalleryLightbox_info .ipsTabs {
	background: rgb( var(--theme-area_background) );
	border-top: 1px solid rgba(0,0,0,0.1);
}

.cGalleryLightbox_info .ipsTabs_item,
.cGalleryLightbox_info .ipsTabs_item:hover {
	color: rgb( var(--theme-text_color) );
}

.cGalleryLightbox_info .cGuestTeaser .ipsGrid_span6 {
	float: none;
	width: 100%;
}

.cGalleryLightbox_info .cGuestTeaser_right {
	margin-top: 15px;
}

.cGalleryLightbox_info .cGuestTeaser .ipsType_pageTitle {
	font-size: 20.0px;
}
*/

	/* Increase padding on the comments multi-mod to cater for a lack of .ipsPad */
	/*[data-role="imageComments"] #comments > .ipsButtonRow{
		margin: 12px;
	}*/

/* And lightbox comment editor stuff */
/* Todo: remove this when a 'slim' editor variant is available */
/*.cGalleryLightbox_info .ipsToolList.ipsToolList_horizontal .ipsToggle {
	transform: scale(0.8);
}

.cGalleryLightbox_info .ipsToolList.ipsToolList_horizontal label {
	font-size: 13.0px;
}

.cGalleryLightbox_info .ipsToolList_horizontal{
	justify-content: center;
}

	.cGalleryLightbox_info .ipsToolList_horizontal::after{
		display: none;
	}

	.cGalleryLightbox_info .ipsToolList_horizontal > li{
		margin: 6px;
	}

	.cGalleryLightbox_info .ipsToolList_horizontal > li:not(.ipsPos_left){
		flex: 1 1 100%;
		order: 3;
	}

.cGalleryLightbox_info button[type="submit"][accesskey="s"] {
	width: 100%;
	margin-top: 10px;
}

.cGalleryLightbox_info .ipsComposeArea_dropZoneSmall .ipsList_inline > li.ipsPos_right {
	float: none;
}

.cGalleryLightbox_info .ipsComposeArea_dropZoneSmall .ipsList_inline > li.ipsPos_right .ipsButton_verySmall {
	line-height: 22px;
	margin-top: 7px;
	padding: 0 10px;
}

.cGalleryLightbox_info .ipsComposeArea_dropZone .fa-paperclip {
	font-size: 20px;
}

.cGalleryLightbox_info .ipsComposeArea_dropZone > div {
	margin-top: -3px;
	margin-inline-start: 25px;
}*/

.cGalleryNoThumb_full {
	width: 100%;
	height: 400px;
}
	.cGalleryNoThumb_full:after {
		font-size: 50px;
	}

/*.cGalleryLightbox_info .ipsRecommendedComments .ipsComment_recommendedFlag {
	z-index: 100;
}

.cGalleryLightbox_info .ipsRecommendedComments .ipsComment_recommendedFlag .ipsResponsive_hidePhone,
.cGalleryLightbox_info .ipsRecommendedComments .ipsComment_recommended > .ipsPos_right {
	display: none;
}

.cGalleryLightbox_info .ipsRecommendedComments .ipsColumn {
	display: block !important;
}

.cGalleryLightbox_info .ipsRecommendedComments .ipsColumn.ipsColumn_narrow {
	float: left;
	width: 70px;
}

.cGalleryLightbox_info .ipsRecommendedComments .ipsComment_header {
	padding: 0;
	margin: 0 0 15px 0;
}

html[dir] .cGalleryLightbox_info .ipsRecommendedComments .ipsComment_recommendedNote {
	margin-left: 0;
	margin-right: 0;
}*/

/* Full size image lightbox */
#cLightbox[data-fullScreen] .cLightboxClose,
#cLightbox[data-fullScreen] .cGalleryLightbox_info {
	display: none !important; /* Navigating in the lightbox will call elem.show() which sets an inline display: block style we want to ignore */
}

#cLightbox[data-fullScreen] .cGalleryLightbox {
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

#cLightbox[data-fullScreen] .cGalleryImageFade {
	transition: none;
	opacity: 1;
}

[data-role="toggleFullscreen"]:after {
	font-family: FontAwesome;
	content: "\f065";
}

	#cLightbox[data-fullScreen] [data-role="toggleFullscreen"]:after {
		content: "\f066";
	}

/* Comments and reviews on albums */
/* This hides the "x Comments" header since it's already mentioned in the tab */
.ipsTabs_panel .ipsType_sectionHead--galleryFeedbackCount{
	display: none;
}

/* Change the colours of the inline title editing input, when placed inside the lightbox */
.elGalleryImage .ipsType_pageTitle [data-role="editableTitle"]:hover{
	background-color: rgba(255,255,255,0.4);
}

	.elGalleryImage .ipsType_pageTitle input[type='text']{
		color: rgb( var(--theme-text_color) );
	}


/* Space out items in vertical Image Feed widget */
[data-blockid^="app_gallery_imageFeed_"] .cGalleryWidgetList > li + li{
	margin-top: 40px;
}
/* Chrome issue: Fix 0px height image in vertical Image Feed widget */
[data-blockid^="app_gallery_imageFeed_"] .cGalleryWidgetList .ipsImageBlock__main{
	display: block;
	text-align: center;
}