/* Gallery */


#gallery {

margin-top:50px;
width:620px;
}




ul.thumbs {
width:620px;
margin:0;
list-style:none;
background:url(img/footerbg2.gif) left -5px;
text-align:center;
padding:0;
clear:both;
margin-top:10px;
}

#gallery ul.thumbs li{
overflow:hidden;
float:left;
display:block;
width:80px;
height:50px;
border:1px double #FFF;
margin: 3px;
padding:0;
border-top:3px solid #4abab4; 
}

ul.thumbs li img a {
width:80px;
height:50px; 
border:0;
cursor:pointer;
padding:0; 
margin:0;
}



#main_image, #slideshow, div#loading {
margin:0 0 30px 0px;
text-align:center;
width:520px; 
overflow:hidden; 
padding:0px 50px;
text-align:center;
background:url(img/footerbg2.gif) repeat-x left top;
border-bottom:1px dotted #4abab4;
}

#slideshow img{

max-width:494px; 
max-height:594px;
border:3px solid #FFF;
margin:0;
}

.gallnav, #controls{
width:620px; 
padding:35px 0;
height:10px; 
clear:both; 
background:url(img/metabg.png) no-repeat;
}


.ss-controls {
float:left;
margin-left:40px;
}

.nav-controls {
float:right;
margin-right:150px;
}



.main #thumbs ul.thumbs li {
float:left;
padding:0;
width:auto;
background-image:none;
background-color:transparent;
margin:0;
border:0;
}

.main #thumbs ul.thumbs li a.thumb {
margin-right:9px;
}


div.pagination {
clear:both;
margin:10px 0;
}

.pagination:after {
content: ".";
display: block;
  clear: both;
  height: 0;
  visibility: hidden;

}

div#loading {
	background-image: url('js/galleriffic/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	height: 300px
}


