/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/photo_click.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#gallery {
	width:100%; 
	height:auto; 
	position:relative; 
	/* border:1px solid #ddd; background:#f8f8f8; */

}

/* thumbnail liste */
#gallery ul {
	list-style:none; 
	margin:0; 	
	width:95%; 
	
	/* float:right; */
	
	/* height:219px; 	*/
	height:auto;
	
	overflow:hidden;
		
	padding:0;
	padding-top:80%;
	
	left:0;
	bottom:0;
}


/* thumbnail liste items */
#gallery ul li {
	display:inline; 
	
	width:50px; 
	height:50px; 
	
	float:left;
	
	
	margin:0 4px 4px 0;
	border:1px solid #444; 
	cursor:pointer;
	
	
	
}

#gallery ul li img {
	display:block; 
	width:50px; 
	height:50px;
}

#gallery ul li span {
	display:none; 
	position:absolute;
	/* margin-bottom:300px; */
	/* left:547px; */
	bottom:20%;
	/* left:0; */
	/* bottom:0; */
	left:0;
	width:100%;	
	text-align:justify;
	
	/* border:2px solid red; */
}

#gallery ul li span b {
	/* color:#444; */
}

/* required for IE5.x and IE6 to display the start image size correctly */
#gallery ul li.click i img.default {
	margin:5px auto 0 auto; 
	width:320px; 
	height:460px;
	border:1px solid #fff;
}

#gallery ul li.off {
	display:none;
}

#gallery ul li.click {
	/* border-color:#fc0; */
	background:#f8f8f8; 
	cursor:default;
}

#gallery ul li.click i {
	position:absolute; 
	
	left:0; 
	top:0; 
	
	width:545px; 
	height:200px;

}

#gallery ul li.click i img {
	margin:5px auto 0 auto; 
	width:auto; 
	height:auto; 
	border:1px solid #fff;
}

#gallery ul li.click span {
	display:block;
}
