#MB body, #MB p, #MB button, #MB html, #MB input, #MB label, #MB select, #MB td, #MB textarea, #MB th {
  color: #000;
  font: 11px/1.5 Verdana, Tahoma, Arial, sans-serif;
}

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

#MB_frame {
	position: relative;
	background-color: #FFF;
	height: 400px;
}

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

#MB_content {
	height: 100%;
	overflow: auto;
}

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

#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: #FFF;
	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_close { color: #777 }
#MB_close:hover { color: #000 }


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


#MB #overlay-footer {
	background: url(/img/overlay-footer-bkg.gif);
	bottom: 0;
	display: block;
	height: 24px;
	left: 0;
	position: absolute;
	width: 600px;
}

#MB #overlay-form {
	height: 340px;
	left: 0;
	padding: 10px 0 0 0;
	position: absolute;
	top: 44px;
}

#MB #overlay-header {
	background: #77C736;
	display: block;
	height: 43px;
	padding: 0 0 0 35px;
	left: 0;
	position: absolute;
	top: 0;
	width: 565px;
}

#MB #overlay-header a {
	color: #fff;
	font-size: 11px;
}

#MB #overlay-header h2 {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  margin: 7px 0 0 0;
}

#MB .error {
	color: #d53538;
	display: none;
	padding: 1px 35px;
}

#MB .form-row, #MB .form-text {
  margin-bottom: 2px;
  padding: 1px 0 1px 35px;
  width: 565px;
}

#MB .form-text {
  height: 165px;
}

#MB .form-row input {
  border: #d9d9d9 1px solid;
  padding: 2px;
  width: 130px;
}

#MB .form-text textarea {
  border: #d9d9d9 1px solid;
  padding: 2px;
  width: 380px;
  height: 154px;
}

#MB .form-row input.radio, #MB .form-row input.checkbox {
  border: 0;
  width: auto;
}

#MB .form-label label {
	font-weight: bold;
}

#MB .form-label {
  display: block;
  float: left;
  width: 130px;
}

#MB .form-submit {
  margin-bottom: 2px;
  padding: 1px 0;
  width: 600px;
}

#MB .form-submit #note {
	padding: 0 0 0 35px;
}

#MB .form-submit #submit-container {
	padding: 0 35px 0 0;
}

#MB .form-submit #submit {
	background: url(/img/overlay-submit.gif) no-repeat 75px 3px;
	font-weight: bold;
	padding: 0 13px 0 0;
}
