div#contforgallery {position:relative;float:none;left:324px; top:0px; width:336px;height:428px;z-index:1;}

div#gal, #gallerydiv  {
    position:absolute;float:none;
   padding: 0;
   margin: 0;
   top:46px; left:-10px; 
   border:0px;
   z-index:2;
   }

#gallerydiv  {overflow:visible; left:20px;list-style:none;}

#gallerydiv  li {float:left; position:absolute; clear:left; padding:0px;margin:0px;border:0px; width:70px; }

#gallerydiv  li a {
   display: block; margin:0px; border:0px; 
   text-decoration:none;
   padding:3px 4px 20px;
   width:90px; height:110px;display:block;position:absolute;
   z-index:9;
   text-align:center;
   }

#gallerydiv  li a img {float:none;margin:auto;}

#gallerydiv li a:hover,  #gallerydiv li a:focus, #gallerydiv  li a:active, #gallerydiv  li a:visited:hover {background-color:#0089cf;}

#gallerydiv li div {
    position:absolute;
    z-index:0;
    padding-top:94px; width:90px;
    
    text-align:center;}


#gallerydiv li ul {
   position:absolute;overflow:visible;
   padding:2px; margin: 0;
   top:-8px; left: -9999em; }



#gallerydiv li:hover ul,  #gallerydiv li:focus ul, #gallerydiv  li:active ul, #gallerydiv  li.sfhover ul {left:0px;margin-left:310px;}


/*
    ColorBox Core Style
    The following rules are the styles that are consistant between all ColorBox themes
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; overflow:visible;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/* 
	ColorBox example user style
	These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, 
	in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com
*/
#cboxOverlay{background:#000;}

#colorbox{}
	#cboxContent{background:#000; margin-top:20px;}
		#cboxLoadedContent{background:#000; padding:5px;}
                #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
                #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
                #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
                #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background:url(images/colorbox/controls.png) top left no-repeat; width:38px; height:81px; text-indent:-9999px;}
                #cboxPrevious.hover{background-position:bottom left;}
                #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background:url(images/colorbox/controls.png) top right no-repeat; width:38px; height:81px; text-indent:-9999px;}
                #cboxNext.hover{background-position:bottom right;}
                #cboxLoadingOverlay{background:#000;}
		#cboxLoadingGraphic{background:url(images/colorbox/loading.gif) center center no-repeat;}
		#cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/colorbox/controls.png) top center no-repeat; width:47px; height:24px; text-indent:-9999px;}
		#cboxClose.hover{background-position:bottom center;}