:root {
    --color0: #FFF;
    --color5: #EEEEEE;
    --color4: #f3b704;
    --color8: #383838;
}

.contacts-map {
  height: 100%;
}
.contacts-map--wrapper {
  height: 100%;
  width: calc(100% - 330px);
}
.contacts-map__block {
    padding-top: 54px;
  height: 545px;
  border-radius: 10px;
  background: #f6f6f5;
  display: flex;
}
.contacts-map-item--list {
  position: relative;
  z-index: 1;
  width: 330px;
  overflow-y: auto;
  height: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid var(--color5);
  border-left: 1px solid var(--color5);
  border-top: 1px solid var(--color5);
  border-radius: 10px 0px 0px 10px;
  box-shadow: 10px 0px 15px 0px rgba(0, 0, 0, 0.15);
  background: var(--color0);
  scrollbar-color: var(--color4) var(--color5);
}

.contacts-map-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;
  border-bottom: 1px solid var(--color5);
}
.contacts-map__block .ymaps-2-1-79-balloon__content{
  font: unset;
}
.contacts-map-item.is-active{
  backdrop-filter: brightness(0.95);
}
.contacts-map-item:last-child {
  border-bottom: none;
}
.contacts-map-item-title {
  max-width: 250px;
  color: var(--color8);
  font-size: 15px;
  font-weight: 600;
  line-height: 120%;
  text-decoration: none;
}
@media screen and (max-width: 992px) {
  .contacts-map-item-title {
    color: var(--color4);
  }
}
@media screen and (max-width: 770px) {
  .contacts-map-item-title {
    max-width: none;
  }
}
.contacts-map-item-adress {
  color: var(--color8);
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
}
.contacts-map-item-misc {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}
@media screen and (max-width: 770px) {
  .contacts-map-item-misc {
    justify-content: center;
  }
}
.contacts-map-item-misc__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts-map-item-misc-icon {
  min-width: 16px;
  width: 16px;
  min-height: 16px;
  color: var(--color4);
}
.contacts-map-item-misc-text {
  color: var(--color8);
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}
.contacts-map-item-button-shops {
  width: fit-content;
  margin-top: auto;
  display: none;
}
.contacts-map-item-link {
  font-size: 14px;
  line-height: 16px;
  color: var(--color4);
}
a.contacts-map-item-link:hover {
  color: var(--color4);
  text-decoration: none;
}

@media screen and (max-width: 992px) {
  .contacts-map-item.is-active {
    backdrop-filter: none;
  }
  .contacts-map__block {
    height: 340px;
  }
  .contacts-map-item--list {
    order: 2;
    border: none;
    box-shadow: none;
    width: 50%;
    border-radius: 0 10px 10px 0;
  }
  .contacts-map--wrapper {
    width: 50%;
  }
  .contacts-map-item {
    padding: 20px;
    display: none;
    border-bottom: none;
  }
  .contacts-map-item.is-active {
    display: flex;
    height: 100%;
  }
  .contacts-map-item-button-shops {
    display: inline-block;
  }
}
@media screen and (max-width: 770px) {
  .contacts-map__block {
    height: auto;
    flex-wrap: wrap;
  }
  .contacts-map-item--list {
    order: 2;
    border: none;
    box-shadow: none;
    width: 100%;
  }
  .contacts-map--wrapper {
    width: 100%;
    height: 250px;
  }
  .contacts-map-item {
    display: none;
    border-bottom: none;
    border-radius: 0 0 10px 10px;
  }
  .contacts-map-item.is-active {
    justify-content: center;
    text-align: center;
  }
  .contacts-map-item-button-shops {
    display: inline-block;
    margin: 0 auto;
  }
}
.ymap-item__list {
  display: none;
}

.contacts-map .ymaps-2-1-79-balloon {
  left: -160px !important;
  box-shadow: none;
}
.contacts-map .ymaps-2-1-79-balloon__layout {
  border-radius: 10px;
}
.contacts-map .ymaps-2-1-79-balloon__content {
  margin-right: 0 !important;
  padding: 0;
}
.contacts-map .ymaps-2-1-79-balloon__content > ymaps:first-child {
  overflow: unset !important;
  height: auto !important;
  width: auto !important;
  border-radius: 10px;
}
.contacts-map .contacts-map-item {
  width: 320px;
  padding: 5px 5px 25px 5px;
}
.contacts-map .contacts-map-item.contacts-map-item--no-img {
  padding: 25px 5px 25px 5px;
}
.contacts-map .contacts-map-item-img {
  border-radius: 10px;
}
.contacts-map .contacts-map-item-title {
  max-width: 100%;
}
.contacts-map .contacts-map-item-title,
.contacts-map .contacts-map-item-adress,
.contacts-map .contacts-map-item-misc,
.contacts-map .contacts-map-item__list,
.contacts-map .contacts-map-item-bottons {
  padding: 0 20px;
}
.contacts-map .contacts-map-item-botton {
  width: 100%;
}
.contacts-map .ymaps-2-1-79-balloon__tail {
  left: 160px !important;
  content: url("/images/icons/map-baloon-popup-icon.png");
  width: 44px;
  height: 24px;
  transform: translateX(-50%) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.contacts-map .ymaps-2-1-79-balloon__tail::after {
  display: none !important;
}
@media screen and (max-width: 992px) {
  .contacts-map .ymaps-2-1-79-inner-panes {
    border-radius: 10px 0 0 10px;
  }
}
@media screen and (max-width: 770px) {
  .contacts-map .ymaps-2-1-79-inner-panes {
    border-radius: 10px 10px 0 0;
  }
}

@media screen and (max-width: 992px) {
  .map-hide-popup--tablet .ymaps-2-1-79-balloon-pane {
    display: none !important;
  }
}

.contacts-map .gm-style .gm-style-iw-c {
  padding: 0 !important;
  max-width: none !important;
  max-height: none !important;
}

.contacts-map .gm-style-iw-ch {
  padding: 0;
}

.contacts-map .gm-style-iw-chr button {
  background: #fff !important;
  border-radius: 0 !important;
  border-bottom-left-radius: 50% !important;
  position: absolute !important;
  top: 0;
  right: 0;
  width: 30px !important;
  height: 30px !important;
  border-radius: 20px;
  opacity: 0.5;
  z-index: 2;
}

.contacts-map .gm-style-iw-chr button span {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTQgLjdsLS43LS43TDcgNi4zLjcgMCAwIC43IDYuMyA3IDAgMTMuM2wuNy43TDcgNy43bDYuMyA2LjMuNy0uN0w3LjcgN3oiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) 50% no-repeat;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  mask-image: none;
}

.contacts-map .gm-style-iw-d {
  max-height: none !important;
  overflow: auto !important;
}

.container.container--wide{
    max-width: 1950px;
}