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

  filter:alpha(opacity=30);
  -moz-opacity:0.3;
  -khtml-opacity: 0.3;
  opacity: 0.3;
}
#MB_overlay[id] { position: fixed; }

#MB_window {
	position: absolute;
	top: 0;
	border: 0 solid;
	text-align: left;
	z-index: 10000;
	/*
	top:expression( (Math.round(window.screen.height) / 2) - Element.getHeight($('MB_window'))   + ((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px');
	*/
}


#MB_window[id] { position: fixed!important; }

#MB_frame {
	position: relative;
	background-color: #EFEFEF;
	height: 99.9%;
}

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

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

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

#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_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: #EFEFEF;
	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; }
#MB_header {
  background-color: #DDD;
  border-bottom: 1px solid #CCC;
}
#MB_caption { color: #000 }
#MB_close { color: #777 }
#MB_close:hover { color: #000 }


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

.modalCloseBtn
{
	background:url("/pics/closeBtn.png") repeat-x scroll right top transparent;
	color:#999999;
	font-size:0.65em;
	font-weight:normal;
	height:25px;
	padding-right:25px;
	position:absolute;
	right:-15px;
	text-align:right;
	top:-15px;
	cursor:pointer;
}
.modalButton{
  background: #ddd;
  background-image: -webkit-linear-gradient(top, #ddd, #B3B3B3);
  background-image: -moz-linear-gradient(top, #ddd, #B3B3B3);
  background-image: -ms-linear-gradient(top, #ddd, #B3B3B3);
  background-image: -o-linear-gradient(top, #ddd, #B3B3B3);
  background-image: linear-gradient(to bottom, #ddd, #B3B3B3);
  -webkit-border-radius: 6;
  -moz-border-radius: 6;
  border-radius: 6px;
  font-family: Arial;
  color: #000000;
  font-size: 15px;
  padding: 4px 14px 4px 15px;
  text-decoration: none;    
  font-weight: bold;
    margin: 10px;
}

.modalButton:hover {
  color: #ffffff;
  background: #B3B3B3;
  background-image: -webkit-linear-gradient(top, #B3B3B3, #ddd);
  background-image: -moz-linear-gradient(top, #B3B3B3, #ddd);
  background-image: -ms-linear-gradient(top, #B3B3B3, #ddd);
  background-image: -o-linear-gradient(top, #B3B3B3, #ddd);
  background-image: linear-gradient(to bottom, #B3B3B3, #ddd);
  text-decoration: none;
}