.novaposhta {
    position: relative;
}

#npw-map-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
    z-index: 1;
    background-color: #fff;
    overflow: hidden;
    border-top: none;
    font-family: var(--pfamily), sans-serif;
    box-sizing: border-box;
}

#npw-map {
    height: 100%;
    width: 70%;
    float: left;
}

#npw-map-sidebar {
    height: 100%;
    width: 30%;
    float: left;
}

#npw-map-sidebar-header {
    width: 100%;
    height: 150px;
    padding: 10px 13px;
    box-sizing: border-box;
    background-color: #ed1c23;
    position: relative;
}

#npw-map-logo {
    background: url("/static/core/orders/images/novaposhta-wt.svg") no-repeat;
    width: 20px;
    height: 20px;
    margin: 4px 0 0 9px;
    float: left;
    background-size: contain;
}

#npw-map-back {
    display: none;
    width: 20px;
    height: 20px;
    margin: 4px 0 0 14px;
    background: url("/static/orders/images/back.svg") no-repeat;
    background-size: contain;
    float: left;
}

#npw-map-back:hover {
    opacity: 0.7;
}

#npw-map-close-button {
    /* background: url("https://apimgmtstorelinmtekiynqw.blob.core.windows.net/content/MediaLibrary/Widget/img/map-close-button-sprite.png") 0 0 no-repeat; */
    width: 45px;
    height: 45px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}

#npw-map-close-button:hover {
    background-position: 0 -46px;
    cursor: pointer;
}

#npw-map-back:hover {
    cursor: pointer;
}

#npw-map-sidebar input,
#npw-map-sidebar select
{
    border-radius: 4px;
    color: #6c737b;
    line-height: 17px;
    font-size: 13px;
    padding: 0 10px 2px 10px;
    background: #fbfbfb;
    height: 38px;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

#npw-map-sidebar #npw-map-sidebar-search {
    height: 60px;
}

.cities_filter {
    height: 60px !important;
    margin-bottom: 4px;
}

#npw-map-sidebar input {
    width: 80%;
    float: right;
}

#npw-map-sidebar select {
    width: 100%;
    margin-bottom: 10px;
}

#npw-map-sidebar ul {
    padding: 0 7px;
    margin: 0;
    overflow: auto;
    height: 498px;
}

#npw-map-sidebar ul li {
    margin-bottom: 8px;
    list-style-type: none;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid #e7e9eb;
    border-radius: 2px;
    padding: 12px;
    color: #6c737b;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.06);
    text-align: left;
}

#npw-map-sidebar ul li:hover {
    border: solid 1px #b1b9c1;
    background-color: #fbfbfb;
}

#npw-map-state-details {
    display: none;
    margin: 7px;
    font-size: 12px;
    line-height: 20px;
    border: 1px solid #e7e9eb;
    border-radius: 2px;
    padding: 26px 12px 2px 12px;
    color: #6c737b;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    text-align: left;
}

#npw-map-state-details div {
    margin-bottom: 9px;
}

#npw-map-state-details a {
    display: block;
    font-size: 12px;
    color: #c1c2c2;
    text-decoration: underline;
    padding: 12px 0 5px 0;
    margin-top: 12px;
    border-top: 1px solid #e7e9eb;
}

#npw-map-state-details a:hover {
    text-decoration: none;
}

#npw-map-sidebar ul li div {
    line-height: 16px;
    margin-bottom: 7px;
}

.npw-list-city {
    font-size: 14px;
}
.npw-list-warehouse {
    font-size: 16px;
    border-bottom: 1px solid #e7e9eb;
    padding-bottom: 4px;
    margin-bottom: 4px;
}
.npw-list-address {
    font-size: 12px;
    color: #b1b9c1;
}

.npw-details-title {
    font-size: 18px;
    color: #f63743;
    border-bottom: 1px solid #e7e9eb;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

#npw-map-sidebar ul li:hover {
    cursor: pointer;
}


#npw-map-open-button {
    width: 200px;
    height: 38px;
    outline: none;
    border-radius: 4px;
    border: solid 1px #ef232b;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    text-align: right;
    padding-right: 21px;
    background: url('https://apimgmtstorelinmtekiynqw.blob.core.windows.net/content/MediaLibrary/Widget/img/np-logo-white.png') no-repeat #ed1c23 10px;
    background-size: 20px;
    font-family: 'Montserrat', sans-serif;
    /*position: relative;*/
    display: none;
}

#npw-map-open-button.npw-map-open-button-opened {
    background-color: #b1b9c1 !important;
    border: 1px solid transparent;
}

#npw-map-open-button:hover,
#npw-map-open-button:focus,
#npw-map-open-button:active
{
    cursor: pointer;
    outline: none;
}


.cities_filter_list {
    position: absolute;
    top: 71px;
    right: 0;
    max-height: 300px;
    background-color: white;
    width: 80%;
    overflow-y: scroll;
}

.novaposhta-item {
    padding: 10px;
}


@media (max-width: 769px) {
    #npw-map-sidebar {
        width: 100%;
    }
}


