/*
 * MODELBOX SYSTEM CLASSE
 *
 * #modalbox, * html #modalbox
 * #overlay, * html #overlay
 * .overlayBG
 *
 * .modalbox_title
 * .modalbix_content
 * .modalbox_buttons
 *
 */


#overlay {
   position: fixed;
   z-index:199;
   top: 0px;
   left: 0px;
   height:100%;
   width:100%;
}
* html #overlay { /* ie6 hack */
   position: absolute;
   height: expression(document.body.scrollHeight > document.body.
    offsetHeight ? document.body.scrollHeight : document.body.
    offsetHeight + 'px');
}

.overlayBG {
   background-color:#000;
   -ms-filter: "Alpha(Opacity=25)"; /* IE 8 */
   filter:alpha(opacity=25); /* IE5-7 */
   -moz-opacity: 0.25; /* Mozilla */
   opacity: 0.25;
}

#modalbox_outer {
   position:fixed;
   top:25%;
   left:50%;
   margin-left:-300px;
   margin-top:-100px;
   z-index:200;
   width:620px;
   padding: 15px;
   text-align:left;

   background: url(img/mbblack.png);
	-webkit-border-radius: 10px;
   -moz-border-radius: 10px;


}

#modalbox_inner {
   background-color: #fff;
}

* html #modalbox { /* ie6 hack */
   position: absolute;
   margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}


/* individual ***************************************************************************************/

.modalbox_title {
   padding:10px 15px;
   color: #fff;
   background-color: #1566a4;
   font-size:14px;
   font-weight:bold;
}

.mbwarning .modalbox_title { background-color: #990000; }
.mbwarning .modalbox_buttons {
	border-top: 1px solid #990000;
	background-color: #ffdede;
}

.modalbox_content {

   padding:20px;

   overflow:auto;
   max-height:300px;
   overflow:auto;
   position:relative;

}

.modalbox_buttons {
   padding:15px 15px;
   background-color: #e4f2fc;
   border-top: 1px solid #9FB3CB;
}

.modalbox_buttons ul li {
   list-style-type: none;
   float:right;
   margin-left: 5px;
}