/* 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: 10%;
    left: 50%;
    
    margin-left: -212px;
    width: 425px;
    height: 344px;
    background-color: #EEE;
    color: #333;
    border: 5px solid #8d52d0;
    padding: 0px;
}

.frontWin {
    display: none;
    
    position: fixed;
    top: 10%;
    left: 50%;
    
    margin-left: -320px;
    width: 640px;
    height: 380px;
    background-color: #EEE;
    color: #333;
    border: 5px solid #8d52d0;
    padding: 0px;
}

.audio {
    display: none;
    
    position: fixed;
    top: 30%;
    left: 50%;
    
    margin-left: -175px;
    width: 350px;
    height: 50px;
    background-color: #EEE;
    color: #333;
    border: 5px solid #8d52d0;
    padding: 0px;
}

.calcStyle {
    display: none;    
    position: fixed;
    top: 10%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    height: 480px;
    background-color: #FFF;
    color: #333;
    border: 5px solid #8d52d0;
    padding: 0px;
}

.jqmOverlay { background-color: #FFF; display:none;}

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

* html .audio {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

* html .calcStyle {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}
* html .frontWin {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}