.lb-album{
	width: 900px;
	margin: 0 auto;
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
}
.lb-album li{
	float: left;
	margin: 5px;
	position: relative;
}
.lb-album li > a,
.lb-album li > a img{
	display: block;
}
.lb-album li > a{
	width: 150px;
	height: 150px;
	position: relative;
	padding: 10px;
	background: #f1d2c2;
	-webkit-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	-moz-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px 4px 4px 4px;
}
.lb-album li > a span{
	position: absolute;
	width: 150px;
	height: 150px;
	top: 10px;
	left: 10px;
	text-align: center;
	line-height: 150px;
	color: rgba(27,54,81,0.8);
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	font-size: 24px;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	background: rgb(241,210,194);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%, rgba(241,210,194,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.56)), color-stop(100%,rgba(241,210,194,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	-o-transition: opacity 0.3s linear;
	-ms-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}
.lb-album li > a:hover span{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-overlay{
	width: 0px;
	height: 0px;
	position: fixed;
	overflow: hidden;
	left: 0px;
	top: 0px;
	padding: 0px;
	z-index: 99999;
}
.lb-overlay .modal-box {
	position: relative;
	color: rgba(27,54,81,0.8);
	width: 60%;
	display: flex; flex-wrap: wrap; align-items: center;
	background-color: rgba(255, 255, 255, 1);
}
.lb-overlay .coat {display: flex; flex-wrap: wrap; align-items: center; padding: 2vw; overflow: auto; height: 100%; width: 100%;}
.lb-overlay .images_b {width: 50%; line-height: 0;}
.lb-overlay .text_b {width: 50%; padding: 0 0 0 48px;}
.lb-overlay .text_b h3 {font-weight: bold; border-bottom: 1px solid rgba(44, 47, 60, 0.24); padding-bottom: 25px; margin-bottom: 25px;}
.lb-overlay a.lb-close {
	background: rgba(0,0,0,1);
	z-index: 1001;
	position: absolute;
	top: 0px;
	right: -50px;
	width: 44px;
	height: 44px;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; line-height: 0;
	overflow: hidden;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}
.lb-overlay img{
	/* height: 100%; For Opera max-height does not seem to work */
	max-height: 100%;
	position: relative;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}
.lb-prev, .lb-next{
	position: absolute !important;
	top: 50%!important;
	width: 22px!important;
	height: 39px!important;
	font-size: 0;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	opacity: 1;
	filter: alpha(opacity=100); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=80)"; /*IE8*/
}
.lb-prev {left: 20px;}
.lb-next {right: 20px;}
.lb-prev:hover, .lb-next:hover{
	opacity: 0.5;
	filter: alpha(opacity=50); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-prev::before {
	content: ''; background: url("../../images/prev_d.png") no-repeat center; background-size: cover; width: 22px; height: 39px; display: block;
}
.lb-next::before {
	content: ''; background: url("../../images/next_d.png") no-repeat center; background-size: cover; width: 22px; height: 39px; display: block;
}
.lb-overlay:target {
	width: 100%;
	height: 100%;
	bottom: 0px;
	right: 0px;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	background-color: rgba(0, 0, 0, 0.84);
}
.lb-overlay:target img,
.lb-overlay:target a.lb-close{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
/* 
	100% Height for Opera as the max-height seems to be ignored, not optimal for large screens 
	http://bricss.net/post/11230266445/css-hack-to-target-opera 
*/
x:-o-prefocus, .lb-overlay img {
    height: 100%;
}



@media screen and (max-width: 992px){
    .lb-overlay a.lb-close { top: -56px; right: 0;}
    .lb-prev { left: 0;}
    .lb-next { right: 0;}
    .lb-overlay .modal-box { width: 85%;}
    .lb-overlay .coat{flex-direction: column; }
    .lb-overlay .images_b,
    .lb-overlay .text_b{  width: 100%; padding: 12px;}
}
