
#drag_map {
    background-color: #fff;
    border: 1px solid #C6C6C6;
    border-radius: 10px;
    font-family: Lato, Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*overflow: auto;*/
    overflow: hidden;
    position: relative;
    /*height: 1530px;*/
    height: 700px;
    display: flex;
}
#map{
    cursor: grab;
}
#map,
.inner_map{
    box-sizing: unset;
}
.inner_map{
    pointer-events: none;
}
.inner_map [data-id]{
    pointer-events: visible;
}
.map_const{
    position: relative;
}

#drag_map [data-testid="map-v2"] {
    position: absolute;
    z-index: 1;
    /*--scale:1.1;*/
    box-sizing: unset;
}

[data-testid="line-selector"] {
    position: absolute;
    z-index: 2;
}

[data-testid="station-pin"],
[data-testid="station-name"] {
    z-index: 2;
    cursor: pointer;
}

[data-testid="slice"] {
    position: relative;
    cursor: grab;
}

.disc {
    position: absolute;
    right: 20px;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
}

.minus,
.plus {
    cursor: pointer;
    background-color: #D6374A;
    border-radius: 5px;
    transition: .3s;
}

.minus:hover,
.plus:hover {
/*    background-color: #dd629f;*/
}

.minus {
    margin-top: 5px;
}

[data-testid="slice"]:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

[data-testid="station-pin"] {
    position: absolute;
    z-index: 2;
    border-radius: 100%;
    background-color: #fff;
    transition: .1s;
    border-width: 2px !important;
}

.active[data-testid="station-pin"] {
    border-color: #D6374A !important;
    border-width: 4px !important;
}

[data-testid="station-name"]:hover {
    background-color: #e824247f;
    color: #fff;
}

.active[data-testid="station-name"] {
    background-color: #D6374A !important;
    color: #fff;
}

[data-testid="station-name"] {
    transition: .2s;
    position: absolute;
    background:  hsla(0, 0%, 100%, .6);
    padding: 0 2px 2px;
    line-height: 1.3;
    /*width: min-content;*/
    border-radius: 4px;
    z-index: 3;
}

[data-testid="line-selector"] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.line-selector-br100[data-testid="line-selector"] {
    border-radius: 100%;
}

.inner_map{
    transform: scale(0.6); 
    padding: calc(-468px) calc(-296px);
}


@media screen and (min-width: 808px) {
    #map{
        top: -795.203px;
        left: -180px;
    }
}

@media screen and (min-width: 1032px) and (max-width: 1880px) {
    #map{
        left: -180px;
    }
}

@media screen and (min-width: 1032px) and (max-width: 1260px) {
    #map{
        left: -280px;
    }
}

@media screen and (max-width: 1032px) {
    #drag_map{
        height: 480px;
    }
    #drag_map [data-testid="map-v2"]{
        position: unset;
        width: 100%;
        height: 100%;
        overflow: auto;
    }
}
@media screen and (max-width: 808px) {
    #drag_map{
        /*height: 320px;*/
    }
    .scheme_show_all {
        margin-top: 40px;
    }

    .inner_map{
        transform: scale(0.4); 
        padding: calc(-702px) calc(-444px);
    }
}

.scheme {
    margin-top: 56px;
}

