.clear:before,
.clear:after {
	content: " "
	display: table
}
.clear:after {
	clear: both
}

@media only screen and (max-width: 1319px) {

	#content-align-big {
		min-width: 100%;
		width: 100%;
		max-width: 100%;
		text-align: center;
	}

	#main2-background-image {
		min-width: 100%;
		-webkit-background-size: cover;
		background-size: cover;
		margin-top: 0;
		height: auto;
		padding-bottom: 100px;
	}

	#main3-header {		
		width: auto;
	}	

	#main5-background-image {
		min-width: 100%;
	}

	.advs {	  
		margin-left: 0px;
		margin-right: 0px;
	}

	#main5-inner-bloks-settings {
		width: 45%;
		margin-left: 2%;
		margin-right: 2%;
	}

	#main7-background-image {			
		min-width: 100%;
		width: 100%;
		max-width: 100%;
	}

	#footer-background-image {
		min-width: 100%;
	}

}

@media only screen and (max-width: 1199px) {

	#navigation-menu {
		text-align: center;
		width: 100%!important;
	}

	#navigation-menu ul {
		display: inline-block;
	}

	#navigation-menu li:last-child a {
		border-right: none;
	}
	
	#main {
		min-width: 100%;
		width: 100%;
	}

	#main1-background-image {
		height: 600px;
		-webkit-background-size: cover;
		background-size: cover;
		background-position: right top;
	}

	#content-align {
		width: 100%;
		min-width: 100%;
		max-width: 1200px;
		text-align: center;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		-ms-align-items: center;
		align-items: center;
	}

	#header-left-block {
		margin-top: 50px;
		float: none;
	} 

	#header-right-block {
		float: none;
		display: inline-block;
		margin: 0;
		margin-top: 80px;
	} 

	#main5-background-image {
		height: auto;
		padding-bottom: 60px;
	}

	.advs {	  
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		-ms-align-items: center;
		align-items: center;
	}

	#main5-inner-bloks-settings {
		width: 565px;
		display: inline-block;
		margin-left: 0;
		margin-right: 0;
	}

	#main7-inner_block {
		margin-left: 0;
	}
	
}

@media only screen and (max-width: 991px) {
	

	#navigation-menu ul li a {
		font-size: 13px;
	}

	#main3-certificate {
		padding-left: 15px;
		padding-right: 15px;
	}

	.video-wrap {
		width: 100%!important;		
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#main2-background-image {	
		padding-top: 30px;	
		padding-bottom: 100px;
	}

	#main5-background-image {
		padding-top: 0px;
	}

	#main5-inner_header {
		padding-top: 90px;
		position: relative;
		top: 0;
	}

	#main5-inner_header-top {	 
		 margin-left: 0;
		 margin-left: -61px;
		 top: -60px;
	}

	#main5-inner_header-bottom {	  
		padding-left: 0px;
	 }

	 .advs {
		margin-top: 50px;
	 }

}


@media only screen and (max-width: 767px) {

	#main1-background-image {
		margin-top: -35px;
	}

	.floating1 {
		height: auto;
	}

	#navigation {
		height: auto;
		padding-bottom: 15px;
	}

	#navigation-menu ul {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		justify-content: center;
		-ms-align-items: center;		
		-ms-align-items: center;
		align-items: center;
	}

	#navigation-menu ul li.tel {
		width: 200px;
	}

	#navigation-menu ul li a {
		padding: 0 10px;
	}

	#navigation-menu ul li.tel a {
		padding: 0;
	}

	#main1-background-image {
		background-position: 200% top;
	}

	#header-left-block {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 60px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#header_title-top {
		padding-left: 10px;
		padding-right: 10px;
	}

	#header_title-bottom {
		margin: 0;
		margin-top: 20px;
		max-width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		text-align: center;
	}

}

	
@media only screen and (max-width: 599px) {

	#header_title-top {
		font-size: 42px;
	}

	#header_title-bottom {
		font-size: 18px;
	}

	.advs {
		 padding: 0 20px; 
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#main5-inner-bloks-bloks_inner {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;

	}

	#main5-inner-bloks-settings {
		width: 100%;	 
	}

}

@media only screen and (max-width: 479px) {

	.floating1 {
		border-bottom: 1px solid #FCF302;
	}

	#header-left-block {
		margin-top: 80px;		
	} 

	#header-right-block {
		margin-top: 40px;
		width: 220px;
	} 

	#header-phone {
		font-size: 42px;
	}

	#navigation-menu ul {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	#navigation-menu ul li {
		width: 50%;
	}

	#navigation-menu ul li:last-child {
		margin-bottom: 0;
	}

	#navigation-menu ul li a {
		border-right: none;
	}

	#navigation-menu ul li.tel {
		width: 50%;
		margin-bottom: 10px;
	}

	#main3-header {
		font-size: 42px;
		height: auto;
	}

	#main5-inner_header {
		padding-top: 70px;	
	}

	#main5-inner_header::after {
		border-width: 20px 25px 0 25px;	  
		bottom: -20px;
		margin-left: -25px;
	}

	#main5-inner_header-bottom {	  
		font-size: 30px;	
		letter-spacing: -0.025em;	
	}

	#main5-inner_header-top {
		font-size: 60px;
		width: 100px;
		height: 100px;
		line-height: 100px;	
		top: -50px;	
		margin-left: -50px;	
	}	

	#main5-inner-bloks-bloks_inner {
		margin-top: 15px;
		line-height: 1;
	}

	#main5-inner-bloks-bloks_header {
		font-size: 22px;
	}	

	#main5-background-image {
		-webkit-background-size: cover;
		background-size: cover;
	}

	#main7-inner_block {
		width: 260px;		
	}

	.garant span {
		font-size: 18px!important;
		text-transform: none!important;
		font-weight: normal;
		display: block;
	}

	#main7-inner_block-header {
		height: 35px;
		font-size: 22px;
	}

	.contacts__header {
		width: 100%!important;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#main7-inner_block {
		padding-left: 20px;
		padding-right: 20px;
	}

	.tel-2 {
		font-size: 30px;
	}

	.tel-2-box {
		margin-top: -30px!important;
	}

}


