@media (min-width: 992px) {

/* ===== desktop hamburger + centered logo + slide menu ===== */

/* Force show hamburger on large screens */
.mburger { 
  display: inline-flex !important; 
  align-items:center; 
  justify-content:center; 
  cursor:pointer; 
}

/* Hide inline desktop menu items */
.main-nav-container .main-menu > li.root-level,
.main-nav-container .main-menu > li.!hidden,
.main-nav-container .main-menu > li:not(.lg\\:hidden) {
  display: none !important;
}

/* Center logo */
.main-nav-container .navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 6px;
  z-index: 60;
  display: block;
  max-width: 140px;
}

/* Slide menu styles */
#mobile-menu {
  position: fixed;
  top: 48px;
  right: 0;
  height: calc(100% - 48px);
  width: 320px;
  background: #fff;
  box-shadow: -12px 0 30px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 330ms cubic-bezier(.22,.9,.37,1);
  z-index: 2000;
  overflow-y: auto;
  padding: 24px 18px;
}

#mobile-menu.open { transform: translateX(0); }

/* overlay */
.__menu-overlay {
  position: fixed;
  inset: 48px 0 0 0;
  background: rgba(0,0,0,0.35);
  z-index: 1990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.__menu-overlay.visible { opacity: 1; pointer-events: auto; }

#mobile-menu .btn--close {
  display: inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  position:absolute;
  left:12px;
  top:12px;
}

#mobile-menu .main-menu li {
  padding:12px 10px;
  border-bottom:1px solid rgba(0,0,0,0.03);
  font-weight:600;
}

/* disable body scroll when open */
body.menu-open { overflow:hidden; touch-action:none; }
.mobile-logo img {
    width: 50%;
    margin-top: 19px;
}
.mobile-logo {
    width: 100%;
    display: flex
;
    justify-content: center;
    align-items: center;
}

}
@media (max-width: 768px) {
.main-menu {
    display: none;
}
.navbar-brand {
    align-items: center;
    display: flex
;
    margin-bottom: .5rem;
    margin-top: .5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-40%);
}
}