/* Change flex-direction to column-reverse to move dropdown to bottom of map */
.thematic-map .stage {
	display: flex;
	flex-direction: column;
}

.thematic-map {
	position: relative;
	width: 100%;
	/* color: var(--text-color-body); */
	overflow: hidden;
}

.core-hero-slideshow {
	margin-bottom: 0 !important;
}

/***
	Map Stage
****/
.thematic-map .stage {
	position: relative;
	width: 100%;
}

.thematic-map .background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('/includes/public/assets/shared/downtown-denver-photo.jpg');
	background-size: cover;
	box-shadow: inset 0 0 0 1000px rgba(0,0,0,.65);
}

.thematic-map.top-dropdown .stage {
	flex-direction: column;
}



/***
	Map SVG
****/
.thematic-map .map {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 50px;
}

.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],
.thematic-map .map svg [data-map-poi] {
	cursor: pointer;
}

[data-map-poi].active > [data-active-poi],
[data-map-poi].hover > [data-active-poi] {
	opacity: 1;
	stroke: white;
}

.thematic-map .more-neighborhoods {
	position: absolute;
	left: 20px;
	bottom: 10px;
	color: var(--white);
	z-index: 9;
}

.thematic-map .more-neighborhoods .title {
	color: var(--white);
	font-family: var(--sofia);
	font-size: 16px;
	font-style: normal;
	font-weight: 800;
	line-height: normal;
}

.thematic-map .more-neighborhoods .neighborhood a {
	color: var(--white);
	font-family: var(--georgia);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-right: 15px;
}

.thematic-map .regions {
	position: relative;
	margin-top: 40px;
	border-top: 2px solid #686868;
	background-image: url('/includes/public/assets/shared/downtown-denver-photo.jpg');
	background-size: cover;
	box-shadow: inset 0 0 0 1000px rgba(0,0,0,.65);
	z-index: 9;
	transition: margin 200ms ease-in;
}

.thematic-map .regions.open {
	margin-top: 20px !important;
}

.thematic-map .regions .map-button {
	width: fit-content;
	padding: 6px 12px;
	align-items: center;
	gap: 10px;
	border-radius: 4px;
	border: 1px solid #686868;
	background: #3A382C;
	cursor: pointer;
	text-transform: uppercase;
	color: var(--white);
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
	font-family: var(--sofia);
	display: flex;
	justify-content: center;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: -18px;
	z-index: 9;
}

.thematic-map .regions .map-button .open {
	display: block;
}

.thematic-map .regions .map-button .close {
	display: none;
}

.thematic-map .regions.open .map-button .open {
	display: none;
}

.thematic-map .regions.open .map-button .close {
	display: block;
}

.thematic-map .regions [data-poi] {
	margin-bottom: var(--space-6);
	max-width: 100vw;
	padding: var(--space-12) var(--space-5);
	margin-left: auto;
	margin-right: auto;
	background-color: transparent;
	padding-bottom: 75px;
}

.thematic-map .regions .button [data-poi] {
	margin-bottom: 0;
	padding-bottom: 30px;
}

.thematic-map .regions .image {
	position: relative;
}

.thematic-map .regions .image .airport {
	position: absolute;
	right: 0;
	bottom: 0;
	background: var(--white);
	border-radius: 7.108px 0px 0px 0px;
	padding: 13px 20px 18px 20px;
}

.thematic-map .regions .image .airport .distance {
	color: #000;
	font-family: var(--georgia);
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
}

.thematic-map .regions .image .airport .time {
	color: #000;
	font-family: var(--sofia);
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	text-align: center;
}

.thematic-map .regions .image img {
	width: 100%;
}

.thematic-map .regions .slide-bottom {
	color: var(--white);
	margin-top: var(--space-2);
}

.thematic-map .regions h3 {
	font-family: var(--georgia);
	font-size: 35px;
	font-style: normal;
	font-weight: 400;
	line-height: 44px;
	margin-bottom: 15px;
}

.thematic-map .regions .slide-description {
	font-family: var(--sofia);
	font-size: 17px;
	font-weight: 400;
	line-height: 150%; /* 25.5px */
}

