/* 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;
    z-index: 1000001;
}

.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');
}

/**********
News Slider
**********/
#image_slider{ display: block; overflow: hidden; }
#image_slider div.ilist{ position: relative; overflow: hidden; left: 0px; }
#image_slider div.img{ cursor: pointer; }

/************************
CSS by JD
(c) 2011
************************/
.popup_block {
    display: none;
    
    position: absolute;
    left: 50%;
    
    margin-left: -300px;
    width: 624px;
    
    height: auto;
	padding: 0 0 40px;
	background: #181818;
    z-index: 1000001;
	}
	
	.popup_block .top {
		position: relative;
		width: 624px;
		height: 36px;
		}
		
		.popup_block .top .close {
			display: block;
			float: right;
			width: 11px;
			height: 11px;
			margin: 10px 10px 0 0;
			background: url(images/close.gif) no-repeat top left;
			}
			
			.popup_block .top .close:hover {
				background: url(images/close.gif) no-repeat top right;
				cursor: pointer;
				cursor: hand;
				}
				
		.popup_block .top .close_tip {
			display: block;
			position: absolute;
				top: 7px;
				left: 529px;
			width: 68px;
			height: 22px;
            display: none;
			}
			
			.popup_block .top .close_tip .tip {
				float: left;
				width: 56px;
				height: 22px;
				padding: 0 0 0 8px;
				background: #323232;
					color: #fff;
					font-size: 11px;
					line-height: 22px;
				}
				
			.popup_block .top .close_tip .arrow {
				float: left;
				width: 4px;
				height: 22px;
				background: url(images/close_arrow.gif) no-repeat center left;
				}
		
	.popup_block .center {
		width: 624px;
		height: 100%;
		overflow: hidden;
        background: #181818 url(images/loader.gif) no-repeat center center;
		}
		
		.popup_block .center .left {
			display: block;
			float: left;
			width: 40px;
            height:394px;
			background: url(images/left_arrow.gif) no-repeat center center;
			}
			
			.popup_block .center .left:hover {
				background: url(images/left_arrow_hover.gif) no-repeat center center;
				cursor: pointer;
				cursor: hand;
				}
			
		.popup_block .center .right {
			display: block;
			float: left;
			width: 40px;
			height:394px;
			background: url(images/right_arrow.gif) no-repeat center center;
			}
			
			.popup_block .center .right:hover {
				background: url(images/right_arrow_hover.gif) no-repeat center center;
				cursor: pointer;
				cursor: hand;
				}
			
		.popup_block .center .middle {
			float: left;
			width: 534px;
            height: 394px;
			overflow: hidden;
			border: 5px solid #252525;
			}
        
        .popup_block .center .middle img { display: none; } 
			
/*------------------------------------------------------------------------------------------*/

	.popup_block .down {
		width: 624px;
		height: 102px;
		overflow: hidden;
		margin-top: 11px;
		}
		
		.popup_block .down .left {
			display: block;
			float: left;
			width: 40px;
			height: 102px;
			background: url(images/left_arrow.gif) no-repeat center center;
			}
			
			.popup_block .down .left:hover {
				background: url(images/left_arrow_hover.gif) no-repeat center center;
				cursor: pointer;
				cursor: hand;
				}
			
		.popup_block .down .right {
			display: block;
			float: left;
			width: 40px;
			height: 102px;
			background: url(images/right_arrow.gif) no-repeat center center;
			}
			
			.popup_block .down .right:hover {
				background: url(images/right_arrow_hover.gif) no-repeat center center;
				cursor: pointer;
				cursor: hand;
				}
			
		.popup_block .down .middle {
			float: left;
			width: 544px;
			height: 102px;
            overflow: hidden;
			}
			
            .popup_block .down .middle .slider {
				position: relative; 
                overflow: hidden;
                width: 10000px;
                left: 0px;
				}
            
			.popup_block .down .middle .mini {
				display: block;
				float: left;
				width: 120px;
				height: 92px;
				margin-right: 8px;
				border: 5px solid #252525;
				}
			
				.popup_block .down .middle .mini:hover {
					border: 5px solid #fff;
					cursor: pointer;
					cursor: hand;
					}
					
				.popup_block .down .middle .no_margin {
					margin: 0;
					}