@font-face {
	font-family: 'Mont';
	src: url('../fonts/Montserrat-ExtraLight.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Mont';
	src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Mont';
	src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Mont';
	src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Mont';
	src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

body {
	font-family: 'Mont', sans-serif;
}

.flx {
	display: flex;
	justify-content: space-between;
}

.cnt {
	max-width: 1170px;
	padding: 0 15px;
	margin: 0 auto;
}

.logo {
	width: 250px;
}

header {
	height: 100px;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.22);
	position: relative;
}

header .cnt {
	height: 100%;
	align-items: center;
	font-weight: 600;
}

.menu_link {
	font-size: 16px;
	text-transform: uppercase;
	margin-left: 40px;
}

.menu_link:hover {
	text-decoration: underline;
}

.header_phone {
	font-size: 20px;
	margin-left: 100px;
}

.block1 {
	height: 635px;
	background: url(../image/bg.jpg);
	background-size: cover;
	background-position: 30%;
}

.block1 .cnt {
	display: flex;
	align-items: center;
	height: 100%;
}

h1 {
	font-size: 50px;
  line-height: 60px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 3px;
}

.form_block {
	height: 225px;
}

.form_block .cnt {
	height: 100%;
}

.form_blc {
	display: flex;
	align-items: center;
	box-shadow: 0 7px 28px 0 rgba(0, 0, 0, 0.5);
	margin-top: -160px;
	background-color: white;
	padding: 30px 100px;
	position: relative;
}

.open_form {
	font-weight: 600;
}

.open_form form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.form_header {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 29px;
}

.long_form_input {
	width: 320px;
	height: 50px;
	border: none;
	background-color: #f7f7f7;
	font-size: 18px;
	color: black;
	padding-left: 18px;
}

.long_form_submit {
	width: 226px;
	height: 60px;
	background-color: #336699;
	border-radius: 55px;
	font-size: 18px;
	color: white;
	text-transform: lowercase;
	font-weight: 600;
	transition: 300ms;
	cursor: pointer;
	border: solid 2px #336699;
	display: inline-block;
}

.long_form_submit:hover {
	background-color: white;
	color: #336699;
}

.long_form_label {
	color: #acacac;
	font-size: 14px;
	margin-top: 15px;
}

.long_form_checkbox {
	-webkit-appearance: none;
	border: none;
	background-color: transparent;
	color: white;
	position: relative;
	height: 17px;
	width: 16px;
	cursor: pointer;
}

.long_form_checkbox:checked:after {
	opacity: 1;
}

.long_form_checkbox:after {
	content: "\f00c";
	text-align: center;
	transition: 200ms;
	opacity: 0;
	font-family: FontAwesome;
	color: #a7a7a7;
	position: absolute;
	padding-left: 1px;
	padding-top: 4px;
	font-size: 14px;
	font-weight: 400;
}

.long_form_checkbox:before {
	content: "";
	width: 10px;
	height: 10px;
	border: solid 1px #a7a7a7;
	position: absolute;
	top: 6px;
	left: 2px;
}

.bloki {
	margin-top: 70px;
}

.bloki .cnt {
	flex-wrap: wrap;
}

.one_block {
	border: solid 2px #e1e1e1;
	width: calc(50% - 15px);
	margin-bottom: 30px;
	padding: 40px;
	align-items: flex-start;
	background-color: white;
}

.one_block_text {
	padding-left: 23px;
}

.one_block_header {
	font-size: 18px;
	font-weight: 600;
}

.one_block_header span {
	white-space: nowrap;
}

.one_block_subheader {
	font-size: 15px;
	font-weight: 500;
	margin-top: 18px;
}

.details {
	background-color: #f7f7f7;
	margin-top: 40px;
	padding-bottom: 185px;
	padding-top: 62px;
}

.details .cnt {}

.block_header {
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	font-size: 30px;
	font-weight: 600;
	border-bottom: solid 2px #336699;
	padding-left: 6px;
	padding-bottom: 8px;
	padding-right: 6px;
}

.block_subheader {
	width: 520px;
	margin: 0 auto;
	text-align: center;
	font-size: 18px;
	margin-top: 21px;
	font-weight: 400;
}

.big_form {
	margin-top: 67px;
	position: relative;
	text-align: center;
}

.big_form form div {
	width: 750px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.big_form .long_form_input {
	width: 365px;
	margin-bottom: 25px;
	background-color: white;
}

.big_form .long_form_submit {
	margin-top: 25px;
}

.two_blocks {
	margin-top: -105px;
}

.stars {
	height: 370px;
	display: flex;
	align-items: center;
	background-color: #f7f7f7;
	margin-top: 35px;
}

.stars .cnt {
	flex-wrap: wrap;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 70px;
}

.one_star {
	width: 100%;
	align-items: flex-start;
	margin: 35px 0;
}

.stat_text {
	font-weight: 600;
	font-size: 16px;
	padding-left: 30px;
}

.contacts {}

.contacts .cnt {}

.cont_block {
	box-shadow: 0 7px 28px 0 rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	margin-top: 65px;
}

.contacts_header {
	font-size: 30px;
	font-weight: 600;
	border-top: solid 9px #336699;
	width: 130px;
	padding-top: 22px;
	margin-top: -130px;
	margin-left: 70px;
}

.contacts_text {
	margin: 40px 30px 40px 254px;
	font-size: 18px;
	line-height: 23px;
}

.contacts_text span {
	font-weight: 700;
}

.footer {
	background-color: #336699;
	color: white;
	height: 250px;
	margin-top: 80px;
}

.footer .cnt {
	height: 100%;
	align-items: center;
}

.footer_left {}

.ofert {
	font-size: 16px;
	margin-bottom: 61px;
}

.poli {
	font-size: 14px;
}

.poli a {
	text-decoration: underline;
}

.footer_right {
	text-align: right;
	margin-top: -50px;
}

.footer_num {
	font-size: 20px;
	font-weight: 800;
	margin-right: 25px;
}

.footer_btn {
	width: 226px;
	height: 60px;
	background-color: #336699;
	border-radius: 55px;
	border: none;
	font-size: 18px;
	color: white;
	text-transform: lowercase;
	font-weight: 600;
	transition: 300ms;
	cursor: pointer;
	border: solid 2px white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
}

.footer_btn:hover {
	background-color: white;
	color: #336699;
}

.modal_popup {
	display: none;
	top: 0;
	left: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 4;
	background-color: rgba(0, 0, 0, 0.66);
}

.pop_cont {
	width: 100%;
	height: 100%;
	display: flex;
}

.popup_block {
	width: 400px;
	height: auto;
	background-color: white;
	margin: auto;
	position: relative;
	transform: scale(0.5);
	opacity: 0;
	display: flex;
	box-shadow: 0 0 50px 2px rgba(0, 0, 0, 0.52);
	transition: 300ms;
}

.modal_popup.act .popup_block {
	transform: scale(1);
	opacity: 1;
}

.close_popup {
	width: 20px;
	height: 20px;
	position: absolute;
	right: 34px;
	top: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
}

.close_line {
	width: 28px;
	height: 1px;
	background-color: #646464;
	position: absolute;
	transform: rotate(180deg);
	width: 0px;
}

.close_line.l1 {
	transition: 200ms;
}

.close_line.l2 {
	transition: 400ms;
}

.popup_block.act .close_popup .l1 {
	transform: rotate(45deg);
	width: 28px;
}

.popup_block.act .close_popup .l2 {
	transform: rotate(-45deg);
	width: 28px;
}

.popup_form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 80px 0;
}

.popup_form .long_form_label {
	width: 280px;
	display: flex;
	justify-content: space-between;
	margin-top: -4px;
}

.popup_form .long_form_input {
	width: 280px;
	margin-bottom: 25px;
}

.popup_form .long_form_checkbox {
	margin-right: 15px;
	margin-top: -3px;
}

.popup_form .long_form_submit {
	margin-top: 30px;
}

.stat_text span {
	white-space: nowrap;
}

.big_form form {
	position: relative;
}

.success {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: white;
	text-align: center;
	color: black;
	font-weight: bold;
	font-size: 24px;
	display: none;
	z-index: 4;
	padding: 14px;
}

.big_form .success {
	background-color: #f7f7f7;
}

.success div {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}


/*asd*/

@media (max-width: 1200px) {
	.cnt {
		max-width: 1030px;
	}
	.form_blc {
		padding: 30px;
	}
}

@media (max-width: 992px) {
	.cnt {
		max-width: 720px;
	}
	.logo {
		width: 170px;
	}
	h1 {
		font-size: 30px;
    line-height: 40px;
	}
	.menu_link {
		margin-left: 20px;
		font-size: 14px;
	}
	.header_phone {
		font-size: 16px;
		margin-left: 50px;
	}
	.form_block {
		height: 295px;
	}
	.long_form_submit {
		margin: 0 auto;
	}
	.long_form_label {
		margin: 15px auto 0;
	}
	.one_block {
		width: 100%;
	}
	.two_blocks .one_block {
		width: calc(50% - 15px);
		padding: 20px;
	}
	.two_blocks .one_block_text {
		padding-left: 14px;
	}
	.stars .cnt {
		grid-template-columns: repeat(2, 1fr);
	}
	.contacts_text {
		margin-left: 84px;
	}
	.long_form_input {
		width: 300px;
	}
	.big_form form div {
		width: 100%;
	}
	.big_form .long_form_input {
		width: calc(50% - 15px);
	}
	.open_form form input[type="text"] {
		margin-bottom: 20px;
	}
	.two_blocks {
		margin-top: 55px;
	}
	.two_blocks .one_block {
		width: 100%;
	}
	.stars {
		height: auto;
	}
	.stat_text {
		width: 100%;
	}
	.stars .cnt {
		grid-template-columns: repeat(1, 1fr);
		padding: 25px 0;
	}
	.contacts_header {
		margin-top: 0;
		border-top: 0;
		margin-left: 0;
	}
	.cont_block {
		padding-top: 10px;
		flex-direction: column;
	}
	.contacts_text {
		margin-left: 0;
	}
	.contacts_text {
		margin: 30px 0 40px;
		padding: 0 35px;
	}
	.cont_block {
		height: auto;
	}
	.two_blocks .cnt {
		flex-wrap: wrap;
	}
	.details {
		padding-bottom: 55px;
	}
	.contacts_header {
		width: auto;
	}
}

@media (max-width: 768px) {
	h1 {
		width: 200px;
		margin-top: -60px;
	}
	.cnt {
		max-width: 540px;
	}
	.block1 {
		height: 435px;
	}
	.form_blc {
		margin-top: -90px;
	}
	.form_block {
		height: auto;
	}
	.form_blc {
		padding: 40px;
	}
	.open_form form {
		justify-content: center;
	}
	.footer_num {
		margin-bottom: 30px;
	}
	.footer_right {
		position: absolute;
		text-align: right;
		margin-top: 0;
		left: 15px;
		top: 80px;
		display: flex;
		align-items: center;
		flex-direction: column;
	}
	.footer .cnt {
		flex-direction: column-reverse;
		position: relative;
	}
	.ofert {
		margin-bottom: 191px;
	}
	.footer {
		padding: 50px 0;
		height: auto;
	}
	.footer_btn {
		margin-top: 0px;
	}
	.two_blocks .cnt {
		flex-wrap: wrap;
	}
	.nav {
		display: none;
	}
	.footer_num {
		margin-left: -15px;
	}
	.two_blocks .one_block_text {
		padding-left: 0px;
	}
}

@media (max-width: 576px) {
	h1 {
		width: 100%;
		margin-top: -230px;
	}
	.cnt {
		max-width: 540px;
	}
	.header_phone {
		font-size: 16px;
		margin-left: 20px;
		font-weight: 800;
	}
	header img {
		width: 110px;
	}
	h1 {
		font-size: 25px;
		line-height: normal;
	}
	.block1 {
		height: 395px;
		background-position: 56%;
	}
	.form_blc {
		padding: 40px 25px;
	}
	.long_form_input {
		width: 100%;
		height: 45px;
	}
	.form_header br {
		display: none;
	}
	.long_form_submit {
		height: 50px;
	}
	.form_header {
		font-size: 16px;
	}
	.long_form_label {
		font-size: 13px;
		text-align: center;
	}
	.one_block img {
		height: 60px;
		margin-bottom: 20px;
	}
	.bloki .one_block {
		height: auto;
		flex-direction: column;
		align-items: left;
	}
	.one_block_text {
		padding: 0px;
		text-align: justify;
	}
	.one_block {
		padding: 25px;
	}
	.one_block_subheader {
		font-size: 14px;
	}
	.block_subheader {
		width: auto;
		font-size: 16px;
	}
	.big_form .long_form_input {
		width: 100%;
		margin-bottom: 17px;
	}
	.big_form {
		margin-top: 37px;
	}
	.one_star {
		margin: 25px 0;
		max-width: 320px;
	}
	ul {
		padding-left: 17px;
	}
	.stars .cnt {
		padding: 25px 15px;
	}
	.contacts_text {
		padding: 0 20px;
		font-size: 16px;
	}
	.footer {
		margin-top: 50px;
	}
	.footer_right {
		top: 90px;
	}
	.poli {
		font-size: 12px;
	}
	.ofert {
		font-size: 15px;
	}
	.footer_num {
		font-size: 18px;
	}
	.popup_block {
		width: 270px;
	}
	.popup_form .long_form_input {
		width: 220px;
	}
	.popup_form .long_form_label {
		width: 220px;
		text-align: left;
	}
	.popup_form {
		padding: 60px 0;
	}
	.close_popup {
		right: 12px;
		top: 12px;
	}
}