.contain-wrap h3 {
	color: #272727;
	/* font-size: 1.55rem; */
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
}

.contain-wrap p {
	margin-bottom: 0.75rem;
}

.images-container {
	margin: 0 auto;
	width: 100%;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	background-color: #dad7d0;
	border-radius: 7px;
	border: 1px solid #bfbcb5;
	-webkit-box-shadow: 4px 4px 6px #27272727;
	box-shadow: 4px 4px 6px #27272727;
	padding: 0.5rem;
	position: relative;
	overflow: hidden;
}

.images-wrap {
	/* width: 100%; */
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 100%;
	/* margin: auto; */
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	border-radius: 7px;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	overflow-x: auto;
	overflow-y: hidden;
}

.images-container .image {
	border-radius: 7px;
	margin-right: 0.5rem;
	cursor: pointer;
	position: relative;
	height: 100px;
	-webkit-box-shadow: 4px 4px 6px #27272727;
	box-shadow: 4px 4px 6px #27272727;
}

.images-container .image img {
	border-radius: 7px;
	height: 100px;
}

.images-container .image:after {
	/* content: '\f00e'; */
	content: '\f065';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.25rem;
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	padding: 0.35rem 0.5rem;
	color: #eaeaea;
	background-color: #0006;
	border-radius: 7px;
	-webkit-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
	
	text-align: center;
	line-height: 1.5rem;
	left: calc(100% - 0.2rem - 2.15rem);
	bottom: calc(100% - 0.2rem - 2.15rem);
}

.images-container .image:active:after {
	/* content: '\f00e'; */
	content: '\f065';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	
	text-align: center;
	vertical-align: middle;
	line-height: 100px;
	
	font-size: 2rem;
	
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: #eaeaea;
	background-color: #0006;
	border-radius: 7px;
	padding: 0;
}

.images-container .shadow {
	top: 0;
	bottom: 0;
	position: absolute;
	width: 20px;
	background: rgb(0, 0, 0, 0);
}

.images-container .shadow.right {
	right: 0;
	opacity: 0;
	border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
	background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 1)));
	background: -o-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0000", endColorstr="#000f", GradientType=1);
}

.images-container .shadow.left {
	left: 0;
	opacity: 0;
	border-top-left-radius: 7px;
	border-bottom-left-radius: 7px;
	background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 1)));
	background: -o-linear-gradient(right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000f", endColorstr="#0000", GradientType=1);
}

