/*JS VIEWES STYLES*/

/*viewport*/
.js-viewer-vewport{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	opacity: 0;
	-webkit-transition: z-index 0 400ms, opacity 400ms;
	   -moz-transition: z-index 0 400ms, opacity 400ms;
	    -ms-transition: z-index 0 400ms, opacity 400ms;
	     -o-transition: z-index 0 400ms, opacity 400ms;
	        transition: z-index 0 400ms, opacity 400ms;
	background: rgba(0, 0, 0, .51);
}

/*viewport in visible state*/
.js-viewer-vewport.visible{
	z-index: 9999;
	display: block;
	opacity: 1;
	-webkit-transition: opacity 400ms 100ms;
	   -moz-transition: opacity 400ms 100ms;
	    -ms-transition: opacity 400ms 100ms;
	     -o-transition: opacity 400ms 100ms;
	        transition: opacity 400ms 100ms;
}

/*image container*/
.js-viewer-image-block{
	opacity: 0;
	background: #fff;
	box-shadow: 0 0 30px 3px rgba(0, 0, 0, .27);
}

/*image container in visible state*/
.js-viewer-image-block.visible{
	overflow: hidden;
	opacity: 1;
	-webkit-transition: opacity 400ms;
	   -moz-transition: opacity 400ms;
	    -ms-transition: opacity 400ms;
	     -o-transition: opacity 400ms;
	        transition: opacity 400ms;
	border-radius: 1px;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 1);
}

/*close button*/
.js-viewer-image-block-close{
	position: absolute;
	top: -5px;
	right: 0;
	width: 30px;
	height: 30px;
	cursor: pointer;
	opacity: .7;
	border-radius: 100%;
}

.js-viewer-image-block-close:before{
	position: absolute;
	content: '\f00d';
	font-family: FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 40px;
	color: #FFF;
	text-shadow: 0 0 4px rgba(111, 111, 111, 0.28);
}

/*close button hover state*/
.js-viewer-image-block-close:hover{
	opacity: 1;
}

/*previous and next buttons*/
.js-viewer-image-block-prev,
.js-viewer-image-block-next{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 50%;
	cursor: pointer;
	opacity: 0;
	-webkit-transition: opacity 240ms ease-out;
	   -moz-transition: opacity 240ms ease-out;
	    -ms-transition: opacity 240ms ease-out;
	     -o-transition: opacity 240ms ease-out;
	        transition: opacity 240ms ease-out;
	background: rgba(255, 255, 0, 0); /*For IE 9*/
}

.js-viewer-image-block-prev:before,
.js-viewer-image-block-next:before{
	font-family: FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: '\f054';
	font-size: 40px;
	position: absolute;
	top: 50%;
	right: 30px;
	margin-top: -20px;
	color: #FFF;
	text-shadow: 0 0 1px rgb(111, 111, 111);
}

.js-viewer-image-block-prev:before{
	content: '\f053';
	right:inherit;
	left: 30px;
}


/*next button*/
.js-viewer-image-block-next{
	right: 0;
	left: auto;
}

/*next and prev buttons on hover*/
.js-viewer-image-block-prev:hover,
.js-viewer-image-block-next:hover{
	opacity: .9;
}

/*title and description container*/
.js-viewer-image-block-info{
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 4px 6px;
	color: #fff;
	background: rgba(0, 0, 0, .7);
	/* display: none; */
}

/*image title*/
.js-viewer-image-block-title{
	font-size: 20px;
	position: relative;
	padding: 4px 6px;
	text-align: right;
	text-transform: uppercase;
}

/*image description*/
.js-viewer-image-block-description{
	font-size: 13px;
	position: relative;
	padding: 4px 6px;
	text-align: right;
}

/*preloader*/
.js-viewer-preloader{
	position: fixed;
	z-index: 100;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 100%;
	background: url(/public/img/preloader.gif) center center no-repeat;
	background-color: #0d0d0d;
}
