/* =========================================================
   BCW Photo / Media Viewer v02
   Experimental version

   v02:
   - Recording-level media grouping
   - a100 media FIRST
   - remaining media in the same recording TABLE SECOND
   - Photos, PDFs, YouTube and Vimeo
   - Bio-page photo behavior retained
   ========================================================= */

#bcwPhotoViewer {
    display: none;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 999999;
    background: #ffffff;
    border: 1px solid #999999;
    padding: 0;
    margin: 0;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.35);
    overflow: visible;
}

#bcwPhotoViewer.bcw-photo-visible {
    display: block;
}

#bcwPhotoImage {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    max-width: calc(100vw - 50px);
    max-height: calc(100vh - 90px);
    width: auto;
    height: auto;
    box-shadow: none;
    transform: none;
}

#bcwPhotoMediaFrame {
    display: none;
    border: 0;
    margin: 0;
    padding: 0;
    background: #000000;
}

.bcwPhotoThumbnail {
    display: inline-block !important;
    box-shadow: 2px 2px 7px rgba(0,0,0,0.30) !important;
    transition: transform 0.15s ease !important;
}

.bcwPhotoThumbnail:hover {
    transform: scale(1.04) !important;
    cursor: pointer;
}

#bcwPhotoClose {
    position: absolute;
    right: 6px;
    top: 4px;
    z-index: 1000000;
    width: 28px;
    height: 28px;
    border: 1px solid #555555;
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

#bcwPhotoClose:hover {
    background: #eeeeee;
}

#bcwPhotoNavigation {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    background: rgba(255,255,255,0.92);
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

#bcwPhotoPrevious,
#bcwPhotoNext {
    display: inline-block;
    margin-top: 6px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px 12px;
    border: 1px solid #777777;
    background: #f5f5f5;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

#bcwPhotoPrevious:hover,
#bcwPhotoNext:hover {
    background: #e5e5e5;
}

#bcwPhotoPdfViewer {
    display: none;
    position: fixed;
    left: 20px;
    top: 20px;
    width: 80%;
    height: 85%;
    z-index: 999999;
    background: #ffffff;
    border: 1px solid #666666;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.45);
}

#bcwPhotoPdfFrame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}

#bcwPhotoPdfClose {
    position: absolute;
    right: 6px;
    top: 4px;
    z-index: 1000000;
    width: 28px;
    height: 28px;
    border: 1px solid #555555;
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

#bcwPhotoPdfClose:hover {
    background: #eeeeee;
}
