@font-face {
	font-family: "Montserrat";
	src: url('../fonts/Montserrat.ttf');
	url('../fonts/Montserrat.ttf') format('ttf'),
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Montserrat-ExtraBold";
	src: url('../fonts/Montserrat-ExtraBold.ttf');
	url('../fonts/Montserrat-ExtraBold.ttf') format('ttf'),
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Montserrat-SemiBold";
	src: url('../fonts/Montserrat-SemiBold.ttf');
	url('../fonts/Montserrat-SemiBold.ttf') format('ttf'),
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Montserrat-Medium";
	src: url('../fonts/Montserrat-Medium.ttf');
	url('../fonts/Montserrat-Medium.ttf') format('ttf'),
	font-weight: normal;
	font-style: normal;
}
* {
	margin: 0;
	padding: 0;
}
body {
	font-family: "Montserrat";
	width: 100%;
	color: #0d0d0d;
	line-height: 1.5;

}
#wrapper {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}
#menu__toggle {
		visibility: hidden;
}
.flex-container {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}
.only-mob {
	display: none;
}
h2 {
	font-size: 26px;
	font-family: "Montserrat-SemiBold";
}
h3 {
	font-size: 16px;
	font-family: "Montserrat-SemiBold";
}
.bg_title {
	font-family: "Montserrat-ExtraBold";
	font-size: 120px;
	text-transform: uppercase;
	color: rgba(116, 116, 116, 0.051);
	position: absolute;
}
header {
	font-size: 14px;
	padding: 10px 0;
	background: #fff;
	box-shadow: 0px 0px 17.01px 3.99px rgba(50, 50, 50, 0.17);
}
#primary-menu .sub-menu {
	display: none;
}
#primary-menu .menu-item-has-children:hover > ul {
	display: block;
}
#primary-menu .menu-item-has-children {
	position: relative;
}
#primary-menu .menu-item-has-children ul {
	position: absolute;
    top: 15px;
    left: 0;
    z-index: 99999;
    width: 180px;
    background: #fff;
    box-shadow: 0px 3px 3px rgb(0 0 0 / 20%);
    padding: 15px;
		width: 300px;
}
header ul {
	list-style-type: none;
}
header ul li {
	display: inline-block;
}
header ul li a {
	text-decoration: none;
	color: #0d0d0d;
	font-weight: 500;
	text-transform: uppercase;
	padding: 0 10px;
	font-family: "Montserrat-Medium";
}
header .current_page_item a{
	color: #e0061f;
}
header .phone-number {
	font-size: 20px;
	font-weight: black;
	font-family: "Montserrat-ExtraBold";
}
button[name="run_script"] { 
    text-transform: uppercase;
	color: #fff;
	display: block;
	background: #e0061f;
	font-family: "Montserrat-ExtraBold";
	box-shadow: 0px 10px 15.64px 1.36px rgba(224, 6, 31, 0.28);
	border-radius: 6px;
	width: 220px;
	height: 53px;
	border: none;
}
button[name="run_script"]:hover { 
    background: #a80316;
} 
button[name="run_script"]:hover { 
    background: #a80316;
} 

.block_1 {
	padding: 55px 0 160px;
	position: relative;
	font-family: "Montserrat-SemiBold";
}
hr {
	width: 73px;
	border-color: #e0061f;
	margin: 15px 0 20px;
}

/*BLOCK№1*/

