/* Current PHP location block rules; source: web/css/residential/site.css. */
body.kk-reference-page #map .balloon {

    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: 17px;

}

body.kk-reference-page .location-block .custom-title {

    margin-bottom: 32px;

}

body.kk-reference-page .location-block #map {

    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);

}

body.kk-reference-page .location-block .col-md-4 {

    border: 1px solid var(--line-grey);

}

body.kk-reference-page .location-block .lb__box {

    padding: 32px 48px;
    display: grid;
    gap: 32px;

}

body.kk-reference-page .location-block .lb__info_auto {

    display: grid;
    gap: 16px;

}

body.kk-reference-page .location-block .lb__info_on_foot {

    display: grid;
    gap: 16px;

}

body.kk-reference-page .location-block .lb__info_title {

    font-size: 16px;
    color: var(--gray-text);
    margin: 0;

}

body.kk-reference-page .lb__descr {

    line-height: 120%;
    display: flex;
    align-items: center;
    margin: 0;

}

body.kk-reference-page .location-block .lb__info_descr {

    display: flex;
    justify-content: space-between;

}

body.kk-reference-page .lb__number_info {

    line-height: 120%;
    font-size: 14px;
    border-radius: 100px;
    padding: 2.5px 3.5px;
    border: 1px solid var(--line-grey);
    margin: 0;

}

body.kk-reference-page .location-block .lb__descr__time {

    color: var(--gray-text);

}

body.kk-reference-page .location-block .lb__descr_num {

    display: flex;
    gap: 8px;

}

@media (max-width: 550px) {
body.kk-reference-page .location-block .custom-title {

        margin-bottom: 24px;
    
}

body.kk-reference-page .location-block .lb__box {

        padding: 20px;
    
}

body.kk-reference-page .location-block .col-md-4 {

        border-left: 0;
        border-right: 0;
    
}

body.kk-reference-page .location-block #map {

        height: 300px !important;
    
}
}

/* Leave the location heading visible below the restored sticky project menu. */
body.kk-reference-page #location-block { scroll-margin-top: 62px; }
