.widget-city-change {
    display: inline-block;
    min-width: 380px;
}

.widget-city-change * {
    box-sizing: border-box;
}

.widget-city-change__city-name {
    display: inline-block;
    color: #ff0032 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.widget-city-change__city-name:after {
    content: ' ';
    background: url("/assets/images/delivery-popup/icon-down.png");
    width: 19px;
    height: 10px;
    display: inline-block;
    margin-left: 6px;
}

.widget-city-change__form {
    position: absolute;
    max-width: 100%;
    margin-top: -20px;
    z-index: 20;
}

.widget-city-change__input {
    width: 100%;
    padding-left: 10px;
}

.widget-city-change__cancel-button, .widget-city-change__form-preloader {
    top: 27px;
}

.widget-city-change__form-preloader {
    right: 9px;
    top: 8px;
    left: auto;
}

.widget-city-change__city-select ul {
    list-style-type: none;
    margin: 0;
    padding-left: 10px;
}

.widget-city-change__city-select li {
    cursor: pointer;
    font-size: 14px;
    word-wrap: unset;
    white-space: nowrap;
    line-height: 1.4em;
    position: relative;
    font-weight: normal;
}

.widget-city-change__city-select li mark {
    background-color: transparent;
    color: #ff0032;
}

.widget-city-change__city-select li:after {
    content: "";
    position: absolute;
    width: 30px;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #ffffff00 0%, rgb(255, 255, 255) 100%);
    height: 100%;
}

.widget-city-change__city-select li:hover {
    color: #ff0032;
    text-decoration: underline;
}

.widget-city-change__city-select {
    position: absolute;
    z-index: 20;
    width: 100%;
    background-color: white;
    height: 140px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    overflow-x: hidden;
}

.widget-city-change input.citySearch {
    font-weight: normal;
    font-size: 18px;
    padding: 7px 12px 1px 10px;
}

.city-select .widget-city-change input.citySearch {
    padding: 3px 12px 4px 10px;
}

.checkout-page .widget-city-change input.citySearch {
    padding: 2px 12px 4px 10px;
}

.widget-city-change .citySearch ~ .search-cancel-button {
    position: absolute;
    right: 10px;
    top: 8px;
    background-color: #ddd;
    border: none;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: none;
    outline-offset: 3px;
    outline-color: #ddd;
}

.popup-overlay.delivery-select-popup {
    width: 480px;
    height: auto;
    margin: 0;
    font: 14px/20px 'Corpid', sans-serif;
}

.popup-overlay.delivery-select-popup .header-block {
    padding: 12px;
    border-bottom: 1px solid #e6e6e6;
}

.popup-overlay.delivery-select-popup .header-block h3 {
    color: #414243;
    font-size: 22px;
    line-height: 24px;
}

.popup-overlay.delivery-select-popup .header-block .closer {
    top: 12px;
    right: 12px;
    background: #acafb3 url(/assets/images/delivery-popup/close.png) no-repeat center center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: background-color 300ms;
}

.popup-overlay.delivery-select-popup .header-block .closer:hover {
    background-color: #919497;
}

.popup-overlay.delivery-select-popup .wrap-contents {
    padding: 22px;
}

.popup-overlay.delivery-select-popup .contents {
    border: 1px solid #fd8027;
    overflow: auto;
    color: #333333;
    font: 14px/18px 'Corpid', sans-serif;
    height: auto;
    padding: 30px;
}

.delivery-select-popup-alert {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: row nowrap;
}

.delivery-select-popup .more_price{
    color: #ff0032;
}

.delivery-select-popup .less_price{
    color: #008000;
}

.delivery-select-popup-alert__icon {
    background-image: url("/assets/images/delivery-popup/icon-attention.png");
    margin-right: 24px;
    height: 33px;
    width: 39px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 39px;
    flex: 0 0 39px;
}

.delivery-select-popup-alert__text {
    color: #333333;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.delivery-select-popup-alert__phone {
    padding-top: 12px;
    font-size: 26px;
}

.delivery-select-popup ul{
    list-style-type: none;
    padding-left: 0;
}

.delivery-select-popup li{
    position: relative;
    padding-left: 20px;
}

.delivery-select-popup li:before{
    content: "\2014";
    position: absolute;
    left: 0;
}

.change-city_approve {
    text-align: center;
    line-height: 24px;
}

.change-city_approve p{
    font-size: 22px;
}

.change-city_approve .btn-group{
    padding-bottom: 10px;
}

.change-city_approve .btn-group button{
    border-radius: 6px;
    width: 110px;
    margin: 0 14px;
    font-size: 15px;
    padding: 5px;
    border-width: 1px;
}

.change-city_approve .btn-group button.redBtn{
    border-color: #ec1d23;
    color: #fff;
    background-color: #ec1d23;
}

.change-city_approve .btn-group button.redBtn:hover{
    background-color: #d40007;
}

.change-city_approve .btn-group button.whiteBtn{
    color: #ec1d23;
    border-color: #ec1d23;
    background-color: #fff;
}

.change-city_approve .btn-group button.whiteBtn:hover{
    color: #fff;
    background-color: #ec1d23;
}

.widget-city-change-warning {
    margin-bottom: 20px;
}

.widget-city-change-warning p, .cart .total .top .widget-city-change-warning p {
    margin: 14px 0;
    float: none;
    font-size: 14px;
}
.warning_cityNotFound .citySearch-warning__phone {
    padding-top: 10px;
    padding-left: 64px;
}
.warning_cityNotFound .delivery-select-popup-alert {
    flex-wrap: wrap;
}
.warning_cityNotFound .delivery-select-popup-alert__text {
    flex-basis: 310px;
}
@media (max-width: 999px) {
    .widget-city-change {
        min-width: 380px;
    }
}
@media (max-width: 640px) {
    .widget-city-change {
        min-width: 280px;
    }
    .widget-city-change__city-name {
        vertical-align: top;
    }
    .widget-city-change__form {
	    width: 100%;
	    margin-top: -16px;
	}
    .popup-overlay.delivery-select-popup {
        width: 320px;
    }
    .delivery-select-popup-alert__icon {
        margin-right: 10px;
        margin-top: 4px;
    }
    .popup-overlay.delivery-select-popup .contents {
        border: none;
        padding: 0;
    }
    .popup-overlay.delivery-select-popup .wrap-header {
        position: relative;
        z-index: 1;
    }
    .popup-overlay.delivery-select-popup .change-city_approve .btn-group button {
        margin: auto;
    }
    
    .popup-overlay.delivery-select-popup .header-block h3,
    .warning_cityNotFound .delivery-select-popup-alert__text-desktop {
        display: none;
    }
    .warning_cityNotFound .delivery-select-popup-alert__text-mobile {
        display: inline;
        line-height: 20px;
    }
    .warning_cityNotFound .citySearch-warning__phone {
        display: inline;
        padding: 0;
        font-size: 18px;
    }
    .warning_cityNotFound .delivery-select-popup-alert__text {
        flex-basis: 164px;
    }
    .warning_cityNotFound .delivery-select-popup-alert {
        margin-bottom: 20px;
    }
    .warning_cityNotFound.popup-overlay.delivery-select-popup .contents {
        padding: 11px 45px 10px 0;
    }
    
    .popup-overlay.delivery-select-popup .header-block {
        padding: 0;
        border: none;
    }
    .popup-overlay.delivery-select-popup .header-block .closer {
        width: 25px;
        height: 25px;
        top: 17px;
        right: 17px;
        background: transparent url(/assets/images/sprite-icons.png) no-repeat -438px -222px;
    }
}