/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
/*
    ColorBox example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:#fff; opacity: 0.9; filter: alpha(opacity = 90);}

#colorbox{ outline: 0; }
    #cboxContent{margin-top:50px; overflow:visible; }
        #cboxLoadedContent{background:none; }
        #cboxLoadingGraphic{background:url(../images/loading.gif) center center no-repeat;}
        #cboxLoadingOverlay{background:none;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:none;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
        #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; border: 0; width:50px; height:50px; position:absolute; top:-50px;/*top:-20px;*/ background:url(../images/controls.png) 0 0 no-repeat;}
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
        #cboxPrevious{background-position:0px 0px; right:100px;}
        #cboxPrevious:hover{background-position:0px -50px;}
        #cboxNext{background-position:-50px 0px; right:50px;}
        #cboxNext:hover{background-position:-50px -50px;}
        #cboxClose{background-position:-100px 0px; right:0;}
        #cboxClose:hover{background-position:-100px -50px;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -50px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -50px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -50px;}


/*@media only screen and (max-width: 738px) {
        #colorbox, #cboxOverlay, #cboxWrapper{ overflow:visible;}
        #cboxPrevious, #cboxNext, #cboxClose{ top:-70px;}
}*/