/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;

	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('../img/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 15px 15px 25px 15px;
	z-index: 1101;
	display: none;
	background: #f5f5f5;
}
	body.has-fancybox #fancybox-wrap,
	body.htc-community #fancybox-wrap {
		padding: 0;
		background: transparent;
	}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #f5f5f5;
}
	body.has-fancybox #fancybox-outer,
	body.htc-community #fancybox-outer {
		background: transparent;
	}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	height: 28px;
	width: 28px;
	background: url('../img/close.gif') top left no-repeat;
	cursor: pointer;
	z-index: 1103;
	display: none;
}
	body.has-fancybox #fancybox-close,
	body.htc-community #fancybox-close {
		top: 0 !important;
		right: 0 !important;
		height: 25px !important;
		width: 54px !important;
		background: url('../img/Close_comm.png') top left no-repeat !important;
	}

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	z-index: 1101;
	position: absolute;
	bottom: -25px !important;
	left: 0;
	width: 100%;
}

.fancybox-title-inside {
	text-align: center;
	color: #82786f;
	font-size: 12px;
	padding-bottom: 3px;
}

#fancybox-title-over {

	display: block;
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	display: none;
}

#fancybox-title-main {
	line-height: 29px;
}

#fancybox-title-right {
	display: none;
}

#fancybox-left, #fancybox-right {
	background-image: url('../img/fancybox/blank.gif');
	z-index: 1102;	
	position: absolute; 
	bottom: -15px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	display: none;
	outline: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	z-index: 1102;	
	position: absolute; 
	bottom: 0;
	width: 25px;
	height: 13px;
	cursor: pointer;
	display: block;
}

#fancybox-left-ico {
	left: 15%;
	background: transparent url('../img/arrow_left.gif') no-repeat;
}

#fancybox-right-ico {
	background: transparent url('../img/arrow_right.gif') no-repeat;
	right: 15%;
}

#fancybox-left:hover, #fancybox-right:hover {}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancy-bg-n {
	display: none;
}

#fancy-bg-e, #fancy-bg-se, #fancy-bg-s, #fancy-bg-sw, #fancy-bg-w, #fancy-bg-nw {
	display: none;
}

/* IE */

#fancybox-loading.fancybox-ie div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/us/img/fancybox/fancy_loading.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-close		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/close.gif', sizingMethod='scale'); }
	body.has-fancybox .fancybox-ie #fancybox-close,
	body.htc-community .fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/Close_comm.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-title-over	{ zoom: 1; }

.fancybox-ie #fancybox-left-ico		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/arrow_left.gif', sizingMethod='scale'); }
.fancybox-ie #fancybox-right-ico	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/arrow_right.gif', sizingMethod='scale'); }

.fancybox-ie .fancy-bg { background: transparent !important; }
