.bhm-wrap {
	--bhm-sand: #fbdcb0;
	--bhm-mint: #d9edc7;
	--bhm-lilac: #e7d5f0;
	--bhm-blush: #f9d3d8;
	--bhm-butter: #f6f2c3;
	--bhm-sky: #cfe7f7;
	--bhm-stroke: #7a7a7a;
	--bhm-water: #cfe7f7;
	--bhm-accent: #03a9f4;
	--bhm-text: #2a2a2a;
	display: flex;
	gap: 24px;
	align-items: flex-start;
	margin: 0 auto;
	font-family: inherit;
	box-sizing: border-box;
}

.bhm-wrap *,
.bhm-wrap *::before,
.bhm-wrap *::after {
	box-sizing: border-box;
}

.bhm-sidebar-right {
	flex-direction: row-reverse;
}

.bhm-sidebar {
	flex: 0 0 240px;
	max-width: 240px;
	max-height: 720px;
	overflow-y: auto;
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	background: #fff;
	padding: 8px 0;
}

.bhm-search {
	padding: 8px 12px 12px;
}

.bhm-search-input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.3;
}

.bhm-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bhm-list-item {
	margin: 0;
	border-left: 3px solid transparent;
}

.bhm-list-item a {
	display: block;
	padding: 10px 16px;
	color: var(--bhm-text);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.3;
	transition: background-color .12s ease, color .12s ease;
}

.bhm-list-item a:hover,
.bhm-list-item a:focus {
	text-decoration: none;
}

.bhm-list-item.is-active,
.bhm-list-item:hover {
	border-left-color: var(--bhm-accent);
	background: #f2f9fe;
}

.bhm-empty {
	margin: 0;
	padding: 12px 16px;
	font-size: 14px;
	color: #777;
}

.bhm-map {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.bhm-svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.bhm-water {
	pointer-events: none;
}

.bhm-water-shape {
	fill: var(--bhm-water);
	stroke: none;
}

.bhm-water-label {
	fill: #5b90b5;
	font-style: italic;
	letter-spacing: .06em;
	text-anchor: middle;
}

.bhm-region {
	cursor: pointer;
	outline: none;
}

.bhm-shape {
	stroke: var(--bhm-stroke);
	stroke-width: 1.1;
	stroke-linejoin: round;
	transition: fill .15s ease, stroke-width .15s ease;
}


.bhm-label {
	fill: #2f2f2f;
	font-weight: 700;
	letter-spacing: .02em;
	text-anchor: middle;
	pointer-events: none;
	transition: fill .15s ease;
}

.bhm-region:hover .bhm-shape,
.bhm-region:focus .bhm-shape,
.bhm-region.is-active .bhm-shape {
	fill: var(--bhm-accent);
	stroke-width: 2.2;
	stroke: #0277bd;
}

.bhm-region:hover .bhm-label,
.bhm-region:focus .bhm-label,
.bhm-region.is-active .bhm-label {
	fill: #2f2f2f;
	font-weight: 700;
	letter-spacing: .02em;
	text-anchor: middle;
	pointer-events: none;
	transition: fill .15s ease;
}

.bhm-region:focus-visible .bhm-shape {
	stroke: #01579b;
	stroke-width: 2.5;
}

.bhm-marker-hit {
	fill: transparent;
}

.bhm-marker-dot {
	fill: var(--bhm-accent);
	stroke: #fff;
	stroke-width: 1.5;
	transition: r .15s ease, fill .15s ease;
}

.bhm-marker:hover .bhm-marker-dot,
.bhm-marker:focus .bhm-marker-dot,
.bhm-marker.is-active .bhm-marker-dot {
	fill: #0277bd;
	r: 10;
}

.bhm-marker-label {
	fill: #41505c;
	font-size: 13px;
	font-weight: 600;
	pointer-events: none;
	transition: fill .15s ease;
}

.bhm-marker:hover .bhm-marker-label,
.bhm-marker:focus .bhm-marker-label,
.bhm-marker.is-active .bhm-marker-label {
	fill: #0277bd;
}

.bhm-tooltip {
	position: absolute;
	z-index: 5;
	transform: translate(-50%, -130%);
	padding: 5px 10px;
	border-radius: 4px;
	background: #263238;
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
}

.bhm-tooltip::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	margin-left: -5px;
	border: 5px solid transparent;
	border-top-color: #263238;
}

.bhm-layout-map .bhm-sidebar {
	display: none;
}

@media (max-width: 782px) {
	.bhm-wrap,
	.bhm-sidebar-right {
		flex-direction: column;
	}

	.bhm-sidebar {
		flex: 1 1 auto;
		max-width: 100%;
		width: 100%;
		max-height: 320px;
		order: 2;
	}

	.bhm-map {
		width: 100%;
		order: 1;
	}
}
