.galleria{list-style:none;width:200px}
.galleria li{display:block;width:80px;height:80px;overflow:hidden;float:left;margin:0 10px 10px 0}
.galleria li a{display:none}
.galleria li div{position:absolute;display:none;top:0;left:180px}
.galleria li div img{cursor:pointer}
.galleria li.active div img,.galleria li.active div{display:block}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria li .caption{display:block;padding-top:.5em;}
* html .galleria li div span{width:400px} /* MSIE bug */

/* galeria not in full screen */
.imgBorder{
	padding: 5px;
	border: 1px solid #ddd;
	float: left;
	margin-right: 7px;
	margin-bottom: 7px;
}

.galeria a img {
        padding: 5px;
        border: 1px solid #ddd;
        float: center;
        margin-right: 7px;
        margin-bottom: 7px;
}

.galeria a {
height: 100px;
}
/*
problem z tech.mtp.pl wy³¹czy³em to co poni¿ej
*/
.content_psla {
    overflow: hidden;
}

.galeria a:hover img {
        background: #bbbbbb;
}

.galeria {
    text-align: center;
    /*width: inherit;*/
    width: 99%;
}

.galeria ul{
	padding-left: 0px;
}
.galeria ul li  {
	margin-left: 0px;
	list-style: none;
	/* display: inline-block; */
	display: inline;
}
.galeria li a img {
        padding: 5px;
        border: 1px solid #ddd;
        float: center;
        margin-right: 7px;
        margin-bottom: 7px;
}

.galeria ul li a {
height: 100px;
}

* html  #fullPageGallery {
	position: absolute;
}

#fullPageGallery {
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #000000;
/*	opacity: 0.7;  */
	z-index: 1000;
}


/* galleria on full screen */
	/* BEGIN gallery_layer STYLE */
	/*body{padding:20px;background:white;text-align:center;background:black;color:#bba;font:80%/140% georgia,serif;}*/
	.gallery_layer {padding:20px;background:white;text-align:center;background:black;color:#bba;font:80%/140% georgia,serif;}
	/* .gallery_layer > h1,h2{font:bold 80% 'helvetica neue',sans-serif;letter-spacing:3px;text-transform:uppercase;} */
	.gallery_layer > a{color:#348;text-decoration:none;outline:none;}
	.gallery_layer > a:hover{color:#67a;}
	.caption{font-style:italic;color:#887; font-size: 15px; line-height: 18px;}
	.gallery_layer{position:relative;margin-top:2em;}
	.mtp_gallery{
		width:100%;margin:0 auto;
		left:0;
		right:0;
		margin:0 auto;
		overflow:hidden;
		/* position:fixed; */
		position:relative;
		vertical-align:baseline;
		z-index:5005;
		width: 20000px;
	}
	
	#gallery_fullnav
	{
		position: fixed;
		bottom: 0;
		left: 0;
		height: 90px;
		width: 100%;
	}
	
	#picture_title_gallery
	{
		width: 100%;
		margin: auto;
		font-size: 14px;
		color: #ffffff;
	}
	#gallery_nav
	{
		/*margin:0 30px 0 30px;*/
		width: 100%;
		margin: auto;
		overflow:hidden;
	}
	.mtp_gallery li{width:68px;height:50px;border:3px double #111;margin: 0 2px;background:#000;}
	.mtp_gallery li div{left:240px}
	.mtp_gallery li div .caption{font:italic 0.7em/1.4 georgia,serif; }
	
	.next_images
	{
		width: 30px;
		height: 80px;
		position: fixed;
		z-index: 50010;
		right: 0;
		bottom: 20px;
		background: url(right-30.png) 0 0 repeat-y; 
	}
	.prev_images
	{
		width: 30px;
		height: 80px;
		position: fixed;
		z-index: 50010;
		left: 0;
		bottom: 20px;
		background: url(left-30.png) 0 0 repeat-y; 
	}
	
	.galeria2 .galleria-stage {margin:0 auto 60px auto; height:438px;width:900px;background:black;}
	.galeria2 .galleria-stage img { height: 400px; }
	.galeria2 .galleria-stage img{margin-bottom:10px;}
	
	.nav{position: fixed; margin: 0; bottom: 10px; left: 0; font: 15px 'helvetica neue',sans-serif;letter-spacing:3px;text-transform:uppercase; text-align: center; width: 100%; z-index: 50015; color: gray; }
	.nav a:hover { color: white; text-decoration: none; font-size: 15px; }
	.nav a { color: gray; text-decoration: none; font-size: 15px; }
	.nav a:visited { color: gray; text-decoration: none; font-size: 15px; }
	
	.info{text-align:left;width:700px;margin:30px auto;border-top:1px dotted #221;padding-top:30px;}
	.info p{margin-top:1.6em;}

	.galleria-stage {width: 99%;}
	.galeria2 img { height: auto; max-width: 90%; }
	
	/* closing */
	#closeGallery {
		position: fixed;
		right: 15px;
		top: 15px;
		width: 50px;
		height: 50px;
		cursor: pointer;
		z-index: 9999;
	}