.block-black-and-white-form {
    padding-bottom: 100px;
}

.block-black-and-white-form .cbg-header {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    padding-top: 100px;
}

.block-black-and-white-form .content-main {
    color: var(--Text-White, #FCFCFC);
}

.block-black-and-white-form .display-h1 {
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 15px;
}

.block-black-and-white-form .cbg-header>picture,
.block-black-and-white-form .cbg-header img {
    position: absolute;
    z-index: -1;
    top: 0;
    object-fit: cover;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.block-black-and-white-form .cbg-header .container {
    position: relative;
    z-index: 1;
    padding-top: 132px;
}

.block-black-and-white-form .cbg-contact-form {
    border-radius: 32px 0 32px 0;
    max-width: 465px;
}

.block-black-and-white-form .cbg-contact-form>div {
    border-radius: 32px;
    border: 1px solid #DADCE1;
    background: var(--Text-White, #FCFCFC);
    padding: 40px;
}


.block-black-and-white-form .h3 span {
    color: var(--Secondary-100, #589F00);
}


.block-black-and-white-form .h3 {
    border-bottom: 1px solid #DCDCDC;
    padding-bottom: 20px;
}

.block-black-and-white-form form.wpcf7-form .fieldset-cf7mls,
.block-black-and-white-form form.wpcf7-form {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.block-black-and-white-form form .h3 {
    align-self: flex-start;
}

.fieldset-cf7mls-wrapper {
    max-width: 100%;
}

.fieldset-cf7mls-wrapper fieldset>p {
    display: none;
}

.fieldset-cf7mls-wrapper fieldset>.cf7mls-btns {
    display: none;
}

.block-black-and-white-form form.wpcf7-form .two-buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.block-black-and-white-form form.wpcf7-form .two-buttons button {
    width: fit-content;
    gap: 12px;
}

.block-black-and-white-form form.wpcf7-form .two-buttons button.cf7mls_back {
    background: none;
    color: black;
}

.block-black-and-white-form form.wpcf7-form:where(.invalid, .init) .wpcf7-spinner {
    display: none;
}

.block-black-and-white-form .header-block-end {
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
	
	border-radius: 32px;
	background: var(--Black, #222);
}

.block-black-and-white-form button .next-form {
    background-image: url('img/arrow-forward.svg');
    width: 24px;
    height: 24px;
    margin-left: 12px;
}

.cbg-contact-form {
    position: relative;
}

.block-black-and-white-form :where(ul, ol) {
    margin: 0;
    padding: 0;
    display: flex
;
    flex-direction: column;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.block-black-and-white-form :where(ul, ol) li {
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    position: relative;
    display: inline-flex
;
    align-items: center;
    gap: 5px;
    list-style-type: none;
}

.block-black-and-white-form :where(ul, ol) li::before {
    content: '';
    background: var(--Secondary-100, #589F00);
    border-radius: 50px;
    width: 20px;
    height: 20px;
    min-height: 20px;
    min-width: 20px;
    display: flex
;
    margin-right: 10px;
}

.block-black-and-white-form :where(ul, ol) li::after {
    content: '';
    background: url(img/check.svg) no-repeat center;
    border-radius: 50px;
    width: 16px;
    height: 16px;
    display: flex
;
    background-repeat: no-repeat;
    position: absolute;
    left: 2px;
}

@media screen and (max-width:992px) {
    .block-black-and-white-form>img {
        object-fit: cover;
        object-position: 0;
        height: 100%;
        width: 100%;
    }

    .cbg-header {
        margin-bottom: 27px;
        border-radius: 32px 32px 23px 32px;
        overflow: hidden;
        min-height: 615px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .block-black-and-white-form .header-block-button {
        background-color: #fff;
        min-height: 72px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: end;
        border-top-left-radius: 32px;
        position: relative;
		display: none;
    }
	
	.block-black-and-white-form .header-block-end {
    	border-radius: 20px;
	}

    .block-black-and-white-form .header-block-end {
/*         padding: 40px 16px 40px 16px; */
    }

    .block-black-and-white-form .header-block-button a {
        background-color: var(--Secondary-100, #589F00);
        position: relative;
        z-index: 2;
    }

    .block-black-and-white-form .header-block-button:after {
        content: '';
        width: 50px;
        height: 50px;
        position: absolute;
        top: -50px;
        right: 0;
        border-radius: 32px;
        box-shadow: 25px 25px 0 0 #fff
    }

    .block-black-and-white-form .header-block-button::before {
        content: '';
        width: 50px;
        height: 50px;
        position: absolute;
        left: -50px;
        bottom: 0;
        border-radius: 32px;
        box-shadow: 25px 25px 0 0 #fff
    }
	
	.block-black-and-white-form .cbg-header {
		padding-top: 50px;
		margin-bottom: 0px;
	}
	
	.block-black-and-white-form {
		padding-bottom: 50px;
	}

}


@media screen and (max-width:576px) {
    .block-black-and-white-form .header-block-button a.button {
        font-size: 14px;
        padding: 14px 15px;
    }

    .block-black-and-white-form .cbg-header {
        border-radius: 24px;
    }
}