/********************************/
/* COMMON ELEMENTS
/********************************/


/* Loaders */ 
.loader {
	position: absolute;
	z-index: -999;
	inset: 0;
	background: #fff;
	opacity: 0;
	-webkit-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
			transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
}
.loader.on {
	z-index: 999;
	opacity: 1;
	-webkit-transition: opacity 0.4s ease 0s, z-index 0s ease 0s;
			transition: opacity 0.4s ease 0s, z-index 0s ease 0s;
}
.loader.one {
	z-index: 9999;
}
.loader:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 96px;
	height: 96px;
	margin: -48px 0 0 -48px;
	background: var(--primary-color);
	opacity: 0;
	-webkit-transition: opacity 0.4s ease 0s;
			transition: opacity 0.4s ease 0s;
}
.loader.on:after {
	opacity: 1;
	-webkit-transition: opacity 0.4s ease 0.8s;
			transition: opacity 0.4s ease 0.8s;
}
.loader.loading:after {
	-webkit-animation: loader-animation 5.0s infinite ease-in-out;
			animation: loader-animation 5.0s infinite ease-in-out;
}
@-webkit-keyframes loader-animation {
	  0% { -webkit-transform: perspective(200px); }
	 25% { -webkit-transform: perspective(200px) rotateY(360deg); }
	 35% { -webkit-transform: perspective(200px) rotateY(360deg); }
	 60% { -webkit-transform: perspective(200px) rotateY(720deg); }
	100% { -webkit-transform: perspective(200px) rotateY(720deg); }
}
@keyframes loader-animation {
	  0% { transform: perspective(200px); }
	 25% { transform: perspective(200px) rotateY(360deg); }
	 35% { transform: perspective(200px) rotateY(360deg); }
	 60% { transform: perspective(200px) rotateY(720deg); }
	100% { transform: perspective(200px) rotateY(720deg); }
}
#site-loader {
	position: fixed;
}
/***/



/* Faders */
.fader { 
}
.fader-items {
	position: relative;
	height: 100%;
}
.fader-items > div {
	position: absolute;
	inset: 0;
	opacity: 0;
	-webkit-transition:	opacity 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s; 
			transition:	opacity 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s;
}
.fader-items > div.current {
	position: relative;
	z-index: 3;
	height: 100%;
	opacity: 1;
	-webkit-transition:	opacity 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s; 
			transition:	opacity 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
}
/***/



/* Swipers */
.swiper-container {
}
.swiper-button-prev, 
.swiper-button-next {
}

.swiper-button-prev.fancy, 
.swiper-button-next.fancy {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	box-shadow: 8px 8px 16px -8px rgba(0,0,0,0.5);
	background: var(--primary-color) 50% 50% no-repeat;
	background-size: contain;
	color: var(--secondary-color);
}
.swiper-button-prev.fancy {
	background-image: url(../img/fancy-arrow-right.svg);
}
.swiper-button-next.fancy {
	background-image: url(../img/fancy-arrow-left.svg);
}
.swiper-button-prev.fancy:after, 
.swiper-button-next.fancy:after {
	content: none;
}

@media (min-width : 1200px) {
	.swiper-button-prev.fancy, 
	.swiper-button-next.fancy {
		width: 6rem;
		height: 6rem;
	}
}

@media (min-width : 1600px) {
	.swiper-button-prev.fancy, 
	.swiper-button-next.fancy {
		width: 8rem;
		height: 8rem;
	}
}
/***/



/* Lightbox */
.lightbox {
	position: fixed;
	z-index: -999;
	inset: 0;
	padding: 50px 10px;
	opacity: 0;
	background: rgba(0,0,0,0.95);
	color: var(--white-color);
	-webkit-transition: z-index 0s ease 0.5s, opacity 0.35s ease;
			transition: z-index 0s ease 0.5s, opacity 0.35s ease;	
}
.lightbox.open {
	z-index: 999;
	opacity: 1;
	-webkit-transition: z-index 0s ease, opacity 0.5s ease;
			transition: z-index 0s ease, opacity 0.5s ease;	
}
.lightbox .spinner {
	background-color: #ccc;
}
.lightbox-content {
	position: relative;
	width: 100%;
	height: 100%;
}
.close-lightbox {
	position: absolute;
	z-index: 99;
	top: 5px;
	right: 5px;
	width: 48px;
	height: 48px;
	padding: 7px;
	cursor: pointer;
}
.close-lightbox::before,
.close-lightbox::after {
	content: '';
	display: block;
	position: absolute;
	top: 22px;
	width: 34px;
	height: 3px;
	background-color: currentColor;
	opacity: 0;
}
.lightbox.open .close-lightbox::before,
.lightbox.open .close-lightbox::after {
	opacity: 1;
	-webkit-transition: all 0.4s ease 1.2s;
			transition: all 0.4s ease 1.2s;
}
.lightbox.open .close-lightbox::before {
	transform: rotateZ(45deg);
}
.lightbox.open .close-lightbox::after {
	transform: rotateZ(-45deg);
}

