div#ajaxPage_loader:before {
    content:url('loader.gif');
}
div#ajaxPage_loader span {
    left: 6px;
    position: relative;
    top: -18px;
}
div#gallery_page {
	background-color: #000;
	text-align: left;
    padding:10px;
    border:1px solid #fff;
    border-radius:2px;
}
div#gallery_container {
	padding: 20px;
}
div#gallery_ads {
	clear: both;
	padding: 12px 0 12px 66px;
}
div#gallery_footer {
	clear: both;
	color: #777;
	margin: 0 auto;
	padding: 20px 0 40px;
	text-align: center;
}

div.gallery_slideshow-container {
    position:relative;
    height: 508px;
    
}
span.gallery_image-wrapper{
    position:absolute;
    width: 906px;
    margin-left:-3px;
}
div.gallery_content {
	background-color: #000;
	color: #fff;
}
div.gallery_content a, 
div.gallery_navigation a {
	color: #fff;
}
div.gallery_content span a {
    display:block;
    text-align:center;
    position:relative;
    top:0;
    text-decoration:none;
}

div.gallery_navigation img,
div.gallery_content img {
    border:1px solid #fff;
    border-radius:2px;
}
div.gallery_navigation img { }
div.gallery_caption-container{
    position:relative;
    height:17px;
    margin-bottom:2px;
}
div.gallery_caption {
}
div.gallery_content div.gallery_image-title {
    text-align:center;
    line-height:17px;
    position:absolute;
    margin-left:-3px;
    width:906px;
}
div.gallery_image-title { background-color:#000; }

div.gallery_content span a:hover { text-decoration:none; }
div.gallery_content span a img{
}
div.gallery_content h2 {
	color: #ccc;
}
div.gallery_content div#page {
	background-color: #000;
	border-color: #222;
}
div.gallery_content div#footer {
	color: #888;
}
div.gallery_content div.caption-container {
	color: #eee;
}
div.gallery_content div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.gallery_content div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.gallery_content div.download {
	margin-top: 8px;
}
div.gallery_content div.photo-index {
	color: #888;
}
div.gallery_content div.loader {
	background-image: url(loaderWhite.gif);
}
div.gallery_content div.slideshow img {
	border-color: #333;
}
div.gallery_content ul.thumbs li.selected a.thumb {
	background: #fff;
}
div#gallery_thumbs a.galleryPrevPage {
	background:transparent url(thumbPageArrows.png) 0 0 no-repeat;
    height:82px;
    width:22px;
}
div#gallery_thumbs a.galleryNextPage {
	background: transparent url(thumbPageArrows.png) -22px 0 no-repeat;
    height:82px;
    width:22px;
}
div#gallery_thumbs a.galleryPrevPage:hover {
	background-position: -44px 0;
}
div#gallery_thumbs a.galleryNextPage:hover {
	background-position: -66px 0;
}
div#gallery_thumbs div.gallery_pagination a:hover {
	background-color: #111;
}
div#gallery_thumbs div.gallery_pagination span.current {
	background-color: #fff;
	border-color: #fff;
	color: #000;
}
div#gallery_thumbs  {
    clear:both;
}
div#gallery_thumbs ul li {
    float:left;
}
div#gallery_thumbs ul li a {margin:2px;}
div.gallery_content a:focus, 
div.gallery_content a:hover, 
div.gallery_content a:active {
	text-decoration: underline;
}
div.gallery_controls {
	margin-top: 5px;
	height: 23px;
}
div.gallery_controls a {
	padding: 15px;
	color:#fff;
}
div.gallery_close-controls {
	padding: 0 15px 0 15px;
	float: right;
    cursor: pointer;
}
div.gallery_ss-controls {
	float: left;
}
#GalleriesContainer ul {clear:both;list-style-type:none;margin:0;}
#GalleriesContainer ul li {
    float: left;
    list-style-type: none;
    margin: 0;
    max-height: 270px;
    min-height: 270px;
    overflow: hidden;
    width: 165px;
}
#GalleriesContainer .galImage img {border:1px solid #ccc;}