#gallery-container .content {
    display: none;
    clear: both;
}

#gallery-container a {
    text-decoration: none;
    border: none;
    display: block;
}


#gallery-container .navigation a.pageLink {
    height: 52px;
    line-height: 52px;
}

div.controls {
    margin-top: 5px;
    height: 23px;
}

div.controls a {
    padding: 5px;
}

div.ss-controls {
    float: left;
}

div.nav-controls {
    float: right;
}



div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
    width: 640px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}

div.loader,
div.slideshow a.advance-link,
div.caption-container {
    height: 480px; /* This should be set to be at least the height of the largest image in the slideshow with padding */
}

div.slideshow-container {
    position: relative;
    clear: both;
/*    float: left;*/
    height: 480px;
}

div.loader {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('images/loader.gif');
    background-repeat: no-repeat;
    background-position: center;
}
div.slideshow span.image-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
div.slideshow a.advance-link {
    display: block;
    /*line-height: 393px;*/ /* This should be set to be at least the height of the largest image in the slideshow with padding */
    text-align: center;
}

div.slideshow a.advance-link:hover,
div.slideshow a.advance-link:active,
div.slideshow a.advance-link:visited {
    text-decoration: none;
}
div.slideshow a.advance-link:focus {
    outline: none;
}

div.slideshow img {
    width: 640px;
    height: 480px;
}

div.caption-container {
    float: right;
    position: relative;
/*    margin-top: 30px;*/
}

span.image-caption {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

div.caption-container,
span.image-caption {
    display: none;
    width: 640px;
}

div.caption {
    padding: 0 12px;
}

div.image-title {
    font-weight: bold;
    font-size: 1.4em;
}
div.image-desc {
    line-height: 1.3em;
    padding-top: 12px;
}
div.download {
    margin-top: 8px;
}
div.photo-index {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 12px;
}




#gallery-container .navigation-container {
    float: left;
    position: relative;
    left: 50%;
}

#gallery-container .navigation {
    float: left;
    position: relative;
    overflow: hidden;
    left: -50%;
}

#gallery-container .navigation a.pageLink {
    display: block;
    position: relative;
    float: left;
    margin: 2px;
    width: 24px;
    background-position:center center;
    background-repeat:no-repeat;
    text-align: center;
}

#gallery-container .navigation a.pageLink:focus {
    outline: none;
}



ul.thumbs {
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul.thumbs li {
    float: left;
    padding: 0;
    margin: 2px;
    list-style: none;
}

a.thumb {
    padding: 1px;
    display: block;
}

a.thumb:focus {
    outline: none;
}

ul.thumbs img {
    border: none;
    display: block;
}

#gallery-container .pagination {
    clear: both;
    position: relative;
    left: -50%;
}

#gallery-container .pagination a,
#gallery-container .pagination span.current,
#gallery-container .pagination span.ellipsis {
    position: relative;
    display: block;
    float: left;
    margin-right: 2px;
    padding: 4px 7px 2px 7px;
}

#gallery-container .pagination a:hover {
    text-decoration: none;
}

#gallery-container .pagination span.current {
    font-weight: bold;
}

#gallery-container .pagination span.ellipsis {
    border: none;
    padding: 5px 0 3px 2px;
}

div.gallery-gutter {
    clear: both;
    padding-bottom: 20px;
}

div.caption-container {
    color: #eee;
}
div.image-title {
    font-weight: bold;
    font-size: 1.4em;
}
div.image-desc {
    line-height: 1.3em;
    padding-top: 12px;
}
div.download {
    margin-top: 8px;
}
div.photo-index {
    color: #888;
}

/*#gallery-container .navigation a.prev {
    background-image: url(./images/prevPageArrowWhite.gif);
}
#gallery-container .navigation a.next {
    background-image: url(./images/nextPageArrowWhite.gif);
}
div.loader {
    background-image: url(./images/loaderWhite.gif);
}
*/

ul.thumbs li.selected a.thumb {
    background: #fff;
}
#gallery-container .pagination a:hover {
    background-color: #111;
}
#gallery-container .pagination span.current {
    background-color: #fff;
    color: #000;
}

