.map-wrapper svg{
	object-fit: contain;
	width: 100%;
	max-height: 100vh;
	touch-action: none;
	height: auto;
}
.map-wrapper svg p{
	fill: black !important;
	color: black;
	font-size: 1.5rem;
	opacity: 0;
	transition: .3s;
	max-width: 300px;
}
.map-wrapper{
	position: relative;
}
.projects-by-regions {
	max-width: 300px;
	width: 100%;
	position: absolute;
	top: 100px;
	left: 50%;
	transform: translatex(-50%);
	pointer-events: none;
	max-height: 100%;
	overflow-y: auto;
	border: 2px solid var(--blue);
	background: rgba(255,255,255, .8);
	/* display: grid;
	justify-content: center; */
	opacity: 0;
	z-index: 5;
}
.projects-by-regions.active{
	opacity: 1;
}
.projects-by-regions.lower{
	top: 400px;
}
.projects-by-regions>*{
	grid-area: 1/1;
	display: none;
}
.projects-by-regions>*.active{
	display: block;
}
.projects-by-regions>*{
	grid-area: 1/1;
	display: none;
}
.projects-by-regions>*.active{
	display: block;
}
#ru .region{
	fill: var(--blue);
}
#ru .region:hover{
	fill: #949494;
}
.region{
	fill: #949494
}
.region:hover{
	fill: var(--blue);
}
.region-projects {
	width: 100%;
	padding: 1rem;
}
.region-projects .region{
	background: var(--blue);
	color: white;
	padding: .5rem;
}
.region-projects .region:nth-of-type(2n){
	background: var(--gray);
}
.region-projects .proj {
	margin: 0.75rem 0;
	font-size: 16px;
	font-weight: bold;
	color: var(--blue);
}

@media (max-width: 768px) {
    .projects-by-regions {
        top: 0;
    }
    .projects-by-regions.lower{
    	top: 0;
    }
}