/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
	
.jqmWindow {
    display: none;    
    position: fixed;
    top: 50px;
    left: 50%;    
    margin-left: -300px;
    width: 600px;
    background-color: #f1f1f1;
    color: #336699;
    border: 1px solid #333;
    padding: 5px;
}

.jqmTitle {
    background:#336699;
    height:30px;
    line-height:30px; 
    margin:0;    
}

.jqmTitle .title{
    float:left;
    color:#fff;
    padding-left:10px;
    font-weight:800;
}
.jqmClose {
    display:inline;
    float:right;            
    margin:8px 5px 0 0;
    background:url(http://img0.dichan.com/cms/images/mainbg_02.gif) no-repeat 0 -100px; 
    height:16px;width:16px;
    cursor:pointer;
}

.jqmBody {
    margin:15px;
}

.jqmOverlay { background-color: #000;opacity: 0.5;  }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
	border:1px solid red;
	display:block;
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}
