/* Text and Image Section */

.wpfox-text-image-section {
	--section-spacing-default: max(64px, var(--spacing-90));
	--text-spacing-top-scalar: 1;
	--text-spacing-bottom-scalar: 1;
	--image-spacing-top-scalar: 1;
	--image-spacing-bottom-scalar: 1;
	--mobile-text-spacing-top-scalar: 1;
	--mobile-text-spacing-bottom-scalar: 1;
	--mobile-image-spacing-top-scalar: 1;
	--mobile-image-spacing-bottom-scalar: 1;
	--image-spacing-side-scalar: 0;
	--text-spacing-top: calc(var(--section-spacing-default) * var(--text-spacing-top-scalar));
	--text-spacing-bottom: calc(var(--section-spacing-default) * var(--text-spacing-bottom-scalar));
	--image-spacing-top: calc(var(--section-spacing-default) * var(--image-spacing-top-scalar));
	--image-spacing-bottom: calc(var(--section-spacing-default) * var(--image-spacing-bottom-scalar));
	--image-spacing-side: calc(var(--section-spacing-default) * var(--image-spacing-side-scalar));
	--image-fixed-height: 400;
	--gap-width: var(--spacing-80);
	--text-width: 50%;
	--image-width: calc(100% - var(--text-width));

	background-color: var(--wp--preset--color--light-grey);
	max-width: var(--wp--custom--content-size);
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 959px) {
	.wpfox-text-image-section {
		--text-spacing-top-scalar: var(--mobile-text-spacing-top-scalar) !important;
		--text-spacing-bottom-scalar: var(--mobile-text-spacing-bottom-scalar) !important;
		--image-spacing-top-scalar: var(--mobile-image-spacing-top-scalar) !important;
		--image-spacing-bottom-scalar: var(--mobile-image-spacing-bottom-scalar) !important;
	}
}

.wpfox-text-image-section>.wrapper {
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50%);
	background-color: inherit;
	background-image: inherit;
}

.wpfox-text-image-section .row {
	gap: var(--gap-width);
	flex-wrap: nowrap;
}

@media (min-width: 1440px) {
	.wpfox-text-image-section .row {
		gap: max(72px,var(--gap-width));
	}
}

.wpfox-text-image-section .col-text {
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	justify-content: center;
	padding-top: var(--text-spacing-top);
	padding-bottom: var(--text-spacing-bottom);
	flex-basis: calc(var(--text-width) - 0.5 * var(--gap-width));
}

.wpfox-text-image-section.text-position-top .col-text {
	justify-content: flex-start;
}

.wpfox-text-image-section.text-position-bottom .col-text {
	justify-content: flex-end;
}

.wpfox-text-image-section .row.image-left .col-text {
	order: 2;
}

.wpfox-text-image-section .col-text>.wrapper {
	position: relative;
}

@media (max-width: 959px) {
	.wpfox-text-image-section .row-text-image {
		max-width: max(720px,calc(975rem / var(--base-size)));
		margin: 0 auto;
	}
	.wpfox-text-image-section .col-text {
		padding-top: min(40px,var(--text-spacing-top));
		padding-bottom: min(40px,var(--text-spacing-bottom));
	}
}

.wpfox-text-image-section h1 {}

.wpfox-text-image-section .col-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: var(--image-spacing-top);
	padding-bottom: var(--image-spacing-bottom);
	flex-basis: calc(var(--image-width) - 0.5 * var(--gap-width));
}

.wpfox-text-image-section.image-position-top .col-image {
	justify-content: flex-start;
}

.wpfox-text-image-section.image-position-bottom .col-image {
	justify-content: flex-end;
}

.wpfox-text-image-section.image-alignment-inside .col-image,
.wpfox-text-image-section.image-alignment-outside .image-right .col-image {
	align-items: flex-end;
}

.wpfox-text-image-section.image-alignment-outside .col-image,
.wpfox-text-image-section.image-alignment-inside .image-right .col-image {
	align-items: flex-start;
}

.wpfox-text-image-section .col-image>a {
	display: inline-block;
	width: 100%;
	height: auto;
}

.wpfox-text-image-section.image-size-section_height .col-image>a {
	height: 100%;
}

.wpfox-text-image-section.image-size-default .col-image>a {
	width: auto;
}

.wpfox-text-image-section .col-image .wrapper {
	position: relative;
}

