.form {
	display: flex;
	max-width: 76.2rem;
	padding: 3rem 2.5rem 4rem;
	position: relative;
	width: 100%;
}

.form__wrapper {
	background-color: #f8f8f8;
}

.form__title {
	color: var(--black);
	font-size: 3.4rem;
	line-height: 1;
	font-weight: 300;
	margin: 0 0 2.8rem;
}

.form__body {
	display: flex;
	flex-direction: column;
}

.form__block {
	width: 100%;
}

.form__field:not(.form__field_submit) {
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.form__field:not(.form__field_submit):before {
	content: '';
	background-color: var(--accent-green);
	height: 3px;
	width: 100%;
	
	transform: translateY(3px);
	
	transition-duration: .25s;
	transition-property: transform;
	transition-timing-function: cubic-bezier(.55,.055,.675,.19);
	
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
}

.focus-visible.form__field::before,
.form__field:focus::before,
.form__field:hover::before,
.form__field:active::before {
	transform: translateY(0);
}

.form__field:not(:first-child):not(.btn) {
	margin-top: 1.6rem;
}

.form__field label {
	color: var(--black);
	text-align: left;
	margin: 1.4rem 0 0.8rem;
	font-size: 1.8rem;
	font-weight: 300;
}

.form input:not([type="checkbox"]):not([type="submit"]),
.form select {
	height: 5.2rem;
}

.form select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url(img/arrow.jpg);
	background-repeat: no-repeat;
	background-size: 5.2rem;
	background-position: 100% 50%;
}

.form input:not(.submit_button),
.form select,
.form textarea {
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: none;
	color: var(--black);
	font-size: 1.6rem;
	line-height: 1.2;
	font-weight: 300;
	outline: none;
	vertical-align: middle;
}

.form textarea {
	resize: none;
	max-height: 15.3rem;
}

input, select, textarea {
	position: relative;
	padding: 0.8rem;
	padding: 1rem 1rem 1rem 1.6rem;
}

input:not([type="checkbox"]):before,
select::before,
textarea::before {
	content: '';
	background-color: var(--accent-green);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
}

.form__field_submit {
	display: flex;
	cursor: pointer;
	align-self: center;
	position: relative;
}

.form__field_submit.btn {
	margin-top: 4.8rem;
}

.form__field_submit .submit_button {
	background-color: var(--accent-green);
	border: 1px solid var(--accent-green);
	color: var(--white);
	cursor: pointer;
	font-size: 1.8rem;
	line-height: 1;
	text-align: left;
	text-transform: uppercase;
	vertical-align: middle;
	width: 100%;
	padding: 1.6rem 2.6rem;
}

/* hidden checkbox */
.option {
	display: flex;
}

/* Check */

.check__input {
	position: absolute;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.check__box {
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	background-color: #fff;
	border: 1px solid #ccc;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	flex-shrink: 0;
	font-size: inherit;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	height: 2.4rem;
	line-height: 1;
	outline: none;
	pointer-events: none;
	position: relative;
	transition-delay: 0ms,.25s;
	transition-duration: .25s;
	transition-property: border-color,border-width,background-color;
	transition-timing-function: cubic-bezier(.55,.055,.675,.19);
	vertical-align: initial;
	vertical-align: middle;
	width: 2.4rem;
	margin-right: 1.2rem;
}

.check__box::before {
	color: transparent;
	content: '\f113';
	font-family: var(--icon2);
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
	vertical-align: bottom;
	z-index: 1;
}

.check:hover .check__box {
	border-color: var(--accent-green);
}

/* Checked */

.check__input:checked + .check__box {
	border-color: var(--accent-green);
	border-width: 1.2rem;
	transition-delay: 0ms;
}

.check__input:checked + .check__box::before {
	color: var(--white);
	transition-delay: .25s;
}

/* Focused */

.check__input:focus + .check__box {
	box-shadow: 0 0 6px var(--accent-green);
}

/* hidden checkbox */

.check__link {
	color: var(--black);
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1.4;
}
.check__link a {
	border-bottom: 1px solid var(--accent-green);
	color: currentColor;
	overflow: hidden;
}
.check__link a:hover {
	border-bottom: 1px solid transparent;
}




.red {
	display: none;
}

.red, .err, .err_cont{
	color: crimson;
}

.err, .err_cont {
	font-size: 1rem;
	line-height: 1.2rem;
	padding: 0.4rem 0;
}

.agreement {
	display: flex;
	align-items: center;
	padding-top: 4.8rem;
}

a.hint{
	float: right;
	margin-top: 7px;
	margin-right: 2px;
	text-indent: -9999px;
	width: 12px;
	height: 12px;
	background: url("./img/hint.gif") top left no-repeat;
	cursor: help;
	display:none;
}

@media (min-width: 1024px) {
	.form {
		max-width: 76.2rem;
		padding: 3rem 5rem 4rem;
	}
	.form__title {
		color: var(--black);
		font-size: 4.2rem;
		margin: 0 0 4.8rem;
	}
	
	.form__field:not(:first-child):not(.btn) {
		margin-top: 2.4rem;
	}
	
	.form__field label {
		color: var(--black);
		text-align: center;
		margin: 2.4rem 0;
		font-weight: 300;
	}

	input, select, textarea {
		padding: 1rem 1rem 1rem 1.6rem;
	}

	.form input:not([type="checkbox"]):not([type="submit"]),
	.form select {
		height: 6.4rem;
	}

	.form__field_submit.btn .submit_button {
		padding: 1.6rem 4.8rem;
		transition: all ease-in-out .23s;
	}
	.form__field_submit.btn .submit_button:hover {
		background-color: var(--accent-dgreen);
		border: 1px solid var(--accent-dgreen);
	}

	.form input:not(.submit_button),
	.form select,
	.form textarea {
		font-size: 1.6rem;
	}

	.check__link {
		font-size: 1.8rem;
		line-height: 1;
	}
}