.block_1 p {
	font-size: 16px;
	color: #747474;
}
.block_1 .flex-container {
	flex-wrap: wrap;
	margin-top: 40px;
}
.block_1 .flex-container > div {
	width: 32%;
	height: 200px;
	position: relative;
	box-sizing: border-box;
	padding: 20px;
	margin-bottom: 25px;
	border-radius: 10px;
	box-shadow: 0px 0px 15.66px 2.34px rgba(49, 63, 160, 0.16); 
}
.block_1 .flex-container > div:active, .block_1 .flex-container > div:hover {
	box-shadow: 0px 0px 15.66px 2.34px rgba(49, 63, 160, 0.36);
	border: 1px solid rgb(49, 63, 160);
}
.block_1 .flex-container > div:first-child {
	background: url("../images/4.png") no-repeat bottom right;
}
.block_1 .flex-container > div:nth-child(2) {
	background: url("../images/5.png") no-repeat bottom right;
}
.block_1 .flex-container > div:nth-child(3) {
	background: url("../images/6.png") no-repeat bottom right;
}
.block_1 .flex-container > div:nth-child(4) {
	background: url("../images/7.png") no-repeat bottom right;
}
.block_1 .flex-container > div:nth-child(5) {
	background: url("../images/8.png") no-repeat bottom right;
}
.block_1 .flex-container > div:last-child {
	background: url("../images/9.png") no-repeat bottom right;
}
.block_1 .flex-container > div img {
	position: absolute;
	top: 165px;
	left: 20px;
}
.block_1 .flex-container > div .text {
	font-size: 14px;
	color: #747474;
	width: 73%;
	margin-top: 15px;
}
.block_1 .title {
	width: 28%;
}
.block_1 button {
	width: 170px;
	margin: 20px auto 0;
}
.block_1 .bg_title {
	top: 30px;
}

/*BLOCK№2*/

.block_2 {
	background: #f7f7f7;
	position: relative;
	padding: 70px 0;
}
.block_2 .bg_title {
	top: 5%;
}
.block_2 div img {
	float: right;
	margin-top: 60px;
}
.block_2 .bl2 {
	width: 35%;
	float: left;
	margin-top: 120px;
}
.block_2 .bl2 > div:first-child > p {
	font-size: 70px;
	font-family: "Montserrat-ExtraBold";
	color: #313fa0;
}
.block_2 .bl2 > div:last-child > p {
	font-size: 16px;
	font-family: "Montserrat-SemiBold";
	color: #747474;
	margin-left: 30px;
	line-height: 6.5;
}
.clearfix {
	clear: both;
}
.block_2 span {
	font-size: 36px;
}
.block_2 .exp_text {
	width: 50%;
	font-family: "Montserrat-Medium";
	color: #747474;
}

/*BLOCK№3*/

.block_3 {
	width: 100%;
	background: url("../images/bg3.png") no-repeat center center;
	background-position: cover;
	height: 208px;
	position: relative;
	z-index: 2;
	margin-top: 180px;
	color: #fff;
	font-size: 16px;
	box-sizing: border-box;
}
.block_3 .bl3 {
	width: 92%;
	margin: 0 auto;
	padding: 40px 0;
}
.block_3 .bl3 > div:first-child {
	width: 35%;
}
.block_3 .bl3 > div:last-child {
	width: 62%;
}
.block_3 h1 {
	font-size: 36px;
	margin-bottom: 20px;
}
.block_3 input[type=text], input[type=submit], input[type=tel] {
	width: 210px;
	height: 55px;
	border-radius: 6px;
	color: #cccccc;
	font-size: 14px;
	border: none;
	padding-left: 20px;
	box-sizing: border-box;
}

.block_3 input[type="checkbox"] {
	display: inline-block;
	margin-top: 20px;
}
.block_3 .sbl3 > div {
	width: 30%;
}

.block_3 input[type=submit] {
	width: 200px;
	background: #e0061f;
	box-shadow: 0px 10px 15.64px 1.36px rgba(224, 6, 31, 0.28);
	color: #fff;
	padding: 0;
	text-transform: uppercase;
	font-family: "Montserrat-ExtraBold";
	margin-top: 32px; 
}
.block_3 label {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 10px;
}
.block_3 a {
	color: #fff;
}
/*FOOTER*/

