/* MAGNIFIC POPUP
   ----------------------------- */
.mfp-bg {
	background:#F0F7F9;
	z-index:10001;
	transform:translate3d(0,0,10001px);
	-webkit-transform:translate3d(0,0,10001px);
}
.mfp-bg.mfp-white-bg {
	background: rgba(230, 231, 232, 1);
	opacity: 0.95 !important;
}
.mfp-wrap {
	z-index:10002;
	transform:translate3d(0,0,10002px);
	-webkit-transform:translate3d(0,0,10002px);
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
	position:absolute;
	top:40px;
	right:-60px;
	padding:0;
	width:58px;
	height:56px;
	font-size:0;
	line-height:0;
	background:url(images/modal-close.svg) no-repeat center;
	opacity:1;
}
.mfp-close {
	font-size:30px;
	width:40px;
	height:40px;
	line-height:0px;
	background-color:transparent;
}
button.mfp-close, button.mfp-arrow {
    
    border: 1px solid #ffffff;
	border-radius:50%;
    box-shadow: none;
    cursor: pointer;
    display: block;
    outline: medium none;
    overflow: visible;
    padding: 0;
    z-index: 1046;
}
.mfp-close-btn-in .mfp-close {
    color: #ffffff;
}
.mfp-figure:after {
	bottom:120px;
	box-shadow:0 2px 4px rgba(0,0,0,0.5);
}
img.mfp-img {
	padding-bottom:120px;
}
.mfp-bottom-bar {
	margin-top:-120px;
}
.mfp-title {
	padding:30px 0 0 0;
	overflow:hidden;
}
.mfp-title .title,
.mfp-title .content {
	display:block;
	width:50%;
	float:left;
}
.mfp-title .title {
    font-family: "Futura-Book";
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 18px;
    text-transform: uppercase;
    padding-bottom: 20px;
    position: relative;
	color:#f4f5f7;
}
.mfp-title .title:before {
    background-color: #f4f5f7;
    bottom: 0;
    content: "";
    display: block;
    height: 4px;
    left: 0;
    position: absolute;
    width: 30px;
}
.mfp-title .content {
	font-family: "Futura-Book";
    font-size: 14px;
	line-height:19px;
	color:#f4f5f7;
}
.mfp-arrow.mfp-arrow {
	border:none;
	opacity:1;
	width:48px;
	height:48px;
	margin-top:-24px;
	top:50%;
}
.mfp-arrow.mfp-arrow:active {
	padding:0;
}
.mfp-arrow.mfp-arrow:before,
.mfp-arrow.mfp-arrow:after {
	display:none;
}
.mfp-arrow.mfp-arrow-left {
	background:url(images/modal-prev.svg) no-repeat;
}
.mfp-arrow.mfp-arrow-right {
	background:url(images/modal-next.svg) no-repeat;
}
.mfp-ready .mfp-content {
  opacity: 0;
}
.mfp-zoom-in .mfp-content {
	opacity: 0;
	transition: all 0.4s ease-out;
	-webkit-transition: all 0.1s ease-out;
	transform: scale(0.9);
	-webkit-transform: scale(0.9);
}
.mfp-zoom-in.mfp-bg,
.mfp-zoom-in .mfp-preloader {
	opacity: 0;
	transition: all 0.1s ease-out;
	-webkit-transition: all 0.1s ease-out;
}
.mfp-zoom-in.mfp-image-loaded .mfp-content {
	opacity: 1;
	transform: scale(1);
	-webkit-transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg,
.mfp-zoom-in.mfp-ready .mfp-preloader {
	opacity: 1;
	background-color:rgba(28,115,174,.98);
}
.mfp-zoom-in.mfp-removing .mfp-content {
	transform: scale(0.9);
	-webkit-transform: scale(0.9);
	opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg,
.mfp-zoom-in.mfp-removing .mfp-preloader {
	opacity: 0;
}
.mfp-zoom-in.mfp-image-loaded .mfp-content,
.mfp-zoom-in.mfp-ready .mfp-iframe-holder .mfp-iframe-scaler {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
}
.mfp-zoom-in .mfp-content,
.mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler {
    opacity: 0;
    transform: scale(0.95);
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    transition-property: all;
    -webkit-transition-property: all;
    transition-timing-function: ease-out;
    -webkit-transition-timing-function: ease-out;
}
.mfp-zoom-in.mfp-removing .mfp-content,
.mfp-zoom-in.mfp-removing .mfp-iframe-holder .mfp-iframe-scaler{
	-webkit-transform:scale(0.95);
	-ms-transform:scale(0.95);
	transform:scale(0.95);
	opacity:0
}

/* Team Popup */
.mfp-white-bg .mfp-content {
	vertical-align: top;
	margin-top: 100px;
}
.mfp-close {
	z-index: 1000;	
}
.ajax-content.team-content .title h2 {
	font-family: Fira Sans;
	color: #272f3b;
	font-size: 50px !important;
	border-top: none;
	border-bottom: 2px solid #272f3b;
}
.ajax-content.team-content .content {
	text-align: center;
	border: medium none !important;
	margin-top: 30px;
	padding-right: 50px;
}
.ajax-content.team-content .content .logo-img {
	width: 100%;
	height: 100px;
}

.ajax-content.team-content .mfp-close {
	background: url(images/modal-close-blue.svg) !important;
}
.ajax-content.team-content .content p {
	color: #272f3b;
	text-align: left;
	font-size: 13px !important;
}
.ajax-content.container.team-content .inner {
	padding-top: 0;
}


/* Film popup */
.mfp-iframe-holder .mfp-content {
	max-width: 1084px;
}

/* Gallery Popup */
.ajax-content.gallery-content .title h2 {
	color: #fff;
	font-size: 39px !important;
	border-top: none;
	padding: 0;
}
.ajax-content.container.gallery-content .inner {
	padding-top: 0;
}
.ajax-content.gallery-content .gallery-item {
	margin-top: 30px;
}

.fancybox-overlay-fixed {
	
}

.gallery-item a.lightbox {
	width: 100%;
	display: block;
	position: relative;
}
.gallery-item a.lightbox .thumb {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
}
.fancybox-skin {
	background: transparent !important;
}

.fancybox-close {
    cursor: pointer;
    height: 30px;
    position: absolute;
    right: -36px;
    top: -10px;
    width: 30px;
    z-index: 8040;
}

@media (max-width: 993px) {
	.mfp-image-holder .mfp-close,
	.mfp-iframe-holder .mfp-close {
		top:60px;
		right:20px;
	}
	.mfp-arrow.mfp-arrow-left {
		left:20px;
	}
	.mfp-arrow.mfp-arrow-right {
		background:url(images/modal-next.svg) no-repeat;
		right:20px;
	}
}

@media (max-width: 640px) {
	.mfp-title .title {
		width:100%;
		margin-bottom:20px;
	}
	.mfp-title .content {
		width:100%;
	}
}
.mfp-bg.mfp-grey {
	background:#E1ECF8;
	opacity:1 !important;
}
.mfp-grey .mfp-title .title {
	color:#53697d !important;
}
.mfp-grey .mfp-title .title:before {
	background-color:#53697d;
}
.mfp-grey .mfp-close {
	right:-40px;
	background-image:url(images/modal-close-blue.svg);
}
.mfp-grey .mfp-figure:after {
	display:none;
}
.mfp-ajax-content .mfp-container {
	overflow-y:auto;
	width:100%;
	left:0;
}

.mfp-iframe-scaler {
	overflow:visible;
}
.mfp-iframe-scaler iframe {
	box-shadow:none;
}
.mfp-iframe-holder .mfp-close {
	top:0 !important;
}
.mfp-full-screen img.mfp-img {
    padding-bottom:40px;
}
.mfp-full-screen figcaption {
    display:none;
}

.pepito {
	background:none;	
	background-color: rgba(0,0,0,0.8);
	z-index:400000;
}
.pepito .mfp-close {
	margin-top:-80px;	
}

.videos-pop-up {
	background:none;	
	background-color: rgba(0,0,0,0.8);
	z-index:4000;
}
.videos-pop-up .mfp-close {
	margin-top:0px;	
}

.amenities-pop-up {
	background:none;	
	background-color:#e8e6e5;
	z-index:400000;
}
.amenities-pop-up .mfp-close {
	margin-top:-10px;	
	color:#8e847b;
}