.gallery .gallery-item{	
	display: block;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	-webkit-mask-image: -webkit-radial-gradient(circle, white, black);
}

.gallery-item__image{	
	display: block;
	background: #ced9db;
}

.gallery-item__image > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	left: 50%;
	top: 50%;
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);	
	-webkit-transition: -webkit-transform 0.45s ease 0s;
	-moz-transition: -moz-transform 0.45s ease 0s;
	-o-transition: -o-transform 0.45s ease 0s;
	transition: transform 0.45s ease 0s;
}

.gallery-item__image > img[data-lazyload-src]{
	-webkit-transition: -webkit-transform 0.45s ease 0s, opacity 0.3s ease 0s;
	-moz-transition: -moz-transform 0.45s ease 0s, opacity 0.3s ease 0s;
	-o-transition: -o-transform 0.45s ease 0s, opacity 0.3s ease 0s;
	transition: transform 0.45s ease 0s, opacity 0.3s ease 0s;
}

.bx-no-touch .gallery .gallery-item:hover .gallery-item__image > img,
.bx-touch .gallery .gallery-item:active .gallery-item__image > img{
	-moz-transform: translate(-50%, -50%) scale(1.25) rotate(0.02deg);
	-o-transform: translate(-50%, -50%) scale(1.25);
	-webkit-transform: translate(-50%, -50%) scale(1.25);
	transform: translate(-50%, -50%) scale(1.25);
}

.gallery-item__image:after{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	content: "";
	background-color: rgba(38, 50, 56, 0.7);
	-webkit-transition: opacity 0.3s ease 0s;
	-moz-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}

.bx-no-touch .gallery .gallery-item:hover .gallery-item__image:after,
.bx-touch .gallery .gallery-item:active .gallery-item__image:after{
	opacity: 1;
}

.gallery-item__caption-wrap{
	width: 100%;
	display: table;
	position: absolute;
	left: 0;
	top: 100%;
	-webkit-transition: top 0.5s ease 0s;
	-moz-transition: top 0.5s ease 0s;
	-o-transition: top 0.5s ease 0s;
	transition: top 0.5s ease 0s;
}

.bx-no-touch .gallery .gallery-item:hover .gallery-item__caption-wrap,
.bx-touch .gallery .gallery-item:active .gallery-item__caption-wrap{
	top: 0;
}

.gallery-item__caption{
	display: table-cell;
	vertical-align: middle;
	padding-top: 6px;
	text-align: center;
}

.gallery-item__title,
.gallery-item__text{
	display: block;
}

.gallery-item__title{
	font-family: "Museo Sans Cyrl 500", sans-serif;
	color: #fff;	
}

.gallery-item__text{
	margin-top: 6px;
	color: #fff;
}

.gallery-item__bg{
	background-color: #ced9db;	
}

/***PHONES***/
@media(max-width: 1042px){
	.gallery{
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.gallery .col-xs-12,
	.gallery .col-xs-6.col-md-3{
		padding-left: 3px;
		padding-right: 3px;
	}

	.gallery .gallery-item{
		margin-bottom: 6px;
	}

	.gallery-item__text{
		font-size: 14px;
		line-height: 17px;
	}
	
	.gallery-item__bg{
		margin-bottom: 6px;
	}
}