/* PHONES */
@media screen and (max-width: 767px) {
	.cGalleryUpdated {
		margin-inline-start: 6px;
	}

	/* IMAGE VIEW */
	body[data-pageapp="gallery"][data-pagecontroller="view"] .cWidgetContainer:not( .ipsHide ) + div .elGalleryHeader {
		margin-top: 10px;
	}

	.ipsStreamItem_condensed.ipsStreamItem.ipsStreamItem_contentBlock.cGalleryAlbumSearchResult {
		padding-bottom: 40px;
	}

	.cGalleryRowsList .ipsThumb.ipsThumb_medium.ipsThumb_bg {
		max-width: 100%;
		width: 100%;
		margin-bottom: 7px;
	}

	html .cGalleryRowsList .ipsDataItem_modCheck {
		inset-inline-end: 10px;
		inset-inline-start: auto;
		top: 150px;
	}

	.cGalleryImageTopBar,
	.cGalleryImageBottomBar {
		flex-wrap: wrap;
		justify-content: normal;
	}

		.cGalleryImageBottomBar > .ipsList_inline {
			margin-top: 10px;
		}

	.elGalleryImage .ipsButton.ipsButton_link,
	.elGalleryImage .ipsButton.ipsButton_primary {
		margin-inline-start: 0;
	}

	/* Follow and promote buttons */
	.cGalleryControls .ipsFollow .ipsCommentCount{
		position: relative;
		transform: none;
		top: auto;
	}
		.cGalleryControls .ipsFollow .ipsCommentCount{
			margin-inline-end: 0 !important;
		}

	.cGalleryControls .ipsPromote.ipsButton_verySmall,
	.cGalleryControls .ipsFollow.ipsButton_verySmall > :first-child{
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Lightbox */
	#cLightbox {
		overflow: auto;
	}

	.cGalleryLightbox .elGalleryImage {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		width: 100%;
	}

	.cGalleryLightbox {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
	}

	.cGalleryLightbox_inner {
		position: relative;
		display: block;
	}

	.cGalleryLightbox_info {
		width: 100%;
		min-width: 0;
		overflow: visible;
	}

	.cGalleryLightbox_info a.ipsReact_reaction:after {
		width: 60px;
		height: 60px;
	}

	/* Clear floated Follow button in Managed Content */
	.ipsDataItem_size6 [data-followapp="gallery"]{
		overflow: hidden;
	}
}