.text-lightbox .lightbox-content {
	background: var(--white-color);
	color: var(--text-color);	
}
.text-lightbox > .lightbox-content {
	padding: 60px 10px;
	overflow: auto;
}

.gallery-lightbox {
	text-align: center;
}
.gallery-lightbox .swiper-pagination {
	/*display: none;*/
}

.lightbox-content .swiper-container {
	height: 100%;
	overflow: clip; 
}
.lightbox-content .swiper-slide {
}
.lightbox-content .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.lightbox .swiper-button-prev, 
.lightbox .swiper-button-next {
	color: #fff;
	opacity: 0;
	-webkit-transition: all 0.4s ease 1s;
			transition: all 0.4s ease 1s;
}
.lightbox .swiper-button-prev {
	-webkit-transform: translateX(25px);
			transform: translateX(25px);
} 
.lightbox .swiper-button-next {
	-webkit-transform: translateX(-25px);
			transform: translateX(-25px);
}
.lightbox.open .swiper-button-prev, 
.lightbox.open .swiper-button-next {
	opacity: 1;
	-webkit-transform: none;
			transform: none;	
}
.lightbox .swiper-slide-active .swiper-slide-caption {
	-webkit-transform: translateY(100%);
			transform: translateY(100%);
}
.lightbox.open .swiper-slide-active .swiper-slide-caption {
	-webkit-transform: none;
			transform: none;	
}

.lightbox-content .google-map {
	height: 100%;
}

@media (min-width : 1200px) {
	.lightbox {
		padding: 75px;
	}
	.close-lightbox {
		top: 20px;
		right: 25px;
	}
}
/***/



/* Lists */
/***/



/* Video players */
.video-container {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	box-shadow: 0 2px 4px -2px rgba(0,0,0,0.5);
	background: #000;
}
.video-player {
	position: absolute;
	inset: 0;
}
/***/



/* Google maps */
.google-map {
}
.google-map.small-map 		{ height: clamp(240px, 32vh, 100vh); }
.google-map.medium-map 		{ height: clamp(360px, 48vh, 100vh); }
.google-map.large-map 		{ height: clamp(480px, 64vh, 100vh); }
.google-map.fullscreen-map 	{ height: 100%; }

.google-map > .map-canvas {
	width: 100%;
	height: 100%;
	background: #DDD;
	border: 1px solid #CCC;
}

.google-map > .map-marker,
.google-map > .map-pin,
.google-map > .map-infobox {
	display: none;
}

.map-popup-anchor {
	position: absolute; 
	width: 0;
	height: 0;
}
.map-popup-wrapper {
	position: absolute;
	width: max-content;
	min-width: 16rem;
	bottom: 15px;
	left: 0;
	border-radius: 4px;
	background: var(--fancy-color);
	color: var(--white-color);
	filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
	transform: translate3d(-50%,-100px,0);
	opacity: 0;
	-webkit-transition: all 0.6s ease;
			transition: all 0.6s ease;
}
.map-loaded .map-popup-wrapper {
	transform: translate3d(-50%,0,0);
	opacity: 1;
}
.map-popup-wrapper::after {
	content: "";
	position: absolute;
	bottom: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-top: 16px solid var(--fancy-color);
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 0;
}
.map-popup-content {
	padding: 1.5em 1.5em 1em 1.5em;
	font-family: 'Heebo', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.3333em;
	text-align: center;
}
/*
.map-popup-bubble-anchor {
	position: absolute;
	width: 100%;
	bottom: 12px;
	left: 0;
	transform: translate3d(0,-100px,0);
	opacity: 0;
}
.map-loaded .map-popup-bubble-anchor {
	transform: translate3d(0,0,0);
	opacity: 1;
	-webkit-transition: all 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
			transition: all 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
}
.map-popup-bubble-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: translate(-50%,-100%);
	background-color: var(--dark-color);
	color: #fff;
	padding: 1em;
	overflow-y: auto;
	box-shadow: 0px 2px 6px 1px rgba(0,0,0,0.3);
	font-size: 1.1667rem;
}
.map-popup-bubble-content h3,
.map-popup-bubble-content h4 {
	margin: 0.25em 0;
}
.map-popup-bubble-content p {
	margin-bottom: 0.75em;
}
.map-popup-bubble-content p:last-child {
	font-size: 0.857142em;
}
.map-popup-bubble-content a {
	color: inherit;
	white-space: nowrap;
}
.map-popup-bubble-content a.open-google-map {
	display: inline-block;
	width: 30px;
	height: 40px;
	background: url('../img/map-pin.png') 50% 50% no-repeat;
}
*/
.google-maps-link {
	margin-top: 1em;
	border-top: 1px solid;
	padding-top: 1em;
	text-align: center;
}
.google-maps-link a {
	color: inherit;
}
/***/



