/* 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: absolute;
  background: #999999;
  -moz-border-radius: 2px;
  -webkit-borderradius: 2px;
  padding: 1px;
  left: 50%;
  top: 50px;
  
}

div.jqmTextEdit {
  width: 900px;
  margin-left: -450px;
}
.jqmLinks {
  width: 430px;
  margin-left: -215px;
}
.jqmNewRow {
  width: 340px;
  margin-left: -170px;
}

.jqmEdittitle {
  width: 420px;
  margin-left: -210px;
}

.jqmNewContainer {
  width: 430px;
  margin-left: -215px;
}

.jqmNewPage {
  width: 430px;
  margin-left: -215px;
}

.jqmWrapper {
	border: 1px solid #b8b8b8;
	-moz-border-radius: 2px;
	-webkit-borderradius: 2px;
}

.jqmBody {
	margin: 1px;
}

.jqmWindow #jqmTable {
  width: 900px;	
}


.jqmWindow .jqmSave {
  background: url(../images/buttons_new.png) 0 0 repeat-x;
	-moz-border-radius: 2px;
	-webkit-borderradius: 2px;
  color: #ffffff;
  display: block;
  float: left;
  font-weight: bold;
  font-size: 12px;
  margin: 4px;
  text-align: center;
  line-height: 19px;
  width: auto;
	padding: 0 10px 0 10px;
  text-decoration: none;
}

.jqmWindow .jqmSave:hover {
  background: url(../images/buttons_new.png) 0 -19px repeat-x;
}

.jqmWindow .jmqAdd{
  background: url(../images/buttons.png) 0 -232px no-repeat;
  color: #ffffff;
  display: block;
  float: right;
  font-weight: bold;
  font-size: 12px;
  margin: 4px;
  text-align: center;
  line-height: 26px;
  width: 165px;
  text-decoration: none;
}

.jqmWindow .jqmClose {
  background: url(../images/buttons_new.png) 0 -76px repeat-x;
	padding: 0 10px 0 10px;
	-moz-border-radius: 2px;
	-webkit-borderradius: 2px;
  color: #ffffff;
  display: block;
  float: right;
  font-weight: bold;
  font-size: 12px;
  margin: 4px;
	width: auto;
  text-align: center;
  line-height: 19px;
  text-decoration: none;
}

.jqmWindow .popupHeader .jqmClose {
	padding: 0;
}

.jqmDelete.close:hover {
  background: url(../images/buttons.png) -280px -80px no-repeat;
}

.jqmWindow .jqmClose:hover {
  background: url(../images/buttons_new.png) 0 -95px repeat-x;
}

.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');
}
