.form_with_bgimage {
    margin: 0;
    padding-bottom: 69px;
    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: 69px;*/
}

.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 .container .content_wrapper {
	min-width: 50%;
}
.form_with_bgimage .container .content_wrapper h2 {
	text-wrap: auto;
	word-wrap: break-word;
	max-width: 530px;
}

.form_with_bgimage form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 10px;
}
.form_with_bgimage form p br {
    display: none;
}
.form_with_bgimage form label {
    color: var(--darkBlue);
    font-size: var(--bodyFont);
    font-weight: 700;
    text-transform: capitalize;
    display: block;
    margin-bottom: 9px;
}
.form_with_bgimage form input,
.form_with_bgimage form textarea {
    border: 1px solid var(--darkGreen);
    width: 100%;
    height: 60px;
}
.form_with_bgimage form .input-group:has(textarea),
.form_with_bgimage form .btn-group {
    grid-column: span 2;
}
.form_with_bgimage form .input-group:has(textarea) p {
    width: 100%;
}

.btn-group {
    justify-content: flex-end;
}
.form_with_bgimage form textarea {
    height: 136px;
}
.form_with_bgimage form .req-text {
    font-size: 19px;
    padding-top: 10px;
}

@media (max-width: 768px) {
    /*.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;
    }
    .form_with_bgimage form {
        grid-template-columns: 1fr;
    }
    .form_with_bgimage form .input-group p {
        width: 100%;
    }
    .form_with_bgimage form .input-group:has(textarea),
    .form_with_bgimage form .btn-group {
        grid-column: span 1;
    }
    .form_with_bgimage .container {
        padding-top: 60px;
    }
}