.cluster_custom > span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
  line-height: 56px;
}
.contacts-page-map-top .bx-yandex-view-layout {
  margin-bottom: 0px;
}

.bx-yandex-view-map .bx-yandex-map img {
  position: absolute;
  left: 0px;
  right: 0px;
}
.projects .bx-yandex-view-map .bx-yandex-map img {
  position: static;
  max-width: 100%;
}
.bx-map-view-layout .image span {
  display: block;
  padding-top: 70%;
}
.contacts-page-map-top {
  margin: 0 0px 48px;
}
.page-top-wrapper.grey + .contacts-page-map-top.projects,
.page-top-wrapper.color + .contacts-page-map-top.projects {
  margin-top: 0px;
}
/*
.contacts-page-map-top.projects h5 {
  margin-bottom: 37px;
  font-size: 2.2em;
  line-height: 1.14em;
}*/
body .contacts-page-map-top .ymaps-b-balloon {
  padding: 0;
  width: 366px !important;
  margin: 4px 0 0 -1px;
}

body .contacts-map-top-frame .ymaps-b-balloon {
  padding: 0;
  width: 344px !important;
  margin: 4px 0 0 -1px;
}

.pane_info_wrapper {
  position: relative;
  padding: 14px 20px 20px;
}
.pane_info_wrapper .pane_info {
  border-radius: 4px;
  overflow: hidden;
}
.pane_info_wrapper .pane_info .image {
  position: relative;
  float: left;
  width: 112px;
  overflow: hidden;
  z-index: 3;
  border-radius: 4px;
  margin-top: 6px;
}
.pane_info_wrapper .pane_info .body-info {
  padding: 0px 15px 0px 0px;
}
.pane_info_wrapper .pane_info .body-info:not(.wti) {
  padding-left: 132px;
}
.pane_info_wrapper .pane_info .section_name {
  margin: 0 0 4px;
  font-weight: normal;
}
.pane_info_wrapper .pane_info .info {
  margin: 9px 0 0;
}
.pane_info_wrapper .pane_info .title {
  padding: 0;
}
body .contacts-page-map-top .gm-style .gm-style-iw-c {
  padding: 0px !important;
}
body .contacts-map-top-frame .gm-style .gm-style-iw-c {
  padding: 0px !important;
}
body .contacts-page-map-top .gm-style .gm-style-iw-c img {
  display: inline-block !important;
  max-width: 100%;
}

.cluster_custom {
  font-size: 13px;
  line-height: 1;
}

.ymaps-shadows-pane {
  display: none;
}

/*
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .title {
  margin-bottom: 6px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block {
  color: #555;
  font-size: 13px;
  padding-left: 24px;
  padding-bottom: 11px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block:last-of-type {
  padding-bottom: 0px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block .svg-inline-metro {
  top: 3px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block .svg-inline-email {
  top: 2px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block a:not(:hover) {
  color: #555;
}
*/

.body .drag-block .ymaps-label {
  display: none !important;
}

/*.pane_info_wrapper .pane_info {
  position: absolute;
  top: 92px;
  left: 16px;
  z-index: 2;
  background: #fff;
  width: 287px;
}
.pane_info_wrapper .pane_info .title_block {
  padding: 24px 30px 22px;
  font-weight: bold;
  font-size: 1.467em;
  color: #333;
  border-bottom: 1px solid #f2f2f2;
}
.pane_info_wrapper .pane_info .info_block {
  padding: 21px 30px 30px;
}
.pane_info_wrapper .pane_info .btn-block .btn {
  margin: 13px 0px 0px;
  display: block;
}
.pane_info_wrapper .pane_info .value-block {
  position: relative;
  padding: 0px 0px 19px 28px;
  font-size: 0.933em;
  line-height: 18px;
}
.pane_info_wrapper .pane_info .value-block i {
  position: absolute;
  top: 1px;
  left: 0px;
  width: 16px;
  height: 16px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block i.svg-inline-phone svg {
  width: 12px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phones {
  padding-bottom: 17px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phone {
  display: inline-block;
  z-index: 1;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phone i {
  top: -2px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phone i svg {
  width: 13px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phone a {
  color: #222;
  white-space: nowrap;
  padding-left: 9px;
  font-weight: bold;
  font-size: 1.067em;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phone .dropdown {
  top: 11px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .phone .dropdown a {
  padding-left: 26px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .info_block .schedule {
  font-size: 13px;
  color: #888;
  margin: -4px 0px 0px 26px;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .email a {
  color: #333;
}
.bx-yandex-view-layout .pane_info_wrapper .pane_info .email i {
  top: 3px;
}
*/
.front_map.bx-yandex-view-layout {
  margin: 0px;
  border: none;
}
.front_map.bx-yandex-view-map {
  position: relative;
  overflow: hidden;
  margin: 0px;
  border: none;
}
.bx-yandex-view-map .bx-yandex-map img {
  position: absolute;
  left: 0px;
  right: 0px;
}
body .ymaps-b-balloon__content {
  background: var(--card_bg_black);
}