.heading_cont {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.heading {
    width: 100%;
}

.scheme_img {
    width: 100%;
    margin-top: 27px;
}

.scheme_filters {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: calc(100% - 130px);
}
.scheme_filters.hide {
    display: none;
}

.scheme_head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.sh_btns {
    margin-left: auto;
    white-space: nowrap;
    height: 46px;
    display: flex;
    align-items: center;
}

.sh_btn {
    color: #BC4A88;
    text-decoration: underline;
}

.scheme_filter {
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid #C6C6C6;
    cursor: pointer;
    transition: .3s;
}

.scheme_filter:hover {
    color: #D6374A;
    border-color: #D6374A;
    background-color: #D6373719;
}

.scheme_filter svg {
    width: 14px;
    height: 14px;
}

.scheme_filter svg * {
    transition: .3s;
}

.scheme_filter:hover svg path {
    fill: #D6374A;
}

.scheme_filters_clear {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color .3s;
    margin-left: 16px;
}

.scheme_filters_clear:hover {
    color: #D6374A;
}

.scheme .scheme_show_all {
    letter-spacing: normal;
}

.map_head{
    display: flex;
}

.map_head h1{
    color:#DD629F;
    font-weight: 600;
    font-size: 36px;
    line-height: 43px;
}

.map_desc{
    width: 100%;
    margin-top: 15px;
}

.scheme_show_all {
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    background-color: #D6374A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    width: 255px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
}

.scheme_show_all:hover{
/*    background: #dd629f;*/
    color:#fff;
}

.map_district{
    margin-top: 30px;
    position: relative;
}

.map_district img{
    max-width: 100%;
    width: 100%;
}

.map_district .map_district_item{   
    padding: 15px;   
    position: absolute;       
    background: #FFFFFF;
    border: 1px solid #C6C6C6;
    border-radius: 11px;
    font-size: 14px;
    color: #282826;
    cursor: pointer;
    transform: translate(-50%, -50%);    
}

.map_district .map_district_item.active{
    font-weight: bold;
    border-color: red;
    border-width: 2px;
}

.map_district button.hide{
    display: none;
}

.map_district button{  
    margin-top: 16px;
    background-color: #D6374A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 255px;
    height: 54px;
    font-size: 14px;
    font-weight: 700;
    position: absolute;
    cursor: pointer;
}




.map_district .map_district_item.item1{
    left: 13%;
    top: 5%;
}
.map_district .map_district_item.item2{
    left: 61%;
    top: 19%;
}
.map_district .map_district_item.item3{
    left: 49%;
    top: 22%;
}
.map_district .map_district_item.item4{
    left: 40%;
    top: 29%;
}
.map_district .map_district_item.item5{
    left: 77%;
    top: 31%;
}
.map_district .map_district_item.item6{
    left: 60%;
    top: 39%;
}
.map_district .map_district_item.item7{
    left: 43%;
    top: 49%;
}
.map_district .map_district_item.item8{
    left: 77%;
    top: 52%;
}
.map_district .map_district_item.item9{
    left: 52%;
    top: 59%;
}
.map_district .map_district_item.item10{
    left: 65%;
    top: 64%;
}
.map_district .map_district_item.item11{
    left: 36%;
    top: 73%;
}
.map_district .map_district_item.item12{
    left: 31%;
    top: 73%;
}



.sb_bmp_color{
    border: 2px solid #fff;
    box-sizing: unset;
    width: 24px;
    height: 24px;
    border-radius: 100%; 
    display: inline-block;
}

.scheme_filter > span{
    display: flex;
    align-items: center;
    gap:25px;
}

.metro_relevant .checkbox__text{
    font-weight: bold;
}



@media screen and (max-width: 1032px) {
    .sh_btns {
        margin-top: unset;
        height: unset;
        order: 1;
    }

    .scheme_filters {
        order: 2;
        margin-top: 25px;
        width: 100%;
    }

    .heading {
        width: unset;
    }
}

@media screen and (max-width: 808px) {
    .map_desc{
    margin-top: 0;
}

    .scheme_show_all {
        width: 100%;
/*        margin-top: 40px;*/
    }

    .scheme_filter {
        padding: 0 10px;
        gap: 4px;
        font-size: 10px;
        height: 28px;
        border-radius: 7px;
    }

    .scheme_filters_clear {
        height: 28px;
        font-size: 10px;
        margin-left: 10px;
    }

    .scheme_filter svg {
        width: 10px;
        min-width: 10px;
        height: 10px;
    }

    .scheme_filters {
        gap: 10px;
        margin-bottom: 10px;
    }

    .sh_btn {
        font-size: 16px;
    }

    .map_district .map_district_item{
        padding: 6px;
        font-size: 10px;
    }

    .map_district button{
        margin-top: 10px;       
        width: 100px;
        height: 30px;
        font-size: 12px;
    }

    .scheme_filter > span{
        gap:10px;
    }

    .sb_bmp_color{
        width: 10px;
        height: 10px;
    }
}

