/*
    bluebox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#bluebox, #bboxOverlay, #bboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#bboxWrapper {max-width:none;}
#bboxOverlay{position:fixed; width:100%; height:100%;}
#bboxMiddleLeft, #bboxBottomLeft{clear:left;}
#bboxContent{position:relative;}
#bboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#bboxTitle{margin:0;}
#bboxLoadingOverlay, #bboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#bboxPrevious, #bboxNext, #bboxClose, #bboxSlideshow{cursor:pointer;}
.bboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.bboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#bluebox, #bboxContent, #bboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of bluebox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#bboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#bluebox{outline:0;}
#bboxContent{margin-bottom:20px;background:#000; }
.bboxIframe{background:#fff;}
#bboxError{padding:50px; border:1px solid #000;}
#bboxLoadedContent{border:0px solid #000; background:#fff;}
#bboxTitle{position:absolute; bottom:-20px; left:0; text-align:center; width:100%; color:#CCC;}
#bboxCurrent{position:absolute; bottom:-20px; left:100px; color:#CCC;}
#bboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#bboxPrevious, #bboxNext, #bboxSlideshow, #bboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#bboxPrevious:active, #bboxNext:active, #bboxSlideshow:active, #bboxClose:active {outline:0;}

#bboxSlideshow{position:absolute; bottom:-20px; right:42px; color:#fff;}
#bboxPrevious{position:absolute; bottom:-20px; left:0; color:#fff;}
#bboxNext{position:absolute; bottom:-20px; left:63px; color:#fff;}
#bboxClose{position:absolute; bottom:-20px; right:0; display:block; color:#fff;}