/*! fancyBox v2.1.3 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: #fff;
	padding:8px 0!important;
	text-shadow: none;
	border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}


.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;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}



#fancybox-loading {

	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -10px;
	margin-left: -10px;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
}

.fancybox-close {
	position: absolute;
	top: 15px;
	right: -7px;
	width: 44px;
	height: 44px;
	
	background:url(../images/close.png) no-repeat 50%;
	background-color:#fff;
	
	border-radius:4px;
	cursor: pointer;
	z-index: 8040;
}
.fancybox-close:hover {
	background:url(../images/close_hover.png) no-repeat 50%;
	background-color:#272727;	
}

.fancybox-nav {
	position: absolute;
	cursor: pointer;
	text-decoration: none;
	z-index: 9999;
}

.fancybox-prev {
	right: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	width: 44px; height: 44px;
	background:#fff;
	border-radius:4px;
	cursor: pointer;
	z-index: 8040;
	/*visibility: hidden;*/
}

.fancybox-prev span {
	right: -6px; bottom:16px;
	background:url(../images/flex-prev-dark.png) no-repeat 50% #fff; background-size: 10px 18px;
	-moz-transition: all .1s ease-in-out; -webkit-transition: all .1s ease-in-out; -o-transition: all .1s ease-in-out;
}
.fancybox-prev:hover span {
	background:url(../images/flex-prev-light.png) no-repeat 50% #272727; background-size: 10px 18px;
}


.fancybox-next span {
	right: -6px; bottom:63px;
	background:url(../images/flex-next-dark.png) no-repeat 50% #fff; background-size: 10px 18px;
	-moz-transition: all .1s ease-in-out; -webkit-transition: all .1s ease-in-out; -o-transition: all .1s ease-in-out;
}
.fancybox-next:hover span {
	background:url(../images/flex-next-light.png) no-repeat 50% #272727; background-size: 10px 18px;
}


.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;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 999;
	background:rgba(255,255,255,.3);
}

.fancybox-overlay-fixed {
	/*position: absolute;*/position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: hidden;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	left: -7px; bottom: 26px;
	z-index: 8050;
}

.fancybox-title-float-wrap .child {
	border-left:7px solid #b9d400;
	display: inline-block;
	padding:20px 27px 23px 21px;
	background: #fff;
	color: #404040;
	font-weight: normal;
	line-height: 18px;
	text-transform:uppercase;
							/*white-space: nowrap;*/
							margin-right:57px;
	border-radius: 2px;
}

.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);
}