.type-delivery-popup {
    width: 417px;
    height: 251px;
    position: fixed;
    max-width: 700px;
    background: #F7F7F7;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    text-align: center;
    padding-top: 16px;
    border: 1px solid #E2E2E4;
    left: 50%;
    top: 50%;
    z-index: 1100;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.type-delivery-popup_title {
    padding-bottom: 26px;
    margin-top: 20px;
    font-family: Rubik, sans-sarif;
    font-size: 20px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: subpixel-antialiased;
}

.type-delivery-popup_text {
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
}

.type_delivery_popup_continue_btn {
    background-image: linear-gradient(90deg, rgb(240, 80, 34) 0%, rgb(218, 33, 40) 100%);
    margin-top: 25px;
    margin-bottom: 15px;
    border: none;
    color: #fff;
    width: 144px;
    height: 40px;
    -webkit-font-smoothing: subpixel-antialiased;
    font-family: Rubik, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0;
}

.type-delivery-popup_go_back_btn {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #FF4141;
}

.type_delivery_popup_continue_btn, .forgot-popup_go_back_btn {
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
}

.type-delivery-popup_go_back_btn, .forgot-popup_go_back_btn:hover, .forgot-popup_continue_btn, .forgot-popup_continue_btn:hover {
    text-decoration: none;
}

.type_delivery_popup_continue_btn:hover {
    background: #DA2128;
}

.type-delivery-popup_go_back_btn:hover {
    color: #DA2128;
}

.popup-fade:before {
    content: '';
    background: #1E1E1E;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 50;
}

.close_type{
    position: absolute;
    top: 3px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.close_type:before,
.close_type:after {
    content: "";
    position: absolute;
    top: 21px;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #000;
}

.close_type:before {
    webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.close_type:after {
    webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

@media(max-width: 768px) {
    .type-delivery-popup {
        width: 330px;
        height: 220px;
    }
    .type-delivery-popup_text {
        font-size: 16px;
    }
    .type-delivery-popup_title {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 16px;
        padding-bottom: 15px;
    }
    .type_delivery_popup_continue_btn {
        margin-top: 14px;
        font-size: 16px;
        margin-top: 14px;
    }
}

#type-delivery-courier {
    margin-right: 36px;
}

.type-delivery-popup .form-control {
    width: 267px;
    height: 51px;
    margin: auto;
    font-size: 16px;
}

.type-delivery-popup .select2-container {
    height: 48px;
    background: #fff;
    border: 1px solid #E2E2E4;
    border-radius: 12px;
    margin: 0;
    text-align: left;
}
.type-delivery-popup .select2-container span {
    margin: 0;
    border: 0;
    font-family: Rubik, sans-sarif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0.005em;
    text-align: left;

    -webkit-font-smoothing: subpixel-antialiased;
}

.type-delivery-popup .select2-container .selection {
    margin: 10px 0 0 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

.type-delivery-popup.active {
    height: 450px !important;
    transition: all 0.3s;
}

.type_delivery_popup_continue_btn[disabled] {
    background: #C4C4C4;
}

.terminal_btn {
    height: 62px;
    width: 544px;
}

.client {
    width: 640px;
    height: 273px;
}

.courier {
    width: 374px;
    height: 275px;
}

@media (max-width: 576px) {
    .client {
        width: 330px;
        height: 220px;
    }
    .courier {
        width: 330px;
        height: 220px;
    }
    .terminal_btn {
        height: 62px;
        width: 276px;
    }

    #type-delivery-courier {
        margin-right: 20px;
    }
}

ul .addr {
    white-space: nowrap;
    overflow: hidden;
    cursor: default;
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    color: #656565;
    min-height: 14px;
    height: 1%;
}

ul .addr:hover {
    background-color: #5897fb;
    color: #f6faff;
}

ul#autocomplete-list {
    margin-top: 0px;
    z-index: 9999;
    top: 100%;
    left: -1px;
    right: -1px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    background: #fff;
    line-height: 14px;
    font-size: 12px;
    width: 267px;
    -webkit-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 12px !important;
    overflow: hidden;
}