/* MBus WMS v38 - popravek prekrivanja vrstic v Zaloga tabelah
   V desktop PRO pogledu so bile glave tabel sticky z offsetom 72px,
   kar je v karticah povzročilo, da so vrstice lezle pod glavo. */
@media (min-width: 901px) {
  body.mbus-desktop-pro table.mbus-desktop-table thead,
  body.mbus-desktop-pro.mbus-route-zaloga table thead {
    position: relative !important;
    z-index: 12 !important;
  }

  body.mbus-desktop-pro table.mbus-desktop-table thead th,
  body.mbus-desktop-pro.mbus-route-zaloga table thead th {
    top: 0 !important;
    z-index: 12 !important;
    background: #f8fafc !important;
    background-clip: padding-box !important;
    box-shadow:
      0 1px 0 rgba(148, 163, 184, .35),
      0 8px 16px rgba(15, 23, 42, .04) !important;
  }

  body.mbus-desktop-pro table.mbus-desktop-table tbody,
  body.mbus-desktop-pro.mbus-route-zaloga table tbody {
    position: relative !important;
    z-index: 1 !important;
  }

  body.mbus-desktop-pro table.mbus-desktop-table tbody td,
  body.mbus-desktop-pro.mbus-route-zaloga table tbody td {
    position: relative !important;
    z-index: 1 !important;
    line-height: 1.35 !important;
  }

  body.mbus-desktop-pro .overflow-x-auto > table.mbus-desktop-table,
  body.mbus-desktop-pro [class*="overflow-x-auto"] > table.mbus-desktop-table,
  body.mbus-desktop-pro.mbus-route-zaloga .overflow-x-auto > table,
  body.mbus-desktop-pro.mbus-route-zaloga [class*="overflow-x-auto"] > table {
    margin-top: 0 !important;
  }

  body.mbus-desktop-pro.mbus-route-zaloga .overflow-x-auto,
  body.mbus-desktop-pro.mbus-route-zaloga [class*="overflow-x-auto"] {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
}
