/*! fancyBox 3.0.0 Beta 1 fancyapps.com | fancyapps.com/fancybox/#license */
#fancybox-loading,
#fancybox-lock,
.fancybox-wrap,
.fancybox-skin,
.fancybox-inner,
.fancybox-error,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-wrap embed,
a.fancybox-close,
a.fancybox-expand,
a.fancybox-nav,
a.fancybox-nav span,
.fancybox-tmp
{
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
    text-shadow: none;
}

#fancybox-lock,#overlay,#soverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: scroll;
    overflow-y: auto;
    overflow-x: auto;

    -webkit-transition : -webkit-transform 0.5s;
    -webkit-transform  : translateX(0px);
}

#overlay,#soverlay,#soverlay {display: none;}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-lock {
/*    overflow: hidden !important;*/
    width: auto;
}
fancybox-lock body {overflow: hidden;}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8020;
    -webkit-transform: translate3d(0,0,0);
}

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

.fancybox-skin {
    border-style: solid;
    border-color: #fff;
    background: #fff;
    color: #444;
}

.fancybox-inner {
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.fancybox-spacer {
    position: absolute;
    top: 100%;
    left: 0;
    width: 1px;
}

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

.fancybox-image {
    max-width: 100%;
    max-height: 100%;
    zoom: 1;
}

.fancybox-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 22px;
    position: absolute;
    right: 15px;
    text-decoration: none;
    top: 15px;
    z-index: 8040;
}

a.fancybox-nav {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    z-index: 8040;
}

.fancybox-type-iframe a.fancybox-nav,
.fancybox-type-inline a.fancybox-nav,
.fancybox-type-html a.fancybox-nav
 {
    width: 70px;
}

a.fancybox-prev {
    left: -70px;
}

a.fancybox-next {
    right: -70px;
}

.fancybox-nav span {
    top: 50%;
    cursor: pointer;
    font-size: 36px;
    line-height: 32px;
    position: absolute;
    z-index: 8040;
	color: white;
}

.fancybox-prev span {
	left: 19px;
}

.fancybox-next span {
	right: 19px;
}

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

.fancybox-mobile  a.fancybox-nav {
    max-width: 80px;
}

.fancybox-desktop  a.fancybox-nav,a.fancybox-close {
    /*opacity: 0.5; filter: alpha(opacity=50);*/
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
	font-size: 40px;
	color: white;
}

.fancybox-desktop a.fancybox-nav:hover span, a.fancybox-close:hover span,.fancybox-lock .icon-close:hover {
/*    opacity: 0.8; filter: alpha(opacity=80);*/
	/*color:#009486;*/
	color:#ED1551;
}

a.fancybox-expand {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 46px;
    height: 46px;
    z-index: 8050;
    opacity: 0;  filter: alpha(opacity=0);
    background-position: 0 -150px;
    zoom: 1;
    -webkit-transition: opacity .5s ease;
            transition: opacity .5s ease;
}

.fancybox-wrap:hover a.fancybox-expand {
    opacity: 0.5;  filter: alpha(opacity=50);
}

.fancybox-wrap a.fancybox-expand:hover {
    opacity: 1;  filter: alpha(opacity=100);
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -16px;
	margin-left: -16px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
	width: 32px;
	height: 32px;
	background: url('../img/preload.gif') center center no-repeat;
}

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

.fancybox-title {
	visibility: hidden;
	font: normal 14px/18px 'PTMono',Arial, sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
	color:white;
}

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


.fancybox-title-inside-wrap {
    bottom: 18px;
    color: #bda772;
    font-family: Fedra;
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 8010;
}

.fancybox-overlay,#overlay,#soverlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 8010;
}
#overlay,#soverlay {
    display: none;
}

.fancybox-overlay-fixed,#overlay,#soverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Default theme */
.fancybox-default-skin {
    border-color: #f9f9f9;
    background: #f9f9f9;
}

.fancybox-default-overlay,#overlay,#soverlay {
  background-color: rgb(51, 60, 66);
  opacity: 0.95; filter: alpha(opacity=95);
}


.c7 .fancybox-close {
    background-position: left 10px;
}
.c7 .fancybox-next span {
    background-position: right -41px;
}
.c7 .fancybox-prev span {
    background-position: left -41px;
}
.c5 .fancybox-next span {
    background-position: right -82px;
}
.c5 .fancybox-prev span {
    background-position: left -82px;
}
.fancybox-title.fancybox-title-inside-wrap span {
    color: #000000;
    display: block;
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
}

.fancybox-next .icon-ar_r,.fancybox-prev .icon-ar_l {
    top: 50%;
    right: 4px;
    color: white;
    margin-top: -10px;
	font-size:40px;
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

.fancybox-prev .icon-ar_l {right: auto; left:4px;}
a.fancybox-close {
	
    font-size: 28px;
    right: -49px;
    top: 0;
}
.fancybox-title {
    position: absolute;
    left: 0;
    width: 100%;
/*    bottom: -44px;*/
	padding-top: 10px;
}
.fancybox-lock .icon-close,#overlay .icon-close {
    color: white;
    position: absolute;
    right: 39px;
    top: 36px;
    font-size: 25px;
	cursor: pointer;
}
.fancybox-prev .icon.icon-r_arr {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* fancybox end */