.wpfox-text-image-section .col-image img {
	display: block;
	width: auto;
	max-height: max(300px, calc(500rem/var(--base-size)));
}

.wpfox-text-image-section.image-shadow .col-image img {
	box-shadow: 0 max(4px,var(--spacing-8)) max(7px,var(--spacing-16)) max(2px,var(--spacing-4)) rgba(0, 0, 0, 0.2);
}

.wpfox-text-image-section.image-rounded-corners .col-image img {
	border-radius: 8px;
}


/* Text and Image Section - Image Size Column Width */

.wpfox-text-image-section.image-size-column_width {}

.wpfox-text-image-section.image-size-column_width .col-image .wrapper {
	width: 100%;
}

.wpfox-text-image-section.image-size-column_width .col-image img {
	width: 100%;
	height: auto;
	max-height: none;
}


/* Text and Image Section - Image Size Fixed Height */

.wpfox-text-image-section.image-size-fixed_height {
	--fixed-height: calc(1rem * var(--image-fixed-height)/var(--base-size));
}

.wpfox-text-image-section.image-size-fixed_height .col-image .wrapper {
	height: var(--fixed-height);
	width: 100%;
}

.wpfox-text-image-section.image-size-fixed_height .col-image img {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	height: var(--fixed-height);
	max-height: none;
	max-width: none;
}

.wpfox-text-image-section.image-size-fixed_height.image-alignment-outside .col-image img,
.wpfox-text-image-section.image-size-fixed_height.image-alignment-inside .image-right .col-image img {
	left: var(--image-spacing-side);
	transform: none;
}

.wpfox-text-image-section.image-size-fixed_height.image-alignment-inside .col-image img,
.wpfox-text-image-section.image-size-fixed_height.image-alignment-outside .image-right .col-image img {
	left: auto;
	right: var(--image-spacing-side);
	transform: none;
}

@media (max-width: 959px) {
	/*
	.wpfox-text-image-section.image-size-fixed_height {
		--fixed-height: min(100vw,600px,calc(0.8px * var(--image-fixed-height)));
	}
	.wpfox-text-image-section.image-size-fixed_height.image-alignment-inside .col-image img, .wpfox-text-image-section.image-size-fixed_height.image-alignment-outside .image-right .col-image img {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
	.wpfox-text-image-section.image-size-fixed_height.image-alignment-inside .col-text {
		padding-top: 0;
	}
	*/
	.wpfox-text-image-section.image-size-fixed_height .col-image .wrapper {
		height: 0;
		padding-bottom: 100%;
	}
	.wpfox-text-image-section.image-size-fixed_height.image-alignment-inside .col-image img, 
	.wpfox-text-image-section.image-size-fixed_height.image-alignment-outside .image-right .col-image img {
		left: 50%;
		right: auto;
		top: 50%;
		transform: translate(-50%,-50%);
		height: 110%;
		width: auto;
	}
}


/* Text and Image Section - Image Size Relative to Section Height */

.wpfox-text-image-section.image-size-section_height {}

.wpfox-text-image-section.image-size-section_height .col-image .wrapper {
	height: 100%;
	width: 100%;
}

.wpfox-text-image-section.image-size-section_height .col-image img {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	height: 100%;
	max-height: none;
	max-width: none;
}

.wpfox-text-image-section.image-size-section_height.image-alignment-outside .col-image img,
.wpfox-text-image-section.image-size-section_height.image-alignment-inside .image-right .col-image img {
	left: var(--image-spacing-side);
	transform: none;
}

.wpfox-text-image-section.image-size-section_height.image-alignment-inside .col-image img,
.wpfox-text-image-section.image-size-section_height.image-alignment-outside .image-right .col-image img {
	left: auto;
	right: var(--image-spacing-side);
	transform: none;
}


@media (max-width: 959px) {
	.wpfox-text-image-section .row-text-image {
		flex-wrap: wrap;
	}
	.wpfox-text-image-section .row-text-image > div {
		min-width: 100%;
	}
	.wpfox-text-image-section.image-size-section_height .col-image .wrapper {
		height: 0;
		padding-bottom: 100%;
	}
	.wpfox-text-image-section .row-text-image.mobile-image-top > .col-text {
		order: 2;
	}
	.wpfox-text-image-section .row-text-image.mobile-image-bottom > .col-image {
		order: 2;
	}
}


/* Font Overrides */

