/* Large desktops and laptops */
@media (max-width: 1200px) {
.header_blocks .block_logo {
    max-width: 260px;
    margin-top: 10px;
}
.header_blocks .block_search_phones .phones a, .social_phone .phone {
    font-size: 18px;
}
.header_blocks .block_search_phones .phones {
    margin-bottom: 20px;
}
}
@media (max-width: 1080px) { 
.header_blocks .block_search_phones {
    max-width: 360px;
}
.header_blocks .social_phone .social {
    justify-content: flex-start;
    gap: 10px;
}
.header_blocks .social_phone {
    max-width: 20%;
}
}
/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
#search {
    display: flex;
}
#top .infoline > div {
    font-size: 14px;
    margin: 5px 0;
}

#header.fix #search .input-lg {
    max-width: 140px;
}

.header-menu .menu a {
    font-size: 12px;
}

.category-listing .category-list-items {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: (1fr)[3];
    grid-template-rows: repeat(3, 1fr);
}

.mail-block {
    padding: 53px 18px 60px 130px;
    background-position-x: 30px;
}

.phone-block {
    padding: 53px 38px 60px 130px;
    background-position-x: 30px;
}

.phone-link, .phone-link i {
    font-size: 20px;
}

#top .top-info {
    grid-template-columns: repeat(3, 1fr) 100px;
}

#top .top-info a {
    font-size: 12px;
}

.top-info .top1 img {
    display: none;
}

#top .top-info .top1 a, #top .top-info .top2 a, #top .top-info .top3 a {
    font-size: 14px;
}



}

/* Portrait tablets and small desktops */
@media (max-width: 991px) {

#top .logo {
    max-width: 300px;
}
.header_info_blocks .works {
    display: none;
}
.header_blocks .social_phone {
    max-width: 60%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.social_phone .phone {
    margin: 0;
}
.header_blocks .cart {
    max-width: 60px;
}
#cart > .btn {
    min-height: 60px;
    padding: 10px;
}
.flexx {
    width: 100%;
    align-items: start;
    flex-direction: column;
}
#header.fix .header-menu {
    grid-template-columns: 3fr 100px;
}
#header.fix #cart {
    grid-column: unset;
}
.category-listing .category-list-items {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: (1fr)[3];
    grid-template-rows: repeat(3, 1fr);
}

#top .infoline > div {
    font-size: 14px;
    margin: 5px 0;
}

.top-info .top1 img {
    display: none;
}
#menu .nav > li > a {
    padding: 15px 5px;
    font-size: 12px;
}
nav {
    height: auto;
    border-bottom: 0;
}
nav ul {
    height: auto;
}
nav li {
    /*width: 100%;*/
    float: left;
    position: relative;
}
nav a {
    text-align: left;
    width: 100%;
    text-indent: 10px;
}
nav a:hover {
    background: #444;
}

nav a#openup:after {
    content: "\f0c9";
    font-family: 'FontAwesome';
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -5px;
    bottom: 0;
    color: #fff;
}
nav a#openup, .header-menu .menu ul li.tech {
    display: block;
    background-color: transparent;
    width: 100%;
    position: relative;
    min-height: 50px;
}

.header-menu .menu, .header-menu .search {
    position: relative;
}

.header-menu .menu ul {
    position: absolute;
    top: 50px;
    background: #fff;
    z-index: 9;
    padding: 10px 20px;
    box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.1);
}

.header-menu .menu li a {
    padding: 5px;
    display: block;
    color: #000;
    font-size: 12px;
}

.header-menu .menu li:first-child a {
    /*margin-left: 5px;*/
}

.header-menu .menu a {
    line-height: 2.5;
}

.header-menu .menu a:hover {
    color: inherit;
    border-bottom: 0;
}

.search-menu input {
    width: 100% !important;
}

.header-menu {
    /*-ms-grid-columns: 100px 9fr 100px;
    grid-template-columns: 100px 9fr 100px;*/
}

.phone-link, .phone-link i {
    font-size: 14px;
}

.mail-link {
    font-size: 12px;
}

.mail-block {
    padding: 35px 18px 35px 250px;
    background-position-x: 140px;
    border-right: none;
}

.phone-block {
    padding: 35px 38px 35px 250px;
    background-position-x: 140px;
}

#top .logo a {
    font-size: 12px;
}

#top .logo a span {
    font-size: 24px;
    padding-bottom: 0;
}

#top .top-info .top1 a, #top .top-info .top2 a, #top .top-info .top3 a {
    font-size: 16px;
}

.top-info .social-click, #top .top-info .top3 {
    display: none !important;
}

.search .input-group {
    width: 100%;
}

#search .input-lg {
    width: 100%;
}

#top .top-info {
    grid-template-columns: repeat(2, 1fr) 100px;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "top1 top2 cart"
    					 "search search cart";
}

.category-listing .category-list-items .cat-item h4 {
    padding: 15px 25px;
}

.category-list a {
    padding: 10px;
}

.category-list-name {
    padding: 25px;
}

.lists-prod > div {
    /*width: 50%;*/
}


}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

#top .infoline > div {
    font-size: 12px;
    margin: 5px 0;
}

nav li {
    width: 100%;
}

