/* This stylesheet should be used to add your custom styles to the back-office without using the Sass sources. It will be loaded after all the default styles.
You should NOT edit any other exisiting back-office CSS file manually: they are generated by the Sass preprocessor: http://www.sass-lang.com/ . */

/*
 * Menu latéral toujours visible, quel que soit le zoom navigateur.
 * Sous 1024 px de large (fenêtre étroite ou zoom 125 %+), le BO passe en mode
 * "mobile" (new-theme/js/nav_bar.ts, MAX_MOBILE_WIDTH) et cache le menu dans un
 * tiroir ouvert par l'icône ☰. On garde ce mode mais on affiche le tiroir en
 * colonne fixe, comme sur grand écran. Les vrais mobiles (< 576 px) gardent le tiroir.
 */
@media screen and (min-width: 576px) {
  body.mobile .nav-bar.mobile-nav {
    display: block !important;
    top: 2.675rem;
    height: auto;
    width: 13.13rem !important;
    margin-left: 0 !important;
    z-index: 999;
  }

  body.mobile .nav-bar.mobile-nav .nav-bar-overflow {
    overflow-y: auto;
  }

  body.mobile .nav-bar.mobile-nav .logo-container,
  body.mobile .nav-bar.mobile-nav .main-menu > li:has(.employee-top),
  body.mobile .nav-bar.mobile-nav .main-menu > li:has(#header_logout),
  body.mobile .mobile-layer,
  body.mobile #header_infos .js-mobile-menu {
    display: none !important;
  }

  body.mobile .content-div {
    padding-left: 14.0675rem;
  }

  body.mobile .header-toolbar {
    padding-left: 13.13rem;
  }
}
