/* 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 {
	padding: 0;
    display: none;
    position: absolute;
    top:200px;
    width: 600px;
    background-color: #EEE;
    color: #333;
    border: 1px solid black; 
}
.jqmWindow-inner {
	padding:12px;
	padding-bottom:50px;
	text-align:left;
}
#jqmTitleBar h1 {
	margin:0;
	padding:7px;
	background-color:#cccccc;
	color:#000;
	font-size:14px;
	font-weight:normal;
	border:none;
	border-bottom:1px solid #999999;
}
.jqDrag {
	cursor: move;
}
.jqResize {
	position: absolute;
	right: 2px;
	bottom: 2px;
	cursor:nw-resize;
}
input.jqmdX {
	position: absolute;
	right: 7px;
	top: 2px;
	outline:none;
}
div.jqmdXFocus {
	
}
.jqmOverlay {
	+position:fixed !important;
	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');
	left: expression(Math.round(50 * (document.documentElement.offsetWidth || document.body.clientWidth) / 100) + 'px');
}
