body.is-fixed {
    overflow: hidden;
}

.new-modal-content {
    position: relative;
    background: white;
    padding: 24px;
    color: #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-family: 'Jost', sans-sarif;
}

@media (max-width: 599px) {
    .new-modal-content {
        padding: 20px 10px;
        min-height: 100vh;
    }
}

.new-modal-close {
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.new-modal-inner {
    width: 100%;
}

.new-modal-head {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    padding-bottom: 24px;
}

.new-modal-body {
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 24px;
}

.new-modal-title {
    font-family: 'Jost-medium', sans-sarif;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
}

.new-modal-footer {
    padding-top: 24px;
    width: 100%;
}

@media (max-width: 599px) {
    .new-modal-footer {
        padding: 24px 0 60px 0;
    }
}

.new-modal-button {
    display: inline-block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border: 1px solid #7826AD;
    background-color: #7826AD;
    color: #fff;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font: 400 18px/18px 'Jost', sans-serif;
    cursor: pointer;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.new-modal-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 599px) {
    .new-modal-button {
        padding: 10px 0;
        font-size: 16px;
        line-height: 1;
    }
}

.new-modal-button:not([disabled]):hover,
.new-modal-button:not([disabled]):focus,
.new-modal-button:not([disabled]):active {
    background: #a269d4;
}

.new-modal-scrollbar {
    width: 100%;
    max-height: 350px;
    min-height: 350px;
}

@media (max-width: 599px) {
    .new-modal-scrollbar {
        max-height: calc(100vh - 200px);
    }
}

.new-modal-list {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.new-modal-city {
    width: 100%;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #F5F4F9;
    color: #111111;
    font-size: 14px;
}
@media (max-width: 599px) {
    .new-modal-city {
        padding: 10px 0;
    }
}

.new-modal-selected-city {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #F5F4F9;
    color: #7826AD;
    font-size: 14px;
    /*font-weight: bold;*/
}

.new-modal-selected-city.is-hidden {
    display: none;
}

.new-modal-selected-city::after {
    content: '';
    display: block;
    width: 25px;
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12.6111L8.92308 17.5L20 6.5' stroke='%236F30A7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.new-modal-city__link {
    text-decoration: none !important;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    cursor: pointer;
}

.new-modal-city__link:not([disabled]):hover,
.new-modal-city__link:not([disabled]):focus,
.new-modal-city__link:not([disabled]):active {
    color: #7826AD;
}

/*  start new modal search input   */
.new-modal-search-input {
    width: 100%;
    position: relative;
    min-height: 57px;
}

@media (max-width: 599px) {
    .new-modal-search-input {
        min-height: 42px;
    }
}

.new-modal-search-input__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #F5F4F9;
    border: 1px solid #F5F4F9;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    padding: 17px 14px 17px 50px;
    z-index: 3;
    font-family: 'Jost', Arial, sans-serif;
}

@media (max-width: 599px) {
    .new-modal-search-input__input {
        padding: 10px 10px 10px 30px;
    }
}

.new-modal-search-input__input::-webkit-input-placeholder {
    color: #70757D;
}
.new-modal-search-input__input::-moz-placeholder {
    color: #70757D;
}
.new-modal-search-input__input:-ms-input-placeholder {
    color: #70757D;
}
.new-modal-search-input__input:active, .new-modal-search-input__input:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}
.new-modal-search-input__input.is-error {
    border: 1px solid #DC143C;
    color: #DC143C;
}
.new-modal-search-input__icon {
    position: absolute;
    z-index: 4;
    left: 14px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: transparent;
    color: #70757D;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
    font-size: 25px;
}

@media (max-width: 599px) {
    .new-modal-search-input__icon {
        left: 10px;
    }

}

.new-modal-search-input__icon::before {
    content: '\f100';
    font-family: 'Icons';
    display: block;
}
.new-modal-search-input__error-message {
    position: absolute;
    bottom: 100%;
    color: #DC143C;
    font-size: 10px;
}
/* end search input */

.new-modal-open-button {
    width: auto;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    color: rgba(0, 0, 0, 0.5);
    padding: 5px 0 0 0;
    height: 100%;
    /*margin-left: 0 !important;*/
}
.v2-user-bar__link.new-modal-open-button {
    padding: unset;
}

.v2-user-bar__link.new-modal-open-button svg {
    stroke: #000;
    width: 22px;
    height: 22px;
}
@media (max-width: 767px) {
    .v2-user-bar__link.new-modal-open-button svg {
        width: 16.5px;
        height: 19px;
    }
}

.new-modal-open-button:not([disabled]):hover,
.new-modal-open-button:not([disabled]):focus,
.new-modal-open-button:not([disabled]):active {
    color: #7826AD;
}
.new-modal-open-button:not([disabled]):hover svg,
.new-modal-open-button:not([disabled]):focus svg,
.new-modal-open-button:not([disabled]):active svg {
    stroke: #7826AD;
}
@media (max-width: 1140px) {
    .new-modal-open-button {
        width: 35px;
        padding: 0;
        color: rgba(0, 0, 0, 1);
    }
}

@media (max-width: 449px) {
    .new-modal-open-button {
        width: 25px;
    }
}

.new-modal-open-button svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none !important;
    stroke-width: 2px;
}


