/* 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 {
	background:url("../images/backgrounds/advisor.png") no-repeat;
	
    display: none;
    
    position: fixed;
    top: 225px;
    left: 50%;
    
    margin-left: -475px;
    width: 950px;
	height:450px;
}

.ie6 .jqmWindow{ background:url("../images/backgrounds/advisor.gif") no-repeat; }

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

/* Alert boxes */
/* jqModal alert CSS courtesy of;
	 Alexandre Plennevaux <alexandre@pixeline.be>,
	 Brice Burgess <bhb@iceburg.net> */


div.jqmAlert { /* contains + positions the alert window */
	display: none;

	position: fixed;
	top: 17%;
	width: 100%;
}

.ie7 div.jqmAlert{left:0;}

/* 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 div.jqmAlert {
	 position: absolute;
	 top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

div.jqmAlertWindow {
	height:179px;
	width: 457px;
	margin: auto;

	max-width:457px;
	padding: 0;

	background:url("../images/backgrounds/alert.png") no-repeat;

	text-align:left;
	position:relative;
}

.jqmAlertTitle{
	margin:0;
	height:46px;
}

.jqmAlertTitle h1{
	margin:30px 0 0 25px;
	font-size:14px;
	text-transform:capitalize;
	letter-spacing:-1px;
	font-weight:bold;
	color:#666;
	text-align:left;
	display:inline-block;
}
.mac.ff2 .jqmAlertTitle h1{ display:-moz-inline-block; }
div.jqmAlert .jqmClose em{display:none;}
div.jqmAlert .jqmClose {
	width:26px;
	height:26px;
	display:block;
	clear:right;
	position:absolute;
	top:0;
	right:0;
}

/*div.jqmAlert a.jqmClose:hover,div.jqmAlert a.jqmCloseHover{ background-position: 0 -20px; }*/

div.jqmAlertContent{
	color:#666;
	padding:0 20px 10px 20px;
	margin:5px;
	letter-spacing:0px;
	text-align:left;
}

/* image popup */
#imagebox{ width:auto; height:auto; top:50px; left:50%; margin-left: -257px; background:none; }
.ie6 #imagebox, .ie7 #imagebox{ width:538px; }
#imagebox img{ border:12px solid #f2f2f2; }
#imagebox .jqmClose{ float:right; color:#fff; font-weight:bold; text-decoration:none; margin:5px 0; display:inline-block; }
.ie6 #imagebox .jqmClose{ display:block; }

/* video popup */
#videobox{ width:auto; height:auto; top:50px; left:50%; margin-left: -257px; background:none; }
#videobox img{ border:12px solid #f2f2f2; }
#videobox .jqmClose{ float:right; color:#fff; font-weight:bold; text-decoration:none; margin:5px 0; display:inline-block; }