#popupShops_background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#popupShops_background {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#popupShops {
    margin: auto;
    height: 600px;
    background: #fff;
    padding: 0;
}

.glyphicon-remove {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}

#popupShops #map {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nullValue {
    border-color: red !important
}

[data-element='shop-popup'] {
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
}

[data-element="shop-popup-overlay"] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(128, 128, 128, 0.5);
    z-index: 101;
}

.shop-list-content {
    display: flex;
    max-height: 100%;
    position: relative;
    border-top: 1px solid var(--main-color-4);
}

.shop-list-container .shop-map {
    /*width: calc(100% - 400px);
    height: 400px;*/

    width: 100%;
    height: 100%;
}

.shop-list-container .shop-map>div {
    width: 100%;
    height: 400px;
    /*    height: 600px;*/
}

.shop-list-container.container {
    max-width: 950px;
    width: 100%;
    padding: 25px 15px 25px 25px !important;
}

.shop-list-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 16px;
}

.city-select.dropdown {
    text-align: center;
    width: 100%;
}

.city-select__current {
    width: 100%;
}

.shop-list-list {
    height: 100%;
}

.shop-list-list .dropdown-content {
    top: 32px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    border: 1px solid #aa8851;
    background-color: #f3e9d4;
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

.shop-list-list-ul {
    /*    max-width: 350px;*/
    padding: 5px;

    height: 100%;
    overflow-y: auto;

    margin: 0;
}

.shop-list-list-ul::-webkit-scrollbar {
    width: 4px;
}

.shop-list-list-ul::-webkit-scrollbar-track {
    background-color: var(--main-color-5);
    border-radius: 4px;

}

.shop-list-list-ul::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 4px;

}

.shop-list-list-ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin: 0px 0px 15px 0px; */
    padding: 10px;
}

.shop-list-list-ul .shop-item-name,
.shop-list-list-ul .shop-item-address,
.shop-list-list-ul .shop-item-phone,
.shop-list-list-ul .shop-item-email,
.shop-list-list-ul .shop-item-worktime,
.shop-list-list-ul .shop-item-btn {
    width: 25%;
    /* padding: 0 5px; */
}



.shop-item-address {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.shop-item-info,
.shop-item-worktime {
    color: var(--night-gray);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.shop-list-list-ul .shop-item-name {
    color: #8e6b36;
}

.shop-list-list-ul .shop-item-btn {
    text-align: center;
}

.shop-list-list-ul .shop-item-btn a {
    color: #333;
    padding: 5px;
    max-width: 130px;
    width: 100%;
    border: 1px solid #333;
    -webkit-transition: all 280ms ease;
    -o-transition: all 280ms ease;
    transition: all 280ms ease;
}

.shop-list-list-ul .shop-item-btn a:hover {
    color: #fff;
    background: #8e6b36;
    border: 1px solid #8e6b36;
    -webkit-transition: all 280ms ease;
    -o-transition: all 280ms ease;
    transition: all 280ms ease;
    text-decoration: none;
}

.shop-list-list-ul .shop-item-phone {
    /*text-align: center;*/
}

.shop-list-close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    font-size: 20px;
}

@media (max-width: 1200px) {
    .shop-list-container.container {
        max-width: 875px !important;
    }
}

.shop-list-list-ul .shop-item-name, .shop-item-address {
    /* width: 100%; */
    /* margin: 0px 0px 20px 0px; */
    /*    text-align: center;*/
}

.shop-list-list-ul li {
    padding: 24px 40px;
    border-bottom: 1px solid var(--main-color-4);
}

.shop-list-list-ul li:last-child {
    border: none;
}


@media (max-width: 450px) {
    .shop-list-title.title {
        font-size: 17px;
    }
}

.shop-list-list-ul .btn-link {
    padding: 5px 10px;
    font-size: 12px;
    width: 100%;
    /* margin-top: 15px; */
    max-width: 200px;
}

.shop-list {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    /*    border-radius: 4px;*/
    z-index: 1;
    background-color: #fff;
    height: 100%;
    max-width: 100%;
}

.shop-list-message {
    background-color: var(--main-color-4);
    padding: 16px;
    border-radius: 8px;
    color: var(--main-color);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.shop-list-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 24px;
}

.shop-list-viewes {
    width: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-list-viewes div {
    background: var(--main-bg-color);
    border-radius: 4px;
    padding: 13.5px 15px;
    display: inline-block;
    line-height: initial;
    cursor: pointer;
    text-align: center;
    width: calc(50% - 5px);
    font-size: 16px;
    font-weight: 500;
}

.shop-list-viewes div.active {
    background: var(--btn-bg-color);
    color: #fff;
}

.shop-list-search {
    flex: 1;
    position: relative;
}

.shop-list-search input {
    width: 100%;
    height: 48px;
}

.shop-list-search button {
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .shop-list-actions {
        flex-wrap: wrap;
    }

    .shop-list-search {
        width: 100%;
        order: -1;
        flex: none;
    }

    .shop-list-list-ul li {
        flex-wrap: wrap;
    }

    .shop-list-content .shop-list-list-ul .shop-item-name,
    .shop-list-content .shop-list-list-ul .shop-item-address,
    .shop-list-content .shop-list-list-ul .shop-item-phone,
    .shop-list-content .shop-list-list-ul .shop-item-email,
    .shop-list-content .shop-list-list-ul .shop-item-worktime,
    .shop-list-content .shop-list-list-ul .shop-item-btn {
        width: 100%;
    }

    .shop-list-list-ul li{
        padding: 24px 20px;
    }

    .shop-item-worktime, .shop-item-address {
        margin-bottom: 12px;
    }
}

#shop-popup .ui-popup__container{
    max-width: 1180px;
    width: calc(100% - 40px);
    padding: 32px 40px;
}