/* 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: 10%;

	margin: auto;
	width: 400px;

	background-color: #FFF;
	color: #333;
	border: 1px solid black;
	padding: 20px;
	
	border-radius:5px 5px 5px 5px;
	-moz-border-radius:5px 5px 5px 5px;
	-webkit-border-radius:5px 5px 5px 5px;
	box-shadow:0 0 8px #000;
	-moz-box-shadow:0 0 8px #000;
	-webkit-box-shadow:0 0 8px #000;
}

.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');
}

* html .jqmWindow {
	 position: absolute;
	 top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(10 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
	 left: expression((document.documentElement.scrollLeft || document.body.scrollLeft) + Math.round(50 * (document.documentElement.offsetWidth || document.body.clientWidth) / 100 - 200) + 'px');
}

