/* 
	ColorBox example user style
	These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, 
	in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com
*/
#colorbox, #modalBackgroundOverlay, #modalWrap{position:absolute; top:0; left:0; z-index:9999;}
#modalBackgroundOverlay{position:fixed; width:100%; height:100%;}
#colorbox{overflow:hidden; padding:1px; margin-top:-1px; margin-left:-1px;}/*padding fixes a ghosting issue in IE7, the negative margin compensates */
	#modalWrap{width:9000px; height:9000px;}
		#modalContent, #borderTopLeft, #borderTopCenter, #borderTopRight, #borderBottomLeft, #borderBottomCenter, #borderBottomRight, #borderMiddleLeft, #borderMiddleRight {float:left; height:0; width:0; overflow:hidden;}
		#borderMiddleLeft, #borderBottomLeft{clear:left;}
		#modalContent{position:relative; overflow:visible;}
			#contentTitle{margin:0;}
			#modalClose, #contentPrevious, #contentNext{outline:none; cursor:pointer; border:0; margin:0;}
			#modalLoadedContent{overflow:auto; width:0; height:0;}
			#modalLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
			#modalLoadedContent img#modalPhoto{display:block; border:0; margin:auto;}
			#modalLoadedContent embed{display:block; border:0;}/* Display:block removes the line-height gap underneath images, iframes, and embedded content */
			#modalLoadingOverlay{position:absolute; width:100%; height:100%; top:0; left:0;}

#modalBackgroundOverlay{background:#fff;}

#colorBox{}
	#borderTopLeft{width:27px; height:27px; background:url(images/borderTopLeft.png) 0 0 no-repeat;}
	#borderTopCenter{height:27px; background:url(images/borderTopCenter.png) 0 0 repeat-x;}
	#borderTopRight{width:27px; height:27px; background:url(images/borderTopRight.png) 0 0 no-repeat;}
	#borderBottomLeft{width:27px; height:27px; background:url(images/borderBottomLeft.png) 0 0 no-repeat;}
	#borderBottomCenter{height:27px; background:url(images/borderBottomCenter.png) 0 0 repeat-x;}
	#borderBottomRight{width:27px; height:27px; background:url(images/borderBottomRight.png) 0 0 no-repeat;}
	#borderMiddleLeft{width:27px; background:url(images/borderMiddleLeft.png) 0 0 repeat-y;}
	#borderMiddleRight{width:27px; background:url(images/borderMiddleRight.png) 0 0 repeat-y;}
	#modalContent{background:#fff; }
		#modalLoadedContent{margin-bottom:20px;}
			#contentTitle{display:none;}
			#contentCurrent{position:absolute; bottom:0px; left:65px; font-weight:bold; color:#999;}
			#contentPrevious{position:absolute; bottom:0px; left:0; font-weight:bold;}
			#contentNext{position:absolute; bottom:0px; left:110px; font-weight:bold;}
		#modalLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
		#modalClose{position:absolute; bottom:0; right:0; display:block;  font-weight:bold;}
		#modalClose:hover{background-position:bottom left;}
