/*
    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}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;padding:20px 30px 50px 30px}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;font-size:1em}
#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(0, 0, 0, 0.8)}
#colorbox{outline:0;}
    #cboxTopLeft{width:1px; height:1px; background:none}
    #cboxTopRight{width:1px; height:1px; background:none}
    #cboxBottomLeft{width:1px; height:1px; background:none}
    #cboxBottomRight{width:1px; height:1px; background:none}
    #cboxMiddleLeft{width:1px; height:1px; background:none}
    #cboxMiddleRight{width:1px; height:1px; background:none}
    #cboxTopCenter{height:1px; background:none}
    #cboxBottomCenter{height:1px; background:none}
    #cboxContent{background:#fff; overflow:visible;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
		#cboxTitle {position:relative;bottom:10px;text-align:center;width:100%;color:#000;font-size:1.5em;letter-spacing:-1px}        
		#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;display:none!important}
        #cboxLoadingOverlay{background:url(../img/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../img/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute;bottom:50%;left:-10%;background:url(../img/arrow_subm_cb_l.svg) no-repeat center center #000;width:47px;height:47px;text-indent:-9999px}
        #cboxPrevious:hover{background:url(../img/arrow_subm_cb_l.svg) no-repeat center center #666;}
        #cboxNext{position:absolute;bottom:50%;right:-10%;background:url(../img/arrow_subm_cb_r.svg) no-repeat center center #000;width:47px;height:47px;text-indent:-9999px}
        #cboxNext:hover{background:url(../img/arrow_subm_cb_r.svg) no-repeat center center #666;}
		#cboxClose {position:absolute;top:0px;right:-10%;background:#000;color:#FFF;padding:3px 13px;font-size:1.5em;font-family:arial;font-weight:bold}
        #cboxClose:hover{background:#666;color:#fff}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.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);
}

@media all and (min-width: 600px) and (max-width: 920px){
#cboxTitle{bottom:20%;left:20px;text-align:left;width:60%;font-size:1em}
#cboxClose {right:20px;bottom:20%;top:auto}
#cboxPrevious, #cboxNext{width:37px;height:37px;top:10%;left:20px}
#cboxNext{right:20px;left:auto}
}

@media all and (min-width: 280px) and (max-width: 599px){
#cboxTitle{bottom:20%;left:20px;text-align:left;width:60%;font-size:1em}
#cboxClose {right:20px;bottom:20%;top:auto}
#cboxPrevious, #cboxNext{width:37px;height:37px;top:14%;left:20px;z-index:999999}
#cboxNext{right:20px;left:auto}
}

