@charset "utf-8";
/* CSS Document */
#gallery {
	width:270px;
	position:relative;
	height:220px;
	padding-top:0px;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 5px;
	background-color: #000;
	left: auto;
	right: auto;
	top: 0px;
}

#gallery img.left {
	width:40px;
	height:40px;
	background:#333;
	float:left;
	cursor:pointer;
	padding: 10px;
	border:#F00 1px
}


#gallery img.right {
	width:40px;
	height:40px;
	background:#333;
	float:left;
	cursor:pointer;
	padding: 10px;
	border:#F00 1px
}

#gallery ul {
	list-style:none;
	float:left;
	background-color: #000;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	display: block;
	top: 140px;
	padding: 0;
	
}
#gallery ul li {
	display:inline;
	width:50px;
	height:50px;
	float:left;
	border:1px solid #F00;
	cursor:pointer;
	background-color: #000;
	margin-top: 2;
	margin-right: 2px;
	margin-bottom: 4px;
	margin-left: 4px;
	
}

#gallery ul li.hide {display:none;}

/* using background images */

#gallery ul li.th19 {background:url(thumbs/th19.jpg);}

/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {display:block; width:50px; height:50px;}

#gallery ul li span {
	display:none;
	position:absolute;
	left:308px;
	top:-34px;
	width:411px;
	font-family:verdana, arial, sans-serif;
	color:#666;
	font-size:11px;
	line-height:15px;
	text-align:justify;
	height: 27px;
	margin-bottom: 5px;
}
#gallery ul li b {
	color:#000;
}

#gallery ul li.chosen {
	border-color:#F00;
	cursor:default;
	background-color:#666
}
#gallery ul li.chosen div {
	position:absolute;
	left:300px;
	top:0px;
	width:545px;
	height:350px;
	background-color: #000000;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 0;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
	margin-bottom: 10px;
	margin-top: 0px;
}
#gallery ul li.chosen div i {width:530px; height:355px; display:table-cell; vertical-align:middle; text-align:center;} 
#gallery ul li.chosen div i img {
	visibility:visible;
	width:auto;
	height:auto;
	border:1px none #aaa;
	margin:0 auto;
	top: 0px;
	position: relative;
	left: 0px;
	background-color: #CCCCCC;
}
#gallery ul li.chosen span {display:block;}

