.form {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
.form .required span::after {
	content: "*";
	color: #fb4545;
	clear: right;
}
.form-title {
	font-weight: 700;
	font-size: 32px;
	line-height: 38.4px;
	font-weight: 700;
	line-height: 38px;
	padding-bottom: 5px;
}
.form-error {
	font-size: 14px;
	line-height: 17.07px;
	font-weight: 400;
	display: none;
	height: 42px;
	background-color: hsl(0, 100%, 96%);
	background-color: #ffeaea;
	color: #fb4545;
	border-radius: 5px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding-left: 47.5px;
	padding-top: 2px;
}
.form-error::before {
	content: "";
	margin-top: -2px;
	display: inline-block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-image: url(/assets/form.png);
	background-image: url(/assets/form.webp);
	width: 25px;
	height: 25px;
	background-position: -50px 0px;
	margin-right: 7.5px;
	margin-left: -30px;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="phone"],
.form input[type="password"] {
	height: 54px;
	background-color: #f7f8fa;
	border-radius: 5px;
	margin: 10px 0;
	outline: none !important;
	-webkit-transition: 0.2s;
	transition: 0.2s;
	color: #222327;
	width: 100%;
	border: 2px solid #f7f8fa;
	padding: 0 18px;
}
.form input[type="text"]::-webkit-input-placeholder,
.form input[type="email"]::-webkit-input-placeholder,
.form input[type="phone"]::-webkit-input-placeholder,
.form input[type="password"]::-webkit-input-placeholder {
	color: #a2a3a6;
}
.form input[type="text"]::-moz-placeholder,
.form input[type="email"]::-moz-placeholder,
.form input[type="phone"]::-moz-placeholder,
.form input[type="password"]::-moz-placeholder {
	color: #a2a3a6;
}
.form input[type="text"]:-ms-input-placeholder,
.form input[type="email"]:-ms-input-placeholder,
.form input[type="phone"]:-ms-input-placeholder,
.form input[type="password"]:-ms-input-placeholder {
	color: #a2a3a6;
}
.form input[type="text"]::-ms-input-placeholder,
.form input[type="email"]::-ms-input-placeholder,
.form input[type="phone"]::-ms-input-placeholder,
.form input[type="password"]::-ms-input-placeholder {
	color: #a2a3a6;
}
.form input[type="text"]::placeholder,
.form input[type="email"]::placeholder,
.form input[type="phone"]::placeholder,
.form input[type="password"]::placeholder {
	color: #a2a3a6;
}
.form input[type="text"]:focus::-webkit-input-placeholder,
.form input[type="email"]:focus::-webkit-input-placeholder,
.form input[type="phone"]:focus::-webkit-input-placeholder,
.form input[type="password"]:focus::-webkit-input-placeholder {
	color: transparent;
}
.form input[type="text"]:focus::-moz-placeholder,
.form input[type="email"]:focus::-moz-placeholder,
.form input[type="phone"]:focus::-moz-placeholder,
.form input[type="password"]:focus::-moz-placeholder {
	color: transparent;
}
.form input[type="text"]:focus:-ms-input-placeholder,
.form input[type="email"]:focus:-ms-input-placeholder,
.form input[type="phone"]:focus:-ms-input-placeholder,
.form input[type="password"]:focus:-ms-input-placeholder {
	color: transparent;
}
.form input[type="text"]:focus::-ms-input-placeholder,
.form input[type="email"]:focus::-ms-input-placeholder,
.form input[type="phone"]:focus::-ms-input-placeholder,
.form input[type="password"]:focus::-ms-input-placeholder {
	color: transparent;
}
.form input[type="text"]:focus::placeholder,
.form input[type="email"]:focus::placeholder,
.form input[type="phone"]:focus::placeholder,
.form input[type="password"]:focus::placeholder {
	color: transparent;
}
.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="phone"]:focus,
.form input[type="password"]:focus {
	border: 2px solid #1266cb;
}
.form textarea {
	min-height: 150px;
	max-height: 250px;
	margin: 10px 0;
	padding: 8px 13px 7px;
	background-color: #f7f8fa;
	border-radius: 5px;
	resize: none;
	border: 2px solid transparent;
	cursor: text;
}
.form textarea:focus {
	outline: none;
	border-color: #1266cb;
	border-radius: 5px;
}
.form > *:first-child {
	margin-top: 0;
}
.form > *:last-child {
	margin-bottom: 0;
}
.form-checkbox {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	margin: 10px 0;
}
.form-checkbox * {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.form-checkbox input[type="checkbox"] {
	display: none;
}
.form-checkbox input[type="checkbox"] + span {
	display: initial;
	float: left;
	padding-left: 30px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	font-weight: 500;
	font-size: 14px;
	line-height: 17.07px;
}
.form-checkbox input[type="checkbox"] + span a {
	color: #1266cb;
}
.form-checkbox input[type="checkbox"] + span a::before {
	content: " ";
}
.form-checkbox input[type="checkbox"] + span::before {
	width: 20px;
	height: 20px;
	background-image: url("/assets/icons-20.png");
	background-image: url("/assets/icons-20.webp");
	background-repeat: no-repeat;
	display: block;
	background-position: -20px 0px;
	content: "";
	margin: 0 5px 0 -30px;
	min-width: 20px;
	-ms-flex-item-align: start;
	align-self: flex-start;
	margin-top: 2px;
	position: absolute;
}

.form-checkbox input[type="checkbox"]:checked + span::before {
	width: 20px;
	height: 20px;
	background-image: url("/assets/icons-20.png");
	background-image: url("/assets/icons-20.webp");
	background-repeat: no-repeat;
	display: block;
	background-position: -20px -20px;
}

.form-checkbox.is-error input[type="checkbox"] + span::before {
	width: 20px;
	height: 20px;
	background-image: url("/assets/icons-20.png");
	background-image: url("/assets/icons-20.webp");
	background-repeat: no-repeat;
	display: block;
	background-position: 0px -20px;
}

.form-checkbox-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.form-checkbox-row > a {
	font-size: 14px;
	line-height: 17.07px;
	color: #c3c4c8;
}
@media (hover: hover) {
	.form-checkbox-row > a:hover {
		color: #9c9da0;
	}
}
@media (hover: none) {
	.form-checkbox-row > a:active {
		color: #9c9da0;
	}
}

.form-checkbox-row .form-checkbox input[type="checkbox"] + span::before {
	margin-top: 1px;
}
.form-error-text {
	color: #fb4545;
}
.form input[type="submit"] {
	font-size: 16px;
	line-height: 19.5px;
	margin: 15px 0 10px;
	border: 0;
	border-radius: 7px;
	height: 45px;
	color: #ffffff;
	background: #1266cb;
}

.form input[type="submit"]:disabled {
	opacity: 0.6;
	pointer-events: none;
}
.form input[type="submit"].success {
	background-color: #4ed142;
}
.form input[type="submit"].error {
	background-color: #f83d3d;
}
@media (hover: hover) {
	.form input[type="submit"]:hover {
		background: #0e52a2;
	}
}
@media (hover: none) {
	.form input[type="submit"]:active {
		background: #0e52a2;
	}
}

.form-register {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	font-size: 14px;
	line-height: 17.07px;
	font-weight: 500;
}
.form-register * {
	font-size: 14px;
	line-height: 17.07px;
	display: inline;
	padding-left: 0.4em;
}
.form-register a {
	color: #1266cb;
}
@media (hover: hover) {
	.form-register a:hover {
		color: #0e52a2;
	}
}
@media (hover: none) {
	.form-register a:active {
		color: #0e52a2;
	}
}

.form-uploader {
	margin-bottom: 30px;
}
.form-uploader > span {
	display: inline-block;
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
}
.form-uploader label {
	position: relative;
}
.form-uploader input {
	position: absolute;
	z-index: -1;
	opacity: 0;
	width: 100%;
	height: 100%;
}
@media (max-width: 600px) {
	.form-uploader {
		margin-bottom: 15px;
	}
}

.form-rating {
	position: relative;
	max-width: 210px;
	margin: 10px 0;
	padding: 0;
	border: none;
}
.form-rating legend {
	padding: 0;
	font-size: 14px;
	line-height: 17.07px;
	color: #737477;
	margin-bottom: 3px;
}
.form-rating span {
	position: absolute;
	top: 1px;
	right: -10px;
	width: 110px;
	font-size: 14px;
	line-height: 17.07px;
	color: #737477;
}
.form-group {
	position: relative;
	width: 100px;
	height: 20px;
	background-image: url("/assets/png/star-empty.webp");
	background-image: url("/assets/png/star-empty.png");
	background-size: 20px 20px;
}

.form-group label {
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	font-size: inherit;
}
.form-group label:nth-of-type(1) {
	width: 20px;
	z-index: 5;
}
.form-group label:nth-of-type(2) {
	width: 40px;
	z-index: 4;
}
.form-group label:nth-of-type(3) {
	width: 60px;
	z-index: 3;
}
.form-group label:nth-of-type(4) {
	width: 80px;
	z-index: 2;
}
.form-group label:nth-of-type(5) {
	width: 100px;
	z-index: 1;
}
.form-group input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.form-group input:checked + label,
.form-group label:hover {
	background-image: url("/assets/png/star-full.webp");
	background-image: url("/assets/png/star-full.png");
	background-size: 20px 20px;
}

.form-group label:hover ~ label {
	background-image: url("/assets/png/star-empty.webp");
	background-image: url("/assets/png/star-empty.png");
}

.modal {
	opacity: 0;
	pointer-events: none;
	height: 0;
	overflow: hidden;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.5);
}
.modal.open {
	opacity: 1;
	pointer-events: auto;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	position: fixed;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	z-index: 999;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.modal h2 {
	margin: 0 0 15px;
}
.modal > div {
	width: 410px;
	position: relative;
	padding: 45px;
	border-radius: 7px;
	background: #ffffff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
.modal-close {
	display: block;
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-image: url(/assets/form.png);
	background-image: url(/assets/form.webp);
	width: 25px;
	height: 25px;
	background-position: -225px 0px;
}

.modal-close:hover {
	display: inline-block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-image: url(/assets/form.png);
	background-image: url(/assets/form.webp);
	width: 25px;
	height: 25px;
	background-position: -200px 0px;
}

@media screen and (max-width: 1130px) {
	.modal.open {
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	.modal.open > div {
		margin: 20px 15px;
		max-height: 100%;
		max-width: calc(100% - 30px);
		overflow-y: auto;
		position: relative;
		padding: 25px 25px 14px;
	}
	.modal.open .modal-close {
		-webkit-transform: scale(0.75);
		transform: scale(0.75);
		top: 27px;
		right: 20px;
	}
	.modal.open .form-title {
		margin-right: 30px;
		margin-bottom: 10px;
		font-size: 20px;
		line-height: 28px;
	}
	.modal.open input,
	.modal.open textarea {
		margin: 5px 0;
		height: 40px;
		font-size: 14px;
	}
	.modal.open .form {
		margin-bottom: 15px;
	}
	.modal.open .form-checkbox-row .form-checkbox input[type="checkbox"] + span::before {
		margin-top: 1px;
	}
}