/**
 * Navigation fiche expert (MANAGER) — bascule CSS 768 px
 * Desktop : colonne latérale (expert_detail_main_menu_desktop.php)
 * Mobile  : barre basse + panneau Admin (expert_detail_main_menu_mobile.php)
 */

.expert-detail-layout {
  flex-wrap: nowrap;
}

.expert-detail-nav--bottom.is-hidden-tablet {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .expert-detail-nav--bottom.is-hidden-tablet {
    display: block !important;
  }

  #expert_mainframe_column.expert-detail-mainframe {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-bottom: 100px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }
}

@media screen and (min-width: 769px) {
  #expert_mainframe_column.expert-detail-mainframe {
    padding-left: 0 !important;
    padding-right: 0.35rem !important;
    padding-bottom: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  #expert_mainframe_column.expert-detail-mainframe.is-mainframe-reduced {
    width: auto !important;
  }

  #expert_mainframe_column.expert-detail-mainframe.is-mainframe-expansed {
    width: auto !important;
  }
}
