/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	/* JX update style */
	/*
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
	*/
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	/* JX remove shadow */
	/*
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	*/
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
	/* JX update font style */
	font-family:'Source Sans Pro',sans-serif;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	/*JX use icons*/
	/*background-image: url(fancybox_sprite.png);*/
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url(fancybox_loading.gif) center center no-repeat;
}

/* JX update layout and style */
.fancybox-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 8040;
	background-color:rgba(230,230,230,0.3);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4CE6E6E6, endColorstr=#4CE6E6E6);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4CE6E6E6, endColorstr=#4CE6E6E6);
	zoom:1;		
	text-decoration:none!important;
	color:#fff;
}
.no-touch .fancybox-close:hover,
.no-touch .fancybox-close:focus,
.no-touch .fancybox-close:visited,
.touch .fancybox-close:active { 
	color:#d9a600;
	background:#fff; }
	
	/* icon */
	.fancybox-close .icon { 
		width:100%; height:100%;
		font-size:21px; line-height:40px;
		/*transition*/
		/*-webkit-transform:translate3d(0,0,0);*/
		-webkit-transition:none;
		-moz-transition:none;
		-o-transition:none;
		transition:none; }

.fancybox-nav {
	/* JX adjust layout and style */
	position: absolute;
	bottom: 0;
	width: 40px;
	height: 40px;
	cursor: pointer;
	text-decoration: none!important;
	color:#888;
	background:none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8060;
}
.no-touch .fancybox-nav:hover,
.no-touch .fancybox-nav:focus,
.no-touch .fancybox-nav:visited,
.touch .fancybox-nav:active { 
	color:#fff;
	background:#d9a600; }
	
	/* icon */
	.fancybox-nav .icon { 
		width:100%; height:100%;
		font-size:24px; line-height:40px;
		/*transition*/
		/*-webkit-transform:translate3d(0,0,0);*/
		-webkit-transition:none;
		-moz-transition:none;
		-o-transition:none;
		transition:none; }

.fancybox-prev {
	right: 40px;
}

.fancybox-next {
	right: 0;
}

/* IE7 fallback */
.ie7 .fancybox-nav {
	color:#888;
	bottom: 50%;
	right:0;
	background:#fff;
	zoom:1;
}
.ie7 .fancybox-next {
	bottom: auto;
	top: 50%;
}


/* JX not used
.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}
*/

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: visible !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	/*background: url(fancybox_overlay.png);*/
	
	/* JX update overlay bg */
	background-color:rgba(0,0,0,0.8);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000);
	zoom:1;		
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
	/* JX update font style */
	font-family:'Source Sans Pro',sans-serif;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	/* JX update layout and style */
	position: absolute;
	width: 100%!important;
	max-height: 40%;
	bottom: 0;
	left: 0;
	margin-bottom:0 /*-35px*/;
	z-index: 8050;
	background-color:rgba(230,230,230,0.9);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5E6E6E6, endColorstr=#E5E6E6E6);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5E6E6E6, endColorstr=#E5E6E6E6);
	zoom:1;	
}

.fancybox-title-float-wrap .child {
	/* JX update layout */
	display:block;
	width:auto;
	height:24px;
	margin-right:80px;
	padding:8px 16px;
	background: none;
	/* JX update text style */
	color: #373737;
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
	white-space: nowrap;
	text-overflow:ellipsis;
	overflow:hidden;
}
	
/* JX added new text style */
.fancybox-title-float-wrap .child .caption { 
	
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/* responsive */
@media only screen and (max-width:500px) {

	/* hide caption */
	.fancybox-opened .fancybox-title { display:none!important; }
	/* update style */
	.fancybox-nav {	background:#fff; }
}

/*JX use icons*/
/*Retina graphics!
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url(fancybox_sprite@2x.png);
		background-size: 44px 152px;
	}

	#fancybox-loading div {
		background-image: url(fancybox_loading@2x.gif);
		background-size: 24px 24px;
	}
}*/