.shashinPhotoGroups {
}

.shashinThumbnailsTable {
}

.shashinCaption {
    text-align: center;
    margin: 5px;
    width: 100%;
}

.shashinTableRow {
    clear: both; /* do not change */
}

.shashinTableRowClear {
    line-height: 0;
    font-size: 0;
    clear: both; /* do not change */
}

.shashinTableCell {
    float: left;
    margin: 2%; /* do not change */
    position: relative;
    /* width and max-width are set dynamically, to make the images responsive */
}

.shashinThumbnailImage {
    max-width: 100%; /* do not change */
    vertical-align: bottom;
    height: auto; /* do not change */
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2);
}

/* thank you
   http://stackoverflow.com/questions/13114069/responsive-transparent-css-image-caption-with-graceful-degradation
 */
.shashinThumbnailCaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb000000, endColorstr=#bb000000); /* for IE 8 and below */
    padding: 10px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    pointer-events: none;
    text-align: center;
    font-size: x-small;
    color: #fff;
}

.shashinThumbnailCaption a, .shashinThumbnailCaption a:visited, .shashinThumbnailCaption a:hover, .shashinThumbnailCaption a:active {
    color: #fff;
    text-decoration: underline;
}

.shashinAlbumCaptionTitle {
    display: block;
    padding: 0px 5px 1px 5px;
    font-size: x-small;
    font-weight: bold;
}

.shashinAlbumCaptionDate {
    display: block;
    padding: 0px 5px 1px 5px;
    font-size: x-small;
}

.shashinAlbumCaptionLocation {
    display: block;
    padding: 0px 5px 5px 5px;
    font-size: x-small;
}

.shashinAlbumCaptionLocation img {
    vertical-align: middle;
    padding-right: 3px;
}

.shashinCaptionExif {
    display: block;
    color: darkgray;
}

.shashinLinkToOriginalPhoto {
    float: right;
    padding: 5px;
    background-color: #f1f1f1;
    border: thin #717171 solid;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: x-small;
    text-shadow: 0px 1px 0px #fff;
}

.shashinLinkToOriginalPhoto a, .shashinLinkToOriginalPhoto a:visited, .shashinLinkToOriginalPhoto a:hover, .shashinLinkToOriginalPhoto a:active {
    color: #717171;
    text-decoration: none;
}

.shashinFancyboxCaptionWrapper {
    display: none;
}

.shashinFancyboxCaption {
    text-align: left;
}

.shashinFancyboxCaptionClose {
    float: right;
}

#fancybox-left, #fancybox-right {
    /* this prevents the navigation overlay from hiding video controls */
    bottom: auto;
    top: 0px;
    height: 90%;
}

.shashinPrettyphotoCaptionWrapper {
    display: none;
}
