#loginPopup,
#langPopup {
    position: fixed;
    z-index: 99999;
    max-width: 350px;
    width: 100%;
    top: 20%;
    filter: none !important;
    background-color: #fff;
    left: 50%;
    margin-left: -175px;
    border: 1px solid rgb(247, 233, 217);
}

#loginPopup .inner-html-block,
#langPopup .inner-html-block {
    padding: 32px;
}

#loginPopup .log-close-btn,
#langPopup .lang-close-btn {
    display: block;
    width: 30px;
    text-align: left;
    height: 30px;
    line-height: 30px;
    float: right;
    cursor: pointer;
    margin-top: 16px;
    margin-right: 16px;
    background-image: url(/catalog/view/theme/default/stylesheet/newicons/cross.svg);
}

#loginPopup .inner-html-block>h2,
#langPopup .inner-html-block>h2 {
    text-align: center;
    font-size: 32px;
    color: rgb(4, 25, 23);
    margin-bottom: 32px;
}

#loginPopup .inner-html-block label,
#langPopup .inner-html-block label {
    font-family: 'Satoshi-Bold';
    font-weight: 700;
    color: rgb(4, 25, 23);
    font-size: 14px;
}

#loginPopup .inner-html-block input,
#langPopup .inner-html-block input {
    border: 1px solid rgb(241, 217, 190);
    border-radius: 4px !important;
    height: 48px;
    padding-left: 58px;
    color: RGB(4, 25, 23);
    font-size: 14px;
}

#loginPopup .inner-html-block input[type=submit],
#langPopup .inner-html-block input[type=submit] {
    background-color: rgb(13, 118, 109) !important;
    border-radius: 0px !important;
    border: 0px;
    padding: 12px 32px;
    font-family: 'Satoshi-Black';
    font-weight: 900;
    height: 46px;
}

#loginPopup .inner-html-block input[type=submit]+a,
#langPopup .inner-html-block input[type=submit]+a {
    height: 46px;
    float: right;
    line-height: 46px;
    font-size: 14px;
    color: rgb(13, 118, 109) !important;
}

#loginPopup .half,
#langPopup .half {
    float: left;
}

#loginPopup .half+.half,
#langPopup .half+.half {
    float: right
}

#loginPopup .half p,
#langPopup .half p {
    font-size: 16px;
    color: rgb(4, 25, 23);
    margin-bottom: 4px;
}

#loginPopup .half p:first-of-type,
#langPopup .half p:first-of-type {
    font-family: 'Satoshi-Bold';
    font-weight: 700;
}

#loginPopup .half .btn-register,
#langPopup .half .btn-register {
    background-color: rgb(247, 241, 233);
    color: rgb(192, 132, 62) !important;
    height: 48px;
    padding: 14px 32px;
    font-family: 'Satoshi-Bold';
    font-size: 14px;
    border-radius: 0px !important;
    border: 0px;
}

#loginPopup hr,
#langPopup hr {
    border-top: 1px solid rgb(245, 231, 214);
    margin-top: 32px;
    margin-bottom: 34px;
}

#loginPopup .form-group+.form-group,
#langPopup .form-group+.form-group {
    margin-bottom: 20px;
}

#loginPopup .has-feedback label~.form-control-feedback,
#langPopup .has-feedback label~.form-control-feedback {
    top: 25px;
    left: 13px;
    height: 48px;
    background-size: 100%;
}

/* addition */
#langPopup {
    z-index: 999999 !important;
    max-width: 500px !important;
    margin-left: -250px !important;
}

#langPopup h2 {
    margin-bottom: 10px !important;
}

#langPopup h2+p {
    font-size: 16px;
    font-family: 'Satoshi-Regular';
    color: #000;
}

#langPopup .inner-html-block .btext {
    font-size: 16px;
    font-family: 'Satoshi-Bold';
    color: #000;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
    line-height: 1.5;
}

#langPopup .langblock {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 30px;
}

#langPopup .langblock>div {
    overflow: hidden;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

#langPopup .langblock>div>a {
    padding: 0px;
}

#langPopup .langblock>div .flag-hd {
    max-width: 30px;
    max-height: 30px;
    margin-top: 4px;
    transform: scale(1.45);
    margin-left: -1px;
}

#langPopup .inner-html-block {
    padding: 48px;
}

@media (max-width: 768px) {

    #langPopup .langblock>div {
        width: unset;
        display: flex;
        padding: 0 !important;
        justify-content: center;
        align-items: center;
    }

    #langPopup .langblock>div .flag-hd {
        transform: scale(1.5);
        margin-top: unset;
        margin-left: unset;
    }
    #loginPopup,
    #langPopup {
        top: 10%;
    }
}

@media (max-width: 350px) {
    #loginPopup {
        left: 0px;
        margin-left: 0px;
        top: 10px;
    }
}

@media (max-width: 500px) {
    #langPopup {
        margin-left: 0px !important;
        left: 0px !important;
        max-width: 100% !important;
    }

    #langPopup .langblock {
        padding-left: 0px;
        padding-right: 0px;
    }
}