/*


    Colorbox Core Style:


    The following CSS is consistent between example themes and should not be altered.


*/


#sgcolorbox, #sgcboxOverlay, #sgcboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}


#sgcboxWrapper {max-width:none;}


#sgcboxOverlay{position:fixed; width:100%; height:100%;}


#sgcboxMiddleLeft, #sgcboxBottomLeft{clear:left;}


#sgcboxContent{position:relative;}


#sgcboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}


#sgcboxTitle{margin:0;}


#sgcboxLoadingOverlay, #sgcboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}


#sgcboxPrevious, #sgcboxNext, #sgcboxClose, #sgcboxSlideshow{cursor:pointer;}


.sgcboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}


.sgcboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}


#sgcolorbox, #sgcboxContent, #sgcboxLoadedContent{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.


*/


#sgcboxOverlay{opacity: 0.9; filter: alpha(opacity = 90);}

.sgcboxOverlayBg {background:#fff;}

#sgcolorbox{outline:0;}


    #sgcboxTopLeft{width:25px; height:25px; background:url(../../img/colorbox4/border1.png) no-repeat 0 0;}


    #sgcboxTopCenter{height:25px; background:url(../../img/colorbox4/border1.png) repeat-x 0 -50px;}


    #sgcboxTopRight{width:25px; height:25px; background:url(../../img/colorbox4/border1.png) no-repeat -25px 0;}


    #sgcboxBottomLeft{width:25px; height:25px; background:url(../../img/colorbox4/border1.png) no-repeat 0 -25px;}


    #sgcboxBottomCenter{height:25px; background:url(../../img/colorbox4/border1.png) repeat-x 0 -75px;}


    #sgcboxBottomRight{width:25px; height:25px; background:url(../../img/colorbox4/border1.png) no-repeat -25px -25px;}


    #sgcboxMiddleLeft{width:25px; background:url(../../img/colorbox4/border2.png) repeat-y 0 0;}


    #sgcboxMiddleRight{width:25px; background:url(../../img/colorbox4/border2.png) repeat-y -25px 0;}


    #sgcboxContent{background:#fff; overflow:hidden;}


        .sgcboxIframe{background:#fff;}


        #sgcboxError{padding:50px; border:1px solid #ccc;}


        #sgcboxLoadedContent{margin-bottom:20px;}


        #sgcboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}


        #sgcboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}


        #sgcboxLoadingOverlay{background:#fff url(../../img/colorbox4/loading.gif) no-repeat 5px 5px;}





        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */


        #sgcboxPrevious, #sgcboxNext, #sgcboxSlideshow, #sgcboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }


        


        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */


        #sgcboxPrevious:active, #sgcboxNext:active, #sgcboxSlideshow:active, #sgcboxClose:active {outline:0;}





        #sgcboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}


        #sgcboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}


        #sgcboxNext{position:absolute; bottom:0px; left:63px; color:#444;}


        #sgcboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}





/*


  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/


*/


.sgcboxIE #sgcboxTopLeft,


.sgcboxIE #sgcboxTopCenter,


.sgcboxIE #sgcboxTopRight,


.sgcboxIE #sgcboxBottomLeft,


.sgcboxIE #sgcboxBottomCenter,


.sgcboxIE #sgcboxBottomRight,


.sgcboxIE #sgcboxMiddleLeft,


.sgcboxIE #sgcboxMiddleRight {


    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);


}