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

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

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

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

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

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

}
#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;
  /*background-color: #FFFFFF;*/
}
#MB_content a{
  color:#003399;
  font-weight: bold;
  text-transform: capitalize;
}
#MB_content a:hover{
  color:#FF3300;
}
#MB_content h1{
  color:#339900;
  font-family: Arial, Helvetica, sans-serif;
}

#MB_content th{
  color:#000000;
  font-size: 12pt;
  font-weight: bold;
  padding: 5px;
  height: 20px;
  background-color: #CCCCCC;
}

#MB_content .formTable table{

}

#MB_content .formTable td{
  padding: 5px;
  border:0;
}

#MB_content td{
  padding: 5px;
  border-bottom-color:#333333;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  vertical-align:top;
}
#MB_content label{
  font-weight:bold;
  text-transform:capitalize;

}
#MB_content input{
  padding: 2px;
  background-color:#FFCC66;
  font-weight:bold;
}
#MB_content span{
  padding: 5px;
  background-color:#669900;
  font-weight:bold;
  color: #FFFFFF;
  display: block;
  width:200px;
}

#MB_content .custom{ color:#000000;}
#MB_content .custom input{ background-color:#FFFFCC;font-size:14px;
  font-weight:bold;
  color:#000000;}
#MB_content .custom #subbut{
  padding: 5px;
  background-color:#666600;
  font-weight:bold;
  color: #FFFFFF;
  size:10px;
  cursor:pointer;
  border: 1px groove #333333;
}

#MB_content .custom #canbut{
  padding: 5px;
  background-color:#336699;
  font-weight:bold;
  color: #FFFFFF;
  size:10px;
  cursor:pointer;
  border: 1px groove #333333;
}

#MB_content .custom textarea{
  width:100%;
  font-size:14px;
  font-weight:bold;
  color:#000000;
  background-color:#FFFFCC;
}
#MB_header {
  background-color: #333333;
  border-bottom: 1px solid #CCC;
}
#MB_caption {
  color: #FFFFFF
}
#MB_close { color:#FFCC00; }
#MB_close:hover {
  color: #FF0000
}


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