.image-gallery img{
	transition: 240ms ease-out;
	vertical-align: bottom;
}

.image-gallery .js-ig-container{
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.image-gallery .js-ig-info{
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
	transition: opacity 200ms ease-out;
	opacity: 0;
	color: #fff;
	background: rgba(0, 0, 0, .6);
}

.image-gallery .js-ig-info:hover{
	opacity: 1;
}

.image-gallery .js-ig-title{
	font-size: 22px;
	margin: 8px 0;
	text-align: center;
	text-transform: uppercase;
}

.image-gallery .js-ig-descript{
	font-size: 15px;
	position: absolute;
	bottom: 0;
	padding: 10px;
	background: rgb(227, 147, 0);
}

.image-gallery .js-ig-descript:empty {
	display:none;
}


.image-gallery .js-ig-vewport{
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition: opacity 300ms ease-out;
	opacity: 0;
	background: rgba(0, 0, 0, .79);
}

.image-gallery .js-ig-vewport.loading,
.image-gallery .js-ig-vewport.show{
	opacity: 1;
}


.image-gallery .js-ig-vewport .image{
	position: absolute;
	top: 50%;
	left: 50%;
	background: #fff;
}

.image-gallery .js-ig-vewport .title{
	position: absolute;
	top: 10px;
	right: 10px;
	left: 10px;
	padding: 8px;
	color: white;
	background: rgba(0, 0, 0, .54);
}

.image-gallery .js-ig-vewport .description{
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	padding: 8px;
	color: white;
	background: rgba(0, 0, 0, .54);
}

.image-gallery .js-ig-vewport > *{
	transition: opacity 300ms ease-out;
	opacity: 1;
}

.image-gallery .js-ig-vewport.loading > *{
	transition: opacity 10ms ease-out;
	opacity: 0;
}

.image-gallery .js-ig-vewport.loading .preloader{
	position: fixed;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	opacity: 1;
	background: url(/modules/ImageGallery/public/front/img/preloader.gif);
}
