/* Custom */
.fancybox-alert { width: 400px; height: 100%; padding: 0; margin: 0; border: 0; border-collapse: collapse; }
.fancybox-alert td { padding: 0; text-align: center; vertical-align: middle; }
.fancybox-alert td, .fancybox-alert td * { font-size: 16px; line-height: 22px; color: #1e1e1e;}
.fancybox-alert h1 { font-size: 18px; line-height: 23px; color: #08acab; font-weight: bold; text-transform: uppercase; margin: 0 0 20px 0; padding: 0; }

.fancybox-map { width: 800px; height: 600px; }

/*! 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: #ebebeb;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
    /*overflow: hidden;*/
}

.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: -45px;
	margin-left: -45px;
	cursor: pointer;
	z-index: 8060;
    
}

#fancybox-loading div {
	width: 90px;
	height: 90px;
    background: #08acab;
    border-radius: 45px;
	background: #08acab;
}

#fancybox-loading div:before {
    content: '.';
    font-size: 0;
    color: transparent;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    margin-left: -10px;
    width: 20px;
    height: 20px;
    border-radius: 0 15px 0 15px;
    background: #fff;
    animation:spin 1s linear infinite;
    transform-origin: 10px 25px;
}

#fancybox-loading div:after {
    content: '.';
    font-size: 0;
    color: transparent;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: 5px;
    margin-left: -10px;
    width: 20px;
    height: 20px;
    border-radius: 0 15px 0 15px;
    background: #fff;
    animation:spin 1s linear infinite;
    transform-origin: 10px -5px;
}

.fancybox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 28px;
	height: 28px;
    cursor: pointer;
	z-index: 8040;
	border-radius: 32px;
	-webkit-border-radius: 32px;
	-moz-border-radius: 32px;
    border: 2px solid #000000;
	transition: 0.2s;
}

.fancybox-close:before,
.fancybox-close:after {
    content: '.';
    font-size: 0;
    color: transparent;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: #000;
    margin: -1px 0 0 -9px;
    transition: 0.2s;
}

.fancybox-close:before {
    transform: rotate(45deg);
}

.fancybox-close:after {
    transform: rotate(-45deg);
}

.fancybox-close:hover {
	border-color: #08acab;
}

.fancybox-close:hover:before,
.fancybox-close:hover:after {
    background-color: #08acab;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../images/blank.gif');
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: -90px;
}

.fancybox-next {
	right: -90px;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
    border: 3px solid #000;
    width: 40px;
    height: 40px;
    transition: 0.2s;
}

.fancybox-prev span {
	left: 30px;
    border-right: none;
    border-bottom: none;
    transform: rotate(-45deg);
}

.fancybox-next span {
	right: 30px;
	border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
}

.fancybox-nav:hover span {
    border-color: #08acab;
}

.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: rgba(255, 255, 255, 0.6);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	position: relative;
	text-shadow: none;
	z-index: 8050;
    font-size: 14px;
    line-height: 19px;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 0;
    left: 0;
	z-index: 8050;
}

.fancybox-title-float-wrap .child {
	display: block;
	background: rgba(255, 255, 255, 0.5);
	color: #000;
    font-size: 14px;
	font-weight: 500;
	line-height: 22px;
    padding: 10px 25px 10px 25px;
}

.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);
}