/* ----- */
/* A AND B PARTNER MAP */
/* ----- */
#a-and-b-map {
	position: relative;
	height: 600px;
	width: 100%;
	
	--short-transition: .2s;
	--long-transition: .5s;
	--item-border-radius: 20px;
	--container-border-radius: 28px;
}
#a-and-b-map .map-sidebar {
	position: absolute;
	top: 2px;
	right: 2px;
	height: calc(100% - 4px);
	width: 400px;
	border-radius: 0 26px 26px 0;
	/*
	box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
	backdrop-filter: blur(20px);
	background: linear-gradient(to bottom right, #242a35aa, #233145aa);*/
	background: linear-gradient(to bottom, #fff9, #fff0, #fff0, #fff0);
	z-index: 1;
	overflow: hidden;
}
@supports not (backdrop-filter: blur()) {
    #a-and-b-map .map-sidebar {
			background: linear-gradient(to bottom, #fffd, #fff0, #fff0, #fff0);
    }
}

#a-and-b-map .map-sidebar-overlay {
	position: absolute;
	height: 100%;
	width: 400px;
	backdrop-filter: blur(20px);
	border-radius: 0 26px 26px 0;
	z-index: -1;
}


#a-and-b-map .map-sidebar-inner {
	height: 100%;
}

#a-and-b-map .map-sidebar-item {
	position: relative;
	padding: 20px;
	border-radius: var(--item-border-radius);
	margin: 10px;
	cursor: pointer;
	background-color: white;
	background-size: contain;
	background-repeat: no-repeat;
	background-size: auto 90%;
	background-position: 10px center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
	transition: 1s;
}
#a-and-b-map .map-sidebar-item-header {
	display: grid;
	grid-template-columns: auto 24px;
	gap: 8px;
	transition: var(--long-transition);
}
#a-and-b-map .map-sidebar-item-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to left, #242a35dd, #233145ee, #233145, #233145, #233145, #233145);
	background-size: 300% 100%;
	background-position: 100% 0;
	border-radius: 20px;
	outline: 1px solid rgba(255, 255, 255, .3);
	transition: var(--long-transition);
}
#a-and-b-map .map-sidebar-item:hover .map-sidebar-item-overlay {
	background-position: 50% 0;
}
#a-and-b-map .expanded .map-sidebar-item-overlay {
	background-position: 0 0 !important;
}
#a-and-b-map .map-sidebar-item-blur-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(5px);
	mask: linear-gradient(to right, transparent, black, black);
	border-radius: var(--item-border-radius);
}

#a-and-b-map .map-sidebar-item-left, #a-and-b-map .map-sidebar-chevron, #a-and-b-map .map-sidebar-item-content {
	position: relative;
	z-index: 2;
}

#a-and-b-map .expanded .map-sidebar-item-left {
	width: 100%;
}
#a-and-b-map h3 {
	text-align: left;
	margin-top: 0;
	font-size: 20px;
}


#map-canvas {
	border: 2px solid rgba(255, 255, 255, .2);
	border-radius: 28px;
	height: 100%;
	width: 100%;
}

.map-sidebar-title-container {
	padding: 20px;
}
.map-sidebar-title-container h2 {
	margin: 0;
	font-size: 32px;
	color: #242a35;
}

.map-sidebar-chevron path {
	fill: white;
}
.map-sidebar-chevron {
	display: flex;
	align-items: center;
	height: 100%;
	transition: var(--long-transition);
}
.map-sidebar-chevron svg {
	width: 24px;
	height: 24px;
}
.expanded .map-sidebar-chevron {
	transform: rotatez(180deg);
}

.map-sidebar-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	line-height: 1.5;
	padding: 40px;
}
.map-sidebar-empty-state-inner {
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #242a3599;
	border-radius: var(--item-border-radius);
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(20px);
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}
.map-sidebar-empty-state-inner p:last-of-type {
	margin: 0;
}

.map-sidebar-empty-state-icon {
	--empty-state-icon-size: 120px;
	
	position: relative;
	width: var(--empty-state-icon-size);
	height: var(--empty-state-icon-size);
}
.map-sidebar-empty-state-icon > div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 1000px;
	background: #0075f2;
	
	-moz-animation: map-pin-pulse 10s infinite;
	-webkit-animation: map-pin-pulse 10s infinite;
	-o-animation: map-pin-pulse 10s infinite;
	animation: map-pin-pulse 10s infinite;
}
.map-sidebar-empty-state-icon .circle-1 {
	width: var(--empty-state-icon-size);
	height: var(--empty-state-icon-size);
	background: linear-gradient(to bottom, white, rgba(255, 255, 255, .7));
	box-shadow: 0 20px 60px -18px rgba(0, 0, 0, .6);
	
	animation-delay: .1s;
}
.map-sidebar-empty-state-icon .circle-2 {
	width: calc(0.95 * var(--empty-state-icon-size));
	height: calc(0.95 * var(--empty-state-icon-size));
	opacity: .3;
	
	animation-delay: .2s;
}
.map-sidebar-empty-state-icon .circle-3 {
	width: calc(0.8 * var(--empty-state-icon-size));
	height: calc(0.8 * var(--empty-state-icon-size));
	opacity: .6;
	
	animation-delay: .3s;
}
.map-sidebar-empty-state-icon .circle-4 {
	width: calc(0.5 * var(--empty-state-icon-size));
	height: calc(0.5 * var(--empty-state-icon-size));
	
	animation-delay: .4s;
}


@keyframes map-pin-pulse {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}
	5% {
		transform: translate(-50%, -50%) scale(1.1);
	}
	25% {
		transform: translate(-50%, -50%) scale(1);
	}
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}


.map-sidebar-item-body {
	position: relative;
	max-height: 0;
	overflow: hidden;
	text-align: left;
	z-index: 2;
	transition: var(--long-transition);
}
.map-sidebar-item-body * {
	font-size: 16px;
	line-height: 1.5;
}
.map-sidebar-item-body-inner {
	margin-top: 20px;
}
.map-sidebar-item-body .map-sidebar-item-logo img, .map-sidebar-item-body img.map-sidebar-item-logo {
	background: white;
	padding: 8px;
	border-radius: 8px;
	max-height: 100px;
	width: auto;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}
.map-sidebar-item-body .btn {
	margin-top: 16px;
	padding: 10px 20px !important;
}




/* MEDIA */
@media (max-width: 1024px) {
	#a-and-b-map {
		display: flex;
		flex-direction: row-reverse;
	}
	#a-and-b-map .map-sidebar {
		top: 0;
		right: 0;
		position: relative;
		flex: 1;
		background: none;
		border-radius: 0;
	}
	#a-and-b-map #map-canvas {
		flex: 1;
		border-radius: var(--container-border-radius) 0 0 var(--container-border-radius);
		border-bottom: none;
	}
	#a-and-b-map .map-sidebar-title {
		color: white;
	}
	#a-and-b-map .map-sidebar-overlay {
		backdrop-filter: none;
	}
}

@media (max-width: 768px) {
	#a-and-b-map {
		flex-direction: column-reverse;
		height: 800px;
	}
	#a-and-b-map .map-sidebar {
		width: 100%;
		border: 2px solid rgba(255, 255, 255, .2);
		border-top: none;
		border-radius: 0 0 var(--container-border-radius) var(--container-border-radius);
		flex: 3;
	}
	#a-and-b-map #map-canvas {
		border-radius: var(--container-border-radius) var(--container-border-radius) 0 0;
		flex: 2;
	}
}