@media screen and (max-width:1300px){
	.gallery .row_row .row .block{height:350px;}
}

@media screen and (max-width:1150px){
	.gallery .row_row .row .block{width:49%;}
	
	.history .inner{padding:50px;}
	#header li{font-size:16px;}
	#header .inner{max-width:750px;}
	#header .blue_button, #header .red_button{line-height:40px; width:300px;}
	.main_menu .row .block{padding-top:120px; height:350px;}
	.main_menu .row .block .in_block .ah1{font-size:25px; line-height:32px;}
	.main_menu .row .block .in_block .price{font-size:20px;}
}

@media screen and (max-width:999px){
.b-modal{top:100px;}
	#header .social{position:relative; bottom:0; margin-top:20px; width:auto; left:0; margin-left:auto;}
	#subheader2{height:47px;}
	#header .menu ul li{padding-top:0; padding-bottom:10px;}
	#header .menu{position:absolute; left:0; top:100%; width:100%; background:#12101b; box-sizing:border-box; padding:0 3%;}
	#header .menu.active{position:fixed; top:0;}
	.catalog .block{margin-bottom:100px;}
	.contacts .inner2{padding:50px;}
	.gallery .row_row .row .block{height:300px;}
	.materials .dark .block{margin-bottom:50px;}
	.materials .dark .block .text_block{min-height:300px;}
	.materials .dark .block .ah2{font-size:26px; line-height:29px; padding-top:30px;}
	.materials .dark .block .image_block{height:300px; margin-right:40px;}
	.history .buttons_block .call_me{margin-left:5%;}
	.history .buttons_block .pink_button{margin-right:5%;}
	.main_carousel .item .left_block .ah1{margin-bottom:15px;}
	.main_carousel .item .right_block{padding-top:105px;}
	.main_carousel .item .scroll{margin-top:35px;}
	.main_carousel .item .left_block{margin-right:15px;}
	.main_carousel .item .right_block .ah3{font-size:20px;}
	.main_menu .row .block .in_block .ah1{font-size:20px; line-height:25px;}
	.main_menu .row .block .in_block{padding-top:40px;}
	.gallery .row_row .row .block .in_block{ opacity:1; visibility:visible; background:rgba(251, 17, 105, 0.4)}
	.main_menu .row .block{padding-top:80px; height:300px;}
	.main_text_block{padding-bottom:330px;}
	.main_text_block p, .main_carousel .item .left_block .ah2{font-size:25px; line-height:28px;}
	.main_text_block .ah2{font-size:80px; line-height:80px;}
	.main_text_block .ah1, .main_carousel .item .left_block .ah1, .history .ah1, .materials .ah1, .gallery .ah1, .contacts .ah1, .contacts .ah2, .catalog .ah1{font-size:50px; line-height:53px;}
	#header .inner{max-width:600px;}
	#header .phone{position:relative; margin-top:5px; bottom:0; top:0; width:auto; left:0; margin-left:auto;}
	#subheader{opacity:0; visibility:hidden; position:fixed; left:-100000em; height:161px;}
	#header{position:relative; height:auto; padding-bottom:10px; padding-top:1px;}
	#header .blue_button, #header .red_button{position:relative; top:0; left:0; right:0; bottom:auto; margin-left:auto; margin-right:auto; display:block; margin-top:10px; font-size:14px;}
	#header .blue_button:hover, #header .red_button:hover{ margin-left:auto; margin-right:auto; margin-top:10px;}
}

@media screen and (max-width:800px){
	
}

