html {
	scroll-behavior: smooth;
}
body{
	font-family: Inter;
	color: #636363;
}
header{
	padding: 30px 0;
}
header .phone a{
	font-style: 1px;
	font-weight: bold;
	color: #3E3E3E;
	text-decoration: none;
}
header .phone img{
	margin-right: 7px;
}
.button{
	font-weight: 500;
	text-decoration: none;
	color: #fff !important;
	text-align: center;
	border:none;
	display: inline-block;
	background: #3E3E3E;
	padding: 15px 40px;
	border-radius: 100px;
	font-size: 20px;
	transition:0.3s all;
}
.button:hover{
	background: #2a2a2a;
}
.title{
	font-size: 36px;
	text-transform: uppercase;
	font-weight: 700;
	line-height: normal;
	color: #0D0D0D;
	margin-bottom: 20px;
}
.title span, #block-2 .block span{
	color: #5c8be2;
}
.sub {
	font-size: 18px;
	font-weight: 400;
	max-width: 750px;
	margin: auto;
	margin-bottom: 40px;
}
#block-1 .title{
	margin-bottom: 10px;
}
#block-1 .text{
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 20px;
}
#block-2 {
	font-size: 17px;
	padding-top: 0;
}
#block-2 .block{
	display: table;
	font-weight: 500;
	margin-bottom: 30px;
}
#block-2 .block>div{
	display: table-cell;
	vertical-align: middle;
}
#block-2 .block .left{
	padding-right: 20px;
}
.p-50{
	padding: 50px 0;
}
#block-3 .block{
	padding: 20px;
}
#block-3 .button{
	margin-top: 40px;
}
#block-4 .text{
	font-size: 24px;
	position: relative;
}
#block-4 .text:after{
	content: '';
	display: block;
	width: 200px;
	height: 200px;
	background: url("../images/arr.svg") center center no-repeat;
	position: absolute;
	right: -10px;
	top: 34px;
}
#block-4 .text a{
	font-weight: bold;
	color: #5c8be2;
	text-decoration: none;
}
#block-4 .button{
	margin-top: 40px;
}
#block-5 .container {
	background: url("../images/block-4.jpg") left center no-repeat;
	text-align: right;
}
#block-5 .block{
	font-size: 35px;
	font-weight: bold;
	background: #FFFFFF;
	border: 1px solid #9B9B9B;
	border-radius: 100px;
	padding: 20px 30px;
	display: inline-block;
}
#block-5 span{
	color: #5c8be2;
}
#block-5 .block:nth-child(1){
	margin-bottom: 80px;
}
#block-5 .block:nth-child(2){
	margin-bottom: 230px;
}
#block-6 .block{
	text-align: center;
	max-width: 350px;
	margin: auto;
	font-size: 18px;
}
#block-7 .block{
	margin-bottom: 20px;
}
#block-7 .button{
	margin-top: 20px;
}
#block-6 .block img{
	margin-bottom: 15px;
}
#block-8 .phone{
	background: #FFFFFF;
	border: 1px solid #9B9B9B;
	border-radius: 100px;
	display: inline-block;
	padding: 15px 20px;
	margin-bottom: 30px;
	position: relative;
}
#block-8 .phone:after{
	content: '';
	display: block;
	width: 110px;
	height: 250px;
	background: url("../images/arrow-left.svg") center center no-repeat;
	position: absolute;
	left: -150px;
	top: -50px;
}
#block-8 .phone:before{
	content: '';
	display: block;
	width: 110px;
	height: 250px;
	background: url("../images/arrow-right.svg") center center no-repeat;
	position: absolute;
	right: -150px;
	top: -50px;
}
#block-8 .phone a{
	color: #5c8be2;
	font-weight: bold;
	font-size: 36px;
	text-decoration: none;
}
footer {
	padding: 40px 0;
	border-top:1px solid #3E3E3E;
}
footer .tit{
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 15px;
}
footer p{
	margin-bottom: 5px;
}
footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer ul li{
	margin-bottom: 5px;
}
footer ul li a{
	color: #575757 !important;
	text-decoration: none;
}
footer .button img{
	margin-left: 10px;
}
.modal .button{
	width: 100%;
}
#quiz .wrap{
	border: 1px solid #9B9B9B;
	border-radius: 15px;
	font-size: 20px;
	font-weight: 500;
}
#quiz .top, #quiz .bot{
	padding: 30px;
}
#quiz .top{
	border-bottom: 1px solid #9B9B9B;
	position: relative;
	padding-right: 80px;
}
#quiz .num{
	width: 50px;
	height: 50px;
	color: #fff;
	border-radius: 50%;
	text-align: center;
	line-height: 50px;
	font-size: 36px;
	font-weight: bold;
	background: #5c8be2;
	position: absolute;
	top: 20px;
	right: 20px;
}
#quiz .block{
	margin-bottom: 15px;
}
#quiz input[type="radio"] {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
/* для элемента label связанного с .custom-radio */
#quiz input[type="radio"]+label {
	display: inline-flex;
	align-items: center;
	user-select: none;
	cursor: pointer;
}
/* создание в label псевдоэлемента  before со следующими стилями */
#quiz input[type="radio"]+label::before {
	content: '';
	display: inline-block;
	width: 25px;
	height: 25px;
	flex-shrink: 0;
	flex-grow: 0;
	border: 1px solid #adb5bd;
	border: 1px solid #9B9B9B;
	border-radius: 5px;	
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50% 50%;
	cursor: pointer;
}
#quiz input[type="radio"]:checked+label::before {
	border: 1px solid #5c8be2;
	background: url("../images/checked.svg") center center no-repeat;
}
#quiz .back{
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	border: 1px solid #9B9B9B;
	border-radius: 50%;
	cursor: pointer;
}
#quiz .button{
	cursor: pointer;
}
.form-control{
	border: 1px solid #9B9B9B;
	border-radius: 100px;
	height: 50px;
	padding: 0 20px;
}
#quiz .form-control{
	max-width:300px;
}
#quiz .step{
	display: none;
}
#quiz .step.active{
	display: block;
}
#quiz .modal-content{
	max-width:800px;
	margin: auto;
}
#quiz .modal-header{
	border:none;
}
.v-2 .block span{
	color: #5c8be2;
}
.v-2 .block{
	font-size: 18px;
	font-weight: 500;
	border: 1px solid #9B9B9B;
	border-radius: 100px;
	padding: 30px;
}
#block-1 .wrap{
	padding-top: 150px;
}
#block-1.v-2 .container{
	position: relative;
	padding-bottom: 100px;
}
#block-1.v-2{
	padding-bottom: 50px;
}
#block-1.v-2 .container:before, #block-1 .container:after{
	content: '';
	display: block;
	width: 180px;
	height: 180px;
	position: absolute;
	z-index: 5;
}
#block-1.v-2 .container:before{
	background: url("../images/v1.png") center center no-repeat;
	background-size: contain;
	left: 150px;
	top: 235px;
}
#block-1.v-2 .container:after{
	background: url("../images/v2.png") center center no-repeat;
	background-size: contain;
	right: 150px;
	top: 235px;
}
#block-1 .block{
	position: absolute;
	text-align: left;
}
#block-1 .b1{
	width: 380px;
	left: 50%;
	top: 0;
	margin-left: -190px;
}
#block-1 .b2{
	width: 290px;
	left: 0;
	top: 100px;
	padding: 20px 30px;
}
#block-1 .b3{
	width: 290px;
	right: 0;
	top: 100px;
	padding: 20px 30px;
	height: 123px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