.gallery-wrap {
	width: 100%;
	margin: 0 auto;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	/* background-color: #f9f9f9; */
	background-color: #f5f5f5;
	border-radius: 7px;
	/* border: 1px solid #e6e6e6; */
	/* border: 1px solid #dedede; */
	border: 1px solid #cecece;
	-webkit-box-shadow: 4px 4px 6px #27272727;
	box-shadow: 4px 4px 6px #27272727;
	-webkit-transition: width 0.25s;
	-o-transition: width 0.25s;
	transition: width 0.25s;
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.gallery-wrap h3 {
	text-align: center;
	font-size: 1rem;
	padding: 1rem;
	color: #fdfdfd;
	/* background-color: #194fa5; */
	background-color: #1d2d44;
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
	text-transform: uppercase;
	margin: 0;
}

.gallery-container {
	width: 100%;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	position: relative;
	-webkit-transition: width 0.25s;
	-o-transition: width 0.25s;
	transition: width 0.25s;
	/* padding: 0.25rem; */
	padding: 0.5rem;
}

/*-- Clear floats after the columns ¯\_(ツ)_/¯ --*/
.gallery-container:after {
	content: "";
	display: table;
	clear: both;
}

.gallery-container h3 {
	text-align: center;
	margin: 0.5rem;
}

.gallery-container .image-container {
	float: left;
	width: calc(25% - 0.5rem);
	/* padding: 10px; */
	
	background-color: #fff;
	border: 1px solid #e0e0e0;
	-webkit-box-shadow: 2px 2px 4px #27272727;
	box-shadow: 2px 2px 4px #27272727;
	border-radius: 7px;
	margin: 0.25rem;
	
	overflow: hidden;
}

.gallery-container .image-wrap {
	width: 100%;
	padding-top: 100%;
	position: relative;
}

.gallery-container .after-wrap {
	width: 100%;
	height: 100%;
	position: relative;
}

.gallery-container .image {
	border-radius: 7px;
	/* margin-right: 0.5rem; */
	cursor: pointer;
	/* position: relative; */
	/* height: 100px; */
	
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	right: 0.5rem;
	bottom: 0.5rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.gallery-container img {
	width: 100%;
	height: 100%;
	margin: auto;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 7px;
}

.gallery-container .image.multiple:before {
	/* content: '\f00e'; */
	content: '\f24d';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.25rem;
	position: absolute;
	top: 0.25rem;
	left: 0.25rem;
	padding: 0.35rem 0.5rem;
	color: #f7f7f7;
	/* background-color: #0006; */
	border-radius: 7px;
	-webkit-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
	
	text-align: center;
	line-height: 1.5rem;
	right: calc(100% - 0.2rem - 2.15rem);
	bottom: calc(100% - 0.2rem - 2.15rem);
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gallery-container .image:after {
	content: '\f065';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.25rem;
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	padding: 0.35rem 0.5rem;
	color: #f7f7f7;
	/* background-color: #0006; */
	border-radius: 7px;
	-webkit-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
	
	text-align: center;
	line-height: 1.5rem;
	left: calc(100% - 0.2rem - 2.15rem);
	bottom: calc(100% - 0.2rem - 2.15rem);
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gallery-container .image:active:after {
	content: '\f065';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	
	text-align: center;
	vertical-align: middle;
	line-height: 200px;
	
	font-size: 2rem;
	
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: #fff;
	/* background-color: #0006; */
	background-color: #fff4;
	border-radius: 7px;
	padding: 0;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gallery-container .image.hidden {
	display: none;
}

.gallery-container .slider-arrow {
	opacity: 1;
	background-color: #0000;
	pointer-events: none;
}

.gallery-container .slider-arrow div {
	padding: 0 0.5rem;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	border-radius: 50%;
	background-color: #ffffff59;
	border: 1px solid #ffffff59;
	font-size: 1.1rem;
	text-shadow: none;
	color: #fff;
	pointer-events: all;
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

.gallery-container .slider-arrow.right div {
	right: 1rem;
	left: auto;
}

.gallery-container .slider-arrow.left div {
	left: 1rem;
	right: auto;
}

.gallery-container .slider-info {
	display: none;
	position: absolute;
	bottom: 0.75rem;
	text-align: center;
	width: 100%;
	color: #fff;
	text-shadow: 0 0 6px #0005;
	pointer-events: none;
}

.gallery-controls {
	padding: 1rem;
	color: #444;
	background-color: #eae7e7;
	display: flex;
	flex-direction: row-reverse;
	margin: 0;
}

.gallery-controls.top {
	border-bottom: 1px solid #dedede;
}

.gallery-controls.bottom {
	border-top: 1px solid #dedede;
	border-bottom-right-radius: 7px;
	border-bottom-left-radius: 7px;
}

.gallery-controls span {
	padding: 0.5rem 0.75rem;
	line-height: 1.25;
}

.gallery-controls .pagination {
	display: flex;
    list-style-type: none;
    margin-left: auto;
	-webkit-box-shadow: 2px 2px 6px #2227;
	box-shadow: 2px 2px 6px #2227;
	border-radius: 7px;
}

.gallery-controls .page-item a {
	position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
	color: #fdfdfd;
	font-weight: bold;
	background-color: #1d2d44;
	border: 2px solid #142031;
	-webkit-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
	transition: 0.25s;
}

.gallery-controls .page-item a:focus {
	/* z-index: 1; */
	/* color: #fff; */
	/* background-color: #007bff; */
	/* border-color: #007bff; */
	/* outline:none; */
}

.gallery-controls .page-item.left a {
	border-top-left-radius: 7px;
	border-bottom-left-radius: 7px;
}

.gallery-controls .page-item.right a {
	border-top-right-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
}

.gallery-controls .page-item.disabled a {
	/* color: #1d2d44; */
	color: #556377;
	pointer-events: none;
	cursor: default;
	/* background-color: #788598; */
	background-color: #8b9db7;
	/* border-color: #606977; */
	border-color: #7a899e;
}

.modal {
	display: none;
	position: fixed;
	z-index: 11;
	padding: 10%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.9);
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.modal img {
	display: block;
	max-width: 80%;
	max-height: 80%;
	
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	border-radius: 7px;
	
	background-color: #272727;
	background-repeat: no-repeat;
	background-size: cover;
}

.modal .slider-arrow {
	opacity: 1;
	background-color: #0000;
}

.modal .blocked {
	cursor: default;
}

.modal .blocked div {
	color: #7777;
}

.modal span {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: #eaeaea;
	font-size: 1.27rem;
	padding: 0.6rem 1rem;
	font-weight: bold;
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	border-radius: 7px;
}

.modal span:active {
	color: #fff;
	background-color: #272727;
}

@media (hover: hover) {
	
	.images-container .image:hover:after {
		/* content: '\f00e'; */
		content: '\f065';
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		
		text-align: center;
		vertical-align: middle;
		line-height: 100px;
		
		font-size: 2rem;
		
		position: absolute;
		z-index: 1;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		color: #eaeaea;
		background-color: #0006;
		border-radius: 7px;
		padding: 0;
		
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	
	.gallery-container .image:hover:after {
		content: '\f065';
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		
		text-align: center;
		vertical-align: middle;
		line-height: 200px;
		
		font-size: 2rem;
		
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		color: #fff;
		/* background-color: #0006; */
		background-color: #fff4;
		border-radius: 7px;
		padding: 0;
		
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	
	.gallery-container .slider-arrow div:hover {
		padding: 0.2rem 0.7rem;
	}
	
	.gallery-container .slider-arrow.right div:hover {
		right: calc(1rem - 3px);
	}
	
	.gallery-container .slider-arrow.left div:hover {
		left: calc(1rem - 3px);
	}
	
	.gallery-container .slider-arrow div:active {
		padding: 0.1rem 0.55rem;
	}
	
	.gallery-container .slider-arrow.right div:active {
		right: calc(1rem - 1px);
	}
	
	.gallery-container .slider-arrow.left div:active {
		left: calc(1rem - 1px);
	}
	
	.gallery-controls .page-item a:hover {
		color: #fff;
		-webkit-box-shadow: 4px 4px 6px #27272727;
		        box-shadow: 4px 4px 6px #27272727;
		/* border-color: #0e6fbf; */
		border-color: #283f5f;
		/* background-color: #2083ff; */
		background-color: #3b5c8a;
	}
	
	.modal .slider-arrow:not(.blocked):hover {
		background-color: #fff3;
	}
	
	.modal span:hover {
		color: #fff;
		background-color: #272727;
	}
	
}

.gallery-controls .page-item a:active {
	color: #fdfdfd;
	-webkit-box-shadow: 2px 2px 6px #27272727;
	        box-shadow: 2px 2px 6px #27272727;
	/* border-color: #165f9c; */
	border-color: #21344e;
	/* background-color: #2371d4; */
	background-color: #2e486d;
}

@media (hover: none) {
	
	.gallery-container .slider-arrow {
		display: none;
	}
	
	.gallery-container .slider-arrow div:active {
		padding: 0.2rem 0.7rem;
	}
	
	.gallery-container .slider-arrow.right div:active {
		right: calc(1rem - 3px);
	}
	
	.gallery-container .slider-arrow.left div:active {
		left: calc(1rem - 3px);
	}
	
}

@media (hover: none), (pointer: coarse) {
	
	.gallery-container .slider-info {
		display: block;
	}
	
}

/*-- Collapse content containers --*/
@media only screen and (max-width:958.98px) { /* 951.98p */
	
	
	
}

@media only screen and (max-width:849.98px) {
	
	.gallery-controls {
		flex-direction: column-reverse;
	}
	
}

/*-- en --*/
@media only screen and (max-width:574.98px) {
	
	.en .gallery-wrap {
		/* width: 90%; */
	}
	
	@media (hover: none) {
		
		.en .gallery-container .slider-arrow {
			/* display: none; */
		}
		
	}
	
	@media (hover: none), (pointer: coarse) {
		
		.en .gallery-container .slider-info {
			/* display: none; */
		}
		
	}
	
}

/*-- it --*/
@media only screen and (max-width:599.98px) {
	
	.it .gallery-wrap {
		/* width: 90%; */
	}
	
	@media (hover: none) {
		
		.it .gallery-container .slider-arrow {
			/* display: none; */
		}
		
	}
	
	@media (hover: none), (pointer: coarse) {
		
		.it .gallery-container .slider-info {
			/* display: none; */
		}
		
	}
	
}

/* Makes a three column-layout gallery */
@media screen and (max-width: 899.98px) {
	
	.gallery-container .image-container {
		width: calc(33.33% - 0.5rem);
	}
	
}

/* Makes a two column-layout gallery */
@media screen and (max-width: 674.98px) {
	
	.gallery-container .image-container  {
		width: calc(50% - 0.5rem);
	}
	
}

/* Makes a single column-layout gallery */
@media screen and (max-width: 409.98px) { /* 449 */
	
	.gallery-wrap {
		width: 90%;
	}
	
	.gallery-container .image-container  {
		width: calc(100% - 0.5rem);
	}
	
}