.modaloverlay[data-type="select-city"] {
    background-color: rgba(0, 0, 0, 0);
    will-change: auto;
}

.modaloverlay[data-type="select-city"].is-show {
    -webkit-animation: show-modal 0.2s forwards;
    animation: show-modal 0.2s forwards;
}

.modaloverlay[data-type="select-city"].is-show .modal__wrapper {
    -webkit-animation: scale-up-center 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both 0.3s;
    animation: scale-up-center 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both 0.3s;
}

.modaloverlay[data-type="select-city"].is-hide {
    -webkit-animation: hide-modal 0.2s ease-out both;
    animation: hide-modal 0.2s ease-out both;
}

.modaloverlay[data-type="select-city"].is-hide .modal__wrapper {
    -webkit-animation: scale-down-center 0.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-down-center 0.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}



/* start new-location-question  */
.new-location-question {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 24px;
    width: 360px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    padding: 24px;
    text-align: left;
    background: #fff;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}
@media (max-width: 599px) {
    .new-location-question {
        top: calc(100% + 10px);
        padding: 15px;
        width: auto;
        gap: 10px;
        min-width: calc(100vw - 50px);
    }
}
.new-location-question__content {
    width: 100%;
}
.new-location-question__footer {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.new-location-question__button-agree {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    display: inline-block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border: 1px solid #7826AD;
    background-color: #7826AD;
    color: #fff;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.2;
    font-family: "Jost", sans-serif;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.new-location-question__button-agree[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 599px) {
    .new-location-question__button-agree {
        font-size: 14px;
    }
}
.new-location-question__button-cancel {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    background: transparent;
}
.new-location-question__button-cancel:not([disabled]):hover, .new-location-question__button-cancel:not([disabled]):focus, .new-location-question__button-cancel:not([disabled]):active {
    color: #7826AD;
}

/* end new-location-question  */


@-webkit-keyframes show-modal {
    0% {
        background-color: rgba(0, 0, 0, 0);
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}


@keyframes show-modal {
    0% {
        background-color: rgba(0, 0, 0, 0);
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

@-webkit-keyframes hide-modal {
    0% {
        background-color: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    100% {
        background-color: rgba(0, 0, 0, 0);
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
}

@keyframes hide-modal {
    0% {
        background-color: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    100% {
        background-color: rgba(0, 0, 0, 0);
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
}

@-webkit-keyframes scale-up-center {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scale-up-center {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes scale-down-center {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        opacity: 0;
    }
}

@keyframes scale-down-center {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        opacity: 0;
    }
}

.is-hidden {
    display: none;
}
