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

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { position:absolute; transition: all 0.1s ease-in-out; text-indent: -9999px; border: 0; }
		#colorbox:hover #cboxPrevious, #colorbox:hover #cboxNext, #colorbox:hover #cboxSlideshow { opacity: 1; visibility: visible; overflow: visible;}
		#cboxPrevious, #cboxNext  { display: block; width: 43px; height: 83px; position: absolute; top: 50%; text-indent:-9999px; margin-top: -42px; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; content:" "; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
		#cboxPrevious { left: 20px; background: url(../images/design/cb-nav-prev.png) left no-repeat; }
		#cboxNext { right: 20px; background: url(../images/design/cb-nav-next.png) left no-repeat; }
		#cboxSlideshow { width:40px; height:40px; font-size: 12px; padding-bottom: 2px; }
		#cboxClose { top: 20px; right: 20px; background:url(../images/design/cb-close.png) no-repeat top left; width: 25px; height: 25px; transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out;}
		#cboxClose:hover { transform: rotate(180deg); -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg); -o-transform: rotate(180deg); -ms-transform: rotate(180deg); }
		#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' }
