.form_with_bgimage {
    padding-bottom: 65px;
    position: relative;
}
.form_with_bgimage .bg_img img {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center right;
}
body .form_with_bgimage .container {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 65px;
}

.form_with_bgimage .content_wrapper {
    background-color: var(--white);
    padding: 47px 47px 67px;
    border-radius: 28px;
    /*transform: translateY(85px);*/
    width: 698px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form_with_bgimage .content_wrapper h2 {
    text-wrap: balance;
}
.form_with_bgimage form.wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
}
.form_with_bgimage form.wpcf7-form p:has(textarea),
.form_with_bgimage form.wpcf7-form p:has(.wpcf7-submit) {
    grid-column: span 2;
}
.form_with_bgimage form.wpcf7-form label {
    width: 100%;
    font-size: var(--font-19);
    line-height: 27px;
    color: var(--darkBlue);
    font-weight: 700;
}
.form_with_bgimage form.wpcf7-form label input,
.form_with_bgimage form.wpcf7-form label textarea {
    margin-top: 5px;
    width: 100%;
    border: 1px solid var(--green);
    background-color: #fff;
    padding: 15px;
}
.form_with_bgimage form.wpcf7-form label input {
    height: 60px;
}
.form_with_bgimage form.wpcf7-form label textarea {
    height: 135px;
}
.field-required {
    font-size: var(--font20);
    color: var(--darkBlue);
    line-height: 25px;
    font-weight: 400;
    display: inline-block;
    margin-top: 7px;
}
.form_with_bgimage form.wpcf7-form .wpcf7-submit {
    font-size: var(--font-25);
    line-height: 34px;    
    font-weight: bold;  
    background-color: var(--green);
	border-color: var(--green);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 31px;
    text-align: center;
}
.form_with_bgimage form.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--darkBlue);
	border-color: var(--darkBlue);
}
.form_with_bgimage form.wpcf7-form p:has(.wpcf7-submit) {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row-reverse;
    gap: 20px;
}

.form_with_bgimage .container .content_wrapper {
	min-width: 51%;
}
.form_with_bgimage .container .content_wrapper h2 {
	text-wrap: auto;
	word-wrap: break-word;
	/*max-width: 530px;*/
}
/*.form_with_bgimage .container form.wpcf7-form label input,
.form_with_bgimage .container form.wpcf7-form label textarea {
	resize: inherit;
	box-shadow: 0px 0px 0px 1px #5FC22F;
	border-color: #5FC22F;
}*/
.form_with_bgimage .container form.wpcf7-form .wpcf7-submit {
	border-style: none;
	min-width: 215px;
}

.form_wrapper {
    margin-top: 20px;
}

@media (max-width: 992px) {
    .form_with_bgimage form.wpcf7-form p {
        grid-column: span 2;
    }
    .form_with_bgimage .container .content_wrapper {
        width: 100%;
        padding: 0 !important;
        border-radius: 0;
        transform: none;
        /*margin-top: 50px;*/
    }
    .form_with_bgimage .bg_img img {
        height: 467px !important;
        width: 100%;
        object-fit: cover;
        position: unset;
    }    
}
@media (max-width: 767px) {
    body .form_with_bgimage .container {
        padding-top: 50px;
    }
    .form_with_bgimage {
        padding-bottom: 50px;
    }
}