#MB_overlay {
	position: absolute;
	margin: auto;
	top: 0;	left: 0;
	width: 100%; height: 100%;
	z-index: 9999;
	background-color: #000!important;
}
#MB_overlay[id] { position: fixed; }

#MB_window {
	position: absolute;
	top: 15%;
	text-align: left;
	z-index: 10000;
}
#MB_window[id] { position: fixed!important; }

#MB_frame {
	position: relative;
	background-color: #FFFFFF;
	height: 100%;
}

#MB_header {
	margin: 0;
	padding: 0;
	background-image:url(../images/bg_modal.png);
	background-repeat:repeat-x;
	background-position:top left;
	height:27px;
}

#MB_content {
	padding: 6px .75em;
	overflow: auto;
}

#MB_caption {
	padding:7px;
	margin: 0;
	color:#FFFFFF;
	font-size: 8pt;
}

#MB_close {
	display: block;
	position: absolute;
	right: 5px; top: 4px;
	padding: 2px 3px;
	background-image:url(../images/icon_close.gif);
	background-repeat:no-repeat;
	background-position:right top;
	width:44px;
	height:19px;
	border-style:none;
	border-width:0px;
}
#MB_close:hover {
	background-image:url(../images/icon_close_hover.gif);
	background-repeat:no-repeat;
	background-position:right top;
}

#MB_loading {
	padding: 1.5em;
	text-indent: -10000px;
	background: transparent url(spinner.gif) 50% 0 no-repeat;
}

/* Color scheme */
#MB_frame {
	padding-bottom: 7px;
	-webkit-border-radius: 7px; 
	-moz-border-radius: 7px;
	border-radius: 7px;
}
#MB_window {
	background-color: #FFFFFF;
	color: #000;
	-webkit-box-shadow: 0 8px 64px #000; 
	-moz-box-shadow: 0 0 64px #000; 
	box-shadow: 0 0 64px #000;
	
	-webkit-border-radius: 7px; 
	-moz-border-radius: 7px;
	border-radius: 7px;
}
#MB_content { border-top: 1px solid #F9F9F9; }

/* Alert message */
.MB_alert {
	margin: 10px 0;
	text-align: center;
}