/* clearfix */
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/* AG Gallery Lightbox */
.AG_Gallery { width:100%; margin-bottom:20px; overflow:visible; }
	.AG_Gallery .gallerycontainer { position:relative !important; width:200px; height:230px; margin:0 15px 15px 0; float:left; }

	.AG_Gallery .gallerycontainer ul.attributes { padding:0; margin:0; }
		.AG_Gallery .gallerycontainer ul.attributes li { padding:0 0 0 0px; width:200px; height:14px; overflow:hidden; margin:0 0 4px 0; list-style-type:none; font-weight:normal; font-size:11px; line-height:12px; }
		.AG_Gallery .gallerycontainer ul.attributes li label { display:block; float:left; width:65px; height:14px; overflow:hidden; margin-left:0px; font-weight:bold; font-size:11px; line-height:12px; }
			.AG_Gallery .gallerycontainer ul.attributes li.Title { font-weight:bold; height:28px; text-align:center; }
			.AG_Gallery .gallerycontainer ul.attributes li.Title label, .AG_Gallery .gallerycontainer ul.attributes li.Desc label, .AG_Gallery .gallerycontainer ul.attributes li.Download label { display:none; }
		.AG_Gallery .gallerycontainer ul.attributes li a { font:normal 11px/14px verdana; }

	.AG_Gallery .photo { margin-bottom:5px; width:200px; height:200px; overflow:hidden; border:1px solid #000; background:url('images/na_img.png'); }
	
	
	.AG_Gallery li.Desc { position:absolute; bottom:40px; left:0px; z-index:125; width:200px !important; height:auto !important; overflow:visible !important; padding:10px !important; background:#efebe0; color:#000; border:1px solid #000; }
		.AG_Gallery span.pointer { background:url('images/tooltip_point.gif') bottom left no-repeat; position:absolute; /*top:70px;*/ bottom:-10px; left:40px; display:block; width:20px; height:10px; z-index:999; }
		
/* AG_Gallery_Horizontal */
.AG_Gallery_Horizontal { position:relative; border-top:1px dashed #a0a0a0; margin-bottom:20px; }
	.AG_Gallery_Horizontal .gallerycontainer { width:655px; margin:0; padding:10px; border-bottom:1px dashed #a0a0a0; float:left; }
	.AG_Gallery_Horizontal h3, .AG_Gallery_Horizontal .Title { margin-bottom:0px !important; font-size:12px !important; color:#e2373f !important; font-weight:bold !important; margin:0; }
	.AG_Gallery_Horizontal h3 { margin-bottom:4px !important; }
	.AG_Gallery_Horizontal .Desc { color:#676767; line-height:18px !important; margin-bottom:0; font-size:11px; }
	.AG_Gallery_Horizontal .Download { float:left; width:160px; }
	.AG_Gallery_Horizontal .External { float:left; width:200px; }
	.AG_Gallery_Horizontal .gallerycontainer ul.attributes { display:block; padding-left:170px; margin:0; min-height:152px;  }
		.AG_Gallery_Horizontal .gallerycontainer ul.attributes li { display:block; padding:0px; margin:0 0 4px 0; list-style-type:none; font:normal 11px/14px verdana; }
		.AG_Gallery_Horizontal .gallerycontainer ul.attributes li label { display:none; float:left; width:85px; margin-left:-85px; font:bold 11px/14px verdana; }
		.AG_Gallery_Horizontal .gallerycontainer ul.attributes li a { font:normal 11px/14px verdana; }

	.AG_Gallery_Horizontal .photo { position:absolute; display:block; float:left; width:150px; height:150px; margin-right:10px; background:url('images/na_img.png'); }
	
/* Paging Control */
div.AG_Gallery_Paging { margin-bottom:10px; }

/* Fancy Box */
html, body { height: 100%; }
div#fancy_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #666; display: none; z-index: 2030; }
* html div#fancy_overlay { position: absolute; height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); }
div#fancy_wrap { text-align: left; }
div#fancy_loading { position: absolute; height: 40px; width: 40px; cursor: pointer; display: none; overflow: hidden; background: transparent; z-index: 20100; }
div#fancy_loading div { position: absolute; top: 0; left: 0; width: 40px; height: 480px; background: transparent url('images/fancyboximages/fancy_progress.png') no-repeat; }
div#fancy_loading_overlay { position: absolute; background-color: #FFF; z-index: 2030; }
div#fancy_loading_icon { position: absolute; background: url('images/fancyboximages/fancy_loading.gif') no-repeat; z-index: 2035; width: 16px; height: 16px; }
div#fancy_outer { position: absolute; top: 0; left: 0; z-index: 2090; padding: 18px 18px 33px 18px; margin: 0; overflow: hidden; background: transparent; display: none; }
div#fancy_inner { position: relative; width:100%; height:100%; border: 1px solid #BBB; background: #FFF; }
div#fancy_content { margin: 0; z-index: 2200; position: absolute; }
div#fancy_div { background: #000; color: #FFF; height: 100%; width: 100%; z-index: 2100; }
img#fancy_img { position: absolute; top: 0; left: 0; border:0;  padding: 0;  margin: 0; z-index: 2090; width: 100%; height: 100%; -ms-interpolation-mode:bicubic; }
div#fancy_close { position: absolute; top: -12px; right: -15px; height: 30px; width: 30px; background: url('images/fancyboximages/fancy_closebox.png') top left no-repeat; cursor: pointer; z-index: 2481; display: none; }
#fancy_frame { position: relative; width: 100%; height: 100%; display: none; }
#fancy_ajax { width: 100%; height: 100%; overflow: auto; }
a#fancy_left, a#fancy_right { position: absolute;  bottom: 0px;  height: 100%;  width: 35%;  cursor: pointer; z-index: 2211;  display: none; background-image: url(data:image/gif;base64,AAAA); outline: none; }
a#fancy_left { left: 0px;  }
a#fancy_right { right: 0px;  }
span.fancy_ico { position: absolute;  top: 50%; margin-top: -15px; width: 30px; height: 30px; z-index: 2112;  cursor: pointer; display: block; }
span#fancy_left_ico { left: -9999px; background: transparent url('images/fancyboximages/fancy_left.png') no-repeat; }
span#fancy_right_ico { right: -9999px; background: transparent url('images/fancyboximages/fancy_right.png') no-repeat; }
a#fancy_left:hover { visibility: visible; }
a#fancy_right:hover { visibility: visible; }
a#fancy_left:hover span { left: 20px;  }
a#fancy_right:hover span { right: 20px; }
.fancy_bigIframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; }
div#fancy_bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2070; border: 0; padding: 0; margin: 0; }
div.fancy_bg { position: absolute; display: block; z-index: 2070; border: 0; padding: 0; margin: 0; }
div.fancy_bg_n { top: -18px; width: 100%; height: 18px; background: transparent url('images/fancyboximages/fancy_shadow_n.png') repeat-x; }
div.fancy_bg_ne { top: -18px; right: -13px; width: 13px; height: 18px; background: transparent url('images/fancyboximages/fancy_shadow_ne.png') no-repeat; }
div.fancy_bg_e { right: -13px; height: 100%; width: 13px; background: transparent url('images/fancyboximages/fancy_shadow_e.png') repeat-y; }
div.fancy_bg_se { bottom: -18px; right: -13px; width: 13px; height: 18px; background: transparent url('images/fancyboximages/fancy_shadow_se.png') no-repeat; }
div.fancy_bg_s { bottom: -18px; width: 100%; height: 18px; background: transparent url('images/fancyboximages/fancy_shadow_s.png') repeat-x; }
div.fancy_bg_sw { bottom: -18px; left: -13px; width: 13px; height: 18px; background: transparent url('images/fancyboximages/fancy_shadow_sw.png') no-repeat; }
div.fancy_bg_w { left: -13px; height: 100%; width: 13px; background: transparent url('images/fancyboximages/fancy_shadow_w.png') repeat-y; }
div.fancy_bg_nw { top: -18px; left: -13px; width: 13px; height: 18px; background: transparent url('images/fancyboximages/fancy_shadow_nw.png') no-repeat; }
div#fancy_title { position: absolute; bottom: -33px; left: 0; width: 100%; z-index: 20100; display: none; }
div#fancy_title div { color: #FFF; font: normal 11px Tahoma; padding-bottom: 3px; }
div#fancy_title table { margin: 0 auto; } 
div#fancy_title table td { padding: 0; vertical-align: middle; }
td#fancy_title_left { height: 32px; width: 15px; background: transparent url(images/fancyboximages/fancy_title_left.png) repeat-x; }
td#fancy_title_main { height: 32px; background: transparent url(images/fancyboximages/fancy_title_main.png) repeat-x; }
td#fancy_title_right { height: 32px; width: 15px; background: transparent url(images/fancyboximages/fancy_title_right.png) repeat-x; }