.galleriffic{
	width: 500px;
	float: left;
}

.galleryAlbums{
	margin-left: 0px;
}

.galleriffic .gal_main {
    /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
    display: none;
    float: left;
    width: 500px;
	position: relative; 
}
.galleriffic .gal_main a, .galleriffic .navigation a {
    text-decoration: none;
    color: #777;
}
.galleriffic .gal_main a:focus, .galleriffic .gal_main a:hover, .galleriffic .gal_main a:active {
    text-decoration: underline;
}
.galleriffic .controls {
    margin-top: 5px;
    height: 23px;
	position: absolute;
	z-index: 20;
	top: 5px;
	right: 5px;
}

.galleriffic .ss-controls {
    float: right;
}
.galleriffic .nav-controls {
    float: right;
}
.prev, .next, .play, .pause {
	background-color: #fff;
	padding: 5px 8px;
	margin: 2px;
	opacity: 0.7;
	color: #fff;
	font-size: 18px;
}
.galleriffic .slideshow-container {
    position: relative;
	clear: both;
    height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.galleriffic .loader {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('loader.gif');
    background-repeat: no-repeat;
    background-position: center;
    width: 500px;
    height: 300px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.galleriffic .slideshow {

}
.galleriffic .slideshow span.image-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
	line-height: 0;
}
.galleriffic .slideshow a.advance-link {
    display: block;
    width: 500px;
    height: 300px;  /*This should be set to be at least the height of the largest image in the slideshow */
    text-align: center;
}
.galleriffic .slideshow a.advance-link:hover, .galleriffic .slideshow a.advance-link:active, .galleriffic .slideshow a.advance-link:visited {
    text-decoration: none;
}
.galleriffic .slideshow img {
    border: none;
}
.galleriffic .download {
    float: right;
}
.galleriffic .caption-container {
    position: relative;
    clear: left;
    height: 50px;
	
}
.galleriffic span.image-caption {
    display: block;
    position: absolute;
    width: 500px;
    top: 0;
    left: 0;
}
.galleriffic .caption {
    padding: 20px 0 10px 0;
	clear: both;
	margin-top: 6px;
}
.galleriffic .image-title {
    font-weight: bold;
    font-size: 1.4em;
}
.galleriffic .image-desc {
    line-height: 1.3em;
    padding-top: 12px;
}
.galleriffic .navigation {
    /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
.galleriffic ul.thumbs {
    clear: both;
    margin: 0;
    padding: 0;
}
.galleriffic ul.thumbs li {
    float: left;
    padding: 0;
    margin: 5px 5px 5px 0;
    list-style: none;
}
.galleriffic a.thumb {
    padding: 2px;
    display: block;
    border: 1px solid #ccc;
}
.galleriffic ul.thumbs li.selected a.thumb {
    background: #000;
}
.galleriffic a.thumb:focus {
    outline: none;
}
ul.thumbs img {
    border: none;
    display: block;
}
.galleriffic .pagination {
    clear: both;
}
.galleriffic .navigation .top {
    margin-bottom: 12px;
    height: 11px;
}
.navigation .bottom {
    margin-top: 12px;
}
.galleriffic .pagination a, .galleriffic .pagination span.current, .galleriffic .pagination span.ellipsis {
    display: block;
    float: left;
    margin-right: 2px;
    padding: 4px 7px 2px 7px;
    border: 1px solid #ccc;
}
.galleriffic .pagination a:hover {
    background-color: #eee;
    text-decoration: none;
}
.galleriffic .pagination span.current {
    font-weight: bold;
    background-color: #000;
    border-color: #000;
    color: #fff;
}
.galleriffic .pagination span.ellipsis {
    border: none;
    padding: 5px 0 3px 2px;
}