.solace-mega-menu > .sub-menu {
  cursor: default;
  width: var(--container);
  max-width: 100%;
}

.solace-mega-menu .sub-menu .sub-menu {
  max-height: none;
}

.solace-mega-menu .solace-mm-col {
  cursor: default;
  flex: 1;
}

.solace-mega-menu .solace-mm-col .sub-menu .sub-menu {
  right: 0;
  top: 100%;
}

.solace-mega-menu li.solace-mm-divider {
  height: 1px;
  margin: 10px auto;
  width: 100%;
  background-color: currentColor;
}

.solace-mega-menu .solace-mm-heading > span {
  cursor: default;
}

.solace-mm-description {
  padding: 0 0 15px;
  text-transform: none;
  font-size: 0.8em;
  display: flex;
}

.solace-mm-heading > span,
.solace-mm-heading > a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.header-menu-sidebar-inner .solace-mega-menu .solace-mm-col > .sub-menu {
  display: block;
}

.header--row .builder-item.has-nav {
  position: static;
}

@media (min-width: 960px) {
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu > .sub-menu {
    right: 50% !important;
    left: unset !important;
    transform: translateX(50%);
    position: absolute;
    padding: 20px 10px;
    top: auto;
    display: none;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu > .sub-menu:not(.dropdown-open) {
    pointer-events: none;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu:hover > .sub-menu,
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu:focus > .sub-menu,
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu:focus-within > .sub-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu {
    position: unset;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu .solace-mm-col > .sub-menu {
    visibility: visible;
    position: relative;
    right: initial;
    left: initial;
    opacity: 1;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    text-align: right;
    width: 100%;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu .solace-mm-col > .sub-menu a {
    white-space: normal;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu .solace-mm-col > .sub-menu li:not(.solace-mm-divider) {
    border: 0;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu .solace-mm-col {
    padding: 0 10px;
    align-items: flex-start;
    border: 0;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mm-heading > span {
    padding: 10px 20px;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mm-description {
    padding: 0 20px 10px;
  }
  .header--row .nv-nav-wrap .primary-menu-ul .solace-mega-menu .solace-mm-col:not(:last-child) {
    border-left: 1px solid currentColor;
  }
}