#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;
     height: 28px;
}

#MB_content {
     padding: 6px .75em;
     overflow:auto;
}

#MB_caption {
     font: bold 85% "Lucida Grande", Arial, sans-serif;
     text-shadow: #FFF 0 1px 0;
     padding: .5em 2em 0 .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_window {
     background-color:#EFEFEF;
     color:#000;
}
#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;
}

/**AI Specific Code********************************************/
/*Hide all ajax forms by default*/
.modalBoxForm{display: none;}
/*Show them inside the modalBox however*/
#MB_content .modalBoxForm{display: block;}


#MB_content .modalBoxForm label
{
    display: block;
    width: 150px;
    float: left;
}

#MB_content .modalBoxForm .ajaxResponse
{
    height: 50px;
}

#MB_content .modalBoxForm .FormField
{
    height: auto;
}

#MB_content .modalBoxForm .FieldMsg
{
    display: block;
    float: none;
    margin-left: 160px;
    clear: both;
    min-height: 20px;
    _height: 20px;
}

#MB_content .modalBoxForm input,
#MB_content .modalBoxForm select,
#MB_content .modalBoxForm textarea
{
    width: 200px;
}

#MB_content .modalBoxForm textarea
{
    width: 400px;
    height: 100px;
    padding: 0;
}

#MB_content .modalBoxForm input.button
{
    clear: both;
    width: auto;
    float: right;
    margin-right: 14px;
    padding: 0px;
    font-family: "Trebuchet MS",Trebuchet,Verdana,Arial,Helvetica,sans-serif;
    font-size: 16px;
}

#MB_content .confirmationForm input.button
{
    float: none;
}

#MB_content .addFriendForm input.button
{
    float: none;
}

#MB_content .addFriendForm input.yes
{
     margin-left: 158px;
}

