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

.elGalleryImage {
	background: transparent;
	min-height: 550px;
	width: 100%;
	padding: 0px;
	text-align: center;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.cGalleryImageFade:before,
.cGalleryImageFade:after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
	z-index: -1;
}

.cGalleryImageFade:before {
	top: 0;
	min-height: 150px;
	background: linear-gradient(rgba(0, 0, 0, .7), rgba(0,0,0,0));
}

.cGalleryImageFade:after {
	bottom: 0;
	min-height: 80px;
	background: linear-gradient(rgba(0,0,0,0), rgba(0, 0, 0, .7));
}

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

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

.cGalleryMiniAlbum li {
	position: relative;
}

	.cGalleryMiniAlbum li a {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}

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

.elGalleryImageNav {
	overflow: hidden !important;
}

.elGalleryImageNav a {
	position: absolute;
	color: #fff;
	font-size: 60px;
	top: 50%;
	margin-top: -30px;
	padding: 0 15px;
	opacity: 0.2;
	transition: all 0.2s ease-in-out;
	z-index: 100;
}
	.elGalleryImage:hover .elGalleryImageNav a {
		opacity: 1;
		background: rgba(0,0,0,0.2);
	}
		.elGalleryImage:hover .elGalleryImageNav a:after {
			content: "";
			top: -70%;
			bottom: -10px;
			position: absolute;
			left: -150px;
			right: -150px;
		}

	html[dir="ltr"] .elGalleryImageNav_prev,
	html[dir="rtl"] .elGalleryImageNav_next {
		left: 0px;
	}
		html[dir="ltr"] .cGalleryLightbox .elGalleryImageNav_prev,
		html[dir="rtl"] .cGalleryLightbox .elGalleryImageNav_next {
			transform: translateX(-80px);
		}

	html[dir="ltr"] .elGalleryImageNav_next,
	html[dir="rtl"] .elGalleryImageNav_prev {
		right: 0px;
	}
		html[dir="ltr"] .cGalleryLightbox .elGalleryImageNav_next,
		html[dir="rtl"] .cGalleryLightbox .elGalleryImageNav_prev {
			transform: translateX(80px);
		}

	html[dir="ltr"] .elGalleryImage:hover .elGalleryImageNav_prev,
	html[dir="rtl"] .elGalleryImage:hover .elGalleryImageNav_next,
	html[dir="rtl"] .elGalleryImage:hover .elGalleryImageNav_prev,
	html[dir="ltr"] .elGalleryImage:hover .elGalleryImageNav_next {
		transform: translateX(0);
	}

