.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(--primary-color-100);
	--btn-bg-color-hover: var(--primary-color-200);
	--btn-text-color: var(--primary-color-700);

	width: 100%;
	max-width: var(--width-feature);
	margin: 0 auto var(--space-12);
	padding-top: var(--space-8);
	color: var(--text-color-body);
}

.thematic-map h2 {
	margin: 0 var(--space-3) var(--space-2);
	color: var(--sw-key-color);
	font-family: var(--font-display);
	font-size: var(--text-3xl);
	font-weight: 400;
}

/***
	Map Stage
****/
.thematic-map .stage {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.thematic-map .stage .map {
	background-image: url('/includes/public/assets/shared/map-texture.png');
	background-size: contain;
}

/***
	Map List
****/
.thematic-map .stage .list.mobile {
	display: unset;
}

.thematic-map .stage .list.desktop {
	display: none;
}

.thematic-map .list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	flex: 0 1 auto;
	padding: var(--space-5) 0;
	grid-column: 2 / span 2;
	grid-row: 1 / span 1;
	justify-self: end;
}

.thematic-map .list.mobile {
	padding: 0;
}

.thematic-map .list.mobile ul {
	box-shadow: 0px 3px 8px 0px rgb(0, 0, 0, .4);
	position: relative;
}

.thematic-map .list ul {
	height: auto;
	min-width: 315px;
	overflow-y: auto;
	margin: 0;
	overflow: hidden;
}

.thematic-map .list li {
	position: relative;
	margin-bottom: 0;
}

.thematic-map .list.mobile li button {
	margin-bottom: 0;
	pointer-events: none;
	padding-top: 13px;
	padding-bottom: 10px;
	padding-left: 2rem;
	padding-right: 2rem;
} 

.thematic-map .list.mobile li button img {
	pointer-events: all;
}

.thematic-map .list.mobile li button span {
	text-align: center;
}

.thematic-map .list .next {
	margin-left: 10px;
}

.thematic-map .list .previous {
	transform: rotateY(180deg);
	margin-right: 10px;
}

.thematic-map .list.mobile li {
	display: none;
}

.thematic-map .list.mobile.active li.default {
	display: none;
}

.thematic-map .list.mobile li.default {
	display: unset;
}

.thematic-map .list.mobile.active li.active {
	display: unset;
}

.thematic-map .list li .poi-toggle {
	font-family: var(--font-family-title);
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	text-align: left;
	background-color: var(--green-a2);
	color: var(--white);
	width: 100%; 
	display: flex;
	justify-content: space-between;
}

/***
	Map Regions
****/
.thematic-map .slide.region {
	grid-column: 4 / span 1;
	grid-row: 1 / span 1;
	background-color: var(--sw-key-color);
}

.thematic-map .color-block {
	grid-column: 3 / span 2;
	grid-row: 1 / span 1;
	background-color: var(--sw-key-color);
}

.thematic-map .close-button {
	display: none;
}

/***
	Map SVG
****/
.thematic-map .map {
	position: relative;
	overflow: hidden;
	width: 100%;
	grid-column: 1 / span 2;
	grid-row: 1 / span 1;
}

.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 .flag {
	display: none;
	transition: display ease 0.6s;
}

.thematic-map .map .flag.active,
.thematic-map .map .flag.hover {
	display: block;
}
.thematic-map .map .flag:hover {
	display: block;
}

.thematic-map svg .cls-24.active,
.thematic-map svg .cls-24.hover {
	opacity: 1;
}

/* Region Slides */
.thematic-map .slide.region .default {
	height: 100%;
	opacity: 1;
	padding: 15px 30px 20px 30px;
}

.thematic-map .slide.region.active .default {
	height: 0;
	opacity: 0;
	padding: 0;
}

.thematic-map .content {
	margin-bottom: 50px;
	margin-right: 20px;
}

.thematic-map .slide.region .default-title {
	font-family: var(--font-display);
	color: var(--white);
	line-height: 28px;
	font-size: 24px;
	margin-bottom: 1rem;
}

.thematic-map .slide.region .default .description {
	font-family: var(--font-body-mod);
	color: var(--white);
	font-weight: 300;
	margin-bottom: 15px;
	margin-right: 14px;
	font-size: 16px;
	line-height: 16.7px;
	letter-spacing: .2px;
}

.thematic-map .slide.region .default svg {
	display: block;
	width: 60%;
	margin: 0 auto;
	transform: translateX(0);
	max-height: 270px;
}

.thematic-map .slide.region.active .default-title,
.thematic-map .slide.region.active .default .description,
.thematic-map .slide.region.active .default svg {
	height: 0;
}

.thematic-map .slide.region .selected {
	height: 0;
	opacity: 0;
}

.thematic-map .slide.region.active .selected {
	height: unset;
	opacity: 1;
	padding: 15px 30px 20px 22px;
}

.thematic-map [data-poi-content] {
	opacity: 0;
	height: 0;
	position: relative;
	pointer-events: none;
}

.thematic-map [data-poi-content].active {
	opacity: 1;
	height: unset;
	pointer-events: all;
}

.thematic-map .headline {
	font-family: var(--font-display);
	text-transform: uppercase;
	margin: 0 0 16px 0;
	color: var(--white);
	max-width: 80%;
	font-size: 24px;
	line-height: var(--leading-tight);
}

.thematic-map .slide-description {
	font-family: var(--font-body);
	color: var(--white);
	font-size: 15px;
	line-height: 16.5px;
	margin-bottom: 20px;
}

