#map {
    width: 100%;
    height: 600px;
    padding: 0;
    margin: 0;
}

@media (max-width: 767px) {
    #map {
        height: 80vh;
    }
}

@media (max-height: 395px) {
    #map {
        height: 70vh;
    }
}

.clusterIcon,
.iconStyle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    box-sizing: border-box;

    font-family: "metronic_pro" !important;
    font-size: 20px;
    color: #002554;

    border-radius: 50px;
    border: 2px solid #012654;
    background-color: #fff;
}

.ymaps-2-1-79-balloon {
    box-shadow: none;
    margin-left: -70px;
    margin-top: -5px;
}

.ymaps-2-1-79-balloon::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 45%;

    width: 20px;
    height: 20px;
    box-sizing: border-box;

    background: #007b96;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ymaps-2-1-79-balloon::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 45.5%;
    z-index: -1;

    width: 17px;
    height: 17px;
    box-sizing: border-box !important;

    background-color: #fff;
    border: 3px solid #007b96;
    border-radius: 50%;
}

.ymaps-2-1-79-balloon__layout {
    border-radius: 4px;
}

.ymaps-2-1-79-balloon__content, .balloon_content {
    max-width: 230px;
}

.ymaps-2-1-79-balloon__content,
.plumbing_salon .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon.plumbing_salon::before {
    background-color: #007b96;
}

.ymaps-2-1-79-balloon.plumbing_salon::after {
    border-color: #007b96;
}

.engineering .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon.engineering::before {
    background-color: #a89f69;
}

.ymaps-2-1-79-balloon.engineering::after {
    border-color: #a89f69;
}

.sanitary_shop .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon.sanitary_shop::before {
    background-color: #4ebab1;
}

.ymaps-2-1-79-balloon.sanitary_shop::after {
    border-color: #4ebab1;
}

.internet_shop .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon.internet_shop::before {
    background-color: #d7821c;
}

.ymaps-2-1-79-balloon.internet_shop::after {
    border-color: #d7821c;
}

.services .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon.services::before {
    background-color: #f1d000;
}

.ymaps-2-1-79-balloon.services::after {
    border-color: #f1d000;
}

.tece_ofices .ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon.tece_ofices::before {
    background-color: #002554;
}

.ymaps-2-1-79-balloon.tece_ofices::after {
    border-color: #002554;
}

.ymaps-2-1-79-balloon__close + .ymaps-2-1-79-balloon__content {
    margin-right: 0 !important;
}

.ymaps-2-1-79-balloon__tail,
.ymaps-2-1-79-balloon__tail:after {
    display: none;
}

.ymaps-2-1-79-balloon__close + .ymaps-2-1-79-balloon__content {
    padding: 18px !important;
}

.balloon_content {
    color: #fff;
    font-family: "metronic_pro" !important;
}

.balloon_content p {
    margin-bottom: 0;
}

.balloon_content hr {
    margin: 10px 0;

    opacity: 0.5;
}

.balloon_content .p-type {
    margin-bottom: 15px;
    font-size: 10px;
    text-align: right;
    font-weight: bold;
}

.p-content.contragent-type {
    font-weight: bold;
}

.balloon_content .p-content {
    font-size: 16px;
}

.balloon_content .p-content.title-baloon {
    font-size: 18px;
    text-transform: uppercase;
}

.balloon_content .p-title {
    font-size: 11px;
}

.balloon_content a {
    color: #fff;
    text-decoration: none;
}

.balloon_content a:hover {
    text-decoration: none;
    color: #fff;
}

.ymaps-2-1-79-balloon__close .ymaps-2-1-79-balloon__close-button {
    width: 15px !important;
    height: 15px !important;;
    margin-top: 7px;
    margin-right: 7px;
    background-size: 18px !important;
    background-image: url("/local/img/wheretobuy/close.png") !important;
    opacity: 1 !important;
    background-position: center;
}

.ymaps-2-1-78-default-cluster {
    font-family: "metronic_pro" !important;
}

.placemark {
    background-image: url('icon.png');
    background-size: 100%;
    width: 28px;
    height: 40px;
    margin-left: -17px;
    margin-top: -17px;
}

.active {
    width: 18px;
    height: 18px;
    margin-left: -17px;
    margin-top: -10px;

    background-image: none;
    background-color: #fff;
    border-radius: 50%;
    border: 5px solid #007b96;
}

.container_map {
    position: relative;
}

.map_menu {
    position: absolute;
    top: 20%;
    left: 8%;

    max-width: 260px;
    width: 100%;
}

