
.header2{
	margin-bottom: 0rem;

}

.tour-map{
	--content_series_left: 210px;
	letter-spacing: normal;
	scroll-behavior: smooth;

}
.container-map {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}


@media (min-width: 768px) {
	.container-map {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.container-map {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	.container-map {
		width: 1170px;
	}
}

@media (min-width: 1920px) {
	.container-map {
		margin-left: 100px;

		width: 1500px;
		/* Adjust this width as per your requirement */
	}
}    
#map {
	position: relative;
	width: 100%;
}

#yandexMap {
	width: 100%;
	height: 100%;
	position: absolute;
    top: 0px;
    left: 0px;
}

.map-content {
	width: fit-content;
	position: relative;
	z-index: 2;
}

/* #map .container {
	width: 100%;
	max-width: 1720px;
	margin: 0 auto;
} */


.map-content__series-wrapper {
	width: 100vh;
	max-width: 867px;
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.5);
	padding: 60px 0;
	margin-left: calc(-1 * var(--content_series_left));
	padding-left: 150px;
}

.map-content__series {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	row-gap: 30px;
	padding-left: 70px;
	padding-right: 60px;
}

.serie {
	display: flex;
	align-items: center;
	column-gap: 30px;
}

.serie__txt {
	color: rgb(51, 51, 51);
	font-size: 64px;
	font-weight: 700;
	line-height: 60px;
	letter-spacing: normal;
	text-align: left;
}

.serie__txt .block {
	display: block;
}

/* .map-content__series .serie p {
	line-height: 1;
} */

.serie span {
	color: rgb(51, 51, 51);
	font-size: 20px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0%;
	/* display: inline-block; */
}

.series__btn {
	padding: 18px 56px;
	border: none;
	color: rgb(255, 255, 255);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0%;
	text-align: center;
	border-radius: 5px;
	background: rgb(67, 161, 84);
	cursor: pointer;
}

.keypano-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 3;
	display: none;
	z-index: 1000;

}

.keypano-modal.show {
	display: block;
}

.close-btn {
	position: absolute;
	border: none;
	background: rgba(51, 51, 51, 0.863);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 50%;
	left: 20px;
	top: 20px;
	cursor: pointer;
}



@media (max-width: 1199px) {
	.map-content__series-wrapper {
		max-width: 700px;
		padding-left: 160px;
	}
}

@media (max-width:991px) {
	.map-content__series {
		max-width: fit-content;
	}
}

@media (max-width:767px) {
	.map-content {
		width: 100%;
		position: static;
	}

	.map-content__series-wrapper {
		padding: 0;
		margin: 0;
		padding-block: 20px;
		height: fit-content;
		min-height: fit-content;
		max-width: 100%;
	}
	
	.map-content__series {
		gap: 30px;
		flex-direction: row;
		flex-wrap: wrap;
		padding: 0;
	}

	#map {
		height: fit-content;
	}

	#yandexMap {
		height: 400px;
		position: static;
	}

	.map-content__series .serie {
		width: 100%;
		max-width: calc(100% / 2 - 30px / 2);
	}

	.map-content__series .series__btn {
		width: 100%;
	}
}


@media (max-width: 715px) {
	.map-content__series .serie {
		max-width: 100%;
	}
}

@media (max-width: 550px) {
	.map-content__series .series__btn {
		font-size: 16px;
		padding: 11px;
	}
}

@media (max-width: 400px) {
	.serie svg {
		width: 55px;
		height: 55px;
	}
}

@media (max-width: 359px) {
	.serie__txt {
		font-size: 50px;
		line-height: 1;
	}

	.map-content__series .serie {
		column-gap: 15px;
	}
}

#map::before,
#map::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    pointer-events: none;
    z-index: 1;
}

#map::before {
    top: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.8) 20%, 
        rgba(255, 255, 255, 0) 100%
    );
}

#map::after {
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.8) 20%, 
        rgba(255, 255, 255, 0) 100%
    );
}