/* 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 (in jqModal.js). You
	can change this value by either;
	  a) supplying one via CSS
	  b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
	
.jqmOverlay { background-color: #A0A0A0; }

.jqmWindow,
.jqmWindowDnR
{
    display: none;
    
    position: fixed;
    top: 5%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    min-height: 100px;
    
	  background-color: #FFF;
	  border: 1px solid #A0A0A0;
    padding: 12px;
 	 	overflow: hidden;
}


.jqmWindow
{
  padding: 0;
}
.wait 
{
	background:	#FFF url(ajax-loader.gif) no-repeat center center;/**/
}
.jqmWindow form
{
	background:	#FFF;
}
.jqmWindowDnR
{
	position: relative;
  padding: 0 0 20px 0;
}

.jqmBar
{
	position: relative;
	display: block;
	width: 100%;
	height: 20px;
	background: url(menu_bkg.png) repeat-x center center;
	border-bottom: 1px solid #A0A0A0;
	margin: 0;
}
	.jqmDrag
	{
		position: relative;
		display: block;
		margin-right: 21px;
		height: 20px;
		cursor: move;
	}
	.jqmClose
	{
		position: absolute;
		display: block;
		right: 0;
		bottom: 0;
		width: 20px;
		height: 20px;
		background: transparent url(close.gif) no-repeat center center;
		cursor: pointer;
	}

.jqmContent
{
	position: relative;
	display: block;
	padding: 1.5em;
  overflow: hidden;
  /* border: 5px solid #000; */
}
.jqmFoot
{
	position: absolute;
	display: block;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 20px;
  border: 1px solid #000;
}
	.jqmResize
	{
		position: absolute;
		display: block;
		right: 0;
		bottom: 0;
		width: 20px;
		height: 20px;
	  background: #EEE;
	  border: 1px solid #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');
}
