﻿/* 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: 17%;
    left: 50%;
    
    margin-left: -190px;
    width: 380px;
    height: 275px;
    
    background-color: #fff;
    color: #333;
    border: 1px solid #eee;
    padding: 12px;
}

.jqmWindow.jqm_date_picker
{
    height: auto;
    width: 200px;
    margin-left: -100px;
}
.jqmWindow.jqm_choose_package
{
    height: auto;
    width: 412px;
    margin-left: -206px;
}
.jqmWindow.jqm_add_product
{
	height: 505px;
	margin-top: -252px;
	width: 834px;
	margin-left: -417px;
}
.jqmWindow.jqm_alert
{
    height: auto;
	width: 302px;
	margin-left: -151px;
}
.jqmWindow .inner
{
    padding: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.jqmWindow.small
{
    height: 200px;
    width: 400px;
    margin-top: -100px;
    margin-left: -200px;
}
.jqmWindow.login
{
    height: 180px;
    width: 300px;
    margin-top: -90px;
    margin-left: -150px;
}
.jqmWindow.error
{
    border: 1px solid red;
    height: 400px;
    width: 400px;
    margin-top: -200px;
    margin-left: -200px;
    color: red;
    font-size: 16pt;
    background-color: #fff;
}
.jqmWindow.error p
{
    color: red;
    font-size: 16pt;
}
.jqmWindow.error li
{
    color: red;
    font-size: 12pt;
}

.jqmOverlay { background-color: #aaa; }

/* 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');
}