/* PATCHWORK */
.cGalleryPatchwork_item {
	display: block;
	float: left;
	background-size: cover;
	background-color: #333;
	position: relative;
	overflow: hidden;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.8);
	text-align: left;
	transition: 0.1s transform ease-in-out;
}
html[dir="rtl"] .cGalleryPatchwork_item {
	float: right;
	text-align: right;
}
	
	.cGalleryPatchwork_item > a {
		position: absolute;
		display: block;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.cGalleryPatchwork_item [data-role='moderation'] {
		position: absolute;
		top: 5px;
	}
	html[dir="ltr"] .cGalleryPatchwork_item [data-role='moderation'] {
		right: 5px;
	}
	html[dir="rtl"] .cGalleryPatchwork_item [data-role='moderation'] {
		left: 5px;
	}

	.cGalleryPatchwork_item [data-commentCount='0'] {
		opacity: 0.3;
	}

	.cGalleryPatchwork_item.ipsNoThumb {
		text-shadow: none;
	}

.cGalleryPatchwork_image {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
html[dir="ltr"] .cGalleryPatchwork_image {
	left: 0;
}
html[dir="rtl"] .cGalleryPatchwork_image {
	right: 0;
}

.cGalleryPatchwork_item .ipsPhotoPanel {
	position: absolute;
	background: rgba(0,0,0,0.8);
	width: 100%;
	top: 0;
	line-height: 1.2;
	height: 42px;
	color: #fff;
	transition: opacity 0.1s linear;
}
html[dir="ltr"] .cGalleryPatchwork_item .ipsPhotoPanel {
	left: 0;
	padding: 7px 7px 0 7px;
}
html[dir="rtl"] .cGalleryPatchwork_item .ipsPhotoPanel {
	right: 0;
	padding: 7px 7px 0 7px;
}

	.cGalleryPatchwork_item .ipsPhotoPanel span {
		line-height: inherit;
		display: block;
		width: 100%;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.cGalleryPatchwork_item .ipsPhotoPanel span + span {
		opacity: 0.7;
	}

	.cGalleryPatchwork_item:hover {
		transform: scale(1.05);
		z-index: 2000;
	}

/* Image list patchwork */
.cGalleryPatchwork_list .cGalleryPatchwork_stats,
.cGalleryPatchwork_index .cGalleryPatchwork_stats {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 13.0px;
	color: #fff;
	padding: 7px;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
}

/* Featured/New patchwork */
ol.cGalleryPatchwork_index.ipsPad, ol.cGalleryPatchwork_list.ipsPad {
	padding-top: 11px;
	padding-bottom: 11px;
}

/* CATEGORIES */	
.cGalleryCats > .ipsGrid {
	margin-bottom: -15px;
}

.cGalleryCat > a {
	display: block;
	height: 150px;
	position: relative;
	color: #fff;
}
	
	.cGalleryCat > a:before {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 53px;
		background: rgba(0,0,0,0.8);
	}
	
	.cGalleryCat .ipsType_sectionHead,
	.cGalleryCat .cGalleryCat_info {
		position: absolute;
		left: 7px;
		right: 7px;
		text-shadow: 1px 1px 1px rgba(0,0,0,1);
	}

		.cGalleryCat .cGalleryCat_info > li:first-child {
			position: absolute;
			top: 0;
		}

	.cGalleryCat .ipsType_sectionHead {
		bottom: 23px;
		color: #fff;
		font-size: 14.0px;
	}

	.cGalleryCat .cGalleryCat_info {
		bottom: 7px;
		font-size: 12.0px;
	}


/* 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;
}

.cGalleryImageList > li {
	padding: 7px;
	border: 1px solid rgba(0,0,0,0.05);
}

	.cGalleryImageList > li > div {
		width: 100%;
		margin-bottom: 5px;
	}

		/* For non-js, we need a fixed height because the JS won't be handling it */
		.ipsJS_none .cGalleryImageList > li > div {
			height: 180px;
		}

		.cGalleryImageList > li > div + ul {
			height: 26px;
			line-height: 24px;
		}

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

.cGalleryImageItem_image {
	display: block;
	position: relative;
	max-width: 100%;
	height: 100%;
}

.cGalleryLargeList > li {
	margin-bottom: 15px;
	border: 1px solid rgba( var(--theme-text_color), 0.8 );
}

	.cGalleryLargeList > li img {
		display: block;
		margin: 0 auto 10px auto;
	}

/* IMAGE VIEW PAGE */
.cGalleryViewImage {
	display: inline-block;
	position: relative;
	background: #222;
	z-index: -3;
}

	.cGalleryViewImage img[data-role="theImage"] {
		z-index: -2;
		position: relative;
	}

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

.cGalleryViewImage_options {
	margin-bottom: 5px;
}

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

.elGalleryImage .ipsButton.ipsButton_link {
	background: rgba(0,0,0,0.1) !important;
	color: #d0d0d0;
	border: 1px solid #d0d0d0 !important;
}

.elGalleryImage .ipsButton.ipsButton_primary {
	background: #fff !important;
	color: #000;
	border: 1px solid #fff !important;
}
	
	html[dir="ltr"] .elGalleryImage .ipsButton.ipsButton_link,
	html[dir="ltr"] .elGalleryImage .ipsButton.ipsButton_primary {
		margin-left: 3px;
	}
	html[dir="rtl"] .elGalleryImage .ipsButton.ipsButton_link,
	html[dir="rtl"] .elGalleryImage .ipsButton.ipsButton_primary {
		margin-right: 3px;
	}

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

	
.cGalleryExif .fa-camera {
	font-size: 42px;
	line-height: 58px;
}

.cGalleryExif_data {}

	.cGalleryExif_data li {
		border: 1px solid rgb( var(--theme-area_background_dark) );
		background: rgb( var(--theme-area_background_reset) );
		border-radius: 3px;
		line-height: 19px;
		height: 20px;
		font-size: 10.0px;
		font-weight: bold;
		margin: 2px 2px;
	}
	html[dir="ltr"] .cGalleryExif_data li {
		padding-right: 6px;
		margin-right: 0px;
	}
	html[dir="rtl"] .cGalleryExif_data li {
		padding-left: 6px;
		margin-left: 0px;
	}

		.cGalleryExif_data li span {
			background: rgb( var(--theme-area_background_dark) );
			color: #fff;
			width: 30px;
			font-size: 14.0px;
			display: inline-block;
			text-align: center;
		}
		html[dir="ltr"] .cGalleryExif_data li span {
			float: left;
			padding: 0 8px 0 6px;
			margin-right: 6px;
			border-radius: 2px 0 0 2px;
		}
		html[dir="rtl"] .cGalleryExif_data li span {
			float: right;
			padding: 0 6px 0 8px;
			margin-left: 6px;
			border-radius: 0 3px 3px 0;
		}

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

	.cGalleryExif .cGalleryExif_iso {
		font-size: 12.0px;
		padding: 0;
	}

/* 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: left;
			margin-top: 5px;
		}
		html[dir="rtl"] .cGalleryNote_editing .cGalleryNote_note ul {
			text-align: right;
		}

		.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;
	margin-top: 5px;
	background: #2a2a2a;
	color: #fff;
	font-size: 12.0px;
	border-radius: 2px;
	pointer-events: none;
}
	html[dir="ltr"] .cGalleryNote_note {
		left: 105%;
	}

	html[dir="rtl"] .cGalleryNote_note {
		right: 105%;
	}

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


.cGalleryNote_delete { 
	position: absolute;
	top: -10px;
	width: 24px;
	height: 24px;
	line-height: 19px;
	border-radius: 12px;
	background: #000;
	border: 1px solid #fff;
	color: #fff;
	font-size: 17px;
}
html[dir="ltr"] .cGalleryNote_delete {
	right: -10px;
}
html[dir="rtl"] .cGalleryNote_delete {
	left: -10px;
}

/* 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://f.arena-wars.net/themes/3/resources/core/global/resizable.png" );
}
.ui-draggable { cursor: move;}


/* This is to make the video responsive in size
	See: http://3strandsmarketing.com/video-fluid-2.php */
/* top/bottom adjusted to avoid the 'fade' area */
.cGallery_videoContainer {
	position: absolute;
	top: 50px;
	left: 10%;
	right: 10%;
	width: 80%;
	z-index: 1000;
	bottom: 70px;
}

	.cGallery_videoContainer video {
		position: absolute;
		top: 0;
		left: 0px;
		width: 100%;
		height: 100%;
	}
	

ul.cGallerySearchAlbumThumbs.ipsList_inline,
ul.cGalleryManagedAlbumThumbs.ipsList_inline {
	position: absolute;
	bottom: 10px;
	overflow: hidden;
	width: calc(100% - 150px); /* Needs to account for margins added */
}
	ul.cGallerySearchAlbumThumbs.cGallerySearchExpanded.ipsList_inline,
	ul.cGalleryManagedAlbumThumbs.cGallerySearchExpanded.ipsList_inline {
		position: inherit;
	}
	
html[dir="ltr"] ul.cGallerySearchAlbumThumbs.ipsList_inline {
	margin-left: 85px;
}
html[dir="rtl"] ul.cGallerySearchAlbumThumbs.ipsList_inline {
	margin-right: 85px;
}

	html[dir="ltr"] ul.cGallerySearchAlbumThumbs.cGallerySearchExpanded.ipsList_inline {
		margin-left: 30px;
	}

	html[dir="rtl"] ul.cGallerySearchAlbumThumbs.cGallerySearchExpanded.ipsList_inline {
		margin-right: 30px;
	}

	html[dir="ltr"] ul.cGallerySearchAlbumThumbs.ipsList_inline > li,
	html[dir="ltr"] ul.cGalleryManagedAlbumThumbs.ipsList_inline > li {
		margin-right: 4px;
	}
	html[dir="rtl"] ul.cGallerySearchAlbumThumbs.ipsList_inline > li,
	html[dir="rtl"] ul.cGalleryManagedAlbumThumbs.ipsList_inline > li {
		margin-left: 4px;
	}
	 
		ul.cGallerySearchAlbumThumbs li span,
		ul.cGalleryManagedAlbumThumbs li span
		{
			max-width: 25px;
			max-height: 25px;
		}


/* 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;
	z-index: 10;
	cursor: pointer;
}

	html[dir="ltr"] .cLightboxClose {
		right: 10px;
	}
	html[dir="rtl"] .cLightboxClose {
		left: 10px;
	}

.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: #111;
	}

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


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

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

/* 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;
}

html[dir="ltr"] .cGalleryLightbox_info .ipsComposeArea_dropZone > div {
	margin-left: 25px;
}
html[dir="rtl"] .cGalleryLightbox_info .ipsComposeArea_dropZone > div {
	margin-right: 25px;
}

.cGalleryLightbox_info .ipsComposeArea_dropZone > div {
	margin-top: -3px;
}

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