/* адаптив поверх старого шаблона */
img { max-width:100%; height:auto; }
#content { overflow-wrap:break-word; }
#content table { max-width:100%; }

@media (max-width: 1100px) {
  body { min-width:0; }
  #header .menu { left:210px; right:20px; height:auto; }
  #header .contacts { width:auto; left:500px; right:20px; }
  #header .contacts .item { margin-right:30px; }
}

@media (max-width: 860px) {
  body { font-size:14px; }
  #header { height:auto; background-size:auto; padding:16px 16px 12px; }
  #header .picrire { display:none; }
  #header .logo, #header .menu, #header .contacts { position:static; width:auto; }
  #header .logo { display:block; margin-bottom:12px; }
  #header .menu { overflow:visible; display:flex; flex-wrap:wrap; background:transparent; height:auto; margin-bottom:12px; }
  #header .menu a { line-height:36px; padding:0 10px; background:#5d7da8; margin:0 4px 4px 0; border-radius:3px; }
  #header .contacts .item { float:none; margin:0 0 8px; }

  #content { padding:16px 16px 40px; display:flex; flex-direction:column; }
  #content > .column-main, #content > .column-main-large { order:-1; }
  #content > .clear { display:none; }
  #content .column-left, #content .column-right { float:none; width:auto; padding-top:0; }
  #content .column-main, #content .column-main-large { margin:0 0 24px; }
  #content .column-left { margin-bottom:24px; }
  #catalog-menu li ul, #catalog-menu li:hover ul { display:none; position:static; width:auto; }
  #catalog-menu li.selected ul { display:block; margin:0 0 0 16px; width:auto; }
  #news-announce-list li { width:auto; }

  #catalog-sections-table, #catalog-sections-table tbody, #catalog-sections-table tr,
  #catalog-subsections-table, #catalog-subsections-table tbody, #catalog-subsections-table tr,
  #catalog-subsection-items-table, #catalog-subsection-items-table tbody, #catalog-subsection-items-table tr,
  #offers-links-table, #offers-links-table tbody, #offers-links-table tr { display:block; width:100%; }
  #catalog-sections-table td, #catalog-subsections-table td, #catalog-subsection-items-table td,
  #offers-links-table td { display:block; width:auto !important; padding:10px 0; }
  #catalog-sections-table td.col-separator, #catalog-subsections-table td.col-separator,
  #catalog-subsection-items-table td.col-separator, #offers-links-table td.col-separator { display:none; }

  #catalog-item .info .picture { float:none; width:auto; margin-bottom:12px; }
  #catalog-item .info .details { margin:0 !important; }
  #catalog-item table, #content .column-main table { display:block; overflow-x:auto; }
  #content iframe { max-width:100%; }
  #footer { height:auto !important; padding:16px !important; }
  #footer .counter, #footer .menu, #footer .contacts { position:static !important; width:auto !important; float:none !important; }
  #footer .contacts .item { float:none !important; margin:0 0 10px !important; }
}
