
#gallery {width:542px; position:relative; height:auto px; float:left; padding-top:245px; margin:60px 0px 0px 40px;}

#gallery img.left {width:55px; height:62px; background:#444; float:left;cursor:pointer;}
#gallery img.right {width:55px; height:62px; background:#444; float:left;cursor:pointer;}

#gallery ul {list-style:none; padding:0; margin:0;  float:left; background:#444; border:2px solid #444; border-width:5px 2px;}
#gallery ul li {display:inline; width:50px;  height:50px; float:left; margin:0px 4px; border:1px solid #000; cursor:pointer;}

#gallery ul li.hide {display:none;}

/* using background images */
#gallery ul li.th1 {background:url(thumbs/th1.jpg);}
#gallery ul li.th2 {background:url(thumbs/th2.gif);}
#gallery ul li.th3 {background:url(thumbs/th3.gif);}
#gallery ul li.th4 {background:url(thumbs/th4.gif);}
#gallery ul li.th5 {background:url(thumbs/th5.gif);}
#gallery ul li.th6 {background:url(thumbs/th6.gif);}
#gallery ul li.th7 {background:url(thumbs/th7.gif);}
#gallery ul li.th8 {background:url(thumbs/th8.gif);}
#gallery ul li.th9 {background:url(thumbs/th9.gif);}
#gallery ul li.th10 {background:url(thumbs/th10.gif);}
/*#gallery ul li.th11 {background:url(thumbs/th11.jpg);}
#gallery ul li.th12 {background:url(thumbs/th12.jpg);}
#gallery ul li.th13 {background:url(thumbs/th13.jpg);}
#gallery ul li.th14 {background:url(thumbs/th14.jpg);}
#gallery ul li.th15 {background:url(thumbs/th15.jpg);}
#gallery ul li.th16 {background:url(thumbs/th16.jpg);}
#gallery ul li.th17 {background:url(thumbs/th17.jpg);}
#gallery ul li.th18 {background:url(thumbs/th18.jpg);}
#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 {visibility:visible; display:block; width:50px; height:50px;}

#gallery ul li span {display:none; position:absolute; background-color:#2F9ACA; left:0px; top:-70px;  width:518px; height:75px; border:1px solid #B1D6ED; font-family:verdana, arial, sans-serif; color:#fff; padding:5px; padding-left:10px;  font-size:11px; line-height:15px; text-align:justify;}
#gallery ul li b {color:#fff; font-family:"Trebuchet MS" ; font-size:16px; }

#gallery ul li.chosen {border-color:#fff; cursor:default;}
#gallery ul li.chosen div {position:absolute; left:0; top:15px; width:532px; height:230px; background:#2F9ACA; border:1px solid #B1D6ED;  border-width:1px 1px 0 1px;}
#gallery ul li.chosen div i {width:532px; height:230px;  display:table-cell; vertical-align:middle; text-align:center;} 
#gallery ul li.chosen div i img {visibility:visible; width:auto; height:auto; margin-left:10px; margin-top:5px; border:0px solid #aaa; }
#gallery ul li.chosen span {display:block;}

