/* 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: 50%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;

}*/
.jqmWindow {
    display: none;
    position: fixed;
    top: 12%;
    left: 12%;
    width: 75%;
    height: 50%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.jqmWindowSmall {
    display: none;
    position: fixed;
    top: 12%;
    left: 37%;
    width: 25%;
    height: 50%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.jqmWindowNarrow {
    display: none;
    position: fixed;
    top: 12%;
    left: 25%;
    width: 50%;
    height: 50%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.jqmWindowSmallShort {
    display: none;
    position: fixed;
    top: 12%;
    left: 32%;
    width: 30%;
    height: 30%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.jqmWindowSmallShortX {
    display: none;
    position: fixed;
    top: 12%;
    left: 32%;
    width: 30%;
    height: 35%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.jqmWindowSmallShorter {
    display: none;
    position: fixed;
    top: 12%;
    left: 32%;
    width: 30%;
    height: 25%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.jqmWindowShortWide {
    display: none;
    position: fixed;
    top: 12%;
    left: 25%;
    width: 50%;
    height: 25%;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
    overflow: auto;
}

.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' );
}