/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {
	header .block3 .block-text .big-text {
		font-size: 4.5rem;
	}
header .block4 {
	font-size: 4.9rem;
}
	ul.choose-material li {
		margin: 0 13px;
	}
	.consult-block .big-text {
		font-size: 9rem;
	}
	.help-block .wpcf7 input[type=submit] {
		font-size: 1.5rem;
	}
	.goods-buy .price {
		font-size: 4.3rem;
	}
	 .news,
	 .news:not(:nth-child(2n)) {
	 	width: 100%;
	 	float: none;
	 	margin: 0 auto 70px;
	 }
.single-page .title {
	font-size: 4.6rem;
	line-height: 50px;
}
.material-block ul.choose-material li {
	margin: 0 13px;
}


}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
header .block4 {
	font-size: 4.5rem;
}
	ul.choose-material li {
		margin: 0 39px;
	}
	ul.choose-material li:nth-child(3) {
		float: none;
		margin: 20px auto;
	}
	.goods:not(:nth-child(4n)),
	.goods {
		width: 36%;
		margin-right: 7%;
		margin-left: 7%;
	}
	.tag-page ul.partner-item li {
		width: 17%;
	}
.material-block ul.choose-material li {
	margin: 0 5.2%;
}
.material-block ul.choose-material li:nth-child(3) {
	float: none;
	margin: 20px auto 0;
	clear: both;
}


}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
	header .block2 .mobile-menu {
		display: block;
	}
	header .block2 ul.menu {
		position: absolute;
		top: 76px;
		width: 100%;
		background: #ffffff;
		display: none;
		box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.3);
	}
	header .block2 ul.menu>li:not(:first-child):before {
		display: none;
	}
	header .block2 ul.menu>li {
		float: none;
		line-height: 32px;
		max-width: 276px;
		margin: 0 auto;
		padding: 0;
		text-indent: 20px;
	}
	header .block2 ul.menu>li a {
		color: #1a1f23;
	}
	header .block2 ul.menu>li>ul,
	header .block2 ul.menu>li>ul>li>ul {
		position: relative;
		left: 0;
		display: block;
		z-index: 1;
	}
	header .block2 ul.menu>li>ul>li>ul {
		top:10px;
		left: -20px;
		max-width: 276px;
		width: 275%;
	}
	header .block2 ul.menu>li>ul li {
		text-indent: 0;
	}
	header .block2 ul.menu>li>ul {
		margin-bottom: 23px;
		top: 10px;
	}
	header .block3 .block-text {
		float: none;
		width: 100%;
	}
	header .block3 .block-img {
		display: none;
	}
header .block4 {
	font-size: 3.8rem;
}
	.material-block ul.choose-material li,
	.material-block ul.choose-material li:nth-child(3) {
		float: none;
		margin: 20px auto;
	}
	.partners-block ul li:not(:last-child),
	.partners-block ul li {
		width: 29.5%;
		margin: 0 5.75% 20px 0;
	}
	.partners-block ul li:nth-child(3) {
		margin-right: 0;
	}
	.block-news .news .block-text,
	.block-news .news .block-img,
	.block-news .news:nth-child(2) .block-text,
	.block-news .news:nth-child(2) .block-img {
		float: none;
		width: 100%;
		margin: 0 auto;
	}
	.block-news .news .block-text .border-block,
	.block-news .news:nth-child(2) .block-text .border-block {
				padding: 45px 20px 60px 20px;
	}
	.block-news .news .block-img,
	.block-news .news:nth-child(2) .block-img {
		display: none;
	}
	.block-contact .border-block .title-block {
		font-size: 5.9rem;
	}
	.block-contact .border-block .wpcf7 input[type=text],
	.block-contact .border-block .wpcf7 input[type=email] {
		width: 100%;
		margin: 0;
	}
	.block-contact .border-block .wpcf7 input[type=text] {
		margin-bottom: 20px;
	}
	.block-contact .border-block .wpcf7 p:first-child {
		text-align: left;
	}
	.goods:not(:nth-child(4n)), .goods {
	    width: 38%;
	    margin-right: 6%;
	    margin-left: 6%;
	}
