/* 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, #popup_box {
    display: none;
    
    position: absolute;
    top: 20px;

    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;

    width: 600px;
    /*max-height: 85%; overflow-y:scroll;*/
    
    background-color: white;
    color: #333;
    border: 2px solid #E89235;
    padding: 12px;
    border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px;
    
    -moz-box-shadow: 2px 4px 3px #333;
    -webkit-box-shadow: 2px 4px 3px #333;
    box-shadow: 2px 4px 3px #333;

}

#popup_content {
    
}

.jqmOverlay { background-color: #363535; }
.jqmdX {
  position: absolute;
  right: 5px;
  top: 4px;
  padding: 0px 8px;
  font-size: 15px;
  color:#ccc;
  font-weight:bold;
  cursor:pointer;
  /*border:#f2f2f2 solid 1px;
  border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px;*/
}
.jqmdX:hover {
  color:#666;
}

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