.atd {
    position: relative;
    width: 100%;
    height: 100%;
}

.atd div.yandexmap {
    width: 100%;
    height: 100%;
    min-height: 900px;
    overflow: hidden;
}

.bvi-body .atd div.yandexmap.bvi-no-styles ymaps, .bvi-body .atd div.yandexmap.bvi-no-styles ymaps > * {
    background-color: unset !important;
}

.atd div.yandexmap .buttons-map {
    position: absolute;
    top: 10px;
    width: 100%;
    text-align: center;
}

@media (max-width: 528px) {
    .atd div.yandexmap .buttons-map {
        top: 46px;
    }
}

.modal-dialog {
    max-width: 768px !important;
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 97% !important;
    }
}

.atd .btn-group > .btn {
    z-index: 1 !important;
}

.atd .menu {
    position: absolute;
    right: 50px;
    top: 10px;
    z-index: 99;
}

.atd .show-right-menu-btn {
    float: left;
    margin-right: -5px;
}

.atd .menu.active {
    bottom: 50px;
}

.atd .right-menu {
    padding: 15px;
    border-radius: 6px;
    background: #fff;
    width: 320px;
    height: 100%;
    overflow-y: scroll;
    float: left;
}

@media (max-width: 1280px) {
    .atd .right-menu {
        display: none;
    }
}

.tab-content-map, .tab-content-object {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 12px 2px 12px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 0px 0px 4px 4px;
}

.tab-content-map hr, .tab-content-object hr {
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 12px;
    padding: 0px;
    border-top: 1px solid rgb(149 144 144 / 14%);
}

.tab-content-map .fade:not(.show), .tab-content-object .fade:not(.show) {
    display: none;
}

.delete_photo_object {
    position: absolute;
    right: 15px;
    top: 7px;
    border-radius: 50%;
    background: #F44336;
    font-size: 12px;
    color: #fff;
    width: 19px;
    line-height: 19px;
    text-align: center;
}

.delete_photo_object:hover {
    color: #fff;
    background: #d71001;
}