/* 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: -300px;
    width: 600px;

    color: #333;
}

.jqmOverlay {
    /*background-color: #000;*/
}

#modal {
	width: 500px;
	margin-left: -250px;
	background: #666;
	background: rgba(0,0,0,.25);
	-moz-border-radius: 6px;
	border-radius: 6px;
}

#modal .jqm-wrapper {
    background: white;
    margin: 8px;

    -moz-border-radius: 4px;
    border-radius:4px;
}

.modal-content-wrapper {
  overflow: hidden;
}

#modal .modal-content {
    padding: 24px 32px;
}
#modal.modal-tip .modal-content,
#modal.modal-tip .glossary-list{
    padding: 12px 20px 0;
}
#modal.modal-tip .modal-button-group {
  padding: 0 20px 14px;
}

#modal .modal-button-group {
    padding: 0 32px 24px;
  overflow: hidden;
}
#modal .modal-button-group .small-button{
    float: left;
}



/* 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');
}

