#colorbox, #cboxOverlay, #cboxWrapper{
    position:absolute;
    top:0;
    left:0;
    z-index:9999;
    overflow:hidden
}
a {outline:none}
#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;}

#cboxOverlay{background:rgba(0,0,0,.5)}
#colorbox{outline:0;}
    #cboxTopLeft{}
    #cboxTopRight{}
    #cboxBottomLeft{}
    #cboxBottomRight{}
    #cboxMiddleLeft{}
    #cboxMiddleRight{}
    #cboxTopCenter{}
    #cboxBottomCenter{}
    #cboxContent{overflow:hidden;}
        .cboxIframe{background:#fff;}
        #cboxError{display:none}
        #cboxLoadedContent{margin-bottom:0;}
        #cboxTitle{display:none}
        #cboxCurrent{display:none}
        #cboxLoadingOverlay{display:none}
        #cboxLoadingGraphic{display:none}

        #cboxPrevious,
        #cboxNext,
        #cboxSlideshow,
        #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

        #cboxPrevious:active,
        #cboxNext:active,
        #cboxSlideshow:active,
        #cboxClose:active,
        #cboxPrevious:focus,
        #cboxNext:focus,
        #cboxSlideshow:focus,
        #cboxClose:focus {outline:0;}

        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:transparent}
        #cboxPrevious{display:none}
        #cboxNext{display:none}
        #cboxClose{display:none}

.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}