/*
    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; overflow:visible; }
#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;}
#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: rgba(255,255,255,0.9);}
#colorbox{outline:0; box-shadow: 0 0 15px 15px rgba(255,255,255,0.2);}
    #cboxContent{ margin-top:0px; overflow:visible; background: rgba(255,255,255,0.7); text-align: center;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; }
        #cboxLoadedContent{padding:1px;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{ color: rgb(255,255,255); float: none !important; margin-top: 20px; font-size: 13px; font-weight:bold; }
        #cboxCurrent{ font-size: 11px; float: none !important; margin-top: 5px; }

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { font-family: "FontAwesome"; color: rgb(255,255,255); position:absolute; background: rgba(0,0,0,0.5); text-align:center;  transition: all 0.1s ease-in-out; -moz-transition: all 0.1s ease-in-out; -webkit-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out; opacity: 0; visibility: hidden; overflow: hidden;}
		#cboxPrevious:hover, #cboxNext:hover, #cboxSlideshow:hover, #cboxClose:hover { background: rgba(0,0,0,0.75); }
		#colorbox:hover #cboxPrevious, #colorbox:hover #cboxNext, #colorbox:hover #cboxSlideshow, #colorbox:hover #cboxClose { opacity: 1; visibility: visible; overflow: visible;}
		#cboxPrevious, #cboxNext  { bottom:1px; width:40px; height:40px; font-size: 15px; }
		#cboxPrevious { left: 1px; }
		#cboxNext { left: 41px; }
		#cboxClose, #cboxSlideshow { width:40px; height:40px; font-size: 12px; padding-bottom: 2px; }
		#cboxClose { top: 1px; right: 1px;}
		#cboxSlideshow { bottom: 1px; right: 1px; }
		
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
        .cboxSlideshow_on #cboxSlideshow:before { content:'\f04c' }
        .cboxSlideshow_off #cboxSlideshow:before { content:'\f04b' }