#block-1 .b3 div{
	margin: auto;
}
#block-1 .b4{
	width: 340px;
	left: 0;
	bottom: 0;
	padding: 20px 30px;
}
#block-1 .b5{
	width: 340px;
	right: 0;
	bottom: 0;
	padding: 20px 30px;
}
@media(max-width:1400px){
	.button{
		white-space: nowrap;
	}
	#block-5 .block{
		font-size: 30px;
	}
	#block-1.v-2 .title{
		font-size: 33px;
	}
	#block-1.v-2 .container:before{
		background: url("../images/v1.png") center center no-repeat;
		background-size: contain;
		left: 100px;
		top: 235px;
	}
	#block-1.v-2 .container:after{
		background: url("../images/v2.png") center center no-repeat;
		background-size: contain;
		right: 100px;
		top: 235px;
	}
}
@media(max-width:1200px){
	#block-1 .title{
		font-size: 28px;
	}
	#block-2 .block{
		font-size: 15px;
	}
	#block-3 img{
		max-width: 170px
	}
	#block-5 .block{
		font-size: 28px;
	}
	#block-5 .container{
		background-position: right center;
	}
	#block-1.v-2 .container:before{
		background: url("../images/v1.png") center center no-repeat;
		background-size: contain;
		left: 50px;
		top: 235px;
	}
	#block-1.v-2 .container:after{
		background: url("../images/v2.png") center center no-repeat;
		background-size: contain;
		right: 50px;
		top: 235px;
	}
	#block-1 .block{
		font-size: 15px;
		padding: 20px 30px;
	}
	#block-1.v-2 .title{
		font-size: 26px;
	}
	#block-1 .b2, #block-1 .b3{
		width: 250px;
	}
	#block-1 .b3{
		height: 105px;
	}
	#block-1 .b4{
		width: 290px;
	}
	#block-1 .b5{
		width: 290px;
	}
}
@media(max-width:992px){
	header .phone{
		white-space: nowrap;
	}
	#block-1 .title{
		font-size: 20px;
	}
	#block-1 .text{
		font-size: 15px;
	}
	#block-2{
		padding-top: 50px;
	}
	#block-2 .block{
		margin-bottom: 15px;
	}
	.p-50{
		padding: 30px 0;
	}
	#block-3 .w-100{
		display: none;
	}
	#block-3 .block{
		padding: 10px;
	}
	#block-3 img{
		max-width: 100%;
	}
	#block-3 .block{
		max-width:150px
	}
	#block-4 .text{
		font-size: 16px;
	}
	#block-5 .container{
		background-size: auto 300px;
		background-position: 0 0;
		text-align: left;
	}
	#block-5 .block{
		padding: 10px 30px;
		font-size: 20px;
	}
	#block-5 .block:first-child{
		margin-bottom: 30px;
	}
	#block-5 .block:nth-child(2){
		margin-bottom: 120px;
	}
	.title{
		font-size: 30px;
	}
	#block-6 .block{
		font-size: 15px;
	}
	footer .button{
		margin-bottom: 30px;
	}
	header .button{
		font-size: 16px;
	}
	#block-1.v-2 .container:before{
		display: none;
	}
	#block-1.v-2 .container:after{
		display: none;
	}
	#block-1 .block{
		position: static;
		display: block;
		height: auto;
		margin: 0 5px;
		margin-bottom: 15px;
		display: block;
		vertical-align: top;
		width: 100%;
	}
	#block-1.v-2 .container{
		padding-top: 0;
		padding-bottom: 0;
	}
	#block-1 .wrap{
		padding: 0;
	}
	#block-1.v-2 .button{
		margin-bottom: 30px;
	}
	#block-1 {
		padding: 50px 0;
	}
	#block-1.v-2 .title br{
		display: none;
	}
}
@media(max-width:768px){
	#block-1 img{
		width: 300px;
		margin: auto;
		display: block;
	}
	#block-1 .title br{
		display: none;
	}
	#block-1 .title{
		font-size: 25px;
	}
	#block-2 .block{
		font-size: 17px;
	}
	.title{
		font-size: 25px;
	}
	#block-3 .block{
		max-width:120px;
		padding: 5px;
	}
	#block-4 .text:after{
		display: none;
	}
	#block-5 .container{
		background-size: 100% auto;
	}
	#block-5 .block:nth-child(2){
		margin-bottom: 80px;
	}
	#block-8 .phone a{
		font-size: 20px;
	}
}
@media(max-width:576px){
	#block-1 img{
		width: 200px;
	}
	#block-1 {
		text-align: center;
	}
	#block-1 .title, .title{
		font-size: 22px;
		text-align: center;
	}
	.button{
		font-size: 15px;
	}
	#block-2 .block{
		font-size: 15px;
	}
	.sub{
		font-size: 15px;
	}
	#block-4 {
		text-align: center;
	}
	#block-5 .block:first-child{
		margin-top: 160px;
	}
	#block-5 .container{
		text-align: center;
	}
	#block-5 .block{
		font-size: 14px;
		text-align: center;
		margin-bottom: 15px !important;
		padding: 10px;
	}
	#block-6 .block{
		margin-bottom: 25px;
	}
	#block-8 .phone:after, #block-8 .phone:before{
		display: none;
	}
	footer .button{
		margin-top: 30px;
	}
	#quiz .top{
		font-size: 16px;
		text-align: center;
		padding: 30px;
		padding: 15px;
		padding-top: 40px;
	}
	#quiz .top .num{
		top: -25px;
		left: 50%;
		margin-left: -25px;
	}
	#quiz .bot{
		padding: 15px;
	}
	#quiz .back{
		width: 52px;
		height: 52px;
		line-height: 52px;
	}
	#quiz .block{
		font-size: 16px;
	}
	#quiz .title{
		margin-bottom: 40px;
	}
	#quiz .modal-header{
		margin-top: -40px;
	}
	#block-1.v-2 .block{
		display: block;
		width: auto;
		padding: 10px 20px;
	}
	#block-1.v-2{
		padding-bottom: 20px;
	}
}