.body .ymaps-b-balloon {
  margin: -54px 0 0 -38px;
  width: 344px !important;
  background: #fff;
  background: var(--card_bg_black);
  border-radius: 3px;
  padding: 25px 45px 30px 32px;
  -webkit-box-shadow: 0px 5px 20px 0px rgba(18, 25, 38, 0.1);
  -moz-box-shadow: 0px 5px 20px 0px rgba(18, 25, 38, 0.1);
  box-shadow: 0px 5px 20px 0px rgba(18, 25, 38, 0.1);
}
.body .ymaps-b-balloon:after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 19px;
  z-index: 2;
  background: #fff;
  background: var(--card_bg_black);
}
.body .ymaps-b-balloon .ymaps-b-balloon__content > ymaps {
  width: 100% !important;
  height: auto !important;
}
.body .ymaps-b-balloon .ymaps-b-balloon__content-holster {
  padding: 0;
}
.body .ymaps-b-balloon .ymaps-b-balloon__tr {
  display: none;
}
.body .ymaps-b-balloon .ymaps-b-balloon__tl {
  display: none;
}
.body .ymaps-b-balloon .ymaps-b-balloon__content {
  border: none;
}
.body .ymaps-b-balloon .ymaps-b-balloon__bl {
  display: none;
}
.body .ymaps-b-balloon .ymaps-b-balloon__br {
  display: none;
}
.body .ymaps-b-balloon .ymaps-b-balloon__close {
  top: 8px !important;
  right: 8px !important;
  width: 26px !important;
  height: 26px !important;
  background: none !important;
  border-radius: 100% !important;
  transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
}
.body .ymaps-b-balloon .ymaps-b-balloon__close:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -5px 0 0 -5px;
  width: 10px;
  height: 11px;
  background: url(../images/svg/Closemap.svg) 0px 0 no-repeat;
  transition: opacity ease 0.3s;
}
.body .ymaps-b-balloon .ymaps-b-balloon__close:hover:before {
  opacity: 0.5;
}
.body .ymaps-label {
  display: none !important;
}
.body .ymaps-b-balloon:before {
  content: "";
  background: #fff;
  background: var(--card_bg_black);
  width: 15px;
  height: 15px;
  position: absolute;
  bottom: -7px;
  left: 50%;
  margin-left: -6px;
  box-sizing: border-box;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/*
.body .ymaps-b-balloon__content-body .title {
  font-weight: 500;
  color: #222;
  padding: 0px 0px 15px;
}
*/
.ymaps-shadows-pane {
  display: none;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block {
  color: #555;
  font-size: 13px;
  padding-left: 24px;
  padding-bottom: 11px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block:last-of-type {
  padding-bottom: 0px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block .svg-inline-metro {
  top: 3px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block .svg-inline-email {
  top: 2px;
}
.ymaps-b-balloon__content-body .pane_info_wrapper .pane_info .value-block a:not(:hover) {
  color: #555;
}

.ymaps-controls-lefttop {
  bottom: 0;
  top: auto !important;
}
body .body .ymaps-b-zoom_hints-pos_right {
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 20px !important;
  border-radius: 32px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  background: #fff;
  margin-left: -88px;
}
body .body .ymaps-b-zoom {
  width: 80px;
  height: 36px;
  padding: 6px 10px;
}
body .body .ymaps-b-zoom:before {
  content: "";
  position: absolute;
  right: 50%;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background-color: #f5f5f5;
}
body .body .ymaps-b-zoom__scale {
  display: none;
}
body .body .ymaps-b-zoom__button {
  display: inline-block;
  height: 26px;
  width: 30px;
  opacity: 0.6;
}
body .body .ymaps-b-zoom__button:hover {
  opacity: 1;
}
body .body .ymaps-b-form-button__content {
  background-image: none;
}
body .body .ymaps-b-form-button {
  background-image: none;
  overflow: visible;
}
body .body .ymaps-b-form-button__left {
  background-image: none;
}
body .body .ymaps-b-zoom__button_type_minus {
  background-image: none;
  text-align: center;
}
body .body .ymaps-b-zoom__button_type_plus {
  background-image: none;
  text-align: center;
}
body .body .ymaps-b-zoom__button_type_minus .ymaps-b-zoom__sprite {
  width: 100%;
  height: 100%;
  background-image: url(../images/svg/yandexMapMinus.svg);
  left: 0;
  background-position: -6px -3px;
}
body .body .ymaps-b-zoom__button_type_plus .ymaps-b-zoom__sprite {
  width: 100%;
  height: 100%;
  background-image: url(../images/svg/yandexMapPlus.svg);
  left: 0;
  top: 0;
  background-position: -1px -3px;
}
body .body .ymaps-controls-righttop {
  bottom: 0;
  top: auto !important;
}
body .body .ymaps-controls-righttop > ymaps {
  top: auto !important;
  bottom: 20px !important;
  right: auto !important;
  left: 50%;
  margin-left: 2px;
}
body .body .ymaps-controls-righttop .ymaps-b-select.ymaps-b-select_control_listbox {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  padding: 3px 0 3px 25px;
  position: relative;
}
body .body .ymaps-controls-righttop .ymaps-b-select.ymaps-b-select_control_listbox:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 25px;
  height: 25px;
  background-image: url(../images/svg/yandexMapShema.svg);
}
body .body .ymaps-b-select_state_opened .ymaps-b-popupa_layout_yes {
  position: absolute;
  left: 3px;
  bottom: 100%;
  margin-bottom: 3px;
  top: auto;
}
body .body .ymaps-b-select_state_opened .ymaps-b-popupa_layout_yes .ymaps-b-popupa__shadow {
  display: none;
}
body .body .ymaps-b-select_state_opened .ymaps-b-popupa_layout_yes .ymaps-b-popupa__body {
  border-radius: 8px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  padding: 5px;
}
body.index .ymaps-image-with-content {
  background-image: none !important;
}

.marker.dynamic,
.ymaps-point-overlay ymaps > svg {
  position: absolute;
  bottom: 0px;
  left: -23px;
}
.ymaps-point-overlay ymaps.ymaps-image-with-content .marker {
  display: none;
}

/*google*/
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-d {
  max-height: none !important;
  overflow: visible !important;
}
.body .gm-style .gm-style-iw-t {
  bottom: 10px !important;
  right: -1px !important;
}

.body .gm-style .gm-style-iw-c {
  width: 344px !important;
  background: #fff;
  border-radius: 3px;
  padding: 25px 45px 30px 32px !important;
  -webkit-box-shadow: 0px 5px 20px 0px rgba(18, 25, 38, 0.1);
  -moz-box-shadow: 0px 5px 20px 0px rgba(18, 25, 38, 0.1);
  box-shadow: 0px 5px 20px 0px rgba(18, 25, 38, 0.1);
  overflow-anchor: none;
}
.gm-style .gm-style-iw-c button {
  background: url("../images/svg/Closemap.svg") center no-repeat !important;
  top: 6px !important;
  right: 6px !important;
}
.gm-style .gm-style-iw-c img {
  display: none !important;
}

.cluster > div {
  line-height: 56px;
}
/**/

@media (max-width: 767px) {
  body .ymaps-controls-pane {
    display: none;
  }
  .bx-map-view-layout:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .map-view {
    position: relative;
  }
  .map-view:before {
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.07;
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.55) url("../images/map.png") no-repeat scroll center center;
    background-size: cover;
  }
  .map-mobile-opener {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    z-index: 1;
    background-image: url("../images/svg/yandexMapArrows.svg");
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
  }
  .yandex-map__frame {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000 !important;
  }
  .yandex-map__frame .bx-map-view-layout:before {
    display: none;
  }
  .map-mobile-opener.closer {
    background-image: url("../images/svg/yandexMapCloser.svg");
  }

  .yandex-map__frame .bx-yandex-view-layout:before {
    content: none;
  }
  body .yandex-map__frame .ymaps-controls-pane {
    display: block !important;
    position: absolute !important;
    top: auto !important;
    bottom: 20px !important;
  }
  body .body .yandex-map__frame .ymaps-controls-righttop > ymaps {
    top: auto !important;
    bottom: 0px !important;
    left: 50vw;
    margin-left: 10px;
  }
  body .body .yandex-map__frame .ymaps-controls-lefttop > ymaps {
    top: auto !important;
    bottom: 0px !important;
    left: 50vw !important;
    transform: translateX(calc(-100% - 15px));
    margin-left: 0px;
  }
  body .body .yandex-map__frame .ymaps-copyrights-pane,
  body .body .yandex-map__frame .ymaps-copyrights-pane + ymaps {
    display: none !important;
  }

  body .body .yandex-map__frame .ymaps-b-select_state_opened .ymaps-b-popupa_layout_yes {
    bottom: 100% !important;
    top: auto !important;
  }

  body .yandex-map__frame .bx-yandex-map,
  body .yandex-map__frame .bx-yandex-view-layout,
  body .yandex-map__frame .bx-yandex-view-map,
  body .yandex-map__frame .bx-map-view-layout,
  body .yandex-map__frame .bx-google-map {
    width: 100%;
    height: 100% !important;
  }

  /*google*/
  .gm-style:before {
  }
  /**/
}
@media (max-width: 530px) {
  .bx-yandex-view-map .bx-yandex-map,
  .bx-google-map {
    height: 275px !important;
  }

  /*.narrow_menu .main .contacts-page-map-top.projects {margin-top: 0;}
	.body .main .ymaps-b-zoom_hints-pos_right {
		    left: 0px !important;
		    right: auto !important;
		    top: auto !important;
		    bottom: 370px!important;
		    margin-left: 10px;
    }
    .body .main .projects .ymaps-b-zoom_hints-pos_right{
        bottom: 450px!important;
    }
	.body .main .ymaps-controls-righttop > ymaps {
        top: auto !important;
	    bottom: 370px !important;
	    right: 0 !important;
	    left: auto;
	    margin-right: 10px;
    }
    .body .main .projects .ymaps-controls-righttop > ymaps {
	    bottom: 450px !important;
	}
	.body .main .ymaps-b-select_state_opened .ymaps-b-popupa_layout_yes {
	    top: 100%;
	    margin-top: 3px;
		bottom: auto;
		left: auto!important;
		right: 0px!important;
	}
	.bx-yandex-view-layout {margin: 20px;width: auto;}*/
}

@media (max-width: 600px) {
  .bx-yandex-view-layout.front_map .pane_info_wrapper .pane_info {
    width: auto;
    margin: 20px 16px;
    position: static;
  }
  .bx-yandex-view-layout .pane_info_wrapper .pane_info .title_block {
    padding: 24px 0px 22px;
    margin: 0 30px;
  }
}

@media (max-width: 400px) {
  .body .ymaps-b-balloon {
    width: 275px !important;
  }
  .pane_info_wrapper .pane_info .body-info:not(.wti) {
    padding-left: 100px;
  }
  .bx-map-view-layout .image span {
    padding-top: 60%;
  }
  body .contacts-map-top-frame .ymaps-b-balloon {
    width: 275px !important;
  }
  .pane_info_wrapper .pane_info .image {
    width: 85px;
  }
  .body .ymaps-b-balloon {
    padding-right: 35px;
  }
}
