.category-contact {
    display: inline-block;
    padding: 5px;
    padding-right: 10px;
    margin: 5px;
    border-radius: 5px;
    border: 2px solid #fff;
    background: #e5f8ff;
    color: #000 !important;
    transition: 0.3s all;
}

.category-contact.active,
.category-contact:hover {
    border: 2px solid #5bc6f5;
    background: #fff;
}
.category-contact-icon {
    width: 40px;
}

.view-container {
    position: relative;
    margin-bottom: 50px;
}

.shops {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 300px;
    max-height: 450px;
    padding: 10px;
    margin: 10px 20px;
    background: #ffffff;
    border-radius: 5px;
    z-index: 1;
}

.shops_list_count {
    border-bottom: 1px solid #91e4ff;
    padding: 5px 0;
    margin: 5px 0;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
}
.shops_list {
    max-height: 360px;
    overflow: auto;
}
.shops_list .shop_item {
    padding: 10px 0;
    border-bottom: 1px solid #91e4ff;
}

.shops_list .shop_item:last-child {
    border-bottom: 0;
}

.shops_list .shop_item .detail-shop {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.shops_list .shop_item .detail-shop.show {
    max-height: 500px;
}

.shop_item--detail_btn {
    background: #239bd8;
    border-radius: 10px;
    display: block;
    text-align: center;
    padding: 5px;
    margin-top: 20px;
    color: #fff;
}

.shop_item--detail_btn:hover {
    background: #54b7e3;
    color: #fff !important;
}

.map-page-wr {
    padding-top: 250px;
}

.map-page-wr .title {
    font-size: 22px;
    color: #000;
    margin-bottom: 20px;
}

.map-page-wr .title > a {
    font-size: 22px;
    color: #2285c4;
    margin-bottom: 20px;
    border-bottom: 1px dotted #2285c4;
}

select#city {
    display: none;
}


.shops_search {
    position: relative;
    height: 50px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

.shops_search .shops_search_field {
    width: 100%;
    /*margin-right: 300px;*/
    border: none;
    outline: none;
    height: 100%;
}

.shops_search .search_status {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
}


.shops_search .search_status .error_search_shop {
    font-size: 16px;
    color: #ff0000;
}

.shops_search .search_status .success_search_shop {
    font-size: 16px;
    color: #126006;
}


.map-cities {
    width: 100%;
}

.map-cities-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-cities-search-field {
    position: relative;
    height: 40px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    width: calc(100% - 30px);
}

.map-cities-search-field .map-cities-search--input {
    width: 100%;
    /*margin-right: 300px;*/
    border: none;
    outline: none;
    height: 100%;
}

.map-cities-search-field-close {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url('/local/templates/concept_phoenix_s1/images/svg/cross_bl.svg') center no-repeat;
    background-size: 38px;
    cursor: pointer;
}

.map-cities-search-field .map-cities-search-field--btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    background: #239bd8;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    height: 100%;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    display: none;
}

.map-cities-list {
    padding: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.map-cities-list .map-cities-item {
    display: inline-block;
    min-width: 180px;
}


.map-cities-list .map-cities-item.hide {
    display: none;
}


.map-cities-list .map-cities-item.is_search_item {
    display: none !important;
}

.map-cities-list .map-cities-item.is_search_item.show {
    display: inline-block !important;
}

.popup-cities {
    position: relative;
    z-index: 9;
}

.popup-cities .map-cities {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
}

.popup-cities .map-cities.show {
    display: block;
}

.contact_categories {
    margin: 30px 0;
}

.view-container {
    height: 500px;
}

.city-change {
    font-size: 12px;
    border-bottom: 1px dotted #007bff;
}

.title-city {
    display: inline-block;
}

.tabs-contacts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tabs-contacts--tab {
    max-width: calc(50% - 10px);
    width: 100%;
    display: block;
    padding: 4px 10px;
    border-radius: 5px;
    background: #e5f8ff;
    border: 2px solid #d2f4ff;
    color: #000 !important;
    transition: 0.3s all;
    text-align: center;
    font-size: 14px;
}

.tabs-contacts--tab.active,
.tabs-contacts--tab:hover {
    border: 2px solid #5bc6f5;
    background: #fff;
}

.sklady-fabriki-mebeli-dik {
    background: #edecff !important;
    display: inline-block !important;
}

@media all and (max-width: 992px) {

    .contact_categories {
        font-size: 12px;
    }


    .popup-cities {
        position: static;
    }

    .popup-cities .map-cities {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999;
        padding: 20px;
        overflow: auto;
    }

    .popup-cities .map-cities .map-cities-list {
        height: auto;
    }
}


@media all and (max-width: 640px) {
    #map_contacts {
        display: none;
    }

    .shops {
        width: 100%;
        max-width: unset;
        margin: 0;
    }
}
