@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .main-sidebar {
    p, .brand-link > span {
      display: none;
    }
    .nav>ul>li>p, p, .brand-link > span, .sidebar-submenu {
      display: none !important;
    }
    margin-left: 0 !important;
    width: 4.6rem !important;
  }

  .sidebar-mini.sidebar-collapse .main-sidebar:hover {
    .brand-link {
      width: 4.6rem !important;
    }
    .nav>ul>li>p, p, .brand-link > span {
      display: none !important;
    }
  }

}
@media (max-width: 992px) {
  #sidebar ul li a {
    font-size: 14px !important;
  }
}

@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
    margin-left: 4.6rem !important;
  }
  .main-sidebar>.brand-link>i {
    display: none;
  }
}


@media (min-width: 768px) {

  body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .content-wrapper::before, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-footer::before, body:not(.sidebar-mini-md) .main-header, body:not(.sidebar-mini-md) .main-header::before {
    margin-left: 250px !important;
  }
}
