/*
Colorbox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute;top:0;left:0;z-index:9999;-webkit-transform: translate3d(0,0,0);}
#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;float:none !important;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{margin:auto;max-width:none;border:0;display:block;float:left;-ms-interpolation-mode:bicubic;}
.cboxIframe{margin:0;padding:0;width:100%;height:100%;border:0;display:block;overflow:hidden;}
#colorbox, #cboxContent, #cboxLoadedContent{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 Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000000;}
#colorbox{outline:0 !important;}
#cboxTopLeft{width:0;height:0;display:none;}
#cboxTopRight{width:0;height:0;display:none;}
#cboxBottomLeft{width:0;height:0;display:none;}
#cboxBottomRight{width:0;height:0;display:none;}
#cboxMiddleLeft{width:0;height:0;display:none;}
#cboxMiddleRight{width:0;height:0;display:none;}
#cboxTopCenter{width:0;height:0;display:none;}
#cboxBottomCenter{width:0;height:0;display:none;}
#cboxError{}
#cboxLoadedContent{}
#cboxTitle{width:0;height:0;display:none;}
#cboxCurrent{width:0;height:0;display:none;}
#cboxLoadingOverlay{}
#cboxLoadingGraphic{}
.cboxPhoto{}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {margin:0;padding:0;width:auto;height:auto;border:0;background:none;}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0 !important;}
#cboxPrevious:focus, #cboxNext:focus, #cboxSlideshow:focus, #cboxClose:focus {outline:0 !important;}

#cboxSlideshow{}
#cboxPrevious{width:0;height:0;display:none;}
#cboxNext{width:0;height:0;display:none;}
#cboxClose{width:0;height:0;display:none;}

@media (max-width: 720px) {
#cboxContent img{
width:auto;
height:auto;
}
}