/* -- gallery  begin --*/
div.content {/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
    width: 630px;
    height: 484px;
    margin:  0;
    padding: 0px;
    float: left;
    overflow: hidden
}
div.content img {
    position: relative;
    z-index: 2
}
div.content a, div.navigation a {
    text-decoration: none;
    display:block;
    position:relative;
    cursor:pointer;
    width: 140px;
    height: 121px;
}
div.content a img, div.navigation a img {
    position:relative;
    z-index:1
}
div.content a span, div.navigation a span {
    display:block;
    width:140px;
    height:121px;
    background:#000;
    position:absolute;
    left:0;
    top:0;
    z-index:2
}
div.content a span.selected,  div.navigation a span.selected {
    display:none !important
}
div.content a:focus, div.content a:hover, div.content a:active {
    text-decoration: underline
}
div.controls {
}
div.controls a {
    padding: 0px
}
div.ss-controls {
    float: left;
    display:none
}
div.nav-controls {
    position:absolute;
    left:0px;
    width:596px;
    bottom:0px;
    z-index: 1
}
div.nav-controls a.prev {
    background:no-repeat 0 0;
    width:39px;
    height:39px;
    text-indent:-5000px;
    position:absolute;
    bottom:2px;
    left:0;
    z-index:11
}
div.nav-controls a.prev:hover {
    background:no-repeat 0 0
}
div.nav-controls a.next {
    background:no-repeat 0 0;
    width:39px;
    height:39px;
    text-indent:-5000px;
    position:absolute;
    bottom:2px;
    right:0;
    z-index:11
}
div.nav-controls a.next:hover {
    background:no-repeat 0 0
}
div.slideshow-container {
    position: relative;
    height: 485px; /* This should be set to be at least the height of the largest image in the slideshow */
    z-index:1
     
}
div.loader {
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    width: 592px;
    height: 470px; /* 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;
    width: 636px;
  height: 485px;
    position:absolute;
    left:0;
    top:0
}
div.slideshow a.advance-link {
    display: block;
    width: 636px;
    height: 483px; /* This should be set to be at least the height of the largest image in the slideshow */
    padding: 0;
    margin: 0;

    display: table-cell;
					vertical-align: middle;
}
div.slideshow a.advance-link img {
    padding:0;
    display:block; 
    max-height: 100%;
    margin:-18px auto 0px auto;
	max-width: 100%;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
    text-decoration: none
}
div.slideshow img {
}
div.download {
    float: right
}
div.caption-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 596px;
    height: 151px
}
span.image-caption {
    display: block;
    position: absolute;
    width: 596px;
    height: 151px;
    top: 0;
    left: 0;
    z-index:10
}
div.caption {
    width: 536px;
    height: 128px;
    padding: 23px 30px 0 30px;
    line-height: 18px;
    font-size: 13px;
    color: #fff
}
div.caption h5 {
    line-height: 18px;
    font-size: 13px;
    color: #fd003f;
    text-transform:uppercase;
    font-weight:bold;
    text-decoration:none
}
div.caption h6 {
    line-height: 18px;
    font-size: 13px;
    color: #fff;
    font-weight:normal;
    margin: 0 0 18px 0
}
div.image-title {
}
div.image-desc {
}
div.navigation {
}
div#thumbs {
    width: 149px;
    height:435px;
    overflow: hidden;
    padding: 0px 0px 0 0;
    float: left;
      margin-top: 25px;
}
ul.thumbs {
    float: right;
    margin-left:0;
    padding: 0;
    height:auto;
    overflow:visible
}
ul.thumbs li {
    height: 104px;
    float:right;
    margin: 0 0px 5px 0;
    overflow: hidden;
    padding: 0;
    vertical-align:top
}
ul.thumbs li img {
    border: none;
    width: 100%;
    height: 100%;
}
a.thumb:focus {
    outline: none
}
.clear{clear: both;}
div.pagination {
    clear: both;
    text-align:center;
    position:relative;
    z-index:10
}
div.top.pagination {
    display:none
}
div.navigation div.bottom {
    display:none
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
    padding:0 4px;
    font-weight:bold;
    color:#fff
}
div.pagination a:hover {
    text-decoration: none;
    color:#ffeaa8
}
div.pagination span.current {
    color:#ffeaa8
}
div.pagination span.ellipsis {
    border: none;
    padding: 5px 0 3px 2px
}
/* -- gallery end --*/