@media screen and (max-width: 1199px) {
	.header_te2, .header_te2 a[href^="tel"] {
		font-size: 19px;
	}

	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 1110px;
	}

	.p1_block2_pl1 a.button-prev {
		left: -10px;
	}

	.p1_block2_pl1 a.button-next {
		right: -10px;
	}
}
@media screen and (max-width: 1439px) {
	#p1_block1_1 {
		height: 603px;
	}

	#p1_block1_2 {
		height: 603px;
		background-size: cover;
	}
}
@media screen and (max-width: 1365px) {
	#p1_block1_1 {
		height: 565px;
	}

	#p1_block1_2 {
		height: 565px;
	}
}
@media screen and (max-width: 1139px) {
	#header {
		height: auto;
		padding-bottom: 15px;
		background-image: none;
		background-color: #000;
	}

	.w1 {
		max-width: 480px;
	}

	.w2.col-lg-1, .w2.col-lg-2, .w2.col-lg-10 {
		width: 50%;
		flex: 0 0 50%;
    max-width: 50%;
	}

	.w3.col-lg-5 {
		width: 100%;
		flex: 0 0 100%;
    max-width: 100%;
	}

	.logo a {
		float: right;
		margin-top: 15px;
	}

	.menu1 {
		margin-top: 22px;
	}

	#header .menu1 .menu-item-has-children:hover .sub-menu {
		display: none;
	}

	.header_te1 {
		margin-left: 0;
		margin-top: 49px;
	}

	.header_te2 {
		margin-top: 18px;
	}

	.header_te2, .header_te2 a[href^="tel"] {
		text-align: right;
	}

	button.search {
		margin: 0 auto;
		margin-top: 17px;
	}

	#p1_block1_1 {
		height: auto;
		padding-bottom: 30px;
		margin-top: 0;
	}

	#p1_block1_2 {
		height: auto;
		background-image: none;
	}

	.p1_block1_b1 {
		margin-top: 30px;
	}

	.p1_block2_te1 {
		font-size: 18px;
		line-height: 22px;
		margin-top: 30px;
	}

	.p1_block2_te1 h4 {
		font-size: 18px;
		line-height: 22px;
	}

	.p1_block2_pl1 {
		margin-top: 10px;
	}

	.p1_block2_pl1 h3 {
		padding-bottom: 27px;
		font-size: 28px;
		line-height: 27px;
	}

	.p1_block2_pl1_te4 {
		top: 5px;
	}

	.p1_block2_pl1_te4 a {
		font-size: 18px;
		line-height: 22px;
	}

	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 960px;
	}

	.p1_block2_pl1_bl3 {
		max-width: 300px;
		padding-bottom: 15px;
	}

	.p1_block2_pl1_img {
		height: 368px;
	}

	.p1_block2_pl1_te1 {
		margin-top: 10px;
	}

	.p1_block2_pl1_te2 {
		margin-top: 24px;
	}

	.p1_block2_pl1_te3 button {
		margin-top: 11px;
	}

	.feedback1 h3 {
		padding-bottom: 7px;
		font-size: 28px;
		line-height: 27px;
	}

	.p1_block2_pl1 a.button-prev, .p1_block2_pl1 a.button-next {
		display: none !important;
	}

	.p1_block2_pl1_bu {
		display: table;
	}

	.p1_block2_pl1 .p1_block2_pl1_bu a.button-prev, .p1_block2_pl1 .p1_block2_pl1_bu a.button-next {
		display: inline-block !important;
	}

	.p1_block3_te1 h3 {
		padding-bottom: 27px;
		font-size: 28px;
		line-height: 27px;
	}

	.p1_block4_te1 {
		font-size: 35px;
		line-height: 38px;
	}

	#co_block1 {
		margin-top: 0;
	}

	#co_block2 {
		padding-bottom: 23px;
	}

	.co_block2_te1 {
		text-align: center;
		margin-top: 26px;
	}

	.co_block2_te2 h1 {
		font-size: 28px;
		line-height: 27px;
		margin-top: 24px;
	}

	.p2_block1_te1, .p2_block1_te2, .p2_block1_te3, .p2_block1_te4, .p2_block1_te5 {
		font-size: 18px;
		line-height: 21px;
	}

	.p2_block1_te1 strong, .p2_block1_te2 strong, .p2_block1_te3 strong, .p2_block1_te4 strong, .p2_block1_te5 strong {
		display: block;
		font-size: 22px;
		line-height: 24px;
		margin-bottom: 22px;
	}

	.p2_block1_te1 br, .p2_block1_te2 br, .p2_block1_te3 br, .p2_block1_te4 br, .p2_block1_te5 br {
		display: none;
	}

	.co_block3_bl3 {
		max-width: 300px;
		padding-bottom: 15px;
	}

	.co_block3_img {
		height: 368px;
	}

	.co_block3_te1 {
		margin-top: 10px;
	}

	.co_block3_te2 {
		margin-top: 24px;
	}

	.co_block3_te3 button {
		margin-top: 11px;
	}

	.co_block5_te1 {
		font-size: 18px;
		line-height: 22px;
	}

	.co_block5_te2, .co_block5_te2 a[href^="tel"] {
		font-size: 18px;
		line-height: 22px;
	}

	.feedback2 h3 {
		padding-bottom: 27px;
		font-size: 28px;
		line-height: 27px;
	}

	#footer1 .logo a {
		float: none;
	}
}
@media screen and (max-width: 991px) {
	#p1_block1_1 {
		display: none;
	}

	.p1_block2_te1 h4 {
		width: 48%;
		text-align: center;
		margin-bottom: 26px;
	}

	.p1_block2_te1 h4 img {
		float: none;
		display: block;
		margin: 0 auto;
	}

	.p1_block2_pl1 {
		margin-top: 0;
	}

	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 730px;
	}

	#p1_block3 {
		padding-bottom: 3px;
	}

	.p1_block3_te1 h4 {
		font-size: 16px;
		line-height: 20px;
		text-align: center;
		margin-bottom: 23px;
	}

	.p1_block3_te1 h4 img {
		float: none;
		display: block;
		margin: 0 auto;
		margin-bottom: 5px;
	}

	#p1_block4 {
		height: 300px;
	}

	.p1_block4_te1 {
		font-size: 30px;
		line-height: 36px;
		margin-top: 96px;
	}

	#search input {
		width: 280px;
	}

	#co_block1 {
		display: none;
	}

	.p2_block1_te1, .p2_block1_te2, .p2_block1_te3, .p2_block1_te4, .p2_block1_te5 {
		font-size: 17px;
		line-height: 21px;
	}

	.p2_block1_te1 strong, .p2_block1_te2 strong, .p2_block1_te3 strong, .p2_block1_te4 strong, .p2_block1_te5 strong {
		font-size: 20px;
		line-height: 22px;
	}

	.co_block4_te1 {
		font-size: 17px;
		line-height: 21px;
	}

	.co_block5_bl1 {
		padding-left: 15px;
		padding-right: 15px;
	}

	.wpcf7-list-item-label {
		width: calc(100% - 24px);
		text-align: center;
	}
}
@media screen and (max-width: 767px) {
	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 670px;
	}

	#search input {
		width: 240px;
	}

	.single .co_block4_te1 {
		display: table;
		margin: 0 auto;
	}

	.co_block5_te1 {
		display: table;
		width: 100%;
		max-width: 460px;
		margin: 0 auto;
	}

	.co_block5_te2 {
		display: table;
		width: 100%;
		max-width: 460px;
		margin: 0 auto;
		margin-top: 21px;
	}

	.co_block5_bl1 {
		margin: 0 auto;
		margin-top: 30px;
	}

	#footer2 .menu1, .menu2 {
		text-align: center;
	}

	#footer2 .menu1 ul, .menu2 ul {
		text-align: center;
		margin-left: 0;
	}

	#footer2 .menu1 {
		display: none;
	}

	.footer_pl1 {
		display: none;
	}

	.menu2 {
		margin-top: 25px;
	}
}
@media screen and (max-width: 699px) {
	.p1_block2_pl1_te4 {
		position: relative;
		left: 0;
		top: -5px;
		margin-bottom: 23px;
	}

	.p1_block2_pl1_te4 a {
		display: table;
		margin: 0 auto;
	}
	
	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 570px;
	}

	.p2_block1_te2 img {
		float: none;
		max-width: 100%;
		margin: 0 auto;
		margin-bottom: 26px;
	}

	.p2_block1_te4 img {
		float: none;
		max-width: 100%;
		margin: 0 auto;
		margin-bottom: 26px;
	}

	#footer1 .w2.col-lg-2, #footer1 .w2.col-lg-10 {
		width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
	}

	#footer1 .logo a {
		margin: 0 auto;
		margin-top: 30px;
	}

	#footer1 #search {
		margin: 0 auto;
		margin-top: 26px;
	}

	#footer1 #search h3 {
		text-align: center;
	}
}
@media screen and (max-width: 599px) {
	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 470px;
	}
}
@media screen and (max-width: 499px) {
	#header .w2.col-lg-2 {
		width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
	}

	#header .logo a {
		float: none;
		margin: 0 auto;
		margin-top: 15px;
	}

	#header .n1 {
		display: none;
	}

	button#menu1_bu {
		display: table;
  }

  #menu1_bu_cl.bl {
    display: block;
  }

  #menu1_op {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    z-index: 888;
    display: none;
    width: 290px;
    background-color: rgba(172,122,226,1);
    margin: 0 auto;
  }

  #menu1_op ul {
    text-align: center;
  }

  #menu1_op li {
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding-top: 7px;
    padding-bottom: 9px;
    border-bottom: 1px solid #000;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .menu1 {
  	margin-top: 0;
  }

  .menu1 .sub-menu {
  	position: relative;
  	left: 0;
  	top: 0;
  	display: table;
  	width: 100%;
  	padding: 0;
  	text-align: center;
  }

  #header .menu1 .menu-item-has-children:hover .sub-menu {
  	display: table;
  }

  .menu1 .sub-menu li {
  	padding: 0;
  	background: transparent;
  	border: 0;
  }

  #menu1_op .sub-menu li {
  	border: 0;
  }

  .menu1 a:link, .menu1 a:visited {
  	color: #000;
  }

  .menu1 a:hover, .menu1 .current-menu-item a, .menu1 .current-menu-parent a {
  	color: #fff;
  	text-decoration: none;
  }

  .header_te2 {
  	display: none;
  }

  #header button.search {
  	display: none;
  }

  .p1_block2_te1 h4 {
  	width: 100%;
  	margin-left: 0;
  	margin-right: 0;
  }

  .p1_block2_pl1 h3, .p1_block3_te1 h3 {
  	padding-bottom: 26px;
  	font-size: 24px;
  	line-height: 25px;
  }

  .p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 370px;
	}

  .p1_block3_te1 h4 {
  	width: 100%;
  	margin-left: 0;
  	margin-right: 0;
  }

  .p1_block4_te1 {
  	font-size: 24px;
  	line-height: 28px;
  	margin-top: 84px;
  }

  .co_block2_te2 h1 {
  	font-size: 24px;
  	line-height: 25px;
  }

  .feedback1 h3 {
  	padding-bottom: 6px;
  	font-size: 24px;
  	line-height: 25px;
  }

  .feedback2 h3 {
  	padding-bottom: 11px;
  	font-size: 24px;
  	line-height: 25px;
  }

  a#to_top {
  	top: -31px;
  	width: 62px;
  	height: 62px;
  }

  .fancybox-content {
    padding: 15px !important;
    padding-top: 44px !important;
  }
}
@media screen and (max-width: 399px) {
	.p1_block2_pl1_bl1 {
		width: 100%;
		max-width: 315px;
	}

	button.co_block4_te1_bu1 {
		width: 95px;
	}

	input#co_block4_te1_in1 {
		width: 95px;
	}
}