/* Styles for the React mobile drawer that replaced jquery.meanmenu.js.
   meanmenu.css targets markup the plugin generated at runtime, so the drawer
   below needs its own rules. Breakpoint matches meanScreenWidth: "991". */

.mean-bar-toggle {
  display: none;
  position: absolute;
  right: 15px;
  top: 22px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 999;
}

.mean-bar-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #4a6f8a;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mean-bar-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mean-bar-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mean-bar-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-drawer {
  background: #fff;
  border-top: 1px solid #eee;
  max-height: 75vh;
  overflow-y: auto;
}

.mobile-drawer .navbar-nav {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-drawer .nav-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer .nav-link {
  display: block;
  padding: 12px 18px;
  color: #4a6f8a;
  text-decoration: none;
  font-size: 14px;
}

.mobile-drawer .mean-expand {
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  width: 46px;
  height: 46px;
  color: #4a6f8a;
  cursor: pointer;
}

.mobile-drawer .mobile-submenu {
  display: block;
  position: static;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  padding: 0 0 0 16px;
  margin: 0;
  transform: none;
  background: #fafafa;
}

/* The owl-nav arrows are <button> now, not the <div>s Owl generated. */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.owl-dots button.owl-dot {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

#toTop.back-to-top-btn {
  border: 0;
  padding: 0;
  cursor: pointer;
}

@media only screen and (max-width: 991px) {
  .mean-bar-toggle {
    display: block;
  }
  .navbar-area .main-nav {
    display: none;
  }
}
