/* 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). */

.jqmWindowEvent, .jqmWindowEvent2{
    display: none;

    position: absolute;
    top: 200px;
    left: 50%;

    margin-left: -160px;
    width: 500px;

    background-color: #e7ebf2;
    color: #000000;
    border: 1px solid #002458;
    padding: 12px;
    z-index: 999;
}

.jqmWindowEvent2{
	width:925px;
	margin-left: -475px;
}

.jqmWindowSite {
    display: none;

    position: fixed;
    top: 20px;
    left: 50%;

    margin-left: -400px;
    width: 810px;

    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    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 .jqmWindowEvent, * html .jqmWindowEvent2 {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

* html .jqmWindowSite {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

@media (max-width: 970px) {
	.jqmWindowEvent2, .jqmWindowSite{
		width:100%;
		margin-left: 0;
		left:0;
		box-sizing: border-box;
	}
}

@media (max-width: 500px) {
	.jqmWindowEvent{
		width:100%;
		margin-left: 0;
		left:0;
		box-sizing: border-box;
	}
}
