div.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: 665px;
        background-color: #000;
}
div.content a, div.navigation a {
        text-decoration: none;
        color: #dedede;
}

div.content a:focus, div.content a:hover, div.content a:active {
        text-decoration: underline;
}
div.controls {
        /*margin-top: 5px;*/
        height: 23px;
}
div.controls a {
        margin:0 5px;
}
div.ss-controls {
        float: left;
}
div.nav-controls {
        float: right;
}
div.slideshow-container {
        background-color: #000;
        position: relative;
        clear: both;
        /*height: 660px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
        position: relative;
        top: 0;
        left: 0;
        background-image: url('../img/loader.gif');
        background-repeat: no-repeat;
        background-position: center;
        width: 660px;
        height: 440px; /* 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;*/
        text-align: center;
}
div.slideshow a.advance-link {
        /*display: block;
        width: 660px;
        height: 650px; /* This should be set to be at least the height of the largest image in the slideshow */
        /*line-height: 650px; /* This should be set to be at least the height of the largest image in the slideshow */
        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 {
        position: relative;
        clear: left;
        height: 75px;
}
span.image-caption {
        display: block;
        position: absolute;
        width: 665px;
        top: 0;
        left: 0;
        background-color: #000;
}
div.caption {
        padding: 12px;
        text-align: center;
}
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{
    float: left;
    margin: 0 auto;
    opacity: 1;
    width: 280px;
}

ul.thumbs {
        clear: both;
        margin: 0;
        padding: 0;
}
ul.thumbs li {
        float: left;
        padding: 0;
        margin: 2px 10px 3px 0;
        list-style: none;
        height: 90px;
}
a.thumb {
        padding: 2px;
        display: block;
        border: 1px solid #666;
}
ul.thumbs li.selected a.thumb {
        background: #222;
}
a.thumb:focus {
        outline: none;
}
ul.thumbs img {
        border: none;
        display: block;
}
div.pagination {
        clear: both;
}
div.navigation div.top {
        margin-bottom: 12px;
        height: 14px;
}
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: 2px 3px 2px 3px;
        border: 1px solid #333;
}
div.pagination a:hover {
        background-color: #222;
        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;
}

.year {
    background: none repeat scroll 0 0 #545454;
    border-radius: 2px;
    color: #DEDEDE;
    float: left;
    margin: 0 5px;
    padding: 5px;
    box-shadow:0 8px 6px -6px rgba(0,0,0,0.8);
}

.next, .prev, .play, .pause {
  display: block;
  width:24px;
  height: 24px;
  float: left;
  background: url(../img/next.png) no-repeat left top;
}

.prev {
  background: url(../img/next.png) no-repeat left bottom;
}

.play {
  background: url(../img/next.png) no-repeat right top;
}

.pause {
  background: url(../img/next.png) no-repeat right bottom;
}

.obal {
  overflow:hidden; 
  /*height:650px; */
  width:665px;
}

@media screen and (max-width: 600px) {
  div.content, div.slideshow-container, .obal {
        
        width: 100%;
        height: auto;
}

div.slideshow-container{
  margin-bottom:10px;
}

  span.image-caption {
        
        width: 100%;
        height: auto;
        
}

#thumbs{
    float: none !important;
    margin: 0 auto;
    opacity: 1;
    width: 280px;
}

div.slideshow img {
         max-width: 99%;
        height:auto;
        margin:0 auto;
}

div.loader {
  width: 100%;
  height:auto;
}

div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
        padding: 3px 6px;
}

    
}