.option-title-city {
    font-size: 11px;
    color: #777777;
    line-height: 1;
}

.select-search-map {
    scrollbar-color: #012654 #dcdcdc;
    scrollbar-width: thin;
}

.map_menu__items {
    position: relative;
    padding: 14px;
    margin-top: 10px;
    box-sizing: border-box;
    width: 100%;

    font-size: 12px;
    font-weight: bold;
    font-family: "metronic_pro" !important;
    text-align: left;
    cursor: pointer;

    box-shadow: 0px 1px 4px rgb(0 0 0 / 20%);
    background-color: #fff;
    border: none;
}

.active-modal .map_menu__items:active .icon-ballon-btn,
.disabled-modal .map_menu__items:hover .icon-ballon-btn,
.map_menu__items.btn-active .icon-ballon-btn {
    background-image: url("/local/img/wheretobuy/icon-white.svg");
}

.map_menu__items .text-uppercase {
    text-transform: uppercase;
}

.map_menu__items-city::after {
    content: "";
    position: absolute;
    top: 40%;
    right: 0;

    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 18px;

    border-right: 2px solid #1d294f;
    border-bottom: 2px solid #1d294f;
    transform: rotate(-45deg);
}

.map_menu__items-city:hover,
.map_menu__items-city:focus,
.map_menu__items-city.active_city {
    color: #fff;
    background-color: #012654;
}

.map_menu__items-city:hover::after,
.map_menu__items-city:focus::after,
.map_menu__items-city.active_city::after {
    border-color: #fff;
}

.map_menu__items .icon-ballon-btn {
    width: 35px;
    height: 35px;
    background-image: url("/local/img/wheretobuy/icon-empty.svg");
    background-size: cover;
    position: absolute;
    right: 5px;
    top: 5px;
}

.block-choose-city {
    position: absolute;
    top: 0;

    display: none;
    max-width: 318px;
    padding: 39px 32px 14px 32px;

    font-family: "metronic_pro" !important;

    background-color: #fff;
    box-shadow: 0px 1px 4px rgb(0 0 0 / 20%);
}

.choose_city {
    position: relative;
}

.block-choose-city__close {
    position: absolute;

    cursor: pointer;
}

.block-choose-city__close {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 15px;
    height: 15px;
}

.block-choose-city__close:before,
.block-choose-city__close:after {
    content: ' ';
    position: absolute;
    left: 8px;
    height: 15px;
    width: 1px;
    background-color: #151515;
}

.block-choose-city__close:before {
    transform: rotate(45deg);
}

.block-choose-city__close:after {
    transform: rotate(-45deg);
}

.block-choose-city__content {
    min-width: 255px;
}

.block-choose-city .search-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 35px 0 15px;
    line-height: 40px;
    background: #fff;
    border: 2px solid #002554;
    border-radius: 0;
    color: #444444;
}

.block-choose-city .search-button-div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.block-choose-city .btn-search {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 5px;
    border: none;
    background: none;
    font-size: 0;
}

.block-choose-city .svg-search {
    background-repeat: no-repeat;
    background-position: center;
}

.block-choose-city .grey-title {
    margin-top: 14px;

    font-size: 12px;
    color: #777777;
}

.list-cities-choose {
    max-height: 314px;
    height: 100%;
    overflow: auto;
}

.list-cities-choose p {
    margin-bottom: 11px;

    font-size: 12px;
    color: #333333;
    cursor: pointer;
}

.list-cities-choose p:hover {
    font-weight: bold;
}

.select_wrp {
    width: 300px;
    margin: 0 auto;
}

.search_map {
    display: none;
}

.search_map .selectize-dropdown .option {
    cursor: pointer;
}

.option.active {
    width: auto;
    height: auto;
    margin: 0;

    border-radius: 0;
    border: none;
}

.search_map .selectize-control.single .selectize-input {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 40px;

    font-size: 14px;
    font-weight: bold;
    color: #002554;

    background: #fff;
    border: 2px solid #002554;
    border-radius: 0;
}

.search_map .selectize-control.single .selectize-input:after {
    top: 6px;
    bottom: 0;
    right: 0;

    height: 30px;
    width: 30px;
    margin-right: 5px;

    background-image: url(/local/templates/tece_main_page/images/svg/Search_black_sm.svg);
    background-repeat: no-repeat;
    background-position: center;
    border: 0;
}

.search_map .selectize-control.single .selectize-input input {
    width: 100%;
}

