.item-order-form {
    padding: 0 70px 41px 39px;
}


.item-order-form *{
    font-family: 'Tahoma';
}


.item-order-form .item-dilimetr{float: left; width: 100%; height: 1px; background-color: #bddae0; margin-bottom: 5px; padding-right: 26px; margin-left: -16px;}
.item-order-form .item-info{float: left;}

.item-order-form .item-form {
    margin-bottom: 12px;
    max-width: 762px;
}

.background_modal{position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: #000; opacity: 0.4; filter: alpha(opacity=70); z-index: 99; display: none; cursor: pointer;}

.result-form #modal-close-btn-result{position: absolute; top: -10px; right: 12px; width: 28px; height: 28px; background: url(/product_forms/img/close-modal-btn.png); cursor: pointer; z-index: 100}
.result-form #modal-close-btn-result:hover{background-position: 0 -31px;}


.item-order-form .sm-label{
	font-size: 12px;
	width: 100%;
}

.item-order-form input[type='text'],.item-order-form input[type='password'],
.item-order-form select,
.item-order-form textarea {
    border: 1px solid #C4C4C4;
    background-color: #fff;
    width: 100%;
    font-size: 15px;
    line-height: 21px;
    padding: 12px 17px;
    font-style: normal!important;
    margin-bottom: 17px;
}

.item-order-form textarea{
	margin-top: 10px;
}
.item-order-form input[type='text']::placeholder,
.item-order-form input[type='text']::-webkit-input-placeholder,
.item-order-form input[type='text']::-moz-placeholder,
.item-order-form input[type='text']:-ms-input-placeholder,

.item-order-form input[type='password']::placeholder,
.item-order-form input[type='password']::-webkit-input-placeholder,
.item-order-form input[type='password']::-moz-placeholder,
.item-order-form input[type='password']:-ms-input-placeholder,
.item-order-form textarea::placeholder{
	color: #b1b4b8;
	font-family: 'RobotoItalic';
	font-style: normal!important;
}

.item-order-form select{
    font-style: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(/images/ux/select.png);
    background-repeat: no-repeat;
    background-position:  100% center;
}

.item-order-form textarea{
	height: 88px;
	padding-top: 10px;
}

.item-order-form select#call_time_from{
	margin-right: 10px;
}
.item-order-form input:focus,
.item-order-form textarea:focus {
    border-color: #ffcc46;
}

#error_item_order{
	visibility: hidden;
	color: red;
	min-height: 10px;
    width: 100%;
}


#additional_row{
	display: none;
}

.link_to_delivery{
    width: 170px;
    float: left;
    margin-left: 20px;
    margin-top: 17px;
    line-height: 23px;
}

label.file {
    height: 30px;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
}

label.file input {
    opacity: 0;
    display: none;
}

label.file .button {
    display: inline-block;
    vertical-align: middle;
    text-decoration: underline;
    margin-right: 10px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 21px;
    font-size: 15px;
}
label.file .button:before {
	content: '';
	display: inline-block;
    background: url('/images/ux/paperclip.png') no-repeat;
	width: 31px;
	height: 31px;
	vertical-align: middle;
	margin-right: 10px;
}
label.file:hover .button {
    text-decoration: none;
}

label.file .input {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #76808c;
    float: none;
}

.agreements-block {
    font-size: 15px!important;
    clear: both!important;
    color: rgba(0, 0, 0, 0.23);
    text-align: center;
    /*display: flex;*/
    align-items: baseline;
    gap: 30px;
}

.agreements-block .checkbox-label {
    cursor: pointer;
    position: relative;
}

.agreements-block .checkbox-label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    position: absolute;
    left: 0;
    background-color: #FFF;
    border: 1px solid #0000003b;
}

.agreements-block.error-checkbox .checkbox-label:before {
    border-color: #ff0000
}

.agreements-block .checkbox-input {
   display:none
}

.agreements-block .checkbox-input:checked + .checkbox-label:before {
    content: "\2713";
    font-size: 25px;
    color: #5a5c63;
    text-align: center;
    line-height: 15px;
}

.agreements-block a{
	text-decoration: underline;
	color: rgba(0, 0, 0, 0.23);
}
.agreements-block a:hover{
	text-decoration: none;
}

.alert-pro,
.alert-emai {
    width: 100%;
    font-size: 13px;
    color: red;
    display:none;
}

.item-order-form .title {
    font-size: 25px;
    color: #0057A3;
    font-weight: bold;
    font-family: 'Tahoma';
}
form#item-order-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#item-order-form input:focus-visible,
#item-order-form textarea:focus-visible {
    outline: inherit;
}
#item-order-form .field {
    width: 49%;
}

#item-order-form .field.payment {
    width: 49%;
}

