body {margin: 0; padding: 0;}



@keyframes blinking-project{
    0%{fill:rgba(22, 113, 151, 1);}
    50%{fill:rgba(213, 202, 55, 1);}
    100%{fill:rgba(22, 113, 151, 1);}
}

@keyframes blinking-region{	
	 0%{  transform: translate(0, 0);  filter: url(#filter-shadow-1);}
	100%{ transform: translate(0px,-5px);		filter: url(#filter-shadow-2); }

}
@keyframes active-text-doth{	
	 0%{  transform: translate(0, 0);  }
	100%{ transform: translate(0px,-5px);	}

}



.map-kaz {
	position: relative;
	width:90%;
	margin:auto;
	text-align:center;
}

.map-kaz a{
	outline:0;
}

.map-kaz svg {
	top: 0;
	height: 100%;
	width:40%;
	transition:.5s ease;	
	filter: url(#filter-shadow-svg);
	margin-left: 30%;
}

.map-kaz .region {
	opacity: 1;
	fill:#deeaf4;
	stroke:#5eb8dd;
	stroke-width:3;
	stroke-linejoin:round;
	transition:.2s ease;	
}
.map-kaz .region:hover {
	transition: opacity .2s ease;
	opacity: 1;
	cursor: pointer;
    fill:rgb(94, 189, 227); 
	stroke:#5eb8dd;
	transition:.2s ease;	
}


.map-kaz .region.active {	
	animation:blinking-region 1s  alternate;
	transform: translate(0px,-5px);
	stroke:#5eb8dd;	
	filter: url(#filter-shadow-2);
    fill:rgb(94, 189, 227); 
}


.map-kaz .project {
	fill:#5c9ab3;
	transition:.3s ease;	
}
.map-kaz .project.city {
	fill:#137197;
	transition:.3s ease;	
}

.map-kaz .project:hover {
	fill:#ae9300;
}
.map-kaz .project.active {
    animation:blinking-project 1.5s infinite;
}

.map-kaz .description {
	display: block;
	position: absolute;
	background:#fff;
	padding: 10px;
	box-sizing: border-box;
	width: 28%;
	min-width:200px;
	height: auto;
	max-height: 400px;
	box-shadow:0 0 9px 1px #ddd;
	left: 30px;
	top: 30px;
	font-family: sans-serif;
	text-align:left;
	overflow:auto;
}

.map-kaz svg.open{
	width:40%;	
	margin-left: 30%;
}
.map_region-title {
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
	color: #0085bd;
}

.map_descr{
	border:1px solid #ccc;
	padding:5px;
	margin:5px 0;
	font-size:.8rem;
}

.map_descr.acting, .map_descr.fez, .map_descr.implemented, .map_descr.promising {
	border-color: #d5aeae;
	background: #f4dede;
}

.map_project-title,.map_project-title a{
	font-weight:600;
	color:#464646;
	font-size:1rem;
	text-decoration:none;
	text-transform:uppercase;
}
.map_projectType-title{
	font-weight:500;
	color:#777;	
	font-size:1rem;
	font-style:italic;
}

.legend .icon {
	background:#7e7e7e;
	width:15px;
	height:15px;
	border-radius:50%;
	display: inline-block;
	vertical-align: middle;
}
.legend{
	text-align:center;
}
.legend__block{
	display:inline-block;
	margin:10px;
	color:#555;
	font-size:1rem;
}
.legend .icon.fez{
	background:#7e7e7e;
}
.legend .icon.acting{
	background:#538335;
}
.legend .icon.implemented{
	background:#149dbb;
}
.legend .icon.promising{
	background:#7c6100;
}
.legend .icon.medrese{
	background:#41db8b;
}
.legend .icon.kuran{
	background:#bdb100;
}
.svg-text{
	font-size:22px;
	text-align:end;
	text-anchor:end;
	fill:#002d66;
	-inkscape-font-specification:'sans-serif Bold';
	font-family:sans-serif;
	font-weight:bold;
	font-style:normal;
	font-stretch:normal;
	font-variant:normal;
	text-transform: uppercase;
	transition:.5s ease;	
	/*stroke:#57d8ff;*/
	stroke-opacity:1;
	stroke-width:1.1;
	stroke-miterlimit:4;
	stroke-dasharray:none;
}
svg .svg-text.active {
	animation:active-text-doth 1s  alternate;
	transform: translate(0px,-5px);
}
svg .project.open-region {	
	animation:active-text-doth 2s  alternate;
	transform: translate(0px,-5px);
	fill:rgba(242, 255, 255, 1) !important;
}


@media (max-width:992px){	 
	.map-kaz .description{
		position:relative;
		width:90%;
		margin:0 auto;
		box-shadow:0 0 8px 5px #ccc;
		max-height:100%;
		left:0;
	}
	.map-kaz svg.open, .map-kaz .legend.open{
		width:100%;
		margin-left:0;
		
	}
	.legend__block{
		font-size:.8rem;
	}
}
	