/* 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 (in jqModal.js). You
	can change this value by either;
	  a) supplying one via CSS
	  b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
	
.jqmAlert {
  display: none;

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

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

div.jqmAlertWindow {
  position: relative;

  height:auto;
  width: auto;
  margin: auto;
  
  min-width:300px;
  max-width:600px;
  padding: 0 10px 10px;

  background:#eaeaff;
  border: 1px solid black;
}

.jqmPrintSafe {
  position: absolute;

  /* jqmAlertWindow's min-width + 2*padding + 2*border */
  min-width:322px;
  /* jqmAlertWindow's max-width + 2*padding + 2*border */
  max-width:622px;
}

.jqmAlertTitle {
/*margin:5px 2px;*/
  height:20px;
}

.jqmAlertTitle h1{
  margin:5px 2px;
  padding-left:5px;
  padding:0;
  font-size:14px;
  text-transform:capitalize;
  letter-spacing:-1px;
  font-weight:bold;

  float:left;
  height:20px;
}

div.jqmAlert .jqmClose {
  display:block;
  float:right;
  clear:right;
}

.jqmClose {
  border: 1px solid black;
  margin-top: 1px;
}

.jqmAlertContent {
    clear:both;
    overflow:auto;
    overflow-y:hidden;
    min-height:60px;
}

.jqDrag {
    cursor: move;
}

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

