:root {
  --gray: #6e6e6e;
  --white: #fff;
  --light-gray: #666;
  --gray-alternate: #b4b4b4;
  --hover-click: #e11e28;
  --text-color: #333;
}

@media (max-width: 768px) {
  section#map {
    overflow: unset;
  }
  body._noscroll {
    overflow: hidden;
  }
}
.map__main {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
}
.map__main-svg {
  transition: all 0.5s ease 0s;
  position: relative;
}
@media (max-width: 768px) {
  .map__main-svg {
    overflow-x: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .map__main-svg::-webkit-scrollbar {
    height: 2px;
    background: var(--gray-alternate);
    display: none;
  }
  .map__main-svg::-webkit-scrollbar-thumb {
    background: var(--hover-click);
  }
}
.map__main-svg svg {
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .map__main-svg svg {
    min-width: 700px;
  }
}
.map__main-svg svg path {
  fill: var(--gray-alternate);
  stroke: var(--white);
  stroke-width: 2px;
  transition: all 0.3s ease 0s;
}
@media (any-hover: hover) {
  .map__main-svg svg path:hover {
    fill: var(--hover-click);
  }
}
.map__main-svg svg path.has-filial {
  cursor: pointer;
}
.map__main-svg svg path.no-filial {
  cursor: default;
  fill: var(--light-gray) !important;
}
.map__main-svg-loading {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease 0s;
}
.map__main-svg-loading._open {
  opacity: 1;
  pointer-events: all;
}
.map__main-svg-loading._hide {
  pointer-events: none;
}
.map__main-svg-loading._hide span {
  opacity: 0;
}
.map__main-svg-loading span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  color: var(--white);
  background-color: var(--hover-click);
  padding: 10px 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .map__main-svg-loading span {
    font-size: 14px;
    padding: 7px 16px;
  }
}
.map__main-scrollbar {
  display: none;
  transition: all 0.3s ease 0s;
}
.map__main-scrollbar._hide {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .map__main-scrollbar {
    height: 2px;
    background: var(--gray-alternate);
    position: relative;
    pointer-events: none;
    display: block;
  }
}
.map__main-scrollbar span {
  display: block;
  content: "";
  height: 2px;
  left: 0;
  top: 0;
  position: absolute;
  background: var(--hover-click);
  width: 100%;
}
.map__main-label {
  position: absolute;
  color: var(--white);
  border: 1px solid #f04451;
  background: var(--hover-click);
  padding: 10px 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  border-radius: 4px;
  z-index: 1;
  transition: all 0.3s ease 0s;
  pointer-events: none;
  opacity: 0;
}
.map__main-label._active {
  opacity: 1;
}
@media (max-width: 768px) {
  .map__main-label {
    display: none;
  }
}
.map__main-descr {
  display: flex;
  align-items: center;
  color: var(--gray-alternate);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}
@media (max-width: 768px) {
  .map__main-descr {
    font-size: 14px;
  }
}
.map__main-descr:before {
  display: block;
  content: "";
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background-color: var(--light-gray);
  margin-right: 5px;
}
@media (max-width: 768px) {
  .map__main-descr:before {
    width: 16px;
    height: 16px;
  }
}

.result-map {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s ease 0s;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
}
.result-map._open {
  opacity: 1;
  pointer-events: all;
}
.result-map._open .result-map__results {
  transform: translate(0, 0);
}
@media (max-width: 768px) {
  .result-map {
    position: fixed;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    z-index: 10000;
  }
}
.result-map__map {
  flex: 1 1 auto;
  padding-right: 40px;
}
@media (max-width: 768px) {
  .result-map__map {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    padding-right: 0;
  }
}
.result-map__map img {
  width: 100%;
  user-select: none;
  pointer-events: none;
}
.result-map__content {
  width: 400px;
  flex: 0 0 auto;
}
@media (max-width: 1024px) {
  .result-map__content {
    width: 320px;
  }
}
@media (max-width: 768px) {
  .result-map__content {
    width: 100%;
  }
}
.result-map__close {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: transparent;
  border: 0;
  color: var(--text-color);
  font-size: 16px;
  line-height: 150%;
}
@media (max-width: 768px) {
  .result-map__close {
    position: relative;
    margin-bottom: 20px;
  }
}
.result-map__close span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hover-click);
  border-radius: 50%;
}
.result-map__close span svg {
  height: 12px;
  stroke: var(--white);
  stroke-width: 2px;
}
.result-map__close * {
  pointer-events: none;
}
.result-map__results {
  transition: all 0.3s ease 0s;
  transform: translate(100px, 0);
}
.result-map__results h3 {
  color: var(--text-color);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px !important;
}
@media (max-width: 768px) {
  .result-map__results h3 {
    font-size: 20px;
    margin-bottom: 20px !important;
  }
}
.result-map__results ol {
  padding-left: 0;
}
.result-map__results ol > :not(:last-child) {
  margin-bottom: 15px;
}
.result-map__results ol li {
  padding-left: 0;
  display: block;
}
.result-map__results ol li a {
  display: block;
  border-radius: 7px;
  border: 1px solid #c2c2c2;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease 0s;
  color: var(--text-color);
}
@media (any-hover: hover) {
  .result-map__results ol li a:hover {
    background-color: var(--hover-click);
    border-color: var(--hover-click);
    color: #fff;
  }
  .result-map__results ol li a:hover .icon:before {
    opacity: 0;
  }
  .result-map__results ol li a:hover .icon:after {
    opacity: 1;
  }
}
.result-map__results ol li a * {
  color: inherit;
}
.result-map__results ol li a label {
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: block;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .result-map__results ol li a label {
    font-size: 17px;
  }
}
.result-map__results ol li a p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  max-width: 83%;
}
.result-map__results ol li a p > :not(:last-child) {
  margin-bottom: 5px;
}
.result-map__results ol li a p span {
  display: block;
}
.result-map__results ol li a .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
  width: 44px;
  height: 44px;
}
.result-map__results ol li a .icon:before, .result-map__results ol li a .icon:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease 0s;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.result-map__results ol li a .icon:before {
  background-image: url("/assets/new-map/img/location-icon.svg");
  opacity: 1;
}
.result-map__results ol li a .icon:after {
  background-image: url("/assets/new-map/img/location-icon-active.svg");
}