/*! 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 {
	margin-top: -20px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #fff;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-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: 10px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
	padding:10px;
}

#fancybox-loading {
	background-image: url('https://www.aicfast.com/images/fancybox_sprite.png');
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -50px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	background:rgba(0,0,0,0.25) url('https://www.aicfast.com/images/loading.gif') no-repeat center center;
	background-size: 100px 100px;
	border-radius:50px;
	box-shadow:0 0 4px rgba(0,0,0,0.5);
	height:100px;
	width:100px;
}

.fancybox-close {
	color:#ddd;
	font-size: 20px;
	text-align: center;
	line-height: 46px;
	vertical-align: middle;
	background: #1f2126;
	position: absolute;
	top: 0;
	right: -50px;
	width: 50px;
	height: 46px;
	cursor: pointer;
	z-index: 8040;
	-webkit-transition:0.15s background;
	-moz-transition:0.15s background;
	transition:0.15s background;
}
.fancybox-close:hover {
	color:#fff;
	background: #2d3138;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 50px;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('https://www.aicfast.com/images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8000;
}

.fancybox-prev {
	left: -30px;
}

.fancybox-next {
	right: -35px;
}

.fancybox-nav span {
	color:#ddd;
	font-size: 28px;
	position: absolute;
	top: 52%;
    height: 30px;
    width:16px;
	margin-top: -6px;
	cursor: pointer;
	z-index: 8000;
/* 	visibility: hidden; */
}

.fancybox-prev span {
	left: 0;
}

.fancybox-next span {
	right: 0;
}

.fancybox-prev span:hover, 
.fancybox-next span:hover {
	color:#fff;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !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: #333;
	background: rgba(0,0,0,0.7);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 15px;
	right: 15px;
	z-index: 8050;
	text-align: left;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 10px 40px 10px 30px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: #06344c;
	color: #FFF;
	font-size: 16px;
	line-height: 24px;
	white-space: nowrap;
}
.fancybox-title-float-wrap .child span {
	margin:10px 0;
	display: block;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap .caption {
	background: #eee;
	width: 100%;
	padding: 10px;
/*
	position: absolute;
	bottom: -20px;
*/
	left: 0;
}
.tpl-2 .fancybox-title-over-wrap .caption {
	box-shadow: inset 0 0 0 10px #fff;
	padding: 25px 15px 20px;
	bottom: -90px;
}
.fancybox-title-over-wrap .caption .alt {
	color: #2d3138;
	font-size:16px;
	text-align: center;
	display: block;
}

.fancybox-title .count {
	color:#2d3138;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	position: absolute;
	top: 15px;
	right: 15px;
}
.fancybox-title .count span {
	font-weight: 400;
	margin:0;
	display: inline-block;
}

/*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 {
		background-image: url('https://www.aicfast.com/images/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('https://www.aicfast.com/images/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}