.home-callback-form {
	width: 100%;
	padding: 25px 0 0;
	margin: 0;
	background: #fff;
	overflow: visible;
	box-sizing: border-box;
}

.home-callback-form .home-callback-title {
	margin: 0 0 18px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 400;
	color: #333;
}

.home-callback-form .form_head {
	display: none !important;
}

.home-callback-form .form.inline {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.home-callback-form .form_body,
.home-callback-form .form_footer {
	display: contents;
	overflow: visible !important;
}

.home-callback-form .clearboth {
	display: none !important;
}

.home-callback-form form {
	display: grid;
	grid-template-columns:
		minmax(220px, 1fr)
		minmax(220px, 1fr)
		125px
		minmax(300px, 1.2fr);
	column-gap: 22px;
	align-items: end;
	margin: 0 !important;
	padding-bottom: 5px;
	overflow: visible !important;
}

.home-callback-form .home-callback-phone {
	grid-column: 1;
	grid-row: 1;
	margin: 0 !important;
}

.home-callback-form .home-callback-name {
	grid-column: 2;
	grid-row: 1;
	margin: 0 !important;
}

.home-callback-form .form-control {
	position: relative;
	margin-bottom: 0 !important;
}

.home-callback-form .form-control > label {
	margin-bottom: 7px;
}

.home-callback-form .form-control label.error {
	font-size: 11px;
	line-height: 14px;
}

.home-callback-form input[type="text"],
.home-callback-form input[type="tel"] {
	height: 43px;
}

.home-callback-form .home-callback-submit {
	grid-column: 3;
	grid-row: 1;
	align-self: end;
	width: 100%;
	min-width: 125px;
	height: 43px;
	margin: 0 !important;
	padding: 0 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.home-callback-form .home-callback-submit span {
	display: block;
	line-height: 43px;
}

.home-callback-form button[type="reset"] {
	display: none !important;
}

.home-callback-form .licence_block.home-callback-license {
	grid-column: 4;
	grid-row: 1;
	align-self: end !important;
	position: relative;
	height: 43px !important;
	min-height: 43px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
}

.home-callback-form .licence_block.home-callback-license > label:not(.error) {
	position: relative;
	height: 43px !important;
	min-height: 43px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	font-size: 12px;
	line-height: 16px;
}

.home-callback-form .licence_block.home-callback-license input[type="checkbox"] {
	flex: 0 0 auto;
}

.home-callback-form .licence_block.home-callback-license > label:not(.error):before,
.home-callback-form .licence_block.home-callback-license > label:not(.error):after {
	top: 50% !important;
	transform: translateY(-50%) !important;
	margin-top: 0 !important;
}

.home-callback-form .licence_block.home-callback-license label.error {
	position: absolute;
	left: 0;
	top: 45px;
	margin: 2px 0 0 !important;
	font-size: 11px;
	line-height: 14px;
	white-space: nowrap;
}

.home-callback-form .form_result {
	grid-column: 1 / -1;
	margin-bottom: 15px;
}

.home-callback-form .captcha-row {
	grid-column: 1 / -1;
	margin-top: 20px;
}

#home-callback-block.callback-home-block {
	width: 100%;
	display: block;
	position: relative;
	margin: 0 !important;
	padding: 0 0 35px !important;
	background: #fff;
	overflow: visible !important;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.home-callback-form {
		padding-top: 25px;
	}

	.home-callback-form form {
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
		row-gap: 18px;
	}

	.home-callback-form .home-callback-phone {
		grid-column: 1;
		grid-row: 1;
	}

	.home-callback-form .home-callback-name {
		grid-column: 2;
		grid-row: 1;
	}

	.home-callback-form .home-callback-submit {
		grid-column: 1;
		grid-row: 2;
		width: 100%;
	}

	.home-callback-form .licence_block.home-callback-license {
		grid-column: 2;
		grid-row: 2;
	}
}

@media (max-width: 600px) {
	#home-callback-block.callback-home-block {
		padding-bottom: 25px !important;
	}

	.home-callback-form {
		padding-top: 20px;
	}

	.home-callback-form .home-callback-title {
		margin-bottom: 15px;
		font-size: 19px;
	}

	.home-callback-form form {
		display: block;
	}

	.home-callback-form .home-callback-phone,
	.home-callback-form .home-callback-name {
		margin-bottom: 15px !important;
	}

	.home-callback-form .home-callback-submit {
		width: 100%;
		margin-bottom: 15px !important;
	}

	.home-callback-form .licence_block.home-callback-license {
		width: 100%;
		height: auto !important;
		min-height: 43px !important;
		margin-bottom: 15px !important;
	}

	.home-callback-form .licence_block.home-callback-license > label:not(.error) {
		height: auto !important;
		min-height: 43px !important;
	}

	.home-callback-form .licence_block.home-callback-license label.error {
		position: static;
		display: block;
		margin-top: 4px !important;
		white-space: normal;
	}
}