@media all and (min-width:1921px) {
	#genplan {
		max-width: 1920px;
		margin: 0 auto;
	}	
}

.main-scheme--wrapper,
#genplan {
	overflow: hidden;
}

.main-scheme--wrapper .map-wrapper {
	height: 100%;
}

#map-location {
	position: absolute;
	height: 100%;
	width: 100%;
	inset: 0;
}

.main-scheme {
	position: relative;
}

.genplan-menu {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 60px;
	display: inline-flex;
	z-index: 10;
}
.genplan-menu > div,
.genplan-menu a {
	position: relative;
	display: inline-flex;
	gap: 0;
	height: 40px;
	align-items: center;
	text-align: center;
	font-weight: 500;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(70, 83, 110, 1);
	padding: 0 20px 0 15px;
	cursor: default;
	border: 0;
}

.genplan-menu a {
	cursor: pointer;
}

.genplan-menu > div:last-child,
.genplan-menu a:last-child {
	padding: 0 15px 0 20px;
}

.genplan-menu > div:not(._active) {
	cursor: pointer;
}

.genplan-menu > div:before,
.genplan-menu a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -19px;
	width: 20px;
	-webkit-clip-path: polygon(100% 0%, 50% 50%, 100% 100%);
	clip-path: polygon(100% 0%, 50% 50%, 100% 100%);
	background: rgba(70, 83, 110, 1);
	-moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.genplan-menu > div:nth-child(2):before {
	display: none;
}

.genplan-menu > div:last-child:before,
.genplan-menu a:before {
	transform: rotate(180deg);
	left: unset;
	right: -19px;
}

.genplan-menu > div._active {
	font-weight: 500;
	color: rgba(255, 255, 255, 1);
	background: rgba(0, 170, 133, 1);
}

.genplan-menu > div._active:before {
	background: rgba(0, 170, 133, 1);
}


.main-scheme--img  {
	height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: inline-block;
    max-width: 100%;
}

@media (min-width: 1599px) {
	.main-scheme {
/*	    height: 630px;*/
		height: 1000px;
	}
}
@media (min-width: 1700px) {
	.main-scheme {
	    height: 1080px;
	}
	.main-scheme.main-scheme-location {
	    height: 1000px;
	}
}
@media (min-width: 2000px) {
	.main-scheme {
	    height: 1110px;
	}
}

@media (max-width: 1199px) {
	.genplan-menu {
		top: 30px;
	}
}

@media (max-width: 959px) {
	.genplan-menu {
		top: 20px;
	}
	.genplan-menu > div,
	.genplan-menu a {
		height: 32px;
		font-size: 12px;
	}
}

@media (max-width: 767px) {
	.genplan-menu > div,
	.genplan-menu a {
		height: 30px;
		font-size: 11px;
	}
/*	.main-scheme--wrapper {
		display: none;
	}*/
}

