div.abc-gallery-content {
    /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
    /*  display: none;*/
    float: right;
/*    width: 300px; 
    height: 320px; */
}
div.abc-gallery-content a, div.navigation a {
    text-decoration: none;
    color: #777;
}
div.abc-gallery-content a:focus, div.abc-gallery-content a:hover, div.abc-gallery-content a:active {
    text-decoration: underline;
}
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 {
    position: relative;
    right: 0;
    clear: both;
    height: 290px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
    position: absolute;
    top: 0;
    left: 0;
    /*  background-image: url('loader.gif');*/
    background-repeat: no-repeat;
    background-position: center;
/*    width: 300px;
    height: 290px;  This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
div.slideshow a.advance-link {
    display: block;
/*    width: 300px;
    height: 290px;  This should be set to be at least the height of the largest image in the slideshow */
    line-height: 0px; 
    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 img {
    vertical-align: middle;
    border: 1px solid #ccc;
}
div.download {
    float: right;
}
div.caption-container {

}
span.image-caption {
    display: block;
    width: 100%;
    float: left;
}
div.abc-gallery-caption {
    background-color: #eee;
    border: #dee1e2 solid 1px;
    padding: 2px;
    color: black;
    width: 140px;
    height: 30px;
    font-size: 10px;
    float: left;
    overflow: auto;
}
div.abc-gallery-caption a {
    color: #fff;
}
div.image-title {
    font-weight: bold;
    font-size: 1.4em;
}

div.image-desc {
    line-height: 1.3em;
    padding-top: 12px;
}
div.navigation {
    /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
#thumbs {
    height: 75px;
    width: 150px;
    float: left;
}
ul.thumbs {
    clear: both;
    margin: 0;
    padding: 0;
}
ul.thumbs li {
    float: left;
    padding: 0;
    margin: 5px 1px 5px 0;
    list-style: none;
    font-size: 0;
}
a.thumb {
    padding: 2px;
    display: block;
    border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
    background: #000;
}
a.thumb:focus {
    outline: none;
}
a.thumb .image {
    background-size: cover;
    background-position: center center;
}
ul.thumbs img {
    border: none;
    display: block;
}
div.pagination {
    clear: both;
}
div.navigation div.top {
    margin-bottom: 12px;
    height: 11px;
}
div.navigation div.bottom {
    margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
    display: block;
    float: left;
    margin-right: 2px;
    padding: 4px 5px 2px 5px;
    border: 1px solid #ccc;
}
div.pagination a:hover {
    background-color: #eee;
    text-decoration: none;
}
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 0;
}
#captionToggle a {
    float: right;
    display: block;
    /*  background-image: url('caption.png');*/
    background-repeat: no-repeat;
    background-position: right;
    margin-top: 5px;
    padding: 5px 30px 5px 5px;
}

div.abc-gallery-thumb {
    height: 50px;
    width:  50px;
}

.abc-gallery .ui-button {
    margin-top: 3px;
}

.abc-gallery .ui-button span {
    margin-bottom: 0;
    line-height: 1px;
}

div.abc-gallery-content div.abc-gallery-slideshow-container img {
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;  
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.abc-gallery-dialog-container img {
    max-width: 600px;
    max-height: 600px;
}

.abc-gallery-placeholder {
    height: 50%;
    width: 100%;
    background-color: #eee;
    text-align: center;
    vertical-align: middle;
    padding-top: 23%;
}