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

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

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

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

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

.colorbox3 #sgcboxContent{position:relative;}

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

.colorbox3 #sgcboxTitle{margin:0;}

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

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

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

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

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

.sgcboxOverlayBg.colorbox3 {background:#000;}

#sgcolorbox.colorbox3{outline:0;}

	.colorbox3 #sgcboxContent{margin-top:20px;background:#000;}

		.colorbox3.sgcboxIframe{background:#fff;}

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

		.colorbox3 #sgcboxLoadedContent{border:5px solid #000; background:#fff;}

		.colorbox3 #sgcboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}

		.colorbox3 #sgcboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}

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


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

		.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxSlideshow,.colorbox3 #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) */

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

		.colorbox3 #sgcboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}

		.colorbox3 #sgcboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../../img/colorbox3/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}

		.colorbox3 #sgcboxPrevious:hover{background-position:bottom left;}

		.colorbox3 #sgcboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../../img/colorbox3/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}

		.colorbox3 #sgcboxNext:hover{background-position:bottom right;}

		.colorbox3 #sgcboxClose{position:absolute; top:5px; right:5px; display:block; background:url(../../img/colorbox3/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}

		.colorbox3 #sgcboxClose:hover{background-position:bottom center;}


