@charset "utf-8";

/*** MODALBOX ***/

#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:12%;
	border:none;
	text-align:left;
	z-index:10000;
}
#MB_window[id] { position:fixed!important; }

#MB_frame {
	position:relative;
	height:100%;
}

#MB_header {
	margin:0;
	padding:0;
}

#MB_content { overflow: auto; }

#MB_caption {
	margin:0;
	text-align:left;
}

#MB_close {
	display:block;
	position:absolute;
	right:10px;
	top:7px;
	width:13px;
	height:13px;
	padding:0;
	line-height:0;
}
#MB_close:hover {
	background:transparent;
}

#MB_close img {
	width:13px;
	height:13px;
	background-image:url('modalbox/close.gif');
	background-repeat:no-repeat;
}

#MB_close:link img, 
#MB_close:visited img, 
#MB_close:active img { background-position:left top;}
#MB_close:hover img { background-position:left bottom;}

#MB_loading {
	padding:1.5em;
	text-indent:-10000px;
	background:url('modalbox/loading.gif') center center no-repeat #F2DEB2;
}

/*** COLOR SCHEME ***/

#MB_frame { background:#F2DEB2; }
#MB_window {
	background-color:#F2DEB2;
	color:#000;
	-webkit-box-shadow:0 8px 64px #000; 
	-moz-box-shadow:0 0 64px #000; 
	box-shadow:0 0 64px #000;
}
#MB_content { }
#MB_header {
  border:1px solid black;
  background:url('modalbox/modal-title.gif') center top repeat-x black;
}
#MB_caption {
	padding:0 10px;
	font-size:15px;
	height:26px;
	line-height:22px;
	font-weight:bold;
	font-style:italic;
	font-family:Georgia, "Times New Roman", serif;
	color:white;
}
#MB_close {color:#777 }
#MB_close:hover { color:#000 }

/*** ALERT MESSAGE ***/

.MB_alert {
	margin:10px 0;
	text-align:center;
}

/*** CONTAINER ***/

div#modal {	background:url('modalbox/modal-bg.gif') center center #F2DEB2; }
div#modal div.top {	background:url('modalbox/modal-top.gif') center top repeat-x; }
div#modal div.bottom {
	background:url('modalbox/modal-bottom.gif') center bottom repeat-x;
	padding:8px 10px 35px 10px;
	border-right-color:#787878;
	border-left-color:#787878;
	border-bottom-color:#787878;
	border-style:solid;
	border-width:1px;
}
