@charset "UTF-8";

/*Миксины*/

.map {
	background: #E0E0E0;
}

.map .section__top {
	position: relative;
}

.map__topinfo {
	gap: 24px;
}

@media (max-width:540px) {
	.map__topinfo .flex.gap--2 {
		position: absolute;
		top: 0;
		right: 0;
	}

	.map__topinfo {
		padding-right: 85px;
	}
}

@media (max-width:400px) {
	.map__topinfo {
		justify-content: space-between;
		width: 100%;
	}
}

.map__topinfo .corners-text {
	width: auto;
	line-height: 0;
}

.map__block {
	-webkit-box-align: unset;
	-ms-flex-align: unset;
	align-items: unset;
	gap: 24px;
}

.map__list {
	width: calc((((100vw - (40px * 2)) + 24px) / 8 * 2) - 24px + 0px);
	-webkit-box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.1);
	box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.1);
	position: relative;
	overflow: hidden;
	-webkit-transition: width 0.4s;
	-o-transition: width 0.4s;
	transition: width 0.4s;
}

.map__list.show-asset {
	height: 100%;
	width: calc((((100vw - (40px * 2)) + 24px) / 8 * 3) - 24px + 0px);
}

.map__list.show-asset .map__list-scroll {
	width: calc((((100vw - (40px * 2)) + 24px) / 8 * 1) - 24px + 0px);
	-webkit-transform: translateX(-140%);
	-ms-transform: translateX(-140%);
	transform: translateX(-140%);
}

.map__list.show-asset .map__assets {
	position: relative;
	visibility: visible;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: 0.4s 0.4s;
	-o-transition: 0.4s 0.4s;
	transition: 0.4s 0.4s;
}

.map__list-scroll {
	position: absolute;
	top: 24px;
	left: 24px;
	/* width: calc(100% + 24px); */
	width: calc(100% - 32px);
	padding-right: 16px;
	height: calc(100% - 48px);
	overflow: hidden auto;

	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
	gap: 16px;
}

/* .map__list-scroll {
		scrollbar-width: 2px;
	} */
.map__list-scroll::-webkit-scrollbar {
	width: 4px;
}

.map__list-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.map__list-scroll::-webkit-scrollbar-thumb {
	background: rgba(20, 20, 20, 0.5);
	border-radius: 2px;
	border: 0 solid transparent;
}


.asset {
	position: relative;
	padding: 24px;
	border-radius: 8px;
	background: #fff;
	width: 100%;
	cursor: pointer;
}

.asset:last-child {
	margin-bottom: 0;
}

.asset::before {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	position: absolute;
	top: 24px;
	right: 24px;
	background: url("../img/icons/plus.svg") center center/contain no-repeat;
}

.asset__logo {
	margin-bottom: 16px;
	line-height: 0;
	height: 48px;
	width: 120px;
}
.asset[data-map-id="75"] .asset__logo {
	width: 190px;
}

.asset__logo.wide-logo {
	width: 240px;
	max-width: calc(100% - 32px);
}

.asset__logo img {
	-o-object-position: left center;
	object-position: left center;
}

.asset__text {
	margin: 48px 0;
}

.asset__links {
	gap: 12px 24px;
}

.asset__close {
	gap: 8px;
	position: absolute;
	top: 24px;
	right: 24px;
	cursor: pointer;
}

@media (min-width: 1025px) and (max-width: 1280px) {
	.asset__close {
		gap: 4px;
	}

	.asset__close span {
		font-size: 16px;
	}
}

.map__assets {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	-webkit-transform: translateY(24px);
	-ms-transform: translateY(24px);
	transform: translateY(24px);
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
	gap: 16px;
}

.map__assets .asset {
	display: none;
	background: #00CB62;
	cursor: unset;
}

.map__assets .asset .asset__logo {
	height: 80px;
	width: 200px;
}

.map__assets .asset .asset__logo.wide-logo {
	width: calc(100% - 120px);
	max-width: 320px;
}

@media (max-width: 680px) {
	.map__assets .asset .asset__logo.wide-logo {
		width: calc(100% - 35px);
	}
}

.map__assets .asset::before {
	display: none;
}

.map__assets .asset.active {
	display: block;
}

.map__map {
	width: calc((((100vw - (40px * 2)) + 24px) / 8 * 5) - 24px + 0px);
	-webkit-box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.1);
	box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.1);
}

.map__interactiv {
	overflow: hidden;
	border-radius: 8px;
	position: relative;
	line-height: 0;
}

.map__svg {
	width: 100%;
	height: auto;
}

.map-has {
	cursor: pointer;
}

.map-has.no-active {
	fill: #b7b7b7;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}

.map-point {
	position: absolute;
	cursor: pointer;
}

/* .map-point[data-map-id="1"] {
  left: 16.6%;
  top: 64.5%;
}

.map-point[data-map-id="2"] {
  left: 20.2%;
  top: 69.7%;
}

.map-point[data-map-id="6"] {
  left: 20.2%;
  top: 65%;
}

.map-point[data-map-id="3"] {
  left: 10%;
  top: 52%;
}

.map-point[data-map-id="4"] {
  left: 39.2%;
  top: 58%;
}

.map-point[data-map-id="5"] {
  left: 30.9%;
  top: 61.2%;
}

.map-point[data-map-id="7"] {
  left: 17.8%;
  top: 54%;
} */

.map-point::before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	bottom: 0px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	background: url("../img/icons/map-point.svg") center center/contain no-repeat;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}

.map-point.active {
	z-index: 1;
}

.map-point.active::before {
	width: 48px;
	height: 48px;
}

@media (max-width: 1280px) {
	.map__list {
		width: calc((((100vw - (40px * 2)) + 24px) / 8 * 3) - 24px + 0px);
	}

	.map__assets .asset .asset__logo {
		height: 48px;
		width: 140px;
	}
}

@media (max-width: 1024px) {
	.map__list {
		width: 100% !important;
		height: 300px;
	}

	.map__list.show-asset .map__list-scroll {
		-webkit-transform: translateX(-240%);
		-ms-transform: translateX(-240%);
		transform: translateX(-240%);
	}

	.map__map {
		width: 100%;
		-webkit-box-ordinal-group: 0;
		-ms-flex-order: -1;
		order: -1;
	}
}

@media (max-width: 680px) {
	.map__list-scroll {
		top: 12px;
		left: 12px;
		width: calc(100% - 24px);
		padding-right: 0;
		height: calc(100% - 24px);
		gap: 8px;
	}

	.asset {
		padding: 12px;
	}

	.asset__logo {
		margin-bottom: 8px;
	}

	.asset__close {
		top: 12px;
		right: 12px;
	}

	.asset__close span {
		display: none;
	}
}