.popup_form{position:relative;display:inline-block;vertical-align:middle;margin:25px 0;border:1px solid #ccc;text-align:left;width:auto;background-color:#fff;max-width:94%;top:0;}
.popup_form_inner{padding-top:15px;padding-bottom:15px;}
#basket_popup_items .item_img{float:left;height:70px;}
#basket_popup_items .item_img img{max-width:130px;max-height:70px;}
#basket_popup_items .item_title{float:left;width:300px;font-size:16px;margin-right:20px;margin-left:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top: 0; color: #666;}
#basket_popup_items .item_title a{color:#000; }
#basket_popup_items .title_articul_popup{
    margin-bottom: 15px;
}
#basket_popup_items .product_haract_title{
    margin-bottom: 15px;
}
.item_popup_right{float:right;width:280px;}
#basket_popup_items .count_choose{margin-top:22px; font-size: 14px;}
#basket_popup_items .item_price{float:left;margin:0 15px 0 15px;font-size:17px;line-height:70px;text-align:right;width:90px;}
.remove_basket_product{float:right;line-height:6px; margin-top: -25px;}
.remove_basket_product:hover{color:#BC0F1D;}
#item_popup_total{text-align:right;margin:25px 0;font-size:17px;}
#basket_popup_action{margin-top:40px;overflow:hidden;padding-bottom:35px;}
.to_continue{float:left;padding:10px 20px;color:#fff;cursor:pointer;font-size:17px; border-radius: 5px;}
.to_continue span{padding-right:10px;}
#to_basket{float:right;color:#fff;padding:10px 20px;font-size:17px;text-decoration:none;}
#to_basket i{padding-right:10px;}
.popup_close{position:absolute;right:30px;top:0;height:50px;color:#777;line-height:49px;font-size:18px;cursor:pointer;transition:color 0.25s ease;}
.popup_close:hover{color:#000;}
#basket_popup .basket_sum{font-size:21px;}
#basket_popup .price_currency{font-size:87%;}
#all_form_in{display:inline-block;vertical-align:middle;position:relative;width:100%;padding:35px;text-align:left;}
#all_form_in form{ display: flex;justify-content: space-around; width: 80%; margin: 0 auto; text-align:left;margin-top:25px;}
#all_form_title_in{font-size:30px;color:#555; text-align: center;padding-bottom:17px;}
#all_form_exit{position:absolute;right:34px;top:35px;cursor:pointer;font-size:24px;color:#BABABA;}
#all_form_in label{display:block;margin-bottom:6px;color:#bababa;font-size:17px;font-weight:normal;}
#all_form_in label sup{color:#e40514;font-size:20px;top:0;}
#all_form_in input[type="text"]{display: flex;outline: none; height:43px;padding:0 10px;font-size:18px;border-radius:3px;border:1px solid #BABABA;width:220px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:20px;text-align:center;color:#7D7D7D;background-color:#fff;}
#all_form_in input:focus{background-color:#fff;}
#all_form_in input#norobot{width:93px;float:left;height:43px;background-color:#fff;margin-bottom:0;}
.captcha_img{border-radius:0;cursor:pointer;float:right;}
.invalid_captcha{color:#e40514;display:none;position:absolute;left:0;margin-top:-18px;font-weight:bold;bottom:-20px;font-size:12px;}
#all_form textarea{display:block;font-size:24px;height:100px;line-height:150%;padding:10px 10px;border-radius:0;border:1px solid #BABABA;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:20px;}
#captcha_and_button{margin-top:48px;}
#all_form button{float:right;font-size:20px;height:43px;border-radius:0;border:none;width:179px;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
#captcha_wrap{float:left;width:194px;margin-top:-22px;position:relative;}
#captcha_wrap label{font-size:14px;}
#agreement{margin:0 auto 20px;width:100%;padding-top:40px;}
#checkbox_agreement{float:left;width:36px;height:36px;border:1px solid #bababa;background-color:#fff;border-radius:2px;margin-left:20px;cursor:pointer;}
#checkbox_agreement i{display:none;position:relative;left:0px;top:-9px;font-size:41px;color:#555;}
#checkbox_agreement.active i{display:inline-block;}
#agreement_accept{float:left;margin-left:24px;width:317px;text-align:left;font-size:15px;margin-top:-2px;line-height:1.3;text-transform:uppercase;}
#agreement_accept a{color:#777;text-decoration:underline;}
#agreement_accept a:hover{text-decoration:none;}
#form_thanks_bg{background-color:rgba(0,0,0, .6);}
#form_thanks .popup_title{color:#BC0F1D;background-color:inherit;border-bottom:2px solid;font-weight:bold;}
.thanks_note{color:#BC0F1D;font-weight:bold;}
#form_thanks .popup_form_inner{font-size:16px;color:#333;}
#form_thanks_descr{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:20px 0 5px;margin-bottom:25px;}
#form_thanks{width:350px;padding-bottom:15px;}
#form_thanks .to_continue{float:none;width:87%;margin:0 auto;}
.circle_check{width:100px;height:100px;line-height:100px;border-radius:50%;background-color:#30C10A;color:#fff;text-align:center;font-size:58px;margin:25px auto 25px;}
.thanks_text{text-align:center;font-size:24px;font-weight:bold;}
#product_des{
    float: left;
    width: 110px;
}
#basket_popup_items{
    min-height: 75px;
}
.in_basket_add{
    line-height: 75px;
    text-align: center;
    font-size: 18px;
}
#all_form_in input.submit_btn{
    background: #ce6330;
    color: #fff;
    display: flex;
    height:43px;
    padding:0 30px;
    border: none;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    margin-bottom:20px;font-size:24px;
    text-align:center;
    border-radius: 3px;
}
#all_form_in input.submit_btn:hover, .order_btn:hover{
    background: #EB4F00;
}
#all_form_in input:hover{
    outline: none;
}