.galeria h3{font-family: 'Forum'; margin-bottom: 30px; text-align: center; font-size: 24px;}
.lb-album{
	width: 100%; margin: 0 auto; }
.lb-album li{
	float: left; width: 23%; height: auto; margin: 1%; position: relative; list-style-type: none;}
.lb-album li > a,
.lb-album li > a img{
	display: block;}
.lb-album li > a img{width: 100%;}
.lb-album li > a{
	width: 96%; height: auto; display: block; position: relative;	padding: 2%; background: #f5f4f2;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px 4px 4px 4px;}
.lb-album li > a:hover img{opacity: 0.5;}
.lb-overlay{
	width: 0px;	height: 0px;	position: fixed;	overflow: hidden;
	left: 0px;	top: 0px;	padding: 0px;	z-index: 99;	text-align: center;
	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%);
}
.lb-overlay > div{
	position: relative;	color: rgba(27,54,81,0.9);	width: 100%; max-width: 800px;	height: 80px;
	margin: 40px auto 0px auto;	
}
.lb-overlay a.lb-close{
	background: rgba(27,54,81,0.8);	z-index: 1001;	color: #fff;	position: absolute;	top: 20px;	left: 50%;
	font-size: 30px;	line-height: 30px;	text-align: center; border-radius: 50%;
	width: 50px;	height: 40px; padding-top: 10px;
	overflow: hidden;	margin-left: -25px;	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 */
	width: 70%; max-width: 650px; height: auto; 	position: relative;	opacity: 0; margin: 0 auto;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
	-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{
	text-indent: -9000px;	position: absolute;	top: -32px;	width: 40px;	height: 40px;	left: 50%;	opacity: 0.7; 
	filter: alpha(opacity=80); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=80)"; /*IE8*/
}
.lb-prev:hover, .lb-next:hover{
	opacity: 1; filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-prev{
	margin-left: -60px;
	background: transparent url(../images/arrows.svg) no-repeat top left; background-size: auto 40px;
}
.lb-next{
	margin-left: 0px;
	background: transparent url(../images/arrows.svg) no-repeat top right; background-size: auto 40px;
}
.lb-overlay:target {
	width: auto;	height: auto;	bottom: 0px;	right: 0px;	padding: 50px 100px 70px 100px;
}
.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 only screen 
and (min-width : 1000px)
	and (max-width : 1300px) {
	.lb-album li { width: 31.33%;}
}
@media only screen 
and (min-width : 751px)
and (max-width : 999px) {
	.lb-overlay{width: 80%; }
	.lb-overlay:target {  padding: 30px; }
	.lb-overlay img{ width: 400px; height: 400px;  }
}
@media only screen 
and (min-width : 551px)
and (max-width : 750px) {
	.lb-album li {	width: 31.33%;}
	.lb-overlay{width: 70%; }
	.lb-overlay:target {  padding: 30px;}
	.lb-overlay img{ height: 400px; width: 400px;}
	.lb-overlay a.lb-close { top: 10px;	}
}
@media only screen 
and (max-width : 550px){
	.lb-album li {	width: 48%; }
	.lb-overlay{width: 90%; }
	.lb-overlay:target { padding: 40px 20px 40px 20px;}
	.lb-overlay img{ width: 90%; }
}