
#gallery {width:550px; position:relative; height:60px; padding-top:450px; margin:0 150px 100px 150px;}

#gallery img.left {width:55px; height:62px; background:#fff; float:left;cursor:pointer;}
#gallery img.right {width:55px; height:62px; background:#fff; float:left;cursor:pointer;}

#gallery ul {list-style:none; padding:0; margin:0; float:left; background:#fff; border:2px solid #fff; border-width:5px 2px;}
#gallery ul li {display:inline; width:50px; height:50px; float:left; margin:0 4px; border:1px solid #fff; cursor:pointer;}

#gallery ul li.hide {display:none;}

/* using background images */
#gallery ul li.099 {background:url(images/099.jpg);}
#gallery ul li.098 {background:url(images/098.jpg);}
#gallery ul li.097 {background:url(images/097.jpg);}
#gallery ul li.096 {background:url(images/096.jpg);}
#gallery ul li.095 {background:url(images/095.jpg);}
#gallery ul li.094 {background:url(images/094.jpg);}
#gallery ul li.093 {background:url(images/093.jpg);}
#gallery ul li.092 {background:url(images/092.jpg);}
#gallery ul li.091 {background:url(images/091.jpg);}
#gallery ul li.090 {background:url(images/090.jpg);}
#gallery ul li.089 {background:url(images/089.jpg);}
#gallery ul li.088 {background:url(images/088.jpg);}
#gallery ul li.087 {background:url(images/087.jpg);}
#gallery ul li.086 {background:url(images/086.jpg);}
#gallery ul li.085 {background:url(images/085.jpg);}
#gallery ul li.084 {background:url(images/084.jpg);}
#gallery ul li.083 {background:url(images/083.jpg);}
#gallery ul li.082 {background:url(images/082.jpg);}
#gallery ul li.081 {background:url(images/081.jpg);}
#gallery ul li.080 {background:url(images/080.jpg);}
#gallery ul li.079 {background:url(images/079.jpg);}

/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {visibility:hidden; display:block; width:50px; height:50px;}

#gallery ul li span {
	display:none;
	position:absolute;
	left:0px;
	top:550px;
	width:550px;
	line-height:15px;
	text-align:justify;
	height: 52px;
}
#gallery ul li b {color:#fff;}

#gallery ul li.chosen {border-color:#fff; cursor:default;}
#gallery ul li.chosen div {position:absolute; left:0; top:0; width:550px; height:450px; background:#fff; border:1px solid #fff; border-width:1px 1px 0 1px;}
#gallery ul li.chosen div i {width:550px; height:400px; display:table-cell; vertical-align:middle; text-align:center;} 
#gallery ul li.chosen div i img {visibility:visible; width:auto; height:auto; border:1px solid #aaa; margin:0 auto;}
#gallery ul li.chosen span {display:block;}

