.wpcf7-form,
.wpcf7-form > p {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.wpcf7-form-control-wrap {
	position: relative;
	width: 100%;
}
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance) {
	font-family: inherit;
	background: none;
	width: 100%;
	height: 45px;
	border: 1px solid #F4EDDE;
	padding: 0 32px;
	vertical-align: top;
	border-radius: 32px;
	color: #DEC180;
	font-size: 20px;
	font-weight: 300;
}
.wpcf7-form-control::-webkit-input-placeholder {
	color: #DEC180;
	opacity: 1;
}
.wpcf7-form-control:-moz-placeholder {
	color: #DEC180;
	opacity: 1;
}
.inputs-label,
input[type="date"] ~ .inputs-label,
input[type="time"] ~ .inputs-label,
.val-is-empty:focus ~ .inputs-label {
	cursor: text;
	position: absolute;
	right: 23px;
	top: -10px;
	padding: 3px 10px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	color: #DEC180;
	color: #27504E;
	font-size: 14px;
	line-height: 13px;
	filter: alpha(opacity=100);
	opacity: 1;
	-khtml-opacity: 1;
	visibility: visible;
}
.upload-btn-wrap:not(.active) .inputs-label,
.val-is-empty ~ .inputs-label {
	overflow: hidden;
	color: #fff;
	font-size: 16px;
	top: 0;
	line-height: 32px;
	filter: alpha(opacity=0);
	opacity: 0;
	-khtml-opacity: 0;
	visibility: hidden;
} 
.inputs-label span {
	position: relative;
	z-index: 1;
}
.inputs-label::before {
	content: "";
	background: #F4EDDE;
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
	border-radius: 10px;
	transition: background 0.2s ease;
}
.val-is-empty ~ .inputs-label::before {
	background: none;
}
.val-is-empty:focus ~ .inputs-label::before {
	background: #F4EDDE;
}
.wpcf7-not-valid ~ .inputs-label,
.val-is-empty.wpcf7-not-valid ~ .inputs-label,
.val-is-empty.error ~ .inputs-label {
	color: red;
}
.hide-inputs-label {
	display: none;
}

/* checkbox */
.wpcf7-list-item {
	margin: 0;
}
body.show-focus .wpcf7-acceptance input[type="checkbox"]:focus + .wpcf7-list-item-label::before,
body.show-focus .wpcf7-checkbox input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
	border-color: #000;
	background-color: yellow;
}
.wpcf7-acceptance,
.wpcf7-checkbox {
	position: relative;
	padding: 0 32px;
	display: block;
}
.wpcf7-acceptance label,
.wpcf7-checkbox label {
	cursor: pointer;
}
.wpcf7-acceptance input[type="checkbox"],
.wpcf7-checkbox input[type="checkbox"] {
	position: absolute;
	filter: alpha(opacity=0);
	opacity: 0;
	-khtml-opacity: 0;
	cursor: pointer;
}
.wpcf7-acceptance .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label {
	display: block;
	padding: 0 29px 0 0;
	position: relative;
	color: #DEC180;
	font-size: 14px;
}
.wpcf7-acceptance .wpcf7-list-item-label::before,
.wpcf7-acceptance .wpcf7-list-item-label::after,
.wpcf7-checkbox .wpcf7-list-item-label::before,
.wpcf7-checkbox .wpcf7-list-item-label::after {
	content: "";
	background: url(../images/checkbox.svg) center center no-repeat;
	width: 20px;
	height: 20px;
	position: absolute;
	right: 0;
	top: 0;
}
.wpcf7-acceptance .wpcf7-list-item-label::after,
.wpcf7-checkbox .wpcf7-list-item-label::after {
	background: url(../images/check.svg) center center no-repeat;
	border: none;
	filter: alpha(opacity=0);
	opacity: 0;
	-khtml-opacity: 0;
}
.wpcf7-acceptance input[type="checkbox"]:checked ~ .wpcf7-list-item-label::after,
.wpcf7-checkbox input[type="checkbox"]:checked ~ .wpcf7-list-item-label::after {
	filter: alpha(opacity=100);
	opacity: 1;
	-khtml-opacity: 1;
}

/* Submit */
.submit-btn-wrap {
	display: block;
	position: relative;
	z-index: 0;
}
.submit-btn-wrap::after {
	content: "";
	display: block;
	clear: both;
}
.submit-btn-wrap::before {
	content: "";
	display: none;
	background: #fff;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 50000;
	align-items: center;
	justify-content: center;
}
.submit-btn-wrap .wpcf7-spinner {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 50001;
	margin: 0;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
form.submitting .submit-btn-wrap .wpcf7-spinner,
form.submitting .submit-btn-wrap::before {
	display: block;
}
@media all and (max-width: 767px) {
	.y-select-display,
	.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance) {
		padding: 0 22px;
	}
	.wpcf7-acceptance,
	.wpcf7-checkbox {
		padding: 0 12px;
	}
}