/* 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: 0%;
    z-index:99;
    width: 450px;
    color: #333;
    padding: 12px;
}

.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;
         z-index:99;
     
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

#dialog {
	position:absolute;
	top:50%;
	width:550px;
	height:auto;
    z-index:99;
	padding:20px;
	display:none;
}

#template_dialog {
	position:absolute;
	top:2%;
	z-index:99;
	width:auto;
	height:auto;
	margin: 0 auto;
	padding-left:80px;
	//padding:20px;
	display:none;
}

input.jqmdX {
  position: absolute;
  right:0px;
  top: -10px;
  padding: 0;
  height: 30px;
  overflow: hidden;
}

