/* 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;
    
    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 .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

#gallery-modal { display:none; width:820px; height:670px; border:none; background:#000; top:100px; position:absolute; padding: 0; margin-left:-400px; }
#gallery-modal-content { background: #000; margin: 10px; }
#gallery-modal-top { display:block; height:30px; position:absolute; right:-15px; text-align:right; top:-15px; width:30px; }
#gallery-modal-top .jqmClose { padding: 0; float: right; position: absolute; right: 0; z-index: 1000; }

#modal-participating { text-align: left; width: 625px; padding: 15px; margin-left: -330px; position: absolute; background: #f1ead0; border: 3px solid #b6ab8d; }
#modal-participating #modal-participating-close { position: absolute; top: 18px; right: 20px; width: 11px; height: 10px; }
#modal-participating #modal-participating-top { margin-bottom: 20px; padding-bottom: 15px; background: url("../images/layout/modal-header-bg.gif") no-repeat 0 bottom; }
#modal-participating h3 { font: italic 20px Georgia, "Times New Roman", Times, serif; }
#modal-participating #modal-participating-content { overflow :hidden; font: 12px Arial; color: #5c1527; }
#modal-participating #modal-participating-content ul { overflow: hidden; margin-left: 8px; list-style: none; }
#modal-participating #modal-participating-content ul li { float: left; display: inline; padding-left: 13px; width: 192px; margin-bottom: 10px; background: url("../images/layout/list-bg.gif") no-repeat 0 0; }
#modal-participating #modal-participating-content a { color: #5c1527; }
#modal-participating #modal-participating-content a { color: #5c1527; }
