.map{
    width: 100%;
    height: 400px;
    background: #000000;
    position: relative;
    overflow: hidden;
}
.map-small{
    height: 474px;
}
.ymaps-2-1-79-ground-pane {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
#YandexMap {
    width: 100%;
    height: 100%;
    margin: auto;
}
/*.ymaps-2-1-79-controls-pane{*/
/*    display: none;*/
/*}*/
.ymaps-2-1-79-balloon__layout{
    display: none !important;
    max-width: 539px !important;
    width: 100% !important;
    padding: 26px 30px 30px !important;
    box-shadow: 0px 0px 10px 0px #0031451A !important;
    background: #FFFFFF !important;
    position: relative;
}
.ymaps-2-1-79-balloon__content >ymaps{
    width: 539px !important;
    height: auto !important;
}
.ymaps-2-1-79-balloon__close{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}
.map-header{
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #30363A;
}
.map-body{
    display: flex;
    flex-direction: column;
    row-gap: 17px;
}
.map-body-item{
    display: flex;
    column-gap: 17px;
    align-items: center;
}
.map-body-address{
    font-size: 11.2px;
    font-weight: 400;
    line-height: 16.8px;
    color: #7D8082;
}
.map-body-tell, .map-balloon-tel a{
    font-size: 15.2px;
    font-weight: 400;
    line-height: 18.4px;
    color: #30363A;
    transition: .2s linear;
}
.map-body-tell:hover, .map-balloon-tel a:hover{
    color: #000000;
    opacity: 0.7;
}
.map-body-work{
    font-size: 11.2px;
    font-weight: 400;
    line-height: 13.6px;
    color: #30363A;
}
.ymaps-2-1-79-balloon-content__footer{
    padding-top: 23px !important;
}
.ymaps-2-1-79-balloon-content__header{
    padding-bottom: 20px !important;
}
.ymaps-2-1-79-map-copyrights-promo{
    display: none;
}


@media (max-width: 1200px) {
    .map{
        height: auto;
    }
    .map > div[id] {
        height: 400px !important;
    }
    .map[data-mode="balloon"],
    .map[data-balloon="none"]{
        background: transparent;
    }
}
@media (max-width: 700px) {
    .map > div[id] {
        height: 50vh !important;
    }
}

/*====balloon====*/
.map-balloonContainer {
    display: flex;
    flex-direction: column;
    gap: .45em;
    font-size: 100px;
    top: 62px;
    left: 9%;
    position: absolute;
    max-height: 3.099em;
    overflow-x: hidden;
    overflow-y: auto;
}
@media (max-width: 500px) {
    .map-balloonContainer{
        font-size: 20vw;
    }
}
.map-balloon {
    background: #FFFF;
    cursor: default;
}
.map-balloon__container{
    border: 1px solid #000;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
}
.map-balloon__title{
    font-size: .18em;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hover-color-text);
    cursor: pointer;
    padding-bottom: .27777778em;
}
.map-balloon__title:hover{
    text-decoration: underline;
}
.map-balloon__address{
    font-size: .16em;
    line-height: 1.25;
    font-weight: 600;
    padding-bottom: 1.5em;
}
.map-balloon__item{
    display: flex;
    column-gap: .05em;
}
.map-balloon__item div:not(.val) {
    font-size: .16em;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}
.map-balloon__item a, .map-balloon__item .val{
    font-size: .16em;
    line-height: 1.25;
    transition: .2s linear;
    cursor: pointer;
    font-weight: normal;
}
.map-balloon__item .val{
    cursor: default;
}
.map-balloon__item:not(:last-child, .map-balloon__item-tel){
    padding-bottom: .05em;
}
.map-balloon__item-tel {
    padding-bottom: .24em;
}
.map-balloon__item a:hover{
    color: var(--hover-color-text);
}
.map-balloon__content{
    padding: .3em;
}
.map-balloon__left{
    display: grid;
    background: #000;
    width: .9em;
}
.map-balloon__show-on-map{
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #FFFFFF;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}
.map-balloon__show-on-map svg{
    width: .4em;
    height: .4em;
}
.map-balloon .GA-PS-btn{
    width: 100%;
    font-size: .18em;
    padding: 1.111em 2.7778em;
}
@media (max-width: 1200px) {
    .map-balloonContainer{
        position: initial;
        max-width: none;
        padding-top: 50px;
        padding-bottom: 50px;
        width: calc(85% - 40px);
        display: block;
        margin: 0 auto;
        max-height: none;
    }
    .map-balloonContainer .map-balloon {
        margin: 0 auto 16px;
    }
    .map[data-mode="balloon"] .map-balloon,
    .map[data-balloon="none"] .map-balloon{
        max-width: none;
    }
}
@media (max-width: 900px) {
    .map-balloonContainer{
        width: calc(100% - 40px);
    }
}