
#photo-detail,
#video-detail {
    background: none white;
    padding: 20px 0 0;
    height: 100%;
}

#photo-detail .photo-detail-image {
    background: url(images/large-facebook-loading.gif) center center no-repeat #f6f6f6;
    margin-left: 10px;
    min-height: 400px;
    width: 831px;
}

#photo-detail .photo-detail-image img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 820px;
}

#photo-detail .photo-detail-comments {
    padding-top: 30px;
    min-height: 150px;
    margin-left: 10px;
    float: left;
}

#photo-detail #photo-detail-info {
    width: 250px;
    float: right;
    padding-top: 25px;
    font-size: 12px;
    margin-right: 10px;
    color: gray;
    font-family: arial;
}

#photo-detail #photo-detail-info .row {
    padding: 2px 0;
}

#photo-detail .spacer_gray {
    display: block;
    height: 2px;
    background: none lightgray;
    margin: 5px 0;
}

.person-info {
    padding: 6px;
    overflow-y: scroll !important;
    display: block;
}

.person-info .person-image {
    float: left;
    padding-right: 10px;
}

.person-info .person-name {
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
}

.person-info .person-caption,
.photo-detail-info {
    padding: 10px 0;
    font-size: 13px;
    line-height: 18px;
    display: block;
}

.person-info .date-posted {
    color: #808080;
    font-size: 11px !important;
}

.photo-detail-info {
    padding: 10px;
}

.photo-viewer-image {
    text-align: center;
    height: 100%;
    float: left;
    position: relative;
    background: none black;
    border: #ffffff 1px solid;
    border: rgba(255, 255, 255, .1) 1px solid;
    -webkit-box-sizing: border-box;
}

.photo-viewer-image:before {
    content: "";
    display: inline-block;
    height: 100%;
    margin-right: -0.25em;
    vertical-align: middle;
}

.photo-viewer-image img {
    display: inline-block;
    height: auto;
    margin: 0 auto;
    padding: 0;
    border: 0;
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.photo-viewer-image .btnNext {
    background: url(images/next_button_hover.png) 98% center no-repeat;
    width: 20%;
    position: absolute;
    right: 4px;
    top: 0;
    display: block;
    height: 100%;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    filter: alpha(opacity=0);
    opacity: 0.0;
}

.photo-viewer-image .btnNext:hover {
    filter: alpha(opacity=80);
    opacity: 0.8;
}

.photo-viewer-image .btnPrev {
    background: url(images/prev_button_hover.png) 8px center no-repeat;
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    filter: alpha(opacity=0);
    opacity: 0.0;
}

.photo-viewer-image .btnPrev:hover {
    filter: alpha(opacity=80);
    opacity: 0.8;
}

.fancybox-caption {
    display: none;
}

.mediaTitleInfo {
    /*font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;*/
    background-color: #000000;
    background-color: rgba(0, 0, 0, .8);
    bottom: 0;
    left: 0;
    color: #B3B3B3;
    font-size: 13px;
    position: absolute;
    padding: 0;
    width: 100%;
    margin: 0;
    height: 33px;
    line-height: 33px;
    text-align: left;
    z-index: 999;
    -webkit-font-smoothing: antialiased;
    -webkit-background-clip: padding-box;
}

.mediaTitleInfo span:first-child {
    margin-left: 8px;
}

.mediaTitleInfo a {
    padding: 3px 5px;
    color: white;
    font-weight: bold;
    margin-right: 5px;
    text-shadow: none;
}

.mediaTitleInfo a:hover {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    -ms-border-radius: 2px;
    -moz-border-radius: 2px;
    -khtml-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -ms-opacity: 1;
    opacity: 1;
    text-decoration: none;
}


.mediaTitleInfo .photo_count {
    padding-right: 5px;
}

.mediaTitleInfo .cat,
.mediaTitleInfo .cat a
{
    margin-right: 0;
}

.mediaTitleInfo .ca,
.mediaTitleInfo .ca a
{
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
}

/*.mediaTitleInfo .album,
.mediaTitleInfo .album a
{
    padding-left: 0;
}*/


.tags a,
.fb_album_link a,
.video-albums a {
    font-size: 12px;
    display: inline-block;
    padding-left: 5px;
}


.tags .text_tag,
.fb_album_link .text_link,
.video-albums .text {
    color: #333333;
    font-size: 12px;
    font-weight: bold;
}

.sgallery a
{
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

div.jg-caption-last
{
    display: block !important;
    background-color: transparent !important;
    text-align: center;
    /*vertical-align: middle;*/
    position: absolute !important;
    /*bottom: 40px !important;
    font-weight: bold !important;*/
    font-size: 30px !important;
    width: 100%;
    bottom: auto !important;
}