
/*-------- LIGHTBOX WINDOW --------*/

 .lightbox-bg
	{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background-color: #ffffff;
	z-index: 900;

	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
	}
 .lightbox-bg.opened
	{
	opacity: 1;
	}

 .lightbox
	{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 910;

	opacity: 0;
	-webkit-transition: all 0.15s ease;
	-moz-transition: all 0.15s ease;
	-o-transition: all 0.15s ease;
	transition: all 0.15s ease;

	-webkit-transform: translate(0, 50px);
	-moz-transform: translate(0, 50px);
	-o-transform: translate(0, 50px);
	transform: translate(0, 50px);
	}
 .lightbox.opened
	{
	opacity: 1;
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
	}


/*-------- LIGHTBOX PHOTOS --------*/

 .lightbox .photo
	{
	position: absolute;
	top:0px; left:0px; right:0px; bottom:0px;
	overflow: hidden;
	z-index: 20;

	-webkit-transition: all 150ms ease 150ms;
	-moz-transition: all 150ms ease 150ms;
	-o-transition: all 150ms ease 150ms;
	transition: all 150ms ease 150ms;

	opacity: 0;
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-o-transform: scale(0.5);
	transform: scale(0.5);
	}

 .lightbox.opened .photo
	{
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	}

 .lightbox .photo img
	{
	display: inline-block;
	position: absolute;
	top:0; left:0; right:0; bottom:0;
	margin: auto;
	max-width: 100%;
	max-height: 100%;

	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
	}

 .lightbox .photo .animation
	{
	position: absolute;
	top:0px; left:0px; right:0px; bottom:0px;
	background: url('images/loading.gif') center center no-repeat;
	background-size: 100px auto;

	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
	}

 .lightbox .photo.loading .animation
	{
	opacity: 1;
	}

 .lightbox .photo.loading img
	{
	opacity: 0;
	}


/*-------- LIGHTBOX BUTTONS --------*/

 .lightbox .close-btn
	{
	position: absolute;
	top: 15px;
	right: 20px;
	z-index: 30;
	}

 .lightbox .btn
	{
	position: absolute;
	top: 50%;
	height: 50px;
	margin-top: -25px;
	width: 50px;
	background-color: #222222;
	cursor: pointer;
	z-index: 30;
	}
 .lightbox .btn.back
	{
	left: 15px;
	}
 .lightbox .btn.next
	{
	right: 15px;
	}

 .lightbox .btn span
	{
	display: block;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;

	opacity: 0.6;
	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	}
 .lightbox .btn.back span
	{
	background-image: url('images/back-btn.png');
	}
 .lightbox .btn.next span
	{
	background-image: url('images/next-btn.png');
	}

 .lightbox .btn:hover span
	{
	opacity: 1;
	}

 .lightbox .btn.back:active
	{
	-webkit-transform: translate(-2px,1px);
	-moz-transform: translate(-2px,1px);
	-o-transform: translate(-2px,1px);
	transform: translate(-2px,1px);
	}

 .lightbox .btn.next:active
	{
	-webkit-transform: translate(2px,1px);
	-moz-transform: translate(2px,1px);
	-o-transform: translate(2px,1px);
	transform: translate(2px,1px);
	}


/*-------- LIGHTBOX BOTTOM --------*/

 .lightbox .bottom
	{
	position: absolute;
	left:0; right:0; bottom:0;
	padding: 25px 100px;
	min-height: 20px;
	background-color: #ffffff;
	font-size: 16px;
	color: #282828;
	text-align: center;
	z-index: 30;
	}

 .lightbox .bottom .text h3
	{
	margin: 0;
	font-size: 16px;
	font-weight: bold;
	color: #282828;
	}

 .lightbox .bottom .text div
	{
	margin-top: 10px;
	font-size: 14px;
	color: #ffffff;
	}

 .lightbox .bottom .photo-count
	{
	position: absolute;
	bottom: 0px;
	right: 30px;
	padding: 15px 0;
	font-size: 16px;
	color: #eeeeee;
	}


/*-------- MOBILE --------*/

@media (max-width: 600px) 
 {
 .lightbox .close-btn
	{
	position: absolute;
	top: 10px;
	right: 10px;
	}

 .lightbox .btn
	{
	background: none;
	}
 .lightbox .btn.back
	{
	left: 0px;
	}
 .lightbox .btn.next
	{
	right: 0px;
	}

 .lightbox .bottom
	{
	padding: 15px 20px;
	min-height: 15px;
	*text-align: left;
	}

 .lightbox .bottom .text h3
	{
	font-size: 14px;
	}

 .lightbox .bottom .text div
	{
	margin-top: 6px;
	font-size: 13px;
	}

 .lightbox .bottom .photo-count
	{
	right: 10px;
	padding: 10px 0;
	font-size: 14px;
	}
 }
