#modal_form,#modal_form2 {
	width: 405px;
    height: auto;
	max-width: 100%;
    border: 0;
    background: #fff;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    opacity: 0;
    z-index: 999998;
	box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 0%);
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-form .form_imput input{margin-bottom:20px}
#modal_form .wpcf7-not-valid-tip,#modal_form2 .wpcf7-not-valid-tip,#modal_form3 .wpcf7-not-valid-tip,.bottom-form .wpcf7-not-valid-tip {
    margin-top: -20px;
    margin-bottom: 20px;
}
.modal-form span[data-name="acceptance-601"] {
    display: inline-block;
    margin-top: -10px;
    margin-bottom: 10px;
}
.modal-form .polycy-text a {
    color: #333;
}
.modal-form .wpcf7-list-item {
    margin: 0;
}
.modal-form .wpcf7-list-item label {
    display: flex;
}
.form__img img {
    border-radius: 30px 0 0 30px;
}
.form.modal-form {
    display: flex;
    gap: 30px;
    align-content: center;
    justify-content: center;
    align-items: center;
	margin: 0;
}
.form__img,.form__data {
    width: 50%;
}
.form__data {
    padding-right: 30px;
}
.form.modal-form .form_imput input{font-size:18px;}
.wpcf7 form>p:last-child {
    margin-bottom: 0!important;
}
#callback-wrap,#order-wrap{margin:0;}
#modal_close,.modal_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    text-align: center;
}
#modal_close:before,.modal_close:before {
    content: '';
    background-color: #d2253a;
    position: absolute;
    height: 2px;
    width: 22px;
    top: 11px;
    left: -4px;
    transform: rotate(-45deg);
}
#modal_close:after,.modal_close:after {
    content: '';
    background-color: #d2253a;
    position: absolute;
    height: 2px;
    width: 22px;
    top: 11px;
    transform: rotate(45deg);
    left: -4px;
}
.callback-submit-btn,.order-submit-btn {
    text-align: center;
}
#modal {
    padding: 40px 35px;
}
/* Подложка */
#overlay {
	z-index: 999997;
	position: fixed; 
	background-color: #000;
	opacity: 0.8; 
	width: 100%; 
	height: 100%;
	top: 0; 
	left: 0; 
	cursor: pointer;
	display: none; 
}
.form-title {
    font-size: 23px;
    line-height: 22px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}
.phone_yellow,.phone_yellow a{
	color: #3f3f3f;
    font-size: 38px;
    line-height: 45px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
.phone_yellow a:hover{
	color: #497e9d;
}
.form-desc{
	color: #444;
    text-align: center;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 3400;
    margin-bottom: 15px;
	margin-top: 15px;
    
}
#modal_form .submit_wrap,#modal_form .g-recaptcha > div,#modal_form .recaptcha_wrap{
    text-align: center;
    margin: 0 auto;
}
.order-check {
    margin-bottom: 15px;
}
#modal_form label,#modal_form2 label {color:#d2d2db;}

#modal_form input[type=checkbox], #modal_form input[type=radio],#modal_form2 input[type=checkbox], #modal_form2 input[type=radio]{
   height:1em;
   margin: 0 4px 0 0;
}
#modal_form textarea,#modal_form2 textarea{
    border-color:#6a6a6a;
}

#modal_form .submit_wrap,#modal_form2 .submit_wrap{
    padding-bottom:0;
}
@media (max-width: 600px){
    #modal_form,#modal_form2 {
	    width: 480px; 
    }
	.form__img {
    display: none;
}
.form__data {
    padding: 30px;
}
.form__img, .form__data {
    width:100%;
	}
#modal_form, #modal_form2{padding:0;}
}
@media (min-width: 481px) and (max-width: 550px){
    #modal_form,#modal_form2 {
	    width: 90%;
    }
}
@media (min-width: 320px) and (max-width: 480px){
    #modal_form,#modal_form2 {
	   width: 90%; 
    }
    .form-title{
	font-size: 20px;
    line-height: 19px;
    font-weight: 600;
    margin-bottom: 15px;
}
.phone_yellow{
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}
.form-desc{
    font-size: 15px;
    line-height: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    
}
#modal_form label{font-size:12px;font-weight: 500;}
}
.modal-wrap {
    width: 100%;
    height: auto;
    z-index: 99999999;
    overflow-x: hidden;
	overflow-y: auto;
}
#modal_form .wpcf7-response-output,#modal_form2 .wpcf7-response-output {
    color: #ff0000 !important;
}
#modal_form,
#modal_form2,
#modal_form3 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.95); 
  opacity: 0;
  display: none;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 0.45s ease;
  z-index: 999998;
  will-change: transform, opacity;
}


#modal_form.show,
#modal_form2.show,
#modal_form3.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