.main_scheme--map {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.main_scheme--map svg {
	width: 100%;
    height: 100%;
}

.main_scheme--map svg .section-map {
	opacity: 0;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;

}

.main_scheme--map svg .section-map.section-map--sale {
	fill: #00AA85;
	opacity: .5;
	cursor: pointer;
}
.main_scheme--map svg .section-map.section-map--sold {
	fill: #B1BBCF;
	opacity: .7;
}
.main_scheme--map svg .section-map.section-map--perspective {
	fill: #C8D6DD;
	opacity: .75;
}

.main_scheme--map svg .section-map.section-map--sale:hover {
	opacity: .5;
	fill: #B1BBCF;
}

.main_scheme--legend {
    position: absolute;
    bottom: 100px;
    right: 100px;
    padding: 15px 25px;
    background-color: #fff;
    border-radius: 10px;
}

.main_scheme--legend-item {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin: 10px 0;
}

.main_scheme--legend-item::before {
	content: ' ';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    border-radius: 50%;
}
.main_scheme--legend-item.sale::before {
	background: #00A0DE;
}
.main_scheme--legend-item.sold::before {
	background: #C8D6DD;
}
.main_scheme--legend-item.perspective::before {
	background: #27B500;
}

/*#genplan._admin::-webkit-scrollbar {
    height: 20px;
    background-color: #fff;
}

#genplan._admin::-webkit-scrollbar-thumb {
	height: 20px;
	background: rgba(0, 170, 133, 1);
	position: relative;
	border-radius: 40px;
	position: relative;
}

#genplan._admin::-webkit-scrollbar:horizontal {
	height: 20px;
	background: rgba(70, 83, 110, 1);
}

#genplan._admin::-webkit-scrollbar-button:horizontal {
    height: 20px;
    width: 20px;
}*/


.genplan-grab {
	display: flex;
	justify-content: center;
	padding: 15px 0 0;
	display: none;
}

.genplan-grab > div {
	position: relative;
	left: 0;
	animation: drag 1s linear infinite;
	width: 24px;
	height: 24px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-hand-grab' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='%2300AA85' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M8 11v-3.5a1.5 1.5 0 0 1 3 0v2.5' /%3E%3Cpath d='M11 9.5v-3a1.5 1.5 0 0 1 3 0v3.5' /%3E%3Cpath d='M14 7.5a1.5 1.5 0 0 1 3 0v2.5' /%3E%3Cpath d='M17 9.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7l-.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47' /%3E%3C/svg%3E");
}

@keyframes drag {
    0% {
        left: 0;
    }
    25% {
        left: 15px;
    }
    50% {
    	left: 0;
    }
    75% {
    	left: -15px;
    }
    100% {
        left: 0;
    }
}

@media all and (max-width:767px) {
	.genplan-grab {
		display: flex;
	}
}

@media (max-width: 1699px) {
	.main_scheme--legend {
		bottom: 45px;
		right: 45px;
	}
}

@media (max-width: 1199px) {
	.main_scheme--legend {
		bottom: 40px;
		right: 40px;
		padding: 19px 25px;
	}

	.main_scheme--legend-item {
		font-size: 15px;
		line-height: 22px;
		margin: 6px 0;
	}

	.main_scheme--legend-item::before {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 959px) {
	.main_scheme--legend {
		right: auto;
	    left: 30px;
	    bottom: 30px;
	}
}

@media all and (max-width:767px) {
	#genplan {
		overflow: auto;
	}
	.main-scheme--wrapper {
		position: relative;
		min-width: 960px;
	}
	.main-scheme,
	.main-scheme--wrapper .map-wrapper {
	    height: 540px;
	}
	.main-scheme:not(._map) {
		min-width: 960px;
	}
	.main-scheme--wrapper .map-text-block {
		top: 40px;
		left: 50%;
		transform: translateX(-50%);
	}
}

@media all and (min-width:960px) {
	.genplan-menu > div:not(._active):hover,
	.genplan-menu a:hover {
		color: rgba(255, 255, 255, 1);
		background: rgba(0, 170, 133, 1);
	}
	.genplan-menu > div:not(._active):hover:before,
	.genplan-menu a:hover:before {
		background: rgba(0, 170, 133, 1);
	}
}


.main_scheme--yard {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.main_scheme--yard__item {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	pointer-events: all;
	height: 70px;
	min-width: 62px;
	transform: translateX(-50%);
	padding: 0 31px;
}

.main_scheme--yard__item:first-child {
	top: 60%;
    left: 44%;
}

.main_scheme--yard__item:nth-child(2) {
	top: 40%;
    left: 42%;
}

.main_scheme--yard__item:nth-child(3) {
	bottom: 15%;
    left: 47%;
}

.main_scheme--yard__item:before,
.main_scheme--yard__item:after {
	content: "";
	z-index: 2;
	position: absolute;
	top: 0;
	background: rgba(0, 170, 133, 1);
	height: 70px;
	width: 31px;
	-webkit-clip-path: polygon(100% 0%, 0% 20%, 0% 80%, 100% 100%);
	clip-path: polygon(100% 0%, 0% 20%, 0% 80%, 100% 100%);
	-moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.main_scheme--yard__item:before {
	left: 50%;
	transform: translateX(-100%);
}

.main_scheme--yard__item:after {
	-webkit-clip-path: polygon(0% 0%, 100% 20%, 100% 80%, 0% 100%);
	clip-path: polygon(0% 0%, 100% 20%, 100% 80%, 0% 100%);
	right: calc(50% + 1px);
	transform: translateX(100%);
}

.main_scheme--yard__item img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transform-origin: 50% 50%;
	width: 32px;
	height: 32px;
	opacity: 1;
	visibility: visible;
	-moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
    z-index: 5;
}

.yard__item-name {
	white-space: pre-wrap;
	display: inline-flex;
	text-align: center;
	height: 70px;
	align-items: center;
	justify-content: center;
	position: relative;
	min-width: 62px;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.38;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #46536E;
	user-select: none;
	-moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
    overflow: hidden;
}

.yard__item-name > span {
	position: relative;
	z-index: 6;
	opacity: 0;
	visibility: hidden;
}

.yard__item-name:before {
	content: "";
	height: 70px;
	width: 0;
	top: 0;
	position: absolute;
	background-color: rgba(0, 170, 133, 1);
	-moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
    z-index: 1;
}

.yard__item-name:before {
	left: 50%;
	transform: translateX(-50%);
}

.main_scheme--yard__item:hover img {
	transform: translate(-50%, -50%) scale(1.125);
	opacity: 0;
	visibility: hidden;
}

.main_scheme--yard__item:hover .yard__item-name span {
	opacity: 1;
	visibility: visible;
}

.main_scheme--yard__item:hover .yard__item-name:before {
	width: 100%;
	background-color: #fff;
}

.main_scheme--yard__item:hover:before,
.main_scheme--yard__item:hover:after {
	background-color: #fff;
}

.main_scheme--yard__item:hover:before {
	left: 0.5px;
	transform: unset;
}

.main_scheme--yard__item:hover:after {
	right: 0.5px;
	transform: unset;
}

@media all and (max-width:1599px) {
	.main_scheme--yard__item:hover:before {
		left: 1px;
		transform: unset;
	}	
}




.main_scheme-point {
	position: absolute;
	z-index: 10;
	pointer-events: all;
}

.main_scheme-point__icon {
	position: relative;
	width: 30px;
	height: 30px;
	-webkit-clip-path: polygon(100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%, 25% 6.7%, 75% 6.7%);
    clip-path: polygon(100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%, 25% 6.7%, 75% 6.7%);
    background-color: rgba(0, 170, 133, 1);
	cursor: pointer;
	transform: rotate(90deg);
}

.main_scheme-point__icon:before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
}

.main_scheme-point__text {
	position: absolute;
	padding: 11px 15px;
	background-color: rgba(0, 170, 133, 1);
	bottom: 15px;
	left: 13px;
	opacity: 0;
	visibility: hidden;
}

.main_scheme-point__text._icon {
	padding: 11px 25px 11px 15px;
}

.main_scheme-point__text .title {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.12;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #FFFFFF;
}

.main_scheme-point__text .text {
	margin-top: 5px;
	font-weight: 500;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: none;
	color: rgba(255, 255, 255, 0.7);
}

.main_scheme-point__img {
	display: flex;
	column-gap: 13px;
	align-items: center;
}

.main_scheme-point__text .main_scheme-point__img .title {
	font-weight: 500;
	font-size: 13px;
	line-height: 1.38;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #FFFFFF;
}

.main_scheme-point:hover,
.main_scheme-point._hover {
	z-index: 11;
}

.main_scheme-point:hover .main_scheme-point__icon,
.main_scheme-point._hover .main_scheme-point__icon {
	background-color: #fff;
}

.main_scheme-point:hover .main_scheme-point__text,
.main_scheme-point._hover .main_scheme-point__text {
	opacity: 1;
	visibility: visible;
}


.main_scheme-section .main_scheme-point__text {
	padding: 0;
	min-width: 197px;
	bottom: unset;
	top: -62px;
}

.main_scheme-point__head {
	padding: 11px 15px 13px;
	background-color: rgba(0, 170, 133, 1);
}

.main_scheme-section-title {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.12;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 10px;
}

.main_scheme-section-desc {
	font-weight: 500;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #FFFFFF;
}

.main_scheme-section-desc .sub-title {
	font-weight: 600;
	font-size: 9px;
	line-height: 1.11;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 2px;
}

.main_scheme-point__content {
	padding: 11px 15px 13px;	
	background-color: rgba(70, 83, 110, 1);
}

.main_scheme-section-item {
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	column-gap: 20px;
}

.main_scheme-section-no-flat {
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
}

.main_scheme-section-item > a,
.main_scheme-section-item > div {
	font-weight: 500;
	font-size: 12px;
	line-height: 1;	
	white-space: nowrap;
}

.main_scheme-section-item > a {
	color: #FFFFFF;
}

.main_scheme-section-item > a > div,
.main_scheme-section-item > a > span {
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.main_scheme-section-item > a > div > span,
.main_scheme-section-item > a > span > span {
	text-transform: uppercase;
}

.main_scheme-section-item > a > div > span {
	text-transform: uppercase;
}

/*.main_scheme-section-item > div {
	color: rgba(255, 255, 255, 0.7);
}
*/
.main_scheme-link {
	display: block;
	font-weight: 500;
	font-size: 11px;
	line-height: 1;
	text-align: center;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #FFFFFF;
	border: 0;
	text-decoration: none;
	padding-top: 5px;
	margin-bottom: 5px;
}

.main_scheme-link > span {
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

@media all and (max-width:1199px) {
	.main_scheme-point {
		transform: translateX(-50%);
	}
	.main_scheme-point__img img {
		max-width: 26px;
	}
	.main_scheme-point__text .main_scheme-point__img .title {
		font-size: 11px;
		line-height: 1.18;
	}
	.main_scheme-point__text._icon {
		padding: 11px 15px;
	}
}

@media all and (max-width:767px) {
	.main_scheme-point__text {
		padding: 8px 12px;
	}
	.main_scheme-point__text .title {
		font-size: 13px;
	}
	.main_scheme-point__text .text {
		font-size: 12px;
	}

	.main_scheme-point__head {
		padding: 8px 12px 10px;
	}
	.main_scheme-section-title {
		font-size: 13px;
	}
	.main_scheme-section-desc {
		font-size: 12px;
	}
	.main_scheme-section-desc .sub-title {
		font-size: 8px;
	}
	.main_scheme-point__content {
		padding: 8px 12px 10px;
	}
}

@media all and (min-width:1025px) {
	.main_scheme-link:hover > span,
	.main_scheme-section-item > a:hover > div,
	.main_scheme-section-item > a:hover > span {
		border-bottom-color: transparent;
	}
}


/*.main-scheme-panorama {
	position: relative;
}

.main-scheme-panorama iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}*/


.panorama__wrap {
	margin: 40px 20px;
	width: calc(100% - 40px);
	height: 600px;
	position: relative;
}

.panorama__wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#modal__panorama .fancybox-close-small {
	width: 16px;
    height: 16px;
    mask-size: 16px;
    top: 10px;
    right: 10px;
}

@media all and (max-width:1199px) {
	.panorama__wrap {
		margin: 40px 15px;
		width: calc(100% - 30px);
		height: 500px;
	}
}