@media screen and (max-width:700px){
	#subheader{height:161px;}
	.catalog .block{margin-bottom:30px;}
	.catalog .block .image_block .slider1 .slick-slide{height:250px;}
	.catalog .block:nth-child(odd) .image_block, .catalog .block:nth-child(even) .image_block{float:none; width:auto; margin-right:0; margin-bottom:20px; margin-left:0;}
	.catalog .text{margin-bottom:40px;}
	.catalog{padding-top:50px;}
	.contacts .ah2{font-size:30px; line-height:33px;}
	.contacts .inner2{padding:20px;}
	.map{height:250px; margin-top:0;}
	.contacts .ct_block{margin-top:30px;}
	.contacts{padding-top:40px;}
	.gallery .row_row{width:96%;}
	.gallery .row_row .row{margin-right:0;}
	.gallery .row_row .row .block{float:none; margin-right:0; width:auto;}
	.materials .dark .block .text_block{min-height:auto; padding-bottom:60px;}
	.materials .dark .block .image_block{height:250px; float:none; width:auto; margin-bottom:0; margin-right:0;}
	.materials{padding-top:50px;}
	.materials .text{padding-top:40px;}
	.main_carousel .item .right_block .ah3{font-size:16px;}
	.history{padding-top:70px; padding-bottom:100px;}
	.history .inner{padding:30px;}
	.history .buttons_block .pink_button{display:block; margin-left:auto; margin-right:auto; margin-bottom:20px; margin-top:20px;}
	.history .buttons_block .call_me{margin-left:0; display:block; margin-left:auto; margin-right:auto;}
	.history .ah2{margin-top:50px; margin-bottom:30px;}
	.btn11 {width: 30px; height: 53px; -webkit-transition-duration: 0.4s; transition-duration: 0.4s; z-index:301; position:relative; margin-top:-5px;}
	.btn11 .icon-left {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; position: absolute; height: 4px; width: 15px; top: 25px; background-color: #fff;}
	.btn11 .icon-left:before {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; position: absolute; width: 15px; height: 4px; background-color: #fff; content: ""; top: -10px; left:0;}
	.btn11 .icon-left:after {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; position: absolute; width: 15px; height: 4px; background-color: #fff; content: ""; top: 10px; left:0;}
	.btn11 .icon-right {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; position: absolute; height: 4px; width: 15px; top:25px; background-color: #fff; left: 15px;}
	.btn11 .icon-right:before {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; position: absolute; width: 15px; height: 4px; background-color: #fff; content: ""; top: -10px; right:0;}
	.btn11 .icon-right:after {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; position: absolute; width: 15px; height: 4px; background-color: #fff; content: ""; top: 10px; right:0;}
	.btn11.open .icon-left {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; background: transparent;}
	.btn11.open .icon-left:before {-webkit-transform: rotateZ(45deg) scaleX(1.4) translate(2px, 2px); transform: rotateZ(45deg) scaleX(1.4) translate(2px, 2px);}
	.btn11.open .icon-left:after {-webkit-transform: rotateZ(-45deg) scaleX(1.4) translate(2px, -2px); transform: rotateZ(-45deg) scaleX(1.4) translate(2px, -2px);}
	.btn11.open .icon-right {-webkit-transition-duration: 0.4s; transition-duration: 0.4s; background: transparent;}
	.btn11.open .icon-right:before {-webkit-transform: rotateZ(-45deg) scaleX(1.4) translate(-2px, 2px); transform: rotateZ(-45deg) scaleX(1.4) translate(-2px, 2px);}
	.btn11.open .icon-right:after {-webkit-transform: rotateZ(45deg) scaleX(1.4) translate(-2px, -2px); transform: rotateZ(45deg) scaleX(1.4) translate(-2px, -2px);}
	.main_menu .row .block .in_block{height:auto;}
	.main_menu .row{margin-right:0; padding-bottom:30px;}
	.main_menu .row .block:nth-child(even){margin-top:10px;}
	.main_menu .row .block{float:none; margin-right:0; width:auto; margin-bottom:0; margin-top:10px; padding:0; height:auto;}
	#header .menu{position:absolute; left:0; top:100%; width:100%; background:#12101b; box-sizing:border-box; padding:0 3%;}
	#header .menu.active{position:fixed; top:0;}
	#header .menu ul{display:none; padding-bottom:10px;}
	#header .menu ul.open{display:block;}
	#header li a{padding-top:0; padding-bottom:5px;}
	#header li a:before{top:auto; bottom:0;}
	#header li{float:none; width:auto;}
	#header .social{margin-top:0; position:absolute; right:3%; bottom:-43px; z-index:1; left:auto;}
	.main_text_block p{text-shadow:none;}
	.main_text_block p, .main_carousel .item .left_block .ah2{font-size:16px; line-height:19px;}
	.main_text_block .ah2, .history .ah1, .materials .ah1, .gallery .ah1, .contacts .ah1, .catalog .ah1{font-size:39px; line-height:43px;}
	.main_text_block .ah1, .main_carousel .item .left_block .ah1, .catalog .block .text_block .ah2{font-size:25px; line-height:28px;}
	.main_text_block{padding-top:20px; margin-bottom:-320px;}
	.main_carousel .item .right_block{padding-top:15px; max-width:100%; padding-right:15px; padding-left:15px;}
	.main_carousel .item .left_block{float:none; margin-right:0; width:auto;}
	.main_carousel .item{height:400px; text-align:center;}
	.main_carousel{margin-bottom:25px;}
	#footer .ah1{margin-bottom:15px;}
	#footer .social{position:relative; text-align:center; left:0; top:0; margin-left:auto; margin-bottom:25px;}
	#footer .contacts_block{float:none; width:auto; margin-right:0;}
	#footer{height:auto; margin-top:0; padding-top:30px; padding-bottom:30px; text-align:center;}
	#wrapper{min-height:auto;}
	#subfooter{height:auto;}
	body{font-size:12px;}
}

@media screen and (max-width:540px){
	.form0_block .ah1{font-size:20px; line-height:23px;}
	.b-modal_close{right:0; top:0;}
	.b-modal{left:0; margin-left:auto; top:0; margin-top:0; width:100%; height:100vh; overflow:auto; min-height: auto;}
}