.thematic-map .regions .read-more-button {
	position: absolute;
	bottom: 30px;	
}

.thematic-map .regions a i {
	margin-left: var(--space-1);
}

.thematic-map.slides .regions .glide__arrows {
	position: absolute;
	display: flex;
	z-index: 1;
	bottom: 30px;
	right: 20px;
}

.thematic-map.slides .regions .glide__arrows .glide__arrow {
	background: transparent;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	position: relative;
	display: flex !important;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	transform: initial;
	margin-right: 10px;
	justify-content: center;
	border: 1px solid white;
}

.thematic-map.slides .regions .glide__arrows .glide__arrow img {
	height: auto;
	margin-top: auto;
	margin-bottom: auto;
	width: 23px;
}

.thematic-map.slides .regions .glide__arrows .glide__arrow--left img {
	transform: scaleX(-1);
}

.thematic-map.slides .regions .glide__arrows .counter {
	height: 40px;
	margin-right: 10px;
	text-align: center;
	line-height: 40px;
	color: var(--white);
	padding: 0 10px;
}

@media (max-width: 350px) {
	.thematic-map.slides .regions .glide__arrows {
		margin-right: -10px;
	}
	
	.thematic-map.slides .regions .glide__arrows .glide__arrow {
		height: 35px;
		width: 35px;
	}

	.thematic-map.slides .regions .glide__arrows .counter {
		line-height: 35px;
		padding: 0;
	}
}

@media (min-width: 50em) {
	.thematic-map.slides .header {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	
	.thematic-map.slides a.view-all {
		align-self: center;
	}
}

@media (min-width: 40em) and (max-width: 64em) {
	.thematic-map .regions [data-poi] {
		max-width: 700px;
	}
}

@media (min-width:700px) and (max-width: 64em) {
	.thematic-map.slides .regions .glide__arrows {
		right: calc((100vw - 700px) / 2)
	}
}

@media (min-width: 64em) {
	.thematic-map .regions {
		border: none;
		box-shadow: none;
		background-image: none;
	}
	
	.thematic-map .regions h3 {
		font-size: 45.55px;
	}

	.thematic-map .regions .slide-description {
		font-size: 18px;
		line-height: 134.5%;
	}

	.thematic-map .map {
		padding-bottom: 40px;
	}

	.thematic-map .more-neighborhoods {
		max-width: 225px;
		bottom: 40px;
		left: 40px;
	}

	.thematic-map .more-neighborhoods .title {
		font-size: 20px;
		margin-bottom: 5px;
	}

	.thematic-map .more-neighborhoods .neighborhood a {
		font-size: 16px;
	}

	.thematic-map .stage {
		position: relative;
		display: flex;
		flex-direction: row;
		flex-flow: row-reverse;
		max-width: 100vw;
	}

	.thematic-map.slides .regions {
		position: relative;
		display: flex;
		flex-direction: column;
		width: 50%;
		margin: 40px 0 20px 48px;
	}

	.thematic-map .regions .image .airport .distance {
		font-size: 20px;
	}

	.thematic-map .regions .image .airport .time {
		font-size: 16px;
	}

	.thematic-map .regions .map-button {
		display: none;
	}

	.thematic-map .regions .slide-bottom {
		margin-top: 35px;
	}

	.thematic-map .regions [data-poi] {
		margin: 0;
		padding: 0;
	}

	.thematic-map .regions .read-more-button {
		position: relative;
		bottom: auto;
		margin-top: 30px;
	}

	.thematic-map.slides .regions .glide__arrows {
		right: 0;
	}

	.thematic-map.slides .regions .glide__arrows .glide__arrow:last-of-type {
		margin-right: 0;
	}

	.thematic-map.slides .map {
		display: flex;
		width: 50%;
	}

	.thematic-map.slides .map svg {
		width: auto;
		height: 100%;
		margin: 0px;
	}
}

@media (min-width: 1350px) {
	.thematic-map .more-neighborhoods {
		max-width: 225px;
		bottom: 40px;
		left: 100px;
	}

	.thematic-map .more-neighborhoods .title {
		margin-bottom: 10px;
	}

	.thematic-map .more-neighborhoods .neighborhood a {
		font-size: 16px;
	}
}