/* Forms */
.form-container {
	position: relative;
}
.form-container form {
	text-align: initial;
}
.form-container > form.off {
	opacity: 0;
	-webkit-transition: opacity 0.4s ease;
			transition: opacity 0.4s ease;	
}
.form-row {
	margin: 0 -10px;
}
.form-col {
	padding: 10px;
}
.form-field {
	position: relative;
}
.subscribe-field {
	display: flex;
	align-items: baseline;
	gap: 0.25em;
}
.submit-field {
	text-align: left;
}
input, 
textarea {
	outline: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: initial;
	text-align-last: initial;
}
input[type=text], 
input[type=email], 
input[type=password], 
textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	border: 0;
	padding: 0;
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
}
textarea {
	height: 1.5em;
}
input[type=checkbox] {
	appearance: none;
	border: 1px solid;
	padding: 0.125em;
	vertical-align: middle;
	width: 1.2em;
	height: 1.2em;
}
input[type=checkbox]:before {
	content: "\00a0";
	display: block;
	height: 100%;
	font-size: 0.75em;
	font-weight: bold;
	text-align: center;
	will-change: transform;
	-webkit-transform: scale(0);
			transform: scale(0);
	-webkit-transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
			transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
input[type=checkbox]:checked:before {
	content: "\2713";
	-webkit-transform: none;
			transform: none;
}
input[type=checkbox] + label {
	vertical-align: middle;
	cursor: pointer;
}
.subscribe-field input[type=checkbox] {
	flex: 0 0 auto;
}


::-webkit-input-placeholder { font-weight: 300; color: var(--text-color); opacity: 0.7; }
:-moz-placeholder 			{ font-weight: 300; color: var(--text-color); opacity: 0.7; }
::-moz-placeholder 			{ font-weight: 300; color: var(--text-color); opacity: 0.7; }
:-ms-input-placeholder 		{ font-weight: 300; color: var(--text-color); opacity: 0.7; }

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	-webkit-box-shadow: -4px 4px 8px -6px rgba(0,0,0,0.7);
	   -moz-box-shadow: -4px 4px 8px -6px rgba(0,0,0,0.7);
			box-shadow: -4px 4px 8px -6px rgba(0,0,0,0.7);
}
input[type=submit] {
	border: 0;
	padding: 0.5em 1.5em;
	background: transparent;
	text-align: center;
	cursor: pointer;
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
}
input[type=submit]:hover {
}

.form-field > .error-box {
	display: block;
	position: absolute;
	z-index: -1;
	top: 100%;
	right: 1em;
	margin-top: 0.25em;
	border-radius: 4px;
	padding: 0.5em 1em;
	white-space: nowrap;
	background: var(--error-color);
	color: #fff;
	font-size: 0.8333em;
	opacity: 0;
	-webkit-transform: translateY(1em);
			transform: translateY(1em);
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
	-webkit-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
			box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
}
.form-field > .error-box:after {
	content: "";
	display: block;
	position: absolute;
	top: -5px;
	right: 1em;
	width: 0px;
	height: 0px;
	border-top: 0px;
	border-right: 5px solid transparent;
	border-bottom: 5px solid var(--error-color);
	border-left: 5px solid transparent;
}
.form-field.invalid-field > .error-box {
	z-index: 9;
	opacity: 1;
	-webkit-transform: none;
			transform: none;
}

.form-return {
	position: absolute;
	z-index: -9;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	opacity: 0;
	-webkit-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
			transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;	
}
.form-return.on {
	z-index: 9;
	opacity: 1;
	-webkit-transition: opacity 0.4s ease 0.4s;
			transition: opacity 0.4s ease 0.4s;
}
.form-success, 
.form-failure {
	display: none;
}
.form-success.on, 
.form-failure.on {
	display: block;
}
.form-return p {
	margin-bottom: 0;
}

@media (min-width : 1200px) {
	.form-row {
		display: flex;
		flex-wrap: wrap;
	}
	.form-col {
		flex-grow: 1;
	}
	.form-col-3 {
		width: 25%;
	}
	.form-col-6 {
		width: 50%;
	}
	.form-col-9 {
		width: 75%;
	}
	.form-col-12 {
		width: 100%;
	}
}
/***/


