#MB_overlay {
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	border: 0;
	background-color: #000 !important;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity:0.5;
}
#MB_overlay[id] { position: fixed; }

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

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

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

#MB_content {
	position: relative;
	padding: 0;
	overflow: auto;
}

#MB_caption {
	/*font: bold 100% "Lucida Grande", Arial, sans-serif;*/
	font-size:18px;
	text-shadow: #FFF 0 1px 0;
	padding: .2em 2em .5em .75em;
	margin: 0;
	text-align: left;
	font-weight:bold;
	color:#555;
}

#MB_close {
	display: block;
	position: absolute;
	right: 5px;
	top: 4px;
	padding: 2px 3px;
	font-weight: bold;
	text-decoration: none;
	font-size: 20px;
}
#MB_close:hover {
	background: transparent;
}

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



/* Color scheme and overrides */
#MB_window {
	color: #000;
	height: auto !important;
	-webkit-box-shadow: 0 0 64px #000; 
	-moz-box-shadow: #000 0 0 64px; 
	box-shadow: 0 0 64px #000;
}

#MB_frame {
	padding: 0;

	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;

	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;

	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}
	
#MB_content { 
	/*border-top: 1px solid #ddd; */
	margin: 0;
}
#MB_content .modal-body {
	padding:0;
}
#MB_content .modal-body > .form-group:first-of-type {
	margin-top: 20px;
}
#MB_content .modal-body > .form-group:last-of-type {
	margin-bottom: 20px;
}
#MB_header {
  /*background-color: #DDD;
  border-bottom: 1px solid #CCC;*/
  border-bottom: 1px solid #eee;
}
#MB_caption {
	padding: .75em;
}
#MB_close { 
	color: #777;
	outline: none;
	font-size: 2em;
	right: 10px;
}
#MB_close:hover { color: #000 }
/*.modal-message {
	text-align: center;
	font-size: 1.1em;
	padding: 20px 0;
	margin: 0 0 20px 0;
}*/
/*.modal-message > i {
	font-size: 3em;
}*/
.modal-footer {
	text-align: center;
}
.modal-table {
	border-top: 1px solid #eee;
}

/* Alert message */
.MB_alert {
	margin: 10px 0;
	text-align: center;
}
.modalMessage {
	color:#c00;
	padding:5px;
	margin:10px;
	text-align:center;
	overflow:hidden;
}
.modalMessage p {
	font-size:14px;
	padding:5px 0;
}
.modalMessage .cancelPers, .modalMessage .continueEditing { margin-top: 10px; }
.modalSuccess { color:green; font-size:14px; }
.modalError { color:red; }

#MB_content p.alert {
	margin:0;
	border-radius:0;
	padding:20px 0;
	font-size:1.3em;
}
#MB_content .shoppingListsList li {
	padding:6px;
	border-top:1px solid #eee;
}
#MB_content .shoppingListsList li a {
	display:block;
}
		