#top .logo {
    max-width: 280px;
}

#top .infoline > div:not(:last-child) {
    margin-right: 10px;
}

.top-info .social-click {
        display: none !important;
}

.top-info .top3 {
    display: none !important;
}

#top .top-info .top1 a, #top .top-info .top2 a {
    font-size: 12px;
}

#top .top-info {
    grid-template-columns: 1fr 1fr 100px;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "top1 top2 cart" "search search cart";
    margin-bottom: 15px;
}

nav a#openup:after {
    right: 20px;
}

.feedback .callme_order_btn {
    padding: 5px 20px;
}

#top .top-info a {
    font-size: 12px;
}

.header-menu .menu .cmenu li a {
    color: #000;
}

.header-menu .menu .cmenu .cmenu_dropdown ul li a {
    padding: 5px 0 0 20px;
}

#content.category h1 {
    padding-top: 20px;
}

.info h1 {
    padding-top: 20px;
}

.footer-logo img {
    width: 40%;
}

.price-table table {
    border: 0;
  }

  .price-table table caption {
    font-size: 1.3em;
  }
  
  .price-table table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  .price-table table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  .price-table table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  .price-table table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .price-table table td:last-child {
    border-bottom: 0;
  }


}

@media (max-width: 649px) {
.header_blocks .block_search_phones {
    max-width: unset;
    margin-bottom: 0;
}
.header_blocks .social_phone a:before {
    display: block;
    width: 25px;
}
}



@media (max-width: 520px) {
.header_blocks .social_phone {
    max-width: 70%;
}
}





/* Landscape phones and smaller */
@media (max-width: 480px) {

#top .infoline {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    flex-direction: column-reverse;
}

#top .infoline .city-choice {
    position: absolute;
    right: 15px;
    top: 0;
}

#top .container {
    flex-wrap: wrap;
}

#top .infoline > div:not(:last-child) {
    width: 100%;
    margin: 0;
}

#top .logo {
    max-width: none;
    text-align: center;
    margin: 20px auto;
}

#top .top-info {
    grid-template-columns: repeat(4, 1fr) 50px;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "top1 top1 top2 top2 cart" "search search search search cart";
    margin-bottom: 15px;
}

#top .top-info div:not(:last-child) {
    justify-content: center;
}

nav a#openup:after {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 0;
    color: #fff;
}

nav a#openup, .header-menu .menu ul li.tech {
    min-height: 50px;
}

.header-menu .menu ul {
    top: 50px;
    width: 100%;
}

.header-menu .menu ul li {
    display: block;
    width: 100%;
    float: none;
}

.feedback {
    justify-self: center;
}

h1.home {
    font-size: 20px;
}

.product-grids {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding: 0 15px;
}

.category-listing .category-list-items {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: (1fr)[4];
    grid-template-rows: repeat(4, 1fr);
}

.mail-block {
    padding: 35px 18px 35px 120px;
    background-position-x: 25px;
    border-right: none;
}

.phone-block {
    padding: 35px 38px 35px 120px;
    background-position-x: 25px;
}

.mailphone p {
    font-size: 26px;
}

.mailphone span {
    font-size: 14px;
}

#main-slider {
    display: none !important;
}

.lists-prod .category-price {
    font-size: 12px;
}

.lists-prod .category-price span {
    font-size: 14px;
}

.lists-prod .product-thumb h4 {
    padding: 10px 20px;
    min-height: 60px;
}

.link-to-cat {
	margin-top: 0;
}

.breadcrumb > li {
    padding: 0 10px;
}

.breadcrumb > li:after {
    top: 4px;
    width: 10px;
    height: 10px;
}

.product-page h1 {
    margin: 0 0 10px;
    font-size: 16px;
}

.mini-description {
    line-height: 1.5em;
    margin-top: 20px;
}

.featured_mod > h3 {
    font-size: 16px;
}

.product-page h1 {
    line-height: 1.5em;
}
}

@media (max-width: 446px) {
.header_info_blocks {
    display: none;
}
.header_blocks .block_search_phones .phones a, .social_phone .phone {
    font-size: 16px;
}
}

@media (max-width: 320px) {

#top .top-info div i {
    /*display: none;*/
}

#top .logo {
    margin: 0;
}

#top .top-info div:not(:last-child) {
    padding: 0 5px;
}

.select_city {
    padding: 3px 10px;
}

.main-module-line h3 {
    font-size: 14px;
}

.product-grids {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: 1fr;
}

.category-listing .category-list-items {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: 1fr;
}

.product-page h1 {
    font-size: 14px;
}

.ya-share2 {
    margin: 10px 0 5px;
}

.mail-block {
    padding: 15px 0px 15px 80px;
    background-position-x: 20px;
    background-size: 20%;
    border-right: none;
}

.phone-block {
    padding: 15px 0px 15px 80px;
    background-size: 20%;
    background-position-x: 20px;
}

.mailphone p {
    font-size: 18px;
}

.header-menu .menu ul {
    /*top: 100px;
    left: -100px;*/
    width: 100%;
}

.header-menu .menu li:first-child a {
    margin-left: 0;
}

.lists-prod > div {
    width: 100%;
}



}