.map-transport-wr{
    padding-left: 28px;
    background-color: #fff;
    overflow: hidden;
}
#map-transport{
    position: relative;
}
.map-dot-group-wr{
    display: flex;
    width: 100%;
    gap: 15px;
    /*flex-wrap: wrap;*/
    align-items: center;
    justify-content: left;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    padding: 79px 30px 60px 29px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.map-menu-item {
    padding: 15px 19px;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: .3s;
}
.map-menu-item.active {
    font-weight: 600;
    background-color: #87905C;
    color: #fff;
}
.map-menu-item:hover{
    background-color: #87905C;
    color: #fff;
}
.object-main-dot-wr{
    width: 100px;
    height: 100px;
    box-shadow: 0px 4px 12.9px 0px #00000066;
    position: relative;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
}
.object-main-dot-wr:before{
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    background-image: url('/local/templates/juno/img/map/main-dot-wr.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: rotate-step 8s infinite;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); /* Плавное ускорение/замедление */
}
.object-main-dot-wr:after{
    content: '';
    width: 65px;
    height: 65px;
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/local/templates/juno/img/map/main-dot.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
@keyframes rotate-step {
    0% {
        transform: rotate(0deg);
    }
    12.5% {
        transform: rotate(90deg);
    }
    25% {
        transform: rotate(90deg);
    }
    37.5% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    62.5% {
        transform: rotate(270deg);
    }
    75% {
        transform: rotate(270deg);
    }
    87.5% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



.dot-item{
    display: block;
    width: 50px;
    height: 50px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translate(-50%, -50%);
    border: 1px solid #00000012;
    border-radius: 50%;
}
.dot-item span{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    font-size: 12px;
    transition: opacity .3s;
    background-color: #fff;
    opacity: 0;
    display: block;
    padding: 5px 7px;
    width: auto;
    z-index: -1;
    min-width: min-content;
    width: 120px;
    max-width: max-content;
    border-radius: 5px;
    box-shadow: 0 4px 12.9px 0 #00000066;
    z-index: -1;
}
.dot-item:hover{
    box-shadow: 0 4px 12.9px 0 #00000066;
    border-radius: 50%;
}
.dot-item:hover span{
    z-index: 2;
    opacity: 1;
}
.dot-item-transport{
    background-image: url('/local/templates/juno/img/map-ico/transport.svg');
}
.dot-item-food{
    background-image: url('/local/templates/juno/img/map-ico/food.svg');
}
.dot-item-culture{
    background-image: url('/local/templates/juno/img/map-ico/culture.svg');
}
.dot-item-medicine{
    background-image: url('/local/templates/juno/img/map-ico/medicine.svg');
}
.dot-item-education{
    background-image: url('/local/templates/juno/img/map-ico/education.svg');
}
.dot-item-restaurants{
    background-image: url('/local/templates/juno/img/map-ico/restaurants.svg');
}
.dot-item-sport{
    background-image: url('/local/templates/juno/img/map-ico/sport.svg');
}
.dot-item-commerce{
    background-image: url('/local/templates/juno/img/map-ico/commerce.svg');
}
.dot-item-services{
    background-image: url('/local/templates/juno/img/map-ico/services.svg');
}
.dot-item-finance{
    background-image: url('/local/templates/juno/img/map-ico/finance.svg');
}
.dot-item-pastime{
    background-image: url('/local/templates/juno/img/map-ico/pastime.svg');
}
@media(max-width:1080px){
    #map-transport{
        height: 537px!important;
        max-height: 70vh;
    }
    .map-transport-wr {
        padding-left: 0;
    }
    .dot-item {
        width: 36px;
        height: 36px;
    }
    .object-main-dot-wr {
        width: 76px;
        height: 76px;
    }
    .object-main-dot-wr:after {
        width: 47px;
        height: 47px;
    }
    .map-dot-group-wr {
        padding: 30px 0 40px 20px;
    }
}
@media(max-width:640px){
    .map-dot-group-wr {
        flex-wrap: nowrap;
        overflow: scroll;
        max-width: 100%;
    }
    .map-menu-item.more-items-btn{
        display: none!important;
    }
    .map-menu-item{
        display: block!important;
    }
}