.module_content_image_gallery {
	padding: 50px 0;
}

body.cozy .module_content_image_gallery {
	padding-top: 0;
}

.module_content_image_gallery .image_outer .image {
	overflow: hidden;
	padding-top: 100%;
}

.module_content_image_gallery .col-12 {
	margin-bottom: 20px;
}

.module_content_image_gallery .image_outer .image img {
	position: absolute;
	top: 0;
}

@media (min-width: 767px) {
	.module_content_image_gallery {
		margin-bottom: 30px;
	}
}

.module_content_image_gallery .slider_prev_outer,
.module_content_image_gallery .slider_next_outer {
	background-color: #e2e2e2;
	width: 30px;
	height: 30px;
	text-align: center;
	padding: 3px;
}

@media (min-width: 768px) {
	.module_content_image_gallery .slider_prev_outer,
	.module_content_image_gallery .slider_next_outer {
		display: none;
	}
}

@media (max-width: 767px) {
	.module_content_image_gallery .lightbox_link {
		pointer-events: none;
	}
}

#colorbox.content_image_gallery_lightbox #cboxCurrent {
	left: 0;
	right: 0;
	text-align: center;
	bottom: -5px;
	color: black;
}

#colorbox.content_image_gallery_lightbox #cboxPrevious,
#colorbox.content_image_gallery_lightbox #cboxNext {
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

#colorbox.content_image_gallery_lightbox #cboxNext {
	left: auto;
	right: 0;
}

#colorbox.content_image_gallery_lightbox #cboxClose {
	bottom: auto;
	top: 10px;
	right: 10px;
	background: #ccc;
	border: none;
	font-size: 34px;
	line-height: 34px;
	padding-left: 1px;
	border-radius: 50%;
	height: 40px;
	width: 40px;
}

#colorbox.content_image_gallery_lightbox #cboxClose::after {
	content: '';
	background: #e2e2e2;
	position: relative;
	left: 0;
	z-index: -1;
	width: 40px;
	height: 40px;
	display: block;
	border-radius: 50%;
	top: 0;
	-webkit-transition: background-color .3s ease-out;
	-o-transition: background-color .3s ease-out;
	transition: background-color .3s ease-out;
}

#colorbox.content_image_gallery_lightbox #cboxClose:hover::after {
	background: #b3b3b3;
}

#colorbox.content_image_gallery_lightbox #cboxPrevious,
#colorbox.content_image_gallery_lightbox #cboxNext {
	border: none;
	background: #e2e2e2;
	width: 40px;
	height: 60px;
}

#colorbox.content_image_gallery_lightbox #cboxPrevious::before,
#colorbox.content_image_gallery_lightbox #cboxNext::before {
	content: '';
	border-style: solid;
	border-width: 0.25em 0.25em 0 0;
	display: inline-block;
	height: 20px;
	position: relative;
	top: 0.15em;
	vertical-align: top;
	width: 20px;
	left: 0.25em;
	-ms-transform: rotate(-135deg);
	transform: rotate(-135deg);
	border-color: black;
}

#colorbox.content_image_gallery_lightbox #cboxPrevious::before {
	-ms-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

#colorbox.content_image_gallery_lightbox #cboxNext::before {
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	left: -3px;
}

@media (max-width: 991px) {
	#colorbox.content_image_gallery_lightbox #cboxPrevious,
	#colorbox.content_image_gallery_lightbox #cboxNext {
		width: 30px;
		height: 45px;
	}

	#colorbox.content_image_gallery_lightbox #cboxPrevious::before, #colorbox.content_image_gallery_lightbox #cboxNext::before {
		border-width: 0.2em 0.2em 0 0;
		display: inline-block;
		height: 14px;
		position: relative;
		top: 6px;
		vertical-align: top;
		width: 14px;
		left: 3px;
	}

	#colorbox.content_image_gallery_lightbox #cboxNext::before {
		left: -3px;
	}

	#colorbox.content_image_gallery_lightbox #cboxClose {
		width: 30px;
		height: 30px;
		font-size: 24px;
		line-height: 26px;
		background: #000;
		color: #fff;
		top: 5px;
		right: 5px;
	}
}