.modalForm {
	max-width: 510px;
    height: fit-content;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	background-color: #272727;
	border-radius: 16px;
    padding: 35px;
}

.modalForm 
.modalContent {
	position: relative;
}

.modalForm 
.form {
    margin: 16px auto 0;
}

.modalForm 
.js-modal-close {
	color: white;
    position: absolute;
	cursor: pointer;
    right: -20px;
    top: -20px;
}

.modalForm .js-modal-close:hover {
	filter: grayscale(1);
	transition: .3s;
}

.modalForm 
.btn {
	max-width: 334px;	
}

.modalForm 
.block-btn {
	justify-content: center;
}

.modalForm 
.wpcf7-spinner {
	width: 100%;
}

.modalForm 
.block-form 
.text-small {
    max-width: 100%;
    margin-left: 0;
}

@media (max-width: 640px) {
	.modalForm {
		height: 100%;
	}
	form .block-form .form-btn input.wpcf7-submit {
        width: 100%;
        height: 56px;
		border-radius: 32px !important;
    }
	.modalForm 
	.js-modal-close {
		right: -32px;
		top: -32px;
	}
}

