/* 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: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 560px;
    
    background-color: #FFF;
    color: #333;
    border: 1px solid black;
    padding: 20px;
}

.jqmOverlay { background-color: #000; }

/* 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');
}

/* 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');
}

.jqmWindow fieldset label { line-height:20px; float:left; clear:left; width:100px; margin: 0 0 10px 0; padding:0 10px 0 0;text-align:right; }
.jqmWindow fieldset input { width:340px; float:left; clear:right; }
.jqmWindow fieldset textarea { width:340px; height:100px; float:left; clear:right; margin: 0 0 10px 0; }
.jqmWindow fieldset input, .jqmWindow fieldset select, .jqmWindow fieldset textarea { margin: 0 10px 0 0; }
.jqmWindow fieldset .button { margin: 1em 0 0 10px!important; }
.jqmWindow .heading { background-color:#eee; padding:10px; margin: 0 0 1em 0; line-height:1em; }
.jqmWindow fieldset .inline { line-height:20px; float:left; clear:right; font-weight:bold; margin: 0; }
.jqmWindow h3 { text-align:left; margin: 0 0 1em 0; }
.jqmWindow p { text-align:left; }
.jqmWindow .note { display:block; margin:0 0 1em 110px; font-size:0.9em; }
.jqmWindow .validationError { float:left; background:transparent url(/_layout/Images/validationError.gif) no-repeat left; min-height:20px; min-width:20px; margin: 0; text-indent:30px; position:relative; color:Red; line-height:20px; }
.jqmWindow span.invalid { display:block; }
.jqmWindow span.message { display:block; }
