#gallery {width:534px; position:relative; height:60px;

/*This adjusts the thumbnail bar's vertical position */
padding-top:429px; /* orig value 441px 356px*/
 margin:0
 113px /*origvalue 113px*/
 90px
 113px;}

#gallery img.left {width:55px; height:62px;
				background:#999; /* Original value #444*/
				float:left;cursor:pointer;}
#gallery img.right {width:55px; height:62px;
				background:#999; /* Original value #444*/
				float:left;cursor:pointer;}

#gallery ul {list-style:none; padding:0; margin:0; float:left;
/*** thumbnail frame background color ***/
background:#999; /* Original value #444*/
border:2px solid #999999; /* Original value #444*/
border-width:5px 2px;}
#gallery ul li {display:inline; width:50px; height:50px; float:left; margin:0 4px; border:1px solid
/* Outline color of unselected thumbnail = Black */
#000;

cursor:pointer;}

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

/* using background images */

/* 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:41px;
margin-left: auto;
    margin-right: auto;
			top:375px; /* vertical position of caption - origvalue 430px */
			width:469px;
			/*font-family: verdana, arial, sans-serif;*/
			/*Bottom text*/
			color:#000; /*font-size:12px;*/ line-height:11px;
			text-align:center
			}
			
#gallery ul li b {color:#000;}  /* Original value #fff*/

#gallery ul li.chosen {	/* Color of selected thumbnail = Orange */
						border-color:#f30;
						
						cursor:default;}
						
#gallery ul li.chosen div {position:absolute; left:95px; top:0; /*** large images' position ***/
					width:345px; /* width of main window origvalue 532px*/
					height:345px;/*height of the main window - origvalue 355px */
					/*background:#000;*/  /* Main window background color Original value #fff*/
					border:0px solid #fff; border-width:0px 0px 0 0px;}
#gallery ul li.chosen div i {width:345px;
								height:340px; /*vertical position of Main Frame 355px default value*/
								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;}
