/*
  Menší blok podkategorií na stránce kategorie (šablona Disco) – jen počítač.
  Na mobilu a menších tabletech (pod 992 px) se nic nemění.
  Nahrát do /user/documents/menu-mensi.css
*/

@media (min-width: 992px) {

  /* seznam podkategorií */
  .category-top ul.subcategories.with-image {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px !important;
  }
  .category-top ul.subcategories.with-image::before,
  .category-top ul.subcategories.with-image::after {
    display: none;
  }

  /* 6 sloupců (pro 5 sloupců dej 20 %) */
  .category-top ul.subcategories.with-image li.col-lg-3 {
    width: 16.66% !important;
    flex: 0 0 16.66% !important;
    max-width: 16.66% !important;
  }

  /* dělicí řádek přes celou šířku */
  .category-top ul.subcategories.with-image li.divider {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 4px 0 !important;
  }

  /* ŘÁDKY: žádná pevná výška ani odsazení u položek */
  .category-top ul.subcategories.with-image li {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
  .category-top ul.subcategories.with-image li a {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  /* obrázky */
  .category-top ul.subcategories.with-image li a img {
    max-width: 50px !important;
    max-height: 50px !important;
    width: auto;
    height: auto;
  }

  /* text: větší než minule, menší řádkování */
  .category-top ul.subcategories.with-image li a .text {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }
}
