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

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

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

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

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

.colorbox5 #sgcboxContent{position:relative;}

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

.colorbox5 #sgcboxTitle{margin:0;}

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

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

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

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

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

.sgcboxOverlayBg.colorbox5 {background:#000;}

#sgcolorbox.colorbox5{outline:0;}

	.colorbox5 #sgcboxTopLeft{width:14px; height:14px; background:url(../../img/colorbox5/controls.png) no-repeat 0 0;}

	.colorbox5 #sgcboxTopCenter{height:14px; background:url(../../img/colorbox5/border.png) repeat-x top left;}

	.colorbox5 #sgcboxTopRight{width:14px; height:14px; background:url(../../img/colorbox5/controls.png) no-repeat -36px 0;}

	.colorbox5 #sgcboxBottomLeft{width:14px; height:43px; background:url(../../img/colorbox5/controls.png) no-repeat 0 -32px;}

	.colorbox5 #sgcboxBottomCenter{height:43px; background:url(../../img/colorbox5/border.png) repeat-x bottom left;}

	.colorbox5 #sgcboxBottomRight{width:14px; height:43px; background:url(../../img/colorbox5/controls.png) no-repeat -36px -32px;}

	.colorbox5 #sgcboxMiddleLeft{width:14px; background:url(../../img/colorbox5/controls.png) repeat-y -175px 0;}

	.colorbox5 #sgcboxMiddleRight{width:14px; background:url(../../img/colorbox5/controls.png) repeat-y -211px 0;}

	.colorbox5 #sgcboxContent{background:#fff; overflow:visible;}

		.colorbox5 .sgcboxIframe{background:#fff;}

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

		.colorbox5 #sgcboxLoadedContent{margin-bottom:5px;}

		#sgcboxLoadingOverlay.colorbox5{background:url(../../img/colorbox5/loading_background.png) no-repeat center center;}

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

		.colorbox5 #sgcboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}

		.colorbox5 #sgcboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}

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

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

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

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

		.colorbox5 #sgcboxPrevious{left:0px; background-position: -51px -25px;}

		.colorbox5 #sgcboxPrevious:hover{background-position:-51px 0px;}

		.colorbox5 #sgcboxNext{left:27px; background-position:-75px -25px;}

		.colorbox5 #sgcboxNext:hover{background-position:-75px 0px;}

		.colorbox5 #sgcboxClose{right:0; background-position:-100px -25px;}

		.colorbox5 #sgcboxClose:hover{background-position:-100px 0px;}

		.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-125px 0px; right:27px;}

		.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-150px 0px;}

		.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-150px -25px; right:27px;}

		.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-125px 0px;}