.asterisk {
	color: #b00020;
}

.contact-container {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	        align-items: center;
	-ms-flex-align: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	        justify-content: center;
}

.contact-wrapper {
	width: 100%;
	max-width: 800px;
	padding: 0 16px;
}

.contact-title {
	margin-top: 150px;
}
.contact-title h1 {
	font-size: 40px;
	font-weight: 700;

	color: #4776ba;
}
.contact-title p {
	font-size: 15px;
	font-weight: 500;
}
.contact-title p:first-of-type {
	margin-top: 36px;
}
.contact-title p:last-of-type {
	margin-top: 22px;
}

.form-container {
	margin-top: 64px;
}

.form-row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;

	margin-bottom: 26px;
}
.form-row .form-label {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	        align-items: center;
	-ms-flex-align: center;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	        flex-shrink: 0;
}
.form-row .form-label label {
	font-size: 16px;
	font-weight: 700;
}
.form-row textarea {
	height: auto;
	min-height: 116px;
}
.form-row input,
.form-row textarea,
.form-row select {
	width: 100%;
	padding: 10px;

	text-align: left;

	border: 1px solid #d4d4d4;
	border-radius: 6px;
	background-color: #fff;
}
.form-row input::holder,
.form-row textarea::holder,
.form-row select::holder {
	font-size: 14px;
	font-weight: 400;

	color: #b0b0b0;
}
.form-row input option,
.form-row textarea option,
.form-row select option {
	font-size: 17px;

	opacity: 1;
	color: #b2b2b2;
}

.form-row:last-of-type {
	margin-bottom: 0;
}

select:invalid {
	font-size: 14px;
	font-weight: 400;

	color: #b0b0b0;
}

.form-box {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;

	gap: 32px;
}
.form-box .form-row {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}
.form-box input {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	width: 100%;
}

.agree-wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	        align-items: center;
	-ms-flex-align: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	        justify-content: center;

	margin-top: 40px;
}
.agree-wrapper p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;

	color: #545454;
}

.last-btn {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	        align-items: center;
	-ms-flex-align: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;

	width: 100%;
	max-width: 452px;
	margin-top: 68px;
	margin-bottom: 430px;

	text-align: center;

	gap: 30px;
}
.last-btn .agree-btn {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	-webkit-justify-content: flex-start;
	        justify-content: flex-start;

	width: 100%;
}

.contact-btn {
	font-size: 14px;

	position: relative;

	display: inline-block;

	width: 100%;
	padding: 13px 0;

	-webkit-transition: 0.3s ease;
	        transition: 0.3s ease;
	text-align: center;

	color: #b0b0b0;
	border: 1px solid #e5e5e5;
	border-radius: 50px;
	background-color: #e5e5e5;
}
.contact-btn:not(:disabled) {
	cursor: pointer;

	opacity: 1;
	color: white;
	background-color: #4776ba;
}

a.highlight {
	position: relative;

	display: inline-block;
}
a.highlight::after {
	position: absolute;
	bottom: 0;
	left: 16px;

	width: 86%;
	height: 1px;

	content: "";

	background-color: currentColor;
}

.counter {
	font-size: 14px;

	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	-webkit-justify-content: flex-end;
	        justify-content: flex-end;

	color: #8f8f8f;
}

@media all and (max-width: 767px) {
	.form-box {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display:         flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;

		margin-bottom: 26px;

		gap: 0;
	}
	.form-box .form-row {
		-webkit-box-flex: 1;
		-webkit-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
	}
	.last-btn .agree-btn {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		        justify-content: center;
	}
	.contact-title {
		margin-top: 100px;
	}
	.contact-title h1 {
		font-size: 28px;
	}
	.counter {
		font-size: 13px;
	}
}
.form-row .is-invalid {
	border: 1px solid #b00020;
	background-color: #fef6f7;
}

.form-row .form-error {
	font-size: 14px;

	color: #b00020;
}

.contact-thanks-container {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	        align-items: center;
	-ms-flex-align: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	        justify-content: center;
}

.contact-thanks-wrapper {
	width: 100%;
	max-width: 800px;
	padding: 0 16px;
}
.contact-thanks-wrapper h1 {
	font-size: 40px;
	font-weight: 700;

	margin-top: 150px;
	margin-bottom: 36px;

	color: #4776ba;
}
.contact-thanks-wrapper .contact-thanks-text div:first-of-type {
	margin-bottom: 62px;
}
.contact-thanks-wrapper .contact-thanks-text div:first-of-type p {
	font-size: 15px;
	font-weight: 500;

	color: #363636;
}
.contact-thanks-wrapper .contact-thanks-text div:first-of-type p:first-of-type {
	margin-bottom: 20px;
}
.contact-thanks-wrapper .contact-thanks-text div:last-of-type p {
	font-size: 15px;
	font-weight: 400;

	margin-bottom: 20px;

	color: #7b7b7b;
}

.contact-thanks-btn {
	margin-top: 62px;

	text-align: center;
}
.contact-thanks-btn a {
	font-size: 14px;
	font-weight: 700;

	position: relative;

	display: inline-block;

	width: 100%;
	max-width: 452px;
	margin-bottom: 430px;
	padding: 12px 0;

	-webkit-transition: 0.3s ease;
	        transition: 0.3s ease;
	text-align: center;

	color: #4776ba;
	border: 1px solid #4776ba;
	border-radius: 50px;
	background-color: #fff;
}
.contact-thanks-btn a:hover {
	color: #fff;
	border: 1px solid #4776ba;
	background-color: #4776ba;
}

@media all and (max-width: 767px) {
	.contact-thanks-wrapper h1 {
		font-size: 28px;

		margin-top: 100px;
	}
	.contact-thanks-wrapper .contact-thanks-text div p {
		font-size: 14px;
	}
}
