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

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

#MB_frame {
	position: relative;
	border: 8px solid #E7E7D7;
	background-color: #F5F5EA;
	padding: 10px;
	height: 100%;
}

.wedding #MB_frame {
	border: 8px solid #ADD2DD;
	background-color: #E8EFF1;
}

#MB_header {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px dotted #9E9E67;
}

#MB_content {
	/*
	padding: 6px .75em;
	overflow: auto;
	*/
	overflow: visible;			/* allow for error overlay */
}

#MB_caption,
#MB_caption a {
	font: 21px/30px "Times New Roman", Times, serif;
	*display: inline-block;			/* IE6 */
	text-shadow: #FFF 0 1px 0;
	padding: 0;
	margin: 0;
	color: #8e8e4f;
/*	border-bottom: 1px dotted #9E9E67; */
	text-align: left;
	font-family: "Times New Roman", Times, serif;
}

.wedding #MB_caption,
.wedding #MB_caption a {
	color: #6495A3;
}

#MB_caption a:active {
	outline: none !important;
}

#MB_caption :focus {
	outline: none !important;
	-moz-outline-style: none;
}

#MB_caption img.modal_error {
	display: inline-block;
	display: -moz-inline-box;
	width: 20px;
	height: 18px;
	vertical-align: middle;
	padding: 0 3px 3px 0;
	border: 0;
}

#MB_close {
	display: block;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
//   background: transparent url('../images/modifications/icon_close_modal.gif');
	background-image: url(/images/common/img_closebox.gif);
	background-position: 100% 56%;
	background-repeat: no-repeat;
	height: 20px;
	padding-top: 10px;
	*padding-top: 4px;  ?* IE6 */
	margin-left: 10px;  /* arabic */
	padding-left: 18px; /* arabic */
	margin-right: 0px; 
/*	margin-right: 10px; */
	padding-right: 18px;	
	float:right;
	text-decoration: none;
}

#MB_close:hover{
	text-decoration: underline;
}

/*
#MB_close {
	display: block;
	position: absolute;
	right: 5px; top: 4px;
	padding: 2px 3px;
	font-weight: bold;
	text-decoration: none;
	font-size: 13px;
}

#MB_close:hover {
	background: transparent;
}
*/

#MB_frame a:active {
	outline: none !important;
}

#MB_frame :focus {
	outline: none !important;
	-moz-outline-style: none;
}

#MB_loading {
	padding: 1.5em;
	text-indent: -10000px;
	background: transparent url('/images/modifications/loading.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 {
	top: 44px;	/* push modal away from top of screen */

	border: 0;
	color: #000;

	/* disable rounded bottom corners + shadow effect */
	/*
	-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;*/
	font: 12px Verdana, Arial, Helvetica, sans-serif;
}

#MB_header {
	background-color: #F5F5EA;
}

.wedding #MB_header {
	background-color: #E8EFF1;
	border-bottom: 1px dotted #add2dd;
}

/*
#MB_close,
#MB_close:hover {
	color: #000;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	background: url('../images/icon_close.gif') no-repeat right 12px;
	width: 90px;
	height: 11px;
	padding: 12px 0 0 0;
	line-height: 11px;
	text-indent: -200px;
	overflow: hidden;
	margin-right: 6px;
}
*/

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