/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{
	position:absolute; 
	top:0; 
	left:0; 
	z-index:9999; 
	overflow:hidden;
}

#cboxOverlay {
	position:fixed; 
	width:100%; 
	height:100%;
}

#cboxMiddleLeft, #cboxBottomLeft {
	clear:left;
}

#cboxContent {
	position:relative; 
	overflow:hidden; 
	box-shadow: 0 0 3px rgba(0,0,0,0.6);
}

#cboxLoadedContent{
	overflow:auto;
}

#cboxLoadedContent iframe {
	display:block; 
	width:100%; 
	height:100%; 
	border:0;
}

#cboxTitle{
	margin:0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
	position:absolute; 
	top:0; 
	left:0; 
	width:100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{
	cursor:pointer;
}

/* 
    Example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/

#cboxOverlay {
	background: transparent url("../images/global/png/loading_background.png");
	background: #666;
}

#cboxTopLeft{ 
	width:21px; 
	height:21px;
}

#cboxTopRight{
	width:21px; 
	height:21px;
}
#cboxBottomLeft{
	width:21px; 
	height:21px;
}

#cboxBottomRight{ 
	width:21px; 
	height:21px;
}

#cboxMiddleLeft{ 
	width:21px; 
}

#cboxMiddleRight{
	width:21px;
}

#cboxTopCenter{
	height:21px;
}

#cboxBottomCenter{
	height:21px;
}

#cboxContent{
	background:#f1f5f8;
	padding: 0 16px 16px; 
	border: 1px solid #3c8baa;  
	overflow:hidden;
}

/* #cboxLoadedContent{margin-bottom:28px;} */
#cboxTitle {
	position:absolute; 
	bottom:4px; 
	left:0; 
	text-align:center; 
	width:100%; 
	color:#949494;
}

#cboxCurrent {
	position:absolute; 
	bottom:4px; 
	left:58px; 
	color:#949494;
}

#cboxSlideshow {
	position:absolute; 
	bottom:4px; 
	right:30px; 
	color:#0092ef;
}

#cboxPrevious{
	position:absolute; 
	bottom:0; 
	left:0px; 
/* 	background:url(/bupastatic/images/colorbox/controls.png) -75px 0px no-repeat; 
 */	width:25px; 
	height:25px; 
	text-indent:-9999px;
}

#cboxPrevious.hover{
	background-position:-75px -25px;
}

#cboxNext{
	position:absolute; 
	bottom:0; 
	left:27px; 
	/* background:url(/bupastatic/images/colorbox/controls.png) -50px 0px no-repeat;  */
	width:25px; 
	height:25px; 
	text-indent:-9999px;
}

#cboxNext.hover{
	background-position:-50px -25px;
}

#cboxLoadingOverlay {	
	background:url(../images/global/colorbox/loading_background.png) center center no-repeat;
}

#cboxLoadingGraphic{
	background:url(../images/global/colorbox/loading.gif) center center no-repeat;
}

#cboxClose{
	position:absolute; 
	top:16px; 
	right:16px; 
	background:url(../images/global/nb/btn-close.gif) 0px 100% no-repeat; 
	width:76px; 
	height:29px; 
	text-indent:-9999px;
	font-size: 1.4em;
}
/*
#cboxClose.hover{
	background-position: 0 -26px;
} 
*/
a.cboxClose { 
	position:absolute; 
	top: 16px; 
	right:32px; 
	background:url(../images/global/nb/btn-close.png) 0px 0px no-repeat; 
	width:68px; 
	height:27px; 
	text-indent:-9999px;
}
/*
a.cboxClose:hover { 
	background-position: 0 -31px;
}
*/

/*
    The following fixes png-transparency for IE6.  
    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
    
    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
    Colorbox preloads navigation hover classes to account for this.
    
    !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
    while regular CSS background images are relative to the CSS document.
*/


/* Overlay Template styles */
body.overlayTemplate {
	margin-left: auto;
	margin-right: auto;
}

.overlayContainer {
	background: #FFF;
	overflow:hidden;
}


