/* Map-section with yandex-map */
.b-map {
    position: relative;
    overflow: hidden;
    background: none !important;
}

#y-map {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #d8d8d8;
}
.map__balloon {
    padding: 12px 8px 4px 16px;

    /* Bug-fixes for Safari */
    max-width: 285px;
    max-height: 100px;
}
.map__balloon-title {
    margin: 0 0 16px;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    color: #008ec4;
}
.map__balloon-desc {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-size: 17px;
    line-height: 22px;
    font-weight: 300;
    color: #333333;
}


@media screen and (max-width: 1199px) {
    .b-map__container {
        padding: 44px 24px 46px;
    }

    .b-map__form {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .b-form__agreement {
        margin-bottom: 0;
    }

    #y-map {
        position: relative;
        top: auto;
        left: auto;
        height: 480px;
    }
}

@media screen and (max-width: 1023px) {
    .b-map__container {
        padding: 33px 24px 38px;
    }

    .map__balloon {
        padding: 12px 4px 4px 12px;
    }

    .map__balloon-title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 18px;
    }

    .map__balloon-desc {
        font-size: 15px;
        line-height: 19px;
    }

    #y-map {
        height: 450px;
    }
}

@media screen and (max-width: 767px) {
    .b-map__container {
        padding: 32px 16px;
    }

    .map__balloon {
        padding: 8px 0 2px 8px;
    }

    .map__balloon-title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 8px;
    }

    .map__balloon-desc {
        font-size: 14px;
        line-height: 17px;
    }
}

@media screen and (max-width: 360px) {
    .map__balloon {
        max-width: none;
        max-height: none;
    }
}
/* Map-section with yandex-map */