.search_map .select-one::placeholder {
    font-size: 12px;
    color: #777777;
}


.search_map .option-title-city {
    display: block;

    font-size: 11px;
    font-weight: 400;
    color: #777777;
    line-height: 1;
}

.active-modal .map_menu__items:active,
.disabled-modal .map_menu__items:hover,
.map_menu__items.btn-active {
    color: #fff;
}

.map_menu__items-engineering {
    margin-top: 37px;
    color: #002554;
}

.map_menu__items-engineering .icon-ballon-btn {
    background-color: #a89f69;
}

.active-modal .map_menu__items-engineering:active,
.disabled-modal .map_menu__items-engineering:hover,
.map_menu__items-engineering.btn-active {
    background-color: #a89f69;
}

.map_menu__items-plumbing_salon {
    color: #002554;
}

.map_menu__items-plumbing_salon .icon-ballon-btn {
    background-color: #007b96;
}

.active-modal .map_menu__items-plumbing_salon:active,
.disabled-modal .map_menu__items-plumbing_salon:hover,
.map_menu__items-plumbing_salon.btn-active {
    background-color: #007b96;
}

.map_menu__items-sanitary_shop {
    color: #002554;
}

.map_menu__items-sanitary_shop .icon-ballon-btn {
    background-color: #4ebab1;
}

.active-modal .map_menu__items-sanitary_shop:active,
.disabled-modal .map_menu__items-sanitary_shop:hover,
.map_menu__items-sanitary_shop.btn-active {
    background-color: #4ebab1;
}

.map_menu__items-internet_shop {
    color: #002554;
}

.map_menu__items-internet_shop .icon-ballon-btn {
    background-color: #d7821c;
}

.active-modal .map_menu__items-internet_shop:active,
.disabled-modal .map_menu__items-internet_shop:hover,
.map_menu__items-internet_shop.btn-active {
    background-color: #d7821c;
}

.map_menu__items-services {
    color: #002554;
}

.map_menu__items-services .icon-ballon-btn {
    background-color: #f1d000;
}

.active-modal .map_menu__items-services:active,
.disabled-modal .map_menu__items-services:hover,
.map_menu__items-services.btn-active {
    background-color: #f1d000;
}

.map_menu__items-tece_ofices {
    color: #002554;
}

.map_menu__items-tece_ofices .icon-ballon-btn {
    background-color: #002554;
}

.active-modal .map_menu__items-tece_ofices:active,
.disabled-modal .map_menu__items-tece_ofices:hover,
.map_menu__items-tece_ofices.btn-active {
    background-color: #002554;
}

.section-description h2 {
    color: #b6b5b5;
    display: inline-block;
    font-size: 40px;
    margin-top: 70px;
    margin-bottom: 0px
}

#main #content {
    background: #ffffff;
}

.btn.search-map-btn,
#modal-search-map__close {
    display: none;
}

@media (max-width: 991px) {
    .top_inner_block_wrapper.maxwidth-theme {
        display: none;
    }

    .btn.search-map-btn {
        display: block;
        width: 100%;
        margin-top: 10px;
        padding: 14px;

        text-align: center;
        text-transform: uppercase;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 2px;

        border: none;
        border-radius: 0;
        background-color: #012654;
    }

    .btn.search-map-btn_sticky {
        position: sticky;
        bottom: 0;
    }

    .btn.search-map-btn:hover,
    .btn.search-map-btn:focus {
        color: #fff;
    }

    .container_map {
        margin-left: -15px;
        margin-right: -15px;
    }

    .page-top .page-top-main.pt1 {
        display: none;
    }

    .maxwidth-theme .breadcrumbs {
        display: none;
    }

    .page-top.maxwidth-theme {
        height: 0px;
        min-height: 0px;
        padding-top: 0px;
    }

    .map_menu {
        position: relative;
        top: 5%;
        left: 0;

        display: none;
        margin: 0 auto;
    }


    #modal-search-map {
        overflow: auto;
        width: 100%;
        height: 100%;
        background: #e8e8e8;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        opacity: 0;
        z-index: 38;
        text-align: center;
    }

    #modal-search-map.active-modal {
        opacity: 1;
        display: block;
    }

    #modal-search-map__close {
        display: block;
    }

    .block-choose-city {
        top: 10px;
        z-index: 10;
        width: 260px;
        padding: 32px 15px 14px 15px;
    }

    .block-choose-city__content {
        min-width: 100%;
        text-align: left;
    }
}

