﻿html {
	scroll-behavior: auto;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

html.lite-mode *,
html.lite-mode *::before,
html.lite-mode *::after {
	scroll-behavior: auto !important;
}

html.lite-mode body {
	overflow: auto !important;
}

html.lite-mode body.hidden,
html.lite-mode .hidden,
html.lite-mode #main,
html.lite-mode #main-page-content,
html.lite-mode #page-nav,
html.lite-mode .header-middle,
html.lite-mode #footer-container,
html.lite-mode .has-animation,
html.lite-mode .has-mask,
html.lite-mode .has-mask-fill,
html.lite-mode .has-opacity,
html.lite-mode .has-scale {
	opacity: 1 !important;
	visibility: visible !important;
}

html.lite-mode #magic-cursor,
html.lite-mode #ball,
html.lite-mode #ball-loader,
html.lite-mode #app,
html.lite-mode .preloader-wrap {
	display: none !important;
}

html.lite-mode #canvas-slider {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

html.lite-mode #canvas-slider .slider-img {
	display: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}

html.lite-mode #canvas-slider .slider-img:first-child {
	display: block !important;
}

html.lite-mode #canvas-slider img {
	display: block !important;
	height: 100% !important;
	object-fit: cover;
	opacity: 1 !important;
	visibility: visible !important;
	width: 100% !important;
}

html.lite-mode .parallax-wrap,
html.lite-mode .parallax-element,
html.lite-mode .item-parallax,
html.lite-mode .vertical-parallax,
html.lite-mode .hero-translate,
html.lite-mode .slide-moving,
html.lite-mode .slide-title,
html.lite-mode .has-animation,
html.lite-mode .has-mask,
html.lite-mode .has-mask-fill,
html.lite-mode .has-opacity,
html.lite-mode .has-scale {
	transform: none !important;
	transition-duration: .01ms !important;
	animation-duration: .01ms !important;
	will-change: auto !important;
}

img,
video {
	max-width: 100%;
}

body.disable-webgl #canvas-slider canvas {
	display: none !important;
}

body.disable-webgl #canvas-slider .slider-img:first-child {
	opacity: 1 !important;
	visibility: visible !important;
}

body.disable-webgl #canvas-slider .slider-img:first-child img {
	display: block !important;
}

.hero-bg-image,
.item-parallax,
.slide-moving,
.slide-title,
.parallax-element,
#hero-bg-image,
#canvas-slider,
#showcase-slider-holder,
#showcase-carousel-holder {
	backface-visibility: hidden;
	transform: translateZ(0);
}

.preloader-wrap {
	pointer-events: none;
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
	body.smooth-scroll {
		overflow: auto;
	}

	#ball,
	#ball-loader,
	.preloader-wrap,
	#app {
		display: none !important;
	}

	.parallax-wrap,
	.parallax-element,
	.item-parallax,
	.vertical-parallax,
	.hero-translate,
	.slide-moving,
	.slide-title {
		transform: none !important;
		will-change: auto !important;
	}

	.has-animation,
	.has-mask,
	.has-mask-fill,
	.has-opacity,
	.has-scale,
	.has-parallax,
	.pinned-section,
	.slowed-pin,
	.zoom-gallery {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}

.maps-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.maps-grid.single-map {
	grid-template-columns: 1fr;
}

.map-card {
	min-height: 420px;
	background: #111;
	overflow: hidden;
	position: relative;
}

.map-card iframe {
	border: 0;
	display: block;
	height: 100%;
	min-height: 420px;
	width: 100%;
}

.collarette-locations-map {
	height: 520px;
	min-height: 420px;
	width: 100%;
	z-index: 1;
}

.collarette-locations-map .leaflet-popup-content {
	font-family: Poppins, Arial, sans-serif;
	font-size: 13px;
}

.map-card-title {
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	left: 16px;
	letter-spacing: .02em;
	padding: 8px 12px;
	position: absolute;
	top: 16px;
	z-index: 2;
}

@media (max-width: 768px) {
	.maps-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.map-card,
	.map-card iframe,
	.collarette-locations-map {
		min-height: 340px;
	}
}
