/* регистрация пользователя по телефону */
#phone-reg-modal-review.thanks-modal{
    position: relative;
}
#phone-reg-modal-review .form-group{
    position:relative;
}
.erroreblock {
    display: none;
    position: absolute;
    margin-bottom: 5px;
    top: -5px;
}
.erroreblock.open{
    display:block;
}


.erroreblock .err-arrow {
    bottom: -5px;
    left: 20px;
    margin-left: -5px;
    border-width: 5px 5px 0;
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-top-color: #F2DEDE;
    border-style: solid;
}

.erroreblock .err-inner {
    background: #F2DEDE;
    color: #A94442;
    max-width: 300px;
    padding: 3px 8px;
    text-align: center;
    border-radius: 4px;
    font-size:12px;
}
/*
#phone-reg-modal-review input{
    padding: 15px 16px;
    width: 100%;
    background: #fbf6ed;
    border-radius: .625rem;
    font-size:14px;
    line-height:14px;
    min-height: 18px;
}
*/
#phone-reg-modal-review .thanks-modal__title{
/*    font-size:26px;*/
    text-align: left;
    margin-bottom: 26px;
}
#phone-reg-modal-review .callback-form__label{
    font-size:14px;
}
#phone-reg-modal-review .callback-form__btn{
    font-size:12px;
    height: 35px;
}
#phone-reg-modal-review .btn-lg {
    padding: 12px 12px;
    border-radius: 0.475rem;
}

#phone-reg-modal-review .text-primary{
    padding-left:10px;
}
#phone-reg-modal-review .thanks-modal__desc{
    font-size: 16px;
    line-height: 20px;
}


#phone-reg-modal-review .gray{
    padding-top:16px;
    color:#333231;
    opacity: 0.4;
    text-align: center;
    margin-bottom: 0px;
}
#phone-reg-modal-review .red{
    color:red;
    padding-top:10px;
    margin-bottom:0px;
}
#phone-reg-modal-review .step21 .thanks-modal__desc{
    margin-bottom:25px;
}

#phone-reg-modal-review.step1 #step2{
    display:none;
}
#phone-reg-modal-review.step2 #step1{
    display:none;
}
#phone-reg-modal-review.step2:not(.err) .step21err{
    display:none;
}
#phone-reg-modal-review.step2.err .step21{
    display:none;
}
#phone-reg-modal-review.step2.err .thanks-modal__desc{
    display:none;
}
#phone-reg-modal-review:not(.final) #final{
    display:none
}

#phone-reg-modal-review.final #step2,#phone-reg-modal-review.final #step1{
    display:none !important;
}


#phone-reg-modal-review input::-webkit-outer-spin-button,
#phone-reg-modal-review input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
#phone-reg-modal-review input{
    -moz-appearance: textfield;
}

#phone-reg-modal-review .form-control input[type="number"]{
    padding: 8px 13px 7px;
    width: 100%;
    height: 48px;
    background: #fafafa;
    background: var(--darkerblack_bg_black);
    border: 1px solid #ececec;
    border-top-color: rgb(236, 236, 236);
    border-right-color: rgb(236, 236, 236);
    border-bottom-color: rgb(236, 236, 236);
    border-left-color: rgb(236, 236, 236);
    border-color: var(--stroke_black);
    border-radius: 3px;
    box-shadow: none;
    color: #383838;
    color: var(--white_text_black);
    height: auto;
    font-size: 14px;
    outline: none;
}

#phone-reg-modal-review #final .thanks-modal__title{
    text-align: center;
}

@media only screen and (min-width: 769px) {
    #phone-reg-modal-review .mfp-close {
        top: 0px !important;
        right: 0px;
        width: 2.9rem;
    }
    #phone-reg-modal-review.thanks-modal {
        min-width: 444px;
        width: 100%;
        padding:0px;
    }
    #phone-reg-modal-review .thanks-modal__title{
        text-align: center;
    }

}
/*
@media only screen and (max-width: 768px) {
    #phone-reg-modal-review.thanks-modal{
        max-width: 100%;
        height: 100%;
        position: fixed;
        width:100%;
        padding: 25px 27px;
    }
    .main #phone-reg-modal-review.thanks-modal{
        position: relative;
    }
    #phone-reg-modal-review .mfp-close{
        background: none !important;
    }

}
*/

/* КОНЕЦ регистрация пользователя по телефону */