/*
	Colorbox Core Style:
	The following CSS is consistent between example themes and should not be altered.
*/

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

.colorbox2 #sgcboxWrapper {max-width:none;}

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

.colorbox2 #sgcboxMiddleLeft,.colorbox2 #sgcboxBottomLeft{clear:left;}

.colorbox2 #sgcboxContent{position:relative;}

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

.colorbox2 #sgcboxTitle{margin:0;}

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

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

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

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

#sgcolorbox.colorbox2,.colorbox2 #sgcboxContent,.colorbox2 #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.colorbox2{opacity: 0.9; filter: alpha(opacity = 90);}

.sgcboxOverlayBg.colorbox2 {background:#fff;}

#sgcolorbox.colorbox2{outline:0;}

	.colorbox2 #sgcboxContent{margin-top:32px; overflow:visible; background:#000;}

		.colorbox2 .sgcboxIframe{background:#fff;}

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

		.colorbox2 #sgcboxLoadedContent{background:#000; padding:1px;}

	  .colorbox2  #sgcboxLoadingGraphic{background:url(../../img/colorbox2/loading.gif) no-repeat center center;}

		#sgcboxLoadingOverlay.colorbox2{background:#000;}

		.colorbox2 #sgcboxTitle{position:absolute; top:-22px; left:0; color:#000;}

		.colorbox2 #sgcboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

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

		.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxSlideshow,.colorbox2 #sgcboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(../../img/colorbox2/controls.png) no-repeat 0 0;}

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

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

		.colorbox2 #sgcboxPrevious{background-position:0px 0px; right:44px;}

		.colorbox2 #sgcboxPrevious:hover{background-position:0px -25px;}

		.colorbox2  #sgcboxNext{background-position:-25px 0px; right:22px;}

		.colorbox2  #sgcboxNext:hover{background-position:-25px -25px;}

		.colorbox2 #sgcboxClose{background-position:-50px 0px; right:0;}

		#sgcboxClose:hover{background-position:-50px -25px;}

		.colorbox2 .sgcboxSlideshow_on #sgcboxPrevious,.colorbox2 .sgcboxSlideshow_off #sgcboxPrevious{right:66px;}

		.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-75px -25px; right:44px;}

		.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-100px -25px;}

		.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-100px 0px; right:44px;}

		.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-75px -25px;}


