/* Contacts page map: distributors next to the regional managers in a region popup. */

/*
 * A popup with distributors is taller than the space left under its region,
 * and .vs-contacts .contacts clips overflow. Pin it to the top of the map and
 * stretch the box down to the map's bottom padding; the card inside keeps its
 * natural height and scrolls its list once it runs out of room. The higher
 * specificity beats the per-region `top` rules in style.min.css.
 */
.contact-map .map-popup.map-popup--distributors {
	top: 16px;
	bottom: -40px;
	display: flex;
	flex-direction: column;
	pointer-events: none;
}

.contact-map .map-popup.map-popup--distributors.active .popup-content {
	pointer-events: auto;
}

.map-popup.map-popup--distributors .popup-content {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.map-popup.map-popup--distributors .map-popup__location {
	flex-shrink: 0;
}

.map-popup .map-popup__scroll {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	margin-right: -8px;
	padding-right: 8px;
}

.map-popup .map-popup__title {
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #0076ef;
}

.map-popup .map-popup__list + .map-popup__title {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(8, 14, 42, .1);
}

.map-popup .map-popup__list .contact-info-item__city,
.vs-contact-accordion .contact-info-item__city {
	margin-top: -6px;
	font-size: 14px;
	line-height: 18px;
	opacity: .7;
}

.vs-contact-accordion .contact-accordion__title {
	margin: 32px 0 16px;
	font-size: 20px;
	line-height: 26px;
	font-weight: 700;
	color: #fff;
}
