/* Change flex-direction to column-reverse to move dropdown to bottom of map */
.thematic-map.js-loaded {
	opacity: 1 !important;
}

.thematic-map .stage {
	display: flex;
	flex-direction: column-reverse;
}

.thematic-map {
	--font-family-title: var(--font-display);
	--font-family-body: var(--font-body);
	--text-color-title: var(--gray-900);
	--text-color-body: var(--gray-900);

	--btn-bg-color: var(--sw-button-secondary-bg);
	--btn-bg-color-hover: var(--sw-button-secondary-bg-hover);
	--btn-text-color: var(--sw-button-secondary-color);
	--btn-text-color-hover: var(--sw-button-secondary-color-hover);
	width: 100%;
	margin: 0 auto var(--space-12);
	padding-top: var(--space-8);
	color: var(--text-color-body);
}

.thematic-map .desktop-map {
	display: none;
}

.thematic-map .glide__slide {
	height: fit-content;
	margin: 0 auto;
}

/***
	Map Stage
****/
.thematic-map .stage {
	position: relative;
	width: 100%;
}

.thematic-map.top-dropdown .stage {
	flex-direction: column;
}

/***
	Map SVG
****/
.thematic-map .map {
	position: relative;
	overflow: hidden;
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #FFF2D7;
}

.thematic-map .map svg {
	position: relative;
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
	transform: none;
	margin: 0px;
}

.thematic-map .map svg [data-map-beacon] {
	cursor: pointer;
}

.thematic-map .map svg [data-map-poi] {
	display: none;
	transition: display ease 0.6s;
}

.thematic-map .map svg #map-button {
	cursor: pointer;
}

.thematic-map .map [data-map-poi].active,
.thematic-map .map [data-map-poi].hover {
	display: block !important;
	opacity: 1 !important;
}

.thematic-map .map [data-map-poi]:hover {
	display: block !important;
	opacity: 1 !important;
}

@media (hover: hover) {
	.thematic-map a.view-all:hover {
		background-color: var(--btn-bg-color-hover);
		color: var(--btn-text-color-hover);
	}
}

/***
	Resolves opacity issue for last slide index
***/

.thematic-map .glide__slide--active .map-callout-tiles-3-across {
	transition: opacity 200ms ease-in;
	opacity: 1 !important;
}

/***
	Slider Layout 
***/

.thematic-map .regions [data-poi] {
	max-width: 100vw;
	margin-left: auto;
	margin-right: auto;
	background-color: var(--white);
}

.thematic-map .glide__slides {
	background: var(--deep-blue);
}

.thematic-map .regions .content-wrapper {
	border-top: 2px solid white;
}

.thematic-map .regions .content {
	background: var(--deep-blue);
	position: relative;
}

.thematic-map .regions .image {
	position: relative;
}


.thematic-map .regions .slide-bottom {
	padding: 20px 60px;
}

.thematic-map .regions h3 {
	font-size: var(--text-lg);
	font-weight: 600;
}

.thematic-map .regions a i {
	margin-left: var(--space-1);
	color: var(--yellow-f2);
}

.thematic-map .regions .read-more-button {
	color: var(--deep-blue);
	font-family: var(--font-body);
	letter-spacing: 0.5px;
	font-weight: 800;
	font-size: 13px;
	background-color: var(--white);
	padding: 8px 20px;
	border-radius: 30px;
}

.thematic-map .regions .read-more-button i {
	color: var(--green);
}

.thematic-map .regions .slide-bottom .title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	line-height: 26.4px;
	letter-spacing: -1px;
	color: var(--white);
}

.thematic-map .regions .slide-bottom .subtitle {
	font-family: var(--font-display-alt);
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: 1px;
	color: var(--light-blue);
	margin-bottom: var(--space-3);
}

.thematic-map .regions .slide-bottom .slide-description {
	line-height: 19px;
	padding: 20px 0;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 14px;
	letter-spacing: .5px;
	font-weight: 400;
}

/* Slider Arrows */
.thematic-map.slides .regions .glide__arrows {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0;
}

.thematic-map.slides .regions .glide__arrow {
	width: var(--space-10);
	height: var(--space-10);
	background-color: var(--pale-yellow);
	margin: unset;
	border: none;
	border-radius: 0;
	color: black;
}

.thematic-map.slides .regions .count-arrows .slide-info {
	color: var(--white);
	font-family: var(--font-display);
	text-transform: uppercase;
}

@media (min-width: 37.5em) {
	.thematic-map .regions .content::before {
		height: 80px;
	}
}

@media (min-width: 64em) {
	.thematic-map {
		position: relative;
		overflow: hidden;
		margin: 0 auto 120px;
	}

	.thematic-map .desktop-map {
		display: block;
		background-color: #FFF2D7;
	}

	.thematic-map .mobile-map {
		display: none;
	}

	.thematic-map-region-slider {
		min-height: 455px;
	}

	.thematic-map .regions .image {
		padding-bottom: unset;
	}

	.thematic-map .regions .content {
		position: relative;

	}

	.thematic-map .regions .slide-bottom .subtitle {
		display: block;
		font-size: 22px;
		font-weight: 700;
		margin-bottom: unset;
		line-height: 33px;
		letter-spacing: 1px;
	}

	.thematic-map .stage {
		height: fit-content;
		position: unset;
		display: grid;
		grid-template-columns: 1fr 2fr;
		max-width: 1440px;
		padding: 0 20px;
		margin: 0 auto;
	}

	.thematic-map.slides .regions {
		grid-column: 1 / span 1;
		grid-row: 2 / span 1;
		align-content: center;
		max-width: 100%;
		min-width: 375px;
		margin: 0;
		margin-top: 0;
		z-index: 10;
		position: relative;
		align-self: start;
		background-color: var(--deep-blue);
	}

	.thematic-map.slides .mobile-static {
		grid-column: 1 / span 1;
		grid-row: 1 / span 1;
		z-index: 6;
		align-self: start;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.thematic-map .regions .slide-bottom {
		padding: 20px 80px;
	}

	.thematic-map.slides .map {
		overflow: hidden;
		grid-column: 1 / span 2;
		grid-row: 1 / span 2;
		z-index: 5;
		background-color: unset;
		background-color: #FFF2D7;
	}

	.thematic-map.slides .map svg {
		width: auto;
		height: auto;
		margin: 0px;
	}

	.thematic-map .regions .slide-bottom .title {
		font-size: 32px;
		font-weight: 700;
		line-height: 35px;
	}

	.thematic-map .regions .slide-bottom .slide-description {
		font-size: 16px;
		line-height: 29px;
	}

	.thematic-map .regions .read-more-button {
		letter-spacing: unset;
	}

	.thematic-map.slides .regions .glide__arrow {
		width: 50px;
		height: 50px;
		margin: unset;
	}
}