div.gallery-individual {
    position: relative;
}

.gallery * {
    font-size: 12px;
}

div.gallery-content {
    /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
    display: none;
    width: 730px;
    margin: 0;
}

div.controls {
    height: 23px;
    padding-top: 12px;
    border-bottom: 1px solid #ccc;
}

div.controls a {
    margin: 0 10px;
}

div.ss-controls {
    float: left;
}

div.nav-controls {
    float: right
}

div.slideshow-container {
    height: 520px;
}

div.slideshow span.image-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

div.slideshow a.advance-link {
    display: block;
    width: 730px;
    height: 520px; /* This should be set to be at least the height of the largest image in the slideshow */
    line-height: 520px; /* This should be set to be at least the height of the largest image in the slideshow */
    text-align: center;
}

div.slideshow img {
    vertical-align: middle;
    border: 1px solid #ccc;
}

ul.thumbs {
    clear: both;
    margin: 10px 0 0 0;
    padding: 5px;
}

ul.thumbs li {
    padding: 5px;
    margin: 0;
    float: left;
    list-style: none;
}

ul.thumbs li img {
    display: inline;
}

a.thumb {
    padding: 0;
    display: inline;
    border: none;
}

ul.thumbs li.selected a.thumb {
    color: #000;
    font-weight: bold;
}

ul.thumbs img {
    border: none;
    display: block;
}

div.pagination {
    clear: both;
    padding: 5px;
}

div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
    display: block;
    float: left;
    margin-right: 2px;
    padding: 4px 7px 2px 7px;
    border: 1px solid #ccc;
}

div.pagination a:hover {
    background-color: #eee;
}

div.pagination span.current {
    font-weight: bold;
    background-color: #000;
    border-color: #000;
    color: #fff;
}

div.pagination span.ellipsis {
    border: none;
    padding: 5px 0 3px 2px;
}

div#thumbs {
    width: 700px !important;
}