#item-order-form .field.payment.w33 {
    width: 33%;
}
#item-order-form .field_title,
#item-order-form .field.full_width {
    width: 100%;
}
#item-order-form .field_title {
    font-size: 20px;
    margin: 15px 0 16px;
}
#item-order-form .field_button {
    font-size: 15px;
    line-height: 21px;
    color: #2d2d2d;
    border: 1px solid #C4C4C4;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    margin-bottom: 21px;
    width: 100%;
    background: #fff;
}
#item-order-form .field_button:hover {
    color: #2d2d2d;
}
#item-order-form .field_button.active {
    color: #2d2d2d;
    border: 1px solid transparent;
    background: #ffcc46;
}
#fancybox-content,
#fancybox-content > div{
    height: auto !important;
}
#fancybox-wrap {
	top: 20% !important;
}
#fancybox-content {
    background: #fff;
}
#item-order-form .title {
    font-size: 25px;
    color: #0057A3;
    font-weight: bold;
}
#item-order-form .organization,
.field.full_width.delivery {
    display: none;
}
#item-order-form .field_name {
    color: rgba(0, 0, 0, 0.5);
    font-size: 15px;
    margin-bottom: 7px;
}
.item-order-form input[type='text']::placeholder,
 .item-order-form select::placeholder,
 .item-order-form textarea::placeholder {
    font-style: normal!important;
    color: rgba(0, 0, 0, 0.23);
}
#item-order-form .field.delivery {
    margin-bottom: 23px;
}
#item-order-form #buttons #item_order_send {
    font-size: 15px;
    line-height: 21px;
    font-weight: bold;
    max-width: 308px;
    text-align: center;
    margin: 30px auto 30px;
    padding: 15px 35px 15px 35px;
    display: block;
}
.field.full_width.delivery label {
    cursor: pointer;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 21px;
    font-weight: normal;
    position: relative;
    margin-left: 40px;
    margin-bottom: 26px;
}

.field.full_width.delivery label:before {
    content: "";
    width: 31px;
    height: 31px;
    display: inline-block;
    border: 1px solid #C4C4C4;
    position: absolute;
    left: -40px;
    top: -5px;
}
input:checked ~ label:before {
    background: #0057a3;
}
.inner_padding .item-order-form .title {
    display: none;
}
.inner_padding #item_order_form_block {
    margin-top: 40px;
}
.delivery_type_wrap{
    display: flex;
    flex-wrap: wrap;
}
.delivery_type_wrap input[type="radio"]{
    display: none;
}
.delivery_type_wrap label{
    display: block;
    width: 183px;
    height: 94px;
    border: 1px solid #c4c4c4;
    padding: 20px 20px 20px 80px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: normal;
    line-height: 18px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 20px center;
    align-items: center;
    display: flex;
}
.delivery_type_wrap label.active,.delivery_type_wrap label:hover{
    cursor: pointer;
    background-color: #FFCC46;
}
.delivery_type_wrap .itebm_delivery_l1{background-image: url(/images/1001/d1.png);}
.delivery_type_wrap .itebm_delivery_l2{background-image: url(/images/1001/d2.png);}
.delivery_type_wrap .itebm_delivery_l3{background-image: url(/images/1001/d3.png);background-size: 39px;}
.delivery_type_wrap .itebm_delivery_l4{background-image: url(/images/1001/d4.png);margin-right: 0}
.delivery_type_wrap .itebm_delivery_l5{background-image: url(/images/1001/d5.png);}
.delivery_type_wrap .itebm_delivery_l6{background-image: url(/images/1001/d6.png)}
.delivery_type_wrap .itebm_delivery_l7{background-image: url(/images/1001/d7.png)}
.pickup_mob, .pickup_dsct{
    display: none;
}
.pickup_dsct.active{
    display: block;
}

#item-order-form .remove-file {
    background: url(/bitrix/templates/etalonpribor_2016/components/bitrix/sale.basket.basket/.default/images/ico_close_item-all.png) center no-repeat;
    width: 40px;
    height: 20px;
    display: inline-block;
    cursor:pointer;
    display: inline-block;
    margin-bottom: 10px;
}

@media (max-width: 1230px) {
    .delivery_type_wrap label{
        margin-right: 0;
        width: 32.5%;
    }
    .delivery_type_wrap {
        justify-content: space-between;
    }
}
@media (max-width: 769px) {
#item-order-form .field,
#item-order-form .field.payment,
#item-order-form .field.payment.w33 {
    width: 100%;
}

.item-order-form {
    padding: 0 10px 41px 10px;
}
#fancybox-wrap {
	top: 155% !important;
}
}

@media (max-width: 768px){
    #error_item_order { width: 290px; }
    .delivery-cart-info { max-width: 100%; }
}

.result-form-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 30%);
    z-index: 0;
    z-index: 99999;
    display: none;
}
.result-form-wrapper .result-form {
    display: block;
}
.result-form-wrapper .result-text-buttons {
    display: flex;
    flex-direction: column;
    margin: 20px 0px 0px;
    gap: 10px;
}
.result-form-wrapper .result-text-buttons a {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 35px;
    background: #ffcc46;
    color: #333;
    text-decoration: none;
}
.result-form-wrapper .result-text-buttons a:hover {
    background: #e9bb44;
}

@media (max-width: 767px){
    .delivery_type_wrap label {
        width: 100%;
        height: 79px;
    }
    .pickup_dsct.active{
        display: none;
    }
    .pickup_mob.active{
        display: block;
        margin: 10px 0 15px;
    }
}
.data-agreement4{
        display: flex;
}
.data-agreement4 input{
        width: auto !important;
}