.single-page .title {
	float: none;
	width: 100%;
}
	.tag-page ul.partner-item li {
		width: 30%;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 640px) {
	header .block3 .block-text {
		padding: 0 23px;
	}
	header .block3 .block-text .big-text {
		font-size: 3.7rem;
		line-height: 45px;
	}
header .block4 {
	font-size: 3rem;
}
	.consult-block .big-text {
		font-size: 7.3rem;
		line-height: 83px;
	}
	.consult-block .small-text {
		font-size: 4rem;
	}
	.partners-block ul li:not(:last-child),
	.partners-block ul li:nth-child(3),
	.partners-block ul li {
		width: 35%;
		margin: 0 7% 20px;
	}
	.partners-block ul li:nth-child(2n) {
		margin-right: 0;
	}
	.goods:not(:nth-child(4n)), .goods {
		float: none;
	    width: 100%;
	    margin-right: auto;
	    margin-left: auto;
	}
	.catalog-page ul.choose li {
		width: 130px;
	}
	.catalog-page ul.choose-type li {
		font-size: 1.7rem;
	}
	header .block4~div {
		font-size: 1.6rem;
		line-height: 24px;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	header .block1 .text-left,
	header .block1 .text-right {
		float: none;
		width: 100%;
	}
	header .block1 .text-left {
		max-width: 410px;
		margin: 0 auto 10px;
	}
	header .block1 .text-right {
		text-align: center;
	}
	header .block2 a.logo {
		max-width: 129px;
	}
	header .block2 ul.menu>li {
		padding: 0 10px;
	}
	header .block2 ul.menu>li>ul,
	header .block2 ul.menu>li>ul>li>ul {
		width: 150%;
		max-width: 235px;
	}
	header .block2 ul.menu>li>ul>li {
		line-height: 24px;
	}
	header .block3 .block-text {
		padding: 0 10px;
		font-size: 1.6rem;
	}
	header .block3 .block-text .big-text {
		font-size: 2.28rem;
		line-height: 30px;
	}
	header .block3 .block-text a.more {
		max-width: 290px;
		line-height: 60px;
	}
	.title-block {
		font-size: 4.9rem;
		line-height: 55px;
	}
	.consult-block {
		background-position: center;
	}
	.consult-block .big-text {
		font-size: 4.5rem;
		line-height: 55px;
	}
	.consult-block .small-text {
		font-size: 3.5rem;
		line-height: 35px;
	}
	.consult-block .right-part .wpcf7 p input[type=text],
	.consult-block .right-part .wpcf7 p input[type=submit] {
		font-size: 1.6rem;
		line-height: 60px;
	}
	.partners-block ul li:not(:last-child),
	.partners-block ul li:nth-child(2n),
	.partners-block ul li:nth-child(3),
	.partners-block ul li {
		float: none;
		margin: 0 auto 20px;
		width: 100%;
	}
	.block-news .news .block-text .border-block .title a {
	    font-size: 2.4rem;
	    line-height: 32px;
	}
	.bg-block .block-news .news .block-text .border-block a.more {
		font-size: 1.6rem;
		left: 0;
		line-height: 50px;
		bottom: -30px;
	}
	.block-contact .border-block .title-block {
		font-size: 3.9rem;
		line-height: 40px;
	}
	.block-contact .border-block .wpcf7 input[type=text],
	.block-contact .border-block .wpcf7 input[type=email],
	.block-contact .border-block .wpcf7 input[type=submit],
	.block-contact .border-block .wpcf7 textarea {
		font-size: 1.6rem;
	}
	.block-contact .border-block .wpcf7 input[type=text],
	.block-contact .border-block .wpcf7 input[type=email],
	.block-contact .border-block .wpcf7 input[type=submit] {
		line-height: 50px;
	}
	.block-contact .border-block .wpcf7 input[type=text],
	.block-contact .border-block .wpcf7 input[type=email] {
		background-size: 15px;
		background-position: 20px;
		padding-left: 40px;
	}
	footer .text {
		padding: 0 21px;
	}
	.catalog-page ul.choose li,
	.catalog-page ul.choose li:not(:last-child) {
		margin: 0;
		margin-bottom: 10px;
	}
	.catalog-page ul.choose li {
		width: 100%;
		max-width: 180px;
	}
	.goods-page .review-tovar .title {
		font-size: 2.65rem;
		line-height: 30px;
	}
	.news .block-img {
		display: none;
	}
	.news .block-text {
		width: 100%;
		float: none;
		margin: 0 auto;
	}
.single-page .title {
    font-size: 2.8rem;
    line-height: 33px;
}
.single-page .block-img {
	float: none;
	margin: 0 auto 20px;
	width: 100%;
}
	.tag-page ul.partner-item li {
		width: 100%;
	}
	.tag-page ul.partner-item li:not(:last-child),
	.tag-page ul.partner-item li {
		margin-right: 20px;
		margin-left: 20px;
		margin-bottom: 20px;
	}
.alignleft,
.alignnone,
.alignright {
	float: none;
	display: block;
	margin: 5px auto 5px auto;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}