/* Sidebar menu: stack items vertically (Bootstrap .nav is flex row by default) */
.sidebar-wrapper .sidebar-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
.sidebar-wrapper .sidebar-menu > .nav-header,
.sidebar-wrapper .sidebar-menu > .nav-item {
  display: block;
  width: 100%;
}

/* Override AdminLTE sidebar overlay: remove dark/fading when sidebar is open */
.sidebar-expand.sidebar-open .sidebar-overlay {
  background-color: transparent;
}

/* Prevent overlay from capturing clicks/taps so clicking the page does not close the sidebar.
   Sidebar can still be closed via the hamburger (sidebar toggle) button. */
.sidebar-overlay {
  pointer-events: none;
}

@media (min-width: 576px) {
  .sidebar-expand-sm.sidebar-open .sidebar-overlay {
    background-color: transparent;
  }
}
@media (min-width: 768px) {
  .sidebar-expand-md.sidebar-open .sidebar-overlay {
    background-color: transparent;
  }
}
@media (min-width: 992px) {
  .sidebar-expand-lg.sidebar-open .sidebar-overlay {
    background-color: transparent;
  }
}
@media (min-width: 1200px) {
  .sidebar-expand-xl.sidebar-open .sidebar-overlay {
    background-color: transparent;
  }
}
@media (min-width: 1400px) {
  .sidebar-expand-xxl.sidebar-open .sidebar-overlay {
    background-color: transparent;
  }
}
