div#galeriaRys .gallery ul{
list-style-type:none;
width:833px;
margin-left:50px;
}
div#galeriaRys .gallery  li{
list-style-type:none;
float:left;
margin:8px;
}
div#galeriaRys .gallery .fotoBox{
width:100px;
height:120px;
overflow:hidden;
border:1px solid #F9EC94;
background:#fff;
}

div#galeriaRys .gallery  li.galleryImg {
list-style-type:none;
float:left;
margin:8px 3px 8px 3px;
}
.gallery li.galleryImg  div{
	float: left;
	margin: 0px;
	text-align: center;
border:1px solid #F9EC94;
background:#fff;
width:110px;
overflow:hidden;

}
.galleryTop{
float:left;
width:800px;
margin-top:-61px;
margin-left:10px;
color:#F9EC94;
}
.galleryTop h3{
float:left;
color:#F9EC94;
font-size:3em;
}

.pages{
width:833px;
float:right;
position:relative;
font-size:0.8em;
color:#F9EC94;
text-align:right;
margin:7px 50px 0 0;
line-height:19px;

}
.pages span{
padding-right:10px;
}
.gallery .nextPage, .gallery .prevPage{
float:right;
width:25px;
}
.gallery .parentlink{
float:left;
width:25px;
}
.gallery .nextPage a{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/pages.png) no-repeat scroll  -40px 0;
text-indent:-999em:
}
.gallery .nextPage em{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/pages.png) no-repeat scroll -60px 0;
text-indent:-999em;
}
.gallery .nextPage a:hover{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/pages.png) no-repeat scroll -40px -19px;
text-indent:-999em;
}
.gallery .prevPage a{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/pages.png) no-repeat scroll -20px 0;
text-indent:-999em;
}
.gallery .prevPage em{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/pages.png) no-repeat scroll 0px 0;
text-indent:-999em;
}
.gallery .prevPage a:hover{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/pages.png) no-repeat scroll -20px -19px;
text-indent:-999em;
}
.gallery .parentlink a{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/back.png) no-repeat scroll 0px 0;
text-indent:-999em;
}

.gallery .parentlink a:hover{
color:#FD6700;
line-height:19px;
height:19px;
width:20px;
display:block;
text-decoration:none;
background:url(/images/back.png) no-repeat scroll 0px -19px;
text-indent:-999em;
}





.gallery .pagenavigation a:hover {
	background-position: 0 -40px;
}

.gallery .prevpage em, .gallery .nextpage em {
	background-position: 0 -80px;
}

.gallery .pagelinks {
	float: right;
	border-right: 1px solid #F9EC94;
font-size:0.9em;
color:#F9EC94;
margin:0 3px 0 3px;
}

.gallery .pagelinks a, .gallery .pagelinks em {
	margin-top: 6px;
	padding: 0 6px;
	border-left: 1px solid #F9EC94;
	text-align: center;
color:#F9EC94;
text-decoration:none
}

.gallery .pagelinks em {
font-weight:bold;
color:#F9EC94;
font-size:1.1em;
}


#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../lightbox/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../lightbox/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: none; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

