/* 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}); */
	
.jqmWindow {
    display: none;
    z-index: 3000 !important;    
    position: fixed;
    top: 15%;
    left: 50%;
}

.large_modal {
    margin-left: -300px;
    width: 600px;
}

.med_modal {
    margin-left: -225px;
    width: 450px;
}

.small_modal {
    margin-left: -150px;
    width: 300px;
}

.timer {
    display: block;
    margin: 0 auto 0 auto;
}

.img_modal {
    margin-left: -400px;
    width: 800px;
}

.img_close {
    display: block;
    width: 35px;
    height: 20px;
    margin: 0 auto 0 auto;
    padding: 2px 5px 2px 20px;
    background: url(close.jpg) 5px 5px no-repeat #FFF;
    border-right: 1px solid #999999;
    border-left: 1px solid #cfcfcf;
    border-top: 1px solid #cfcfcf;
    text-transform: uppercase;
    font-size: 10px;
    cursor: pointer;
}

#imgContainer {
    margin: 0 auto 0 auto;
}

#imgContainer img, #vidInsert{
    display: block;
    margin: 0 auto 0 auto;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
    border-left: 1px solid #cfcfcf;
    border-top: 1px solid #cfcfcf;
    padding: 10px;
    background: #FFF;
}

 #vidInsert{ 
    width: 480px;
 }

.jqmClose {
    cursor: pointer;
}

.jqmOverlay { background-color: #FFF; z-index: 100 !important;}

/* 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(20 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}