@media screen and (max-width: 1060px) {
  #search-block-form input[type="search"] {
    width: 140px;
  }
}
@media screen and (max-width: 1000px) {
  h1 {
    font-size: 48px;
    line-height: 59px;
    margin: 0 0 40px 0;
  }
  .view-products.view-display-id-page_1 .view-content {
    grid-gap: 1px;
    margin-bottom: 50px;
  }
  .node--type-kontakt .info {
    margin-bottom: 40px;
  }
  .container-info {
    display: block;
    grid-template-columns: inherit;
    grid-gap: inherit;
    grid-auto-rows: inherit;
    grid-template-rows: inherit;
    margin-bottom: 0;
  }
  .sitebar {
    display: none;
  }
  .search-wr {
    clear: both;
    float: left;
    margin: 10px 0;
    width: 100%;
  }
  .search-wr #block-formapoiska {
    float: left;
  }
  .search-wr a.mail {
    float: right;
    margin: 6px;
  }
  #search-block-form input[type="search"] {
    width: 340px;
  }
}

@media screen and (max-width: 900px) {
  .node--type-produkt.node--teaser .header .title a,
  .view-id-products.view-display-id-block_1 .views-row .header h2 a,
  .view-products .view-content .views-row .info h2 {
    font-size: 20px;
  }
  .node--type-produkt.node--teaser .info,
  .view-products .view-content .views-row .info {
    padding: 15px;
  }
}
@media screen and (max-width: 790px) {
  .contacts-info {
    display: none;
  }
}
@media screen and (max-width: 750px) {
  .view-products.view-display-id-page_1 .view-content {
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .header-fake,
  .footer-fake {
    display: none;
  }
  header,
  footer {
    position: relative;
    left: inherit;
    top: inherit;
    bottom: inherit;
    right: inherit;
  }
  header {
    margin-bottom: 40px;
  }
  .node--type-produkt.node--view-mode-full .header {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }
  .node--type-produkt.node--view-mode-full .header img {
    max-width: 250px;
  }
}
@media screen and (max-width: 620px) {
  .first-line {
      text-align: center;
  }
  header a.logo, header .logo-names {
    display: inline-block;
    float: none;
    vertical-align: middle;
    padding: 0;
  }
  .contact-link {
    float: none;
    margin: 5px 0 0 0;
  }
  .btns-header {
    width: 100%;
    margin: 10px 0 0;
  }
  footer .logo-names {
    text-align: center;
    width: 100%;
  }
  .copyright {
    text-align: center;
    width: 100%;
  }
  h1 {
    text-align: center;
  }
  .view-products.view-display-id-page_1 .view-content {
    display: block;
    grid-template-columns: inherit;
    grid-gap: inherit;
    grid-auto-rows: inherit;
    grid-template-rows: inherit;
    margin: 0 auto;
    max-width: 330px;
  }
  .view-products .view-content .views-row {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 600px) {
  .view-products.view-display-id-page_1 .view-content {
    grid-gap: 2px;
  }
  .taxonomy-term-full-info .description {
    font-size: 19px;
    margin: 0 -20px;
  }
  .search-wr a.mail {
    margin: 20px 6px 0;
    clear: both;
    text-align: center;
    width: 100%;
  }
  .search-wr #block-formapoiska {
    width: 100%;
    position: relative;
  }
  #search-block-form input[type="search"] {
    width: 100%;
  }
  #search-block-form input[type='submit'] {
    position: absolute;
    right: 0;
    background-color: #4b4c86;
  }
}
@media screen and (max-width: 500px) {
  h1 {
    font-size: 36px;
    line-height: 45px;
  }
  .node--type-produkt.node--teaser .header,
  .view-id-products.view-display-id-block_1 .views-row .header {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .view-produkciya-spisok .view-content .views-row,
  .view-products.view-display-id-block_1 .view-content .views-row {
    margin: 0;
  }
  .view-products.view-display-id-block_1 .view-content .views-row:last-child {
    padding: 0;
  }
  .node--type-produkt.node--view-mode-full .header img {
    max-width: 100%;
    width: 100%;
  }
}
@media screen and (max-width: 330px) {
  .view-products.view-display-id-page_1 .view-content {
    grid-gap: 2px;
    margin: 0 -20px;
  }
}
