/* === DESKTOP FIRST === */

/* xl <= Extra extra large (xxl) */
@media (max-width : 1400px) {
	.container {
		max-width: 100%;
	}
	.search-block input {
		width: 240px
	}
}

/* lg <= Extra large (xl) */
@media (max-width : 1200px) {
.container {
	max-width: 100%;
}
.header-page .logo {
	width: 150px;
}
.header-page .logo span {
	display: none;
}
header nav ul li a {
	padding: 15px 10px;
}
.category-wall {
	grid-template-columns: 1fr 1fr 1fr;
}
.cat-item {
	margin-bottom: 20px;
	height: auto;
	min-height: 150px;
}
.last-cat {
	display: none;
}
.circle {
	left: -10px;
}
.list-product {
	column-gap: 10px;
}
.product-img, .product-img img {
	height: 190px;
}
.product-item .name a, .more-info {
	font-size: 14px;
}
.short {
	font-size: 12px;
}
.gallery-columns-6 {
    grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-4 .gallery-item img, .gallery-columns-4 .gallery-item {
    height: 150px;
}
.gallery-columns-3 .gallery-item img, .gallery-columns-3 .gallery-item {
    height: 180px;
}
.gallery-columns-5 .gallery-item img, .gallery-columns-5 .gallery-item {
    height: 100px;
}

}

/* md <= Large (lg) */
@media (max-width : 992px) {
	.header-page {
		justify-content: flex-end;
	}

	.header-page .logo img{
	width: 150px;
	margin-right: 10px;
	position: absolute;
left: 15px;
top: 20px;
}
	.header-page .contact {
		margin-right: 30px;
	}
	.header-page .search-block {
		display: none;
	}
	.mobile-search {
		display: block;
	}
	header nav {
		display: none;
	}
	.menu-icon {
		display: block;
	}
	.category-wall {
    grid-template-columns: 1fr 1fr;
}
.cat-item {
	display: block;
	}
	.how-we-work {
		grid-template-columns: 1fr 1fr;
	}
	.how-item:nth-child(3n)::before, .how-item:nth-child(8n)::before {
		display: block;
	}
	.how-item:nth-child(2n)::before, .how-item:nth-child(4n)::before, .how-item:nth-child(6n)::before, .how-item:nth-child(8n)::before {
		display: none;
	}
	.footer-content ul li a {
		padding: 15px 10px;
	}
	.header-block {
		margin-top: 0;
	}
	.content {
		display: block;
	}
	.sidebar-block {
		display: none;
	}
	.list-product {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.button-side {
		display: block;
		cursor: pointer;
	}
	.breadcrumbs {
		display: block;
	}
	.breadcrumbs a, 	.breadcrumbs p{
		display: inline-block;
	}
	.news-grid {
		grid-template-columns: 1fr 1fr 1fr;
		column-gap: 10px;
	}
}

/* sm <= Medium (md) */
@media (max-width : 768px) {
	.menu-icon {
		margin-left: 10px;
	}
	.category-wall {
    display: block;
}
.cat-item {
display: block;
width: 300px;
max-width: 100%;
margin: 10px auto;
}
.pr-items {
	grid-template-columns:  1fr 1fr;
}
.footer-content ul {
	display: block;
}
.footer-content ul li {
	display: block;
}
.list-product {
	grid-template-columns: 1fr 1fr;
}
.product-img, .product-img img {
	height: 230px;
}
.product h1 {
	font-size: 18px;
}
.text-product table td:first-child {
	font-size: 16px;
}
.text-product .buttons {
	max-width: 100%;
	column-gap: 10px;
}
.title-b {
	font-size: 18px;
	margin-top: 50px;
}
.news-grid {
	grid-template-columns: 1fr 1fr;
}
	.header-page .contact {
		display: none
	}
}

/* xs <= Small (sm) */
@media (max-width : 576px) {
	.header-page .logo {
    width: 130px;
}
	.call-block {
		display: none;
	}
	.header-page .contact .phone {
		font-size: 16px;
	}
	.header-page .contact .email {
		font-size: 13px;
	}
	.header-page .contact {
		margin-right: 10px;
	}
	.title-block {
		font-size: 20px;
	}
	.how-we-work {
		grid-template-columns: 1fr;
	}
	.how-item::before{
		display: none;
	}
	.pr-items {
		grid-template-columns: 1fr;
	}
	.list-product {
		grid-template-columns: 1fr;
	}
	.product-img, .product-img img {
		height: 250px;
	}
	.news-grid {
		grid-template-columns: 1fr;
	}
	.phones a, .emails a {
		display: block;
	}
	.flex-row {
		display: block;
	}
	.form-block form .input-row {
		display: block;
		width: 100%;
	}
	
	.form-block form .input-row input {
		width: 100%;
		display: block;
	}
	.header-page .contact {
		display: none
	}
	.gallery-columns-6 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-5 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
}
	.gallery-columns-6 .gallery-item, .gallery-columns-6 .gallery-item img{
   height: 200px
}
.gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-item img{
   height: 200px
}
.gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-item img{
   height: 150px
}
}

@media (max-width : 380px) {
	.header-page .contact {
		display: none;
	}
}

/* === MOBILE FIRST === */

/* Custom (xs) */
@media (min-width : 0) {

}

/* Small (sm) */
@media (min-width : 576px) {

}

/* Medium (md) */
@media (min-width : 768px) {

}

/* Large (lg) */
@media (min-width : 992px) {

}

/* Extra large (xl) */
@media (min-width : 1200px) {
	.text {
		font-size: 18px;
	}
}

/* Extra extra large (xxl) */
@media (min-width : 1400px) {
	.text {
		font-size: 22px;
	}
}