footer {
	position: relative;
	z-index: 1;
	background: #1f1f1f;
	color: #fff;
	margin-top: -85px;
	padding: 140px 0 40px;
}
footer h3 {
	text-transform: uppercase;
	margin-bottom: 30px;
}
footer .flex-container {
	flex-wrap: nowrap;
	align-items: flex-start;
}
footer ul {
	list-style-type: none;
	display: inline-block;
}
footer ul li {
	padding-bottom: 10px;
}
footer ul a {
	color: #fff;
	text-decoration: none;
}
footer p {
	margin: 0 0 20px 35px;
}
footer i {
	margin-right: 15px;
	color: #fff;
}
footer .social {
	margin-top: 30px;
}
footer .social > div {
	width: 24px;
	height: 24px;
	color: #fff;
	display: inline-block;
	border-radius: 3px;
	position: relative;
	margin-right: 10px;
}
footer .social i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.facebook {
	background: #3e5c9a;
}
.youtube {
	background: #c3271a;
}
.instagram {
	background: linear-gradient(185deg, #6553e0, #fe2d8d, #fdcb56);
}
.telegram {
	background: #1eb8eb;
}
.viber {
	background: #6e64c3;
}
footer hr {
	border: 1px solid #fff;
	width: 100%;
	margin: 70px 0 40px;
}
footer .copyright {
	color: #e1e1e1;
	text-align: center;
}

/*MOBILE*/

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	body {
		width: 100%;
	}
	#wrapper {
		width: 86%;
		margin: 0 auto;
	}
	h2 {
		font-size: 20px;
	}
	h3 {
		font-size: 16px;
	}
	.bg_title {
		font-size: 32px;
		left: 20px;
	}
	.menu__btn {
	    display: flex; 
	    align-items: center;   
	    position: absolute;
	    top: 20px;
	    right: 20px;
	    width: 30px;
	    height: 30px;
	    cursor: pointer;
	    z-index: 1;
	}
	.menu__btn > span,
	.menu__btn > span::before,
	.menu__btn > span::after {
	    display: block;
	    position: absolute;
	    width: 100%;
	    height: 3px;
	    background-color: #3a3a3a;
	}
	.menu__btn > span::before {
	    content: '';
	    top: -8px;
	}
	.menu__btn > span::after {
	    content: '';
	    top: 8px;
	}
	.menu__box {
	    display: block;
	    position: absolute;
	    visibility: hidden;
	    top: 0;
	    left: -100%;
	    width: 300px;
	    height: 200px;
	    margin: 0;
	    padding: 80px 0;
	    text-align: center;
	    background: #fff;
	    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
	}
	.menu__item {
	    display: block;
	    padding: 15px 45px;
	    font-size: 16px;
	    color: #3a3a3a;
	    font-weight: 600;
	    text-decoration: none;
	}
	.menu__item:hover {
	    background-color: #ffff;
	}
	#menu__toggle:checked ~ .menu__btn > span {
	    transform: rotate(45deg);
	}
	#menu__toggle:checked ~ .menu__btn > span::before {
	    top: 0;
	    transform: rotate(0);
	}
	#menu__toggle:checked ~ .menu__btn > span::after {
	    top: 0;
	    transform: rotate(90deg);
	}
	#menu__toggle:checked ~ .menu__box {
	    visibility: visible;
	    left: 20%;
	}
	button[name="run_script"] { 
		width: 100%;
	}
	header {
		padding: 10px;
	}
	header img {
		width: 50%;
	}
	header button[name="run_script"] {
		display: none;
	}
	header .phone-number {
		font-size: 16px;
		margin-right: 35px;
	}
	header .phone-description {
		font-size: 8px;
	}
	.block_1 {
		padding: 60px 0 90px;
		position: relative;
		font-family: "Montserrat-SemiBold";
	}
	hr {
		width: 73px;
		border-color: #e0061f;
		margin: 15px 0 20px;
	}
	.block_1 p {
		font-size: 14px;
	}
	.block_1 .flex-container {
		flex-wrap: wrap;
		margin-top: 40px;
	}
	.block_1 .flex-container > div {
		width: 100%;
		height: 240px;
		padding: 15px;
	}
	.block_1 .flex-container > div img {
		position: absolute;
		top: 210px;
	}
	.block_1 .flex-container > div .text {
		font-size: 12px;
		color: #747474;
		width: 80%;
		margin-top: 15px;
	}
	.block_1 .title {
		width: 100%;
	}
	.block_1 .button {
		padding: 15px 88px;
		float: none;
		display: block;
		margin: 0 auto;
		text-align: center;
	}
	.block_1 .bg_title {
		top: 30px;
	}
	.block_1 .flex-container > div:first-child {
		background: url("../images/4.png") no-repeat bottom right;
		background-size: 30%;
	}
	.block_1 .flex-container > div:nth-child(2) {
		background: url("../images/5.png") no-repeat bottom right;
		background-size: 50%;
	}
	.block_1 .flex-container > div:nth-child(3) {
		background: url("../images/6.png") no-repeat bottom right;
		background-size: 50%;
	}
	.block_1 .flex-container > div:nth-child(4) {
		background: url("../images/7.png") no-repeat bottom right;
		background-size: 40%;
	}
	.block_1 .flex-container > div:nth-child(5) {
		background: url("../images/8.png") no-repeat bottom right;
		background-size: 30%;
	}
	.block_1 .flex-container > div:last-child {
		background: url("../images/9.png") no-repeat bottom right;
		background-size: 40%;
	}
	/*BLOCK№2*/

	.block_2 {
		padding: 70px 0;
	}
	.block_2 .bg_title {
		top: 5%;
	}
	.block_2 div img {
		float: none;
		margin-top: 60px;
		width: 100%;
	}
	.block_2 .bl2 {
		width: 100%;
		float: none;
		margin-top: 20px;
	}
	.block_2 .bl2 > div:first-child > p {
		font-size: 30px;
		line-height: 1.7;
	}
	.block_2 .bl2 > div:last-child > p {
		font-size: 14px;
		margin-left: 0;
		line-height: 3.5;
	}
	.block_2 span {
		font-size: 16px;
	}
	.block_2 .exp_text {
		width: 100%;
		font-size: 14px;
		margin-top: 45px;
	}

	/*BLOCK№3*/

	.block_3 {
		background: url("../images/bg3_mobile.png") no-repeat center center;
		background-size: 100%;
		height: 480px;
		margin-top: 100px;
		font-size: 14px;
		padding: 0;
	}

	.block_3 h1 {
		font-size: 20px;
		margin-bottom: 20px;
	}
	.block_3 .bl3 {
		flex-wrap: wrap;
	}
	.block_3 input[type=text], input[type=tel] {
		height: 50px;
		width: 100%;
		display: block;
		margin: 0 0 20px;
	}
	.block_3 form {
		margin-top: 20px;
		width: 100%;
	}
	.block_3 .sbl3 {
		flex-wrap: wrap;
	}
	.block_3 .bl3 > div:first-child {
		width: 100%;
	}
	.block_3 .bl3 > div:last-child {
		width: 100%;
	}
	.block_3 .sbl3 > div {
		width: 100%;
	}
	.block_3 input[type=submit] {
		width: 100%;
		margin-top: 0;
	}
	.block_3 label {
	    display: block;
	    font-size: 14px;
	    margin-bottom: 10px;
	}
	.block_3 input[type=checkbox], .block_3 label:last-child {
		display: none;
	}

	/*FOOTER*/

	footer .flex-container {
		flex-wrap: wrap;
	}
	footer .flex-container > div {
		width: 100%;
		margin: 20px 0;
	}
	footer .flex-container > div img {
		width: 80%;
		display: block;
		margin: 0 auto;
	}
	footer hr {
		margin: 20px 0 30px;
	}
	footer .copyright {
		margin: 0 auto;
	}
	footer .only-mob {
		display: inline-block;
		border: 1px solid #fff;
		width: 100%;
		margin: 20px 0;
	}
}

.flex_logo {
	display: flex;
	flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.flex_logo > div {
	width: 32%;
	position: relative;
	box-sizing: border-box;
	padding: 20px;
	margin-bottom: 25px;
}