/*! fancyBox v2.1.0 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:#fef9e0;
	text-shadow: none;
	padding:0 !important;
	-webkit-border-radius: 7px;
	   -moz-border-radius: 7px;
	        border-radius: 7px;
}
.album-page .fancybox-holder{
	position:relative;
	padding:0 0 10px 0px;
	width:100%;
	-webkit-border-radius:7px 0 0 0;
	-moz-border-radius:7px 0 0 0;
}
.album-page .fancybox-skin{
	padding:0 0 0 345px !important;
	background:url(../images/bg-side-col.png);
	position:relative;
}
.album-page .fancybox-photo{
	padding:30px 10px 10px 10px;
	margin:0 0 -10px -20px;
	background:#fef9e0;
	position:relative;
	-webkit-border-radius:7px 7px 7px 7px;
	-moz-border-radius:7px 7px 7px 7px;
	border-radius:7px 7px 7px 7px;
}
.album-page .fancybox-photo:after{
	position:absolute;
	z-index:1;
	background:url(../images/shadow-popup.gif) no-repeat -11px 100%;
	width:11px;
	height:100%;
	left:-6px;
	bottom:0;
	content:'';
}
.album-page .fancybox-photo:before{
	width:11px;
	height:110px;
	position:absolute;
	left:-6px;
	top:0;
	z-index:2;
	background:url(../images/shadow-popup.gif) no-repeat;
	content:'';
}
.fancybox-wrap #side_col{
	padding:0;
	float:none;
}
.album-page .fancybox-banner{
	position:absolute;
	right:10px;
	top:-2px;
	bottom:10px;
	width:300px;
	overflow:hidden;
	height:885px;
}
.popup-advertising.one-banner{
	height:286px;
}
.popup-advertising.two-banner{
	height:546px;
}
.popup-advertising.three-banner{
	height:806px;
}

.fancybox-opened {
	z-index: 8030;
	width:95% !important;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
.fancybox-outer{
	border-radius:5px;
	overflow:hidden;
}
.album-page .fancybox-outer{
	background:url(../images/bg-fancy-popup.gif);
}
.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden !important;
	max-width:100%;
	margin:0 auto;
}
#popup{
	width:100% !important;
}
.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: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: none;
}
.fancybox-close{
	position: absolute;
	top: -5px;
	right: -6px;
	width: 104px;
	height: 41px;
	cursor: pointer;
	z-index: 8040;
	background:url(../images/btn-close.png) no-repeat;
}
.fancybox-close:hover{
	background-position:0 -41px;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width:50%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: none; /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}
.fancybox-prev:hover{
	background:url(../images/gallery_left_arrow.png) no-repeat 0 50%;
	-webkit-border-radius:5px 0 0 5px;
	border-radius:5px 0 0 5px;
}
.fancybox-next:hover{
	background:url(../images/gallery_right_arrow.png) no-repeat 100% 50%;
	-webkit-border-radius:0 5px 5px 0;
	border-radius:0 5px 5px 0;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-tmp {
	position: absolute;
	top: -9999px;
	left: -9999px;
	visibility: hidden;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	/*background: url('../images/fancybox_overlay.png');*/
	background: url('../images/bg-popap.png');
}

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

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

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
	display:none;
}
.fancybox-opened .fancybox-title {
	display:none;
	visibility: hidden;
}
.album-page .fancybox-opened .fancybox-title {
	visibility:visible;
	display:block;
	position:absolute;
	bottom:0;
	left:325px;
	right:0;
}
.gallery-info{
	position:absolute;
	top:7px;
	left:12px;
	color:#2c2b24;
	font-size:15px;
}
.gallery-info span{
	color:#97937a;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't  RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.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);
}
.popup-advertising{
	position:fixed;
	top:-9999px;
	left:0;
	z-index:100;
	overflow:hidden;
	padding:0 !important;
}