#city-select-popup {
    width: 71.875vw;
    max-width: 1380px !important;
}

.select-city-cont,
.select-city-cont * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.select-city-cont {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 67px 87px 70px 93px;
    position: relative;
}

.select-city-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.select-city-close:before,
.select-city-close:after {
    content: '';
    position: absolute;
    background: rgba(162, 162, 162, 0.8);
    width: 20px;
    height: 2px;
    top: 7px;
    left: -2px;
}

.select-city-close:before {
    webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.select-city-close:after {
    webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.select-city-selectors {
    display: flex;
    margin-bottom: 28px;
}

.selector-title {
    font-weight: 700;
    font-size: 2rem;
    line-height: 150%;
    color: #000000;
    margin-bottom: 21px;
}

.select-city-city {
    flex: 1 1 auto;
}

.select-city-title {
    margin: 0 0 5px 0;
    font-weight: 500;
    font-size: 2rem;
    line-height: 33px;
    color: #1A181F;
}

.select-city-subtitle {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 25px;
    color: rgba(26, 24, 31, 0.5);
    margin-bottom: 21px;
}

.select-city-items {
    column-count: 4;
}

.select-city-item {
    display: flex;
    padding-left: 42px;
    position: relative;
}

.select-city-item .letter {
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 183.3%;
    color: #D00025;
}

.select-city-item a {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 183.3%;
    color: #1A181F;
    transition: all .2s;
    text-decoration: none;
}

.select-city-item a:hover {
    color: #D00025;
}

.city-input,
.country-selector {
    height: 62px;
}

.city-input {
    position: relative;
    display: flex;
    border: 1.2px solid rgba(110, 110, 110, .25);
    border-radius: 100px;
    padding: 5px 60px 5px 60px;
}

.city-input input {
    font-style: normal;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 25px;
    color: #1A181F;
    flex: 1 1 auto;
    border: none;
}

.city-input input::placeholder {
    color: rgba(26, 24, 31, 0.5);
}

.city-input:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 26px;
    background: url(/local/templates/new/images/svg-city-search.svg) no-repeat;
    width: 20px;
    height: 20px;
    background-size: contain;
}


.city-input .result {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 2;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    padding: 20px 0;
    -webkit-box-shadow: 0 2px 8px rgba(32, 36, 56, .2);
    box-shadow: 0 2px 8px rgba(32, 36, 56, .2);
    max-height: 188px;
    overflow: auto;
}

.city-input .result a {
    display: block;
    padding-left: 16px;
    line-height: 32px;
    text-decoration: none;
    color: #202438;
    cursor: pointer;
    outline: none;
}

.popular-cities-title {
    margin-bottom: 13px;
}

.popular-cities-block {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px 31px -5px;
}

.popular-cities-item {
    padding: 6px 10px 9px 10px;
    background: #F4F7F7;
    border-radius: 5px;
    margin: 0 5px 10px 5px;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 25px;
    color: rgba(26, 24, 31, 0.5);
    text-decoration: none;
    display: inline-block;
}

.in-cities-title {
    font-weight: 700;
    font-size: 4.166rem;
    line-height: 68px;
    color: #000000;
    margin-bottom: 45px;
}

.in-cities-selector {
    width: 285px;
    height: 60px;
    box-sizing: border-box;
    padding: 13px 49px 13px 20px;
    background: #FFFFFF;
    border: 1.2px solid rgba(110, 110, 110, .25);
    border-radius: 30px;
    margin-bottom: 21px;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 25px;
    color: rgba(26, 24, 31, 0.5);
    cursor: pointer;
    position: relative;
}

.select-city-country {
    position: relative;
    width: 285px;
    height: 60px;
    margin-right: 26px;
    z-index: 10;
}

.select-city-country.active {
    z-index: 100;
}

.country-selector {
    position: absolute;
    background: #ffffff;
    z-index: 100;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    padding: 4px 49px 4px 20px;
}

.city-selector {
    display: flex;
    align-items: center;
}

.city-selector-btn {
    background: #D00025;
    border-radius: 100px;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 1;
    width: 185px;
    height: 60px;
    justify-content: center;
}

.select-city-country.active .country-item:hover {
    color: #D00025;
}

.country-selector-bg {
    display: none;
}

.select-city-country.active .country-selector-bg {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: #1A181F;
    opacity: 0.8;
    top: 0;
    left: 0;
}

.country-other-items {
    display: none;
}

.select-city-country.active .country-selector {
    height: auto;
}

.country-item {
    padding: 9px 0;
    transition: all .2s;
    order: 1;
    color: #1A181F;
}

.country-item.selected {
    order: 0;
}

.select-city-country.active .country-selector .in-cities-item {
    display: flex;
}.in-cities-item.selected {
     display: flex;
 }

.in-cities-item {
    flex: 1 1 auto;
    align-items: center;
    display: none;
}

.country-image {
    margin-right: 17px;
    display: flex;
    align-items: center;
}

.select-city-country .in-cities-selector-btn {
    z-index: 101;
}

.in-cities-selector-btn {
    width: 34px;
    height: 34px;
    background: #F4F7F7;
    content: '';
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    transition: all .2s;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    cursor: pointer;
}

.select-city-country.active .in-cities-selector-btn {
    background: #D00025;
    z-index: 1000;
}

.in-cities-selector-btn span {
    position: absolute;
    content: '';
    top: 12px;
    left: 14px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    transition: all .2s;
}

.select-city-country.active .in-cities-selector-btn span {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    top: 15px;
    left: 14px;
    border: solid #ffffff;
    border-width: 0 1px 1px 0;
}

.in-cities-selectors {
    display: flex;
}

@media (min-width: 767px) and (max-width: 1471px) {
    .select-city-cont {
        padding: 50px 65px 52px 70px;
    }

    .city-input, .country-selector {
        height: 46.5px;
    }

    .city-input {
        width: auto;
        padding: 5px 60px 5px 45px;
    }

    .selector-title {
        margin-bottom: 15px;
    }

    .city-input:before {
        width: 15px;
        height: 15px;
        left: 20px;
    }
}