.thematic-map .read-more-button {
	font-family: var(--font-body-mod);
	background-color: var(--white);
	color: var(--gray-54);
	font-size: 12px;
	line-height: 14px;
	font-weight: 700;
	border: 2px solid var(--green-a2);
	padding: 6px 16px 6px 12px;
}

/* Desktop Sizes */
@media (min-width: 64em) {
	.thematic-map h2 {
		margin: 0;
		margin-bottom: var(--space-5);
		font-size: var(--text-6xl);
		font-weight: 400;
	}

	.thematic-map .list li .poi-toggle span,
	.thematic-map .list li .poi-toggle svg {
		top: 50%;
		left: 0;
		transform: translateY( -50%);
		position: absolute;
	}

	.thematic-map .list li .poi-toggle span {
		color: var(--white);
	}

	.thematic-map .list li .poi-toggle span {
		width: 100%;
		text-align: center;
		z-index: 5;
	}

	/***
		Map Stage
	****/	
	.thematic-map .stage {
		display: grid;
		grid-template-columns: 5fr 1.5fr 1fr 410px;
		height: 800px;
	}

	.thematic-map .stage .list.mobile {
		display: none;
	}

	.thematic-map .stage .list.desktop {
		display: unset;
	}
	
	/***
		Map SVG
	****/
	.thematic-map .map svg {
		position: absolute;
		width: auto;
		margin: 0px;
		top: 50%;
    transform: translateY(-50%)
	}
	
	.thematic-map .list li .poi-toggle.hover svg,
	.thematic-map .list li .poi-toggle.active svg,
	.thematic-map .list li .poi-toggle:hover svg,
	.thematic-map .list li .poi-toggle:active svg {
		fill: var(--red-a4);
	}
	
	/* Map List */
	.thematic-map .list {
		align-items: flex-start;
		padding: 40px 0;
	}

	.thematic-map .list li .poi-toggle svg {
		fill: var(--green-a2);
		transition: fill 500ms ease-in-out;
		pointer-events: none;
	}

	.thematic-map .list li .poi-toggle {
		font-size: var(--text-xl);
		line-height: var(--leading-none);
		background-color: transparent;
		flex: 1 1 auto;
		padding: 27px 0;
		margin: -1px 0;
		transition: transform 400ms ease-in-out;
		display: inline-block;
	}

	/***
		Map Regions
	****/
	.thematic-map .close-button {
		display: block;
	}

	.thematic-map .slide.region .default svg {
		width: 100%;
		transform: translateX(-50px);
		max-height: unset;
	}

	.thematic-map .slide.region.active .selected {
		padding: 0;
	}

	.thematic-map .headline {
		margin: 0;
		margin-bottom: 16px;
		font-size: 30px;
		font-family: var(--font-display);
	}

	.thematic-map .slide-description {
		font-size: 20px;
		font-weight: 300;
		line-height: 22px;
	}

	.thematic-map .slide.region .default-title {
		line-height: 34px;
		font-size: 32px;
		margin-bottom: 1rem;
	}
		
	.thematic-map .slide.region .default {
		height: 100%;
		opacity: 1;
		padding: 40px 40px 20px 25px;
	}

	.thematic-map .slide.region .default .description {
		font-size: 24px;
		line-height: 26px;
		margin-bottom: 40px;
	}

	.thematic-map .read-more-button {
		font-size: 20px;
		line-height: 24px;
		font-weight: 600;
		padding: 8px 16px;
	}

	.thematic-map .content {
		min-height: 340px;
		padding: 40px 40px 25px 18px;
		margin: 0;
		transform: translateX(50px);
		opacity: 0;
		transition: transform 500ms ease-in-out, opacity 500ms ease-in-out;
	}

	.thematic-map [data-poi-content].active .content {
		transform: translateX(0);
		opacity: 1;
	}

	.thematic-map .close-button {
		position: absolute;
		top: 45px;
		right: 30px;
		z-index: 10;
		pointer-events: none;
		cursor: pointer;
	}

	.thematic-map [data-poi-content].active .close-button {
		pointer-events: all;
	}

	.thematic-map .list li .poi-toggle.hover,
	.thematic-map .list li .poi-toggle.active,
	.thematic-map .list li .poi-toggle:hover,
	.thematic-map .list li .poi-toggle:active {
		transform: translateX(-10px);
	}
}

@media (min-width: 75em) {
	.thematic-map .stage {
		display: grid;
		grid-template-columns: 5fr 1.5fr 1fr 410px;
		height: 800px;
	}
	
	.thematic-map .map svg {
		position: absolute;
		width: auto;
		margin: 0px;
		top: 50%;
    transform: translateY(-50%)
	}
	
	/* Map List */
	.thematic-map .list {
		align-items: flex-start;
	}

	.thematic-map .stage .list.mobile {
		display: none;
	}

	.thematic-map .stage .list.desktop {
		display: unset;
	}

	.thematic-map .list li .poi-toggle svg {
		fill: var(--green-a2);
		transition: fill 500ms ease-in-out;
		pointer-events: none;
	}
	
	.thematic-map .list li .poi-toggle.hover svg,
	.thematic-map .list li .poi-toggle.active svg,
	.thematic-map .list li .poi-toggle:hover svg,
	.thematic-map .list li .poi-toggle:active svg {
		fill: var(--red-a4);
	}

	.thematic-map .list li .poi-toggle {
		background-color: transparent;
		flex: 1 1 auto;
		padding: 27px 0;
		margin: -1px 0;
		transition: transform 400ms ease-in-out;
	}
}