/* 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;

    padding: 12px;
}

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

#envelope-lightbox {
  background: url(/templates/main/images/modal/envelope-lightbox.png) no-repeat;
  width: 575px;
  height: 668px;
  position: absolute;
  top: 100px;
  left: 50%;
  margin-left: -334px;
  display: none;
}
#envelope-lightbox .jqmClose {
	display: block;
	width: 25px;
	height: 25px;
	float: right;
	margin-right: 70px;
	margin-top: 15px;
	background: url(/templates/main/images/modal/close2.png);
}

#envelope-lightbox .form-container {
	float: left;
	margin-top: 320px;
	margin-left: 140px;
}

#envelope-lightbox .form-container input.text {
	width: 245px;
	height: 40px;
	float: left;
	background: #fff;
	border: 1px #a6a19f solid;
	border-right: none;
	color: #f16c13;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
}

#envelope-lightbox .form-container input.submit {
	width: 65px;
	height: 40px;
	float: left;
	background: #f16c13;
	color: #fff;
	border: none;
	border-radius: 0px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
}

@media only screen and (max-width: 736px) {
  #envelope-lightbox {
    display: none !important;
  }
  .jqmOverlay {
    display: none;
  }
}

.jqmClose {
	position: absolute;
	top: 21px;
	right: 86px;
}

