.shops_container {
    display: flex;
    flex-flow: row wrap;
}

.shops_wrapper {
    width: 30%;
    max-height: 534px;
    overflow: auto;
}


.shops_wrapper::-webkit-scrollbar {
    width: 5px; /* Ширина всего элемента навигации */
}

.shops_wrapper::-webkit-scrollbar-track {
    background: #fff; /* Цвет дорожки */
}

.shops_wrapper::-webkit-scrollbar-thumb {
    background-color: #A8A8A8; /* Цвет бегунка */
    border-radius: 4px; /* Округление бегунка */
    border: none; /* Оформление границ бегунка */
}




.shops_map_wrapper {
    width: 70%;
    overflow: hidden;
    padding-left: 20px;

}

h2.shops_list_header {
    font-size: 1em;
    padding: 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    background: #FCFAFA;
}

h2.shops_list_header:after {
    content: "";
    display: block;
    border-top: 1px solid #0202022b;
    border-right: 1px solid #0202022b;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 38% !important;
    right: 24px;
    transform: rotate(135deg);
}

.shops_list_block.active h2.shops_list_header:after{
    transform: rotate(45deg);
    top: 37% !important;
}

.shops_list_container {
    margin-bottom: 30px;
    display: none;
}

ul.shoplist {
    list-style: none;
}

ul.shoplist li{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.shops_list_block.active .shops_list_container{
    display: block;
}

.obj_wrapper_name {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.obj_wrapper_addres, .obj_wrapper_regim, .obj_wrapper_phone{
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.obj_wrapper_addres:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("images/addres.svg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0;
}

.obj_wrapper_regim:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("images/clock.svg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0;
}

.obj_wrapper_phone:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("images/phone.svg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0;
}

.obj_wrapper_type_wrapper {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 15px;
    margin-top: 15px;
}

.obj_wrapper_type {
    width: 42px;
    height: 27px;
    position: relative;
    margin-right: 15px;
}

.obj_wrapper_type:before{
    content: "";
    display: block;
    width: 42px;
    height: 27px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center center !important;
    position: absolute;
    top: 0px;
    left: 0;
}

.obj_wrapper_type.bad:before{
    background: url("images/icons/bad.png");
}

.obj_wrapper_type.kitchen:before{
    background: url("images/icons/kitchen.png");
}

.obj_wrapper_type.sofa:before{
    background: url("images/icons/sofa.png");
}

.obj_wrapper_type.table:before{
    background: url("images/icons/table.png");
}
.obj_wrapper_type.tv:before{
    background: url("images/icons/tv.png");
}


.obj_wrapper {
    overflow-y: scroll;
    height: 100%;
}

.shops_legend{
    display: flex;
    align-items: center;
}

.legend_box {
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.legend_icon {
    width: 25px;
    margin-right: 15px;
}

.legend_icon img {
    width: 100%;
}

.legend_label{
    font-size: 0.8em;
}

.tire{
    margin-right: 15px;
}

.shops_legend {
    display: flex;
    align-items: center;
    border: 1px solid #0202022b;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.listIcon{
    width: 18px;
    height: auto;
    margin-right: 10px;
}


@media (max-width: 1024px) {
    h2.shops_list_header {
        font-size: 0.7em;
    }
}

@media (max-width: 820px) {
    .shops_map_wrapper {
        width: 60%;
    }
    .shops_wrapper {
        width: 40%;
    }
}

@media (max-width: 640px){
    .shops_map_wrapper {
        width: 100%;
    }
    .shops_wrapper {
        width: 100%;
        max-height: 167px;
        margin-bottom: 40px;
    }
    h2.shops_list_header {
        font-size: 13px;
    }
}



    @media (max-width: 540px) {
    .shops_legend{
        flex-wrap: wrap;
    }
    .legend_label {
        font-size: 13px;
    }
    .legend_box {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    .legend_box:last-child {
        margin-bottom: 0;
    }
}