.popup-select-city .city-list{
    display: flex;
    /*flex-direction: column;*/
    max-height: 350px;
    flex-wrap: wrap;
    align-content: flex-start;
    max-height: 290px;
    overflow-y: auto;
}

.city-list_box{
    max-width: 25%;
    min-width: 25%;
    padding: 10px;
    display: flex;
}

.city-list_title{
    min-width: 20%;
    color: #C60B3C;
}

.city-list_content ul li{
    cursor: pointer;
}
.city-list_content ul li:hover{
    color: #C60B3C;
}

.fancybox-container .fancybox-bg{
    background-color: transparent;
}
.fancybox-container {
    transform: translateX(-100%);
    transition: transform .7s ease-out;
}

.fancybox-container.fancybox-is-open {
    transform: translateX(0);
}

.fancybox-container.fancybox-is-closing {
    transform: translateX(-100%);
    transition: transform .7s ease-out;
}

.popup-select-city .header-select-city{
    margin: 0px 0px 25px 0px;
}
.popup-select-city .select-city{
    margin: 0px 0px 25px 0px;
}
.popup-select-city .header-select-city .title{
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #000000;
    opacity: 0.3;
    cursor: default;
}
.popup-select-city .header-select-city .exit{
    float: right;
    cursor: pointer;
}



.popup-select-city .select-city-input{
    padding: 10px;
    width: 100%;
    height: 45px;
    border: 1px solid red;
    border: 1px solid #C60B3C;
    box-sizing: border-box;
    font-size: 16px;

    font-family: Manrope,Arial,Helvetica,sans-serif;
}

.global-city-list{
    margin: 10px 0px 10px 0px;
}

.global-city_box{
    cursor: pointer;
    display: inline-block;
    background: rgba(31, 28, 28, 0.1);
    margin: 5px 5px 5px 5px;
    padding: 5px 10px 5px 10px;
}

.global-city_box:hover{
    color: #C60B3C;
}

.global-city_box.select{
    color: #C60B3C;
    font-weight: 550;
}
.city-list_content .select{
    color: #C60B3C;
    font-weight: 550;
}

.popup-select-city{
    color: black;
    /* display: none; */
    position: absolute;
    /* display: block; */
    width: 100%;
    /* height: 600px; */

    background-color: white;
    padding: 40px;
    z-index: 999;
    position: absolute;
    left: -100%;
    transition: .7s;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
}

.popup-select-city.active{
    transition: .7s;
    left: 0;
    width: 100%;
    opacity: 1;
    pointer-events: all;
}

.popup-select-city .city-list::-webkit-scrollbar {
    width: 7px
}

.popup-select-city .city-list::-webkit-scrollbar-track {
    background-color: #fff;
}

.popup-select-city .city-list::-webkit-scrollbar-thumb {
    background-color: #1f1c1c4d;
}

.popup-select-city .fancybox-button {
    display: none;
}

.header-select-city_mobile{
    display: none;
}

.header-select-city_mobile .title{
    margin: 10px 0px 10px 0px;
    display: block;
    color: #000000;
    opacity: 0.3;
    cursor: default;
    font-size: 18px;
}

.header-select-city_mobile .close-wrap{
    text-align: center;
    margin-bottom: 5px;
}

.fancybox-content {
    padding: 40px;
}

.opacity-blur{
    opacity: 0.2;
}
@media screen and (max-width: 1000px) {
    .header-select-city{
        display: none;
    }
    .header-select-city_mobile{
        display: block;
    }
    .city-list_box{
        display: none;
    }

    .fancybox-content {
        vertical-align: bottom;
        padding: 20px;
    }
    .header.position-mobile{
        position: initial;
    }
    .header__wrapper.position-mobile{
        position: initial;
    }

    .popup-select-city{
        width: 100%;
        height: 80%;
        border: 2px solid #e8e8e8;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        left: 0;
        bottom: -100%;
        padding: 20px;
    }


    .popup-select-city.active{
        transition: .7s;
        bottom: 0%;
        width: 100%;
        opacity: 1;
        left: 0;
        pointer-events: all;
    }
}