.wpfox-text-image-section .col-text .has-xl-font-size {
	--font-size: 36;
	--min-font-size: 36px;
}

@media (max-width: 1439px) {
	.wpfox-text-image-section .col-text .has-xl-font-size {
		--font-size: 30;
		--min-font-size: 30px;
	}
}

@media (max-width: 1279px) {
	.wpfox-text-image-section .col-text .has-xl-font-size {
		--font-size: 24;
		--min-font-size: 24px;
	}
}


/* Page Header (uses Text and Image Section as starting point) */

.wpfox-page-header.wpfox-text-image-section {
	--section-spacing-default: max(40px, var(--spacing-90));
	--text-spacing-top-scalar: 1;
	--text-spacing-bottom-scalar: 1;
	--image-spacing-top-scalar: 0;
	--image-spacing-bottom-scalar: 0;
	--text-width: 53%;
}

.wpfox-page-header.wpfox-text-image-section > .wrapper {
	padding-top: var(--header-height);
	position: relative;
}

.editor-styles-wrapper .wpfox-page-header.wpfox-text-image-section > .wrapper {
	padding-top: 0;
}

.wpfox-page-header.wpfox-text-image-section .bgimage {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

.wpfox-page-header.wpfox-text-image-section .bgimage.full {
	overflow: hidden;
}

.wpfox-page-header.wpfox-text-image-section .bgimage img {
	display: block;
	position: absolute;
	width: auto;
	height: 100%;
	top: 0;
}

.wpfox-page-header.wpfox-text-image-section .bgimage.full img {
	width: max(360px,var(--wp--style--global--content-size));
	height: auto;
	top: 58%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 1.5s;
	transition-delay: 1.5s;
}

@media (max-width: 959px) {
	.wpfox-page-header.wpfox-text-image-section.image-position-bottom .col-image {
		padding-bottom: 0;
	}
}

@media (max-width: 767px) {
	.wpfox-page-header.wpfox-text-image-section .bgimage.full img {
		top: 48%;
	}
}

body.page-loaded .wpfox-page-header.wpfox-text-image-section .bgimage.full img {
	opacity: 0.2;
}

.wpfox-page-header.wpfox-text-image-section .bgimage.left img {
	left: 0;
}

.wpfox-page-header.wpfox-text-image-section .bgimage.right img {
	right: 0;
}

.wpfox-page-header .bgpattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

.wpfox-page-header .bgpattern.dots {
	background-image: url('../../assets/images/dot-pattern.png');
	background-position: left center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.5;
}

@media (max-width: 959px) {
	.wpfox-page-header .bgpattern.dots {
		background-image: url('../../assets/images/dot-pattern-mobile.png');
		background-position: center center;
	}
}

.wpfox-page-header.wpfox-text-image-section .col-text {
	padding-top: max(120px,calc(200rem / var(--base-size)));
	padding-bottom: max(160px,calc(240rem / var(--base-size)));
	z-index: 1;
}

.wpfox-text-image-section.wpfox-text-image-section.image-size-section_height .col-image img {
	height: 110%;
	top: -5%;
	left: -5%;
	transform: translateX(0%);
}

@media (max-width: 959px) {
	.wpfox-page-header.wpfox-text-image-section .col-text {
		padding-top: max(48px,calc(200rem / var(--base-size)));
		padding-bottom: calc(0rem / var(--base-size));
	}
	/*
	.wpfox-text-image-section.wpfox-text-image-section.image-size-section_height .col-image img {
		height: min(600px,100vw);
		margin-bottom: min(-42px,-7vw);
		left: 50%;
		transform: translateX(-50%);
	}
	*/
}


/* Simple Page Header */

.wpfox-page-header.layout-simple .bgpattern.dots {
	opacity: 0.4;
}

.wpfox-page-header.wpfox-text-image-section.layout-simple .col-text {
	padding-top: max(80px,calc(170rem / var(--base-size)));
	padding-bottom: max(80px,calc(180rem / var(--base-size)));
	text-align: center;
}

.wpfox-page-header.wpfox-text-image-section.layout-simple.has-background-image .col-text {
	padding-top: max(80px,calc(260rem / var(--base-size)));
	padding-bottom: max(80px,calc(310rem / var(--base-size)));
}



/* Destination / Facility Page */

.wpfox-page-header.layout-template > .wrapper {
	padding-bottom: var(--spacing-65);
}

@media (min-width: 960px) {
	.wpfox-page-header.wpfox-text-image-section.layout-template .col-text {
		padding-top: max(30px,calc(50rem / var(--base-size)));
		padding-bottom: max(40px,calc(60rem / var(--base-size)));
		min-height: 320px;
	}
}


.wpfox-page-header .meta {
	display: flex;
	gap: max(32px,var(--spacing-45));
}

.wpfox-page-header * + .meta {
	margin-top: max(30px,var(--spacing-45));
}

.wpfox-page-header .meta > div {
	font-weight: 700;
}

.wpfox-page-header .meta > div::before {
	font-family: 'icomoon' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\e92c";
	margin-right: 0.5em;
	font-size: 1.1em;
}

.wpfox-page-header .meta .facilities::before {
    content: "\e92b";
}

.wpfox-page-header .meta .sports::before {
    content: "\e92e";
}


.wpfox-page-header .slider {
	margin-top: var(--spacing-35);
}

.wpfox-page-header .slider img {
	--image-height: max(201px,calc(540rem / var(--base-size)));
	--image-width: calc(1024 / 681 * var(--image-height));
	position: relative !important;
	height: var(--image-height) !important;
	width: var(--image-width) !important;
	margin-left: calc(0.5 * max(16px,var(--spacing-60)));
	margin-right: calc(0.5 * max(16px,var(--spacing-60)));
	border-radius: 2px;
	box-shadow: 0 0 12px 0 #17376A26;
	object-fit: cover;
	object-position: center center;
}

.wpfox-page-header .slider .slide-image:not(.slick-slide) img {
	--image-height: max(201px,calc(520rem / var(--base-size)));
	margin: 0 0 var(--spacing-35);
	top: auto;
	left: auto;
}

.wpfox-page-header .slider > img:nth-child(n + 2) {
	display: none;
}

.wpfox-page-header .slider .slick-slide {
	opacity: 0.6;
	transition: opacity 1s;
	cursor: pointer;
}

.wpfox-page-header .slider .slick-current {
	opacity: 1;
	cursor: auto;
}

.wpfox-page-header .slider .slick-dots {
	position: relative;
	width: auto;
	bottom: auto;
	text-align: left;
	margin-top: var(--spacing-12);
	height: auto;
}

.wpfox-page-header .slider .slick-dots li {
	margin: 0;
}

.wpfox-page-header .slider .slick-dots li:first-child:last-child {
	display: none;
}

.wpfox-page-header .slider .slick-dots li button {
	box-shadow: none !important;
}

.wpfox-page-header .slider .slick-dots li button::before {
	color: #B4BFCA;
	opacity: 1;
	position: absolute;
	top: 50%;
	/* width: auto; */
	/* height: auto; */
	transform: translate(-50%,-50%);
	line-height: 1;
	vertical-align: middle;
	display: inline-block;
	content: "";
	background-color: currentColor;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	left: 50%;
}

.wpfox-page-header .slider .slick-dots li.slick-active button::before {
	opacity: 1;
	color: #fff;
	font-size: 8px;
}

@media (max-width: 959px) {
	.wpfox-text-image-section.image-size-section_height.layout-template .col-image .wrapper {
		height: auto;
		padding: 0;
	}
	.wpfox-text-image-section.image-size-section_height.layout-template .row-text-image {
		max-width: max(840px,calc(975rem / var(--base-size)));
	}
	.wpfox-text-image-section.image-size-section_height.layout-template .col-image {
		padding-top: calc(var(--image-spacing-top) * 0.5);
		padding-bottom: calc(var(--image-spacing-bottom) * 0.5);
	}
	.wpfox-page-header .slider img {
		--image-height: calc(681 / 1024 * var(--image-width));
		--image-width: calc(var(--wp--style--global--content-size) + max(16px,var(--spacing-60)));
	}
	.wpfox-page-header .slider .slide-image:not(.slick-slide) img {
		--image-height: calc(681 / 1024 * var(--image-width));
		--image-width: var(--wp--style--global--content-size);
	}
	.wpfox-page-header .slider {
		margin: 0;
		margin-right: calc(50% - 50vw);
	}
}

@media (max-width: 639px) {
	.wpfox-text-image-section.image-size-section_height.layout-template .col-image {
		padding-bottom: calc(var(--image-spacing-bottom) * 0);
	}
	.wpfox-page-header .slider img {
		--image-width: calc(var(--wp--style--global--content-size));
	}
}