/* For all site menus */
.solo-inner .mobile-menubar-toggler-button {
  padding: var(--solo-px6);
  display: flex;
  align-items: end;
  flex-grow: 1;
  flex-basis: 100% !important;
  flex-direction: column;
}

.solo-inner ul.navigation__menubar,
.solo-inner ul.navigation__menubar ul.sub__menu,
.solo-inner ul.navigation__menubar a.nav__menu-link,
.solo-inner ul.navigation__menubar li.nav__menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  white-space: nowrap;
}

.region-inner.region-s ul.navigation__menubar li.nav__menu-item a,
.region-inner.region-s ul.navigation__menubar li.nav__menu-item button {
  white-space: normal;
  word-wrap: break-word;
}

.solo-inner ul.sub__menu,
.solo-inner li.nav__menu-item,
.solo-inner ul.navigation__menubar {
  background-color: inherit;
}

.solo-inner ul.navigation__menubar li>a.is-active,
.solo-inner ul.navigation__menubar li.is-active>a,
.solo-inner ul.navigation__menubar li.is-active>button {
  font-weight: bold;
}

.solo-inner .navigation__menubar li.nav__menu-item>a {
  text-decoration: none;
  -webkit-text-decoration: none;
  white-space: nowrap;
}

.page-wrapper .solo-inner nav .dropdown-arrow {
  transition: all 0.3s ease;
}

.page-wrapper .main-navigation-wrapper {
  z-index: 999;
}

ul.navigation__menubar {
  z-index: 1000 !important;
}

ul.navigation__menubar > li > ul {
  z-index: 2000 !important;
}

ul.navigation__menubar > li > ul > li > ul {
  z-index: 3000 !important;
}

ul.navigation__menubar > li > ul > li > ul > li > ul {
  z-index: 4000 !important;
}

/* First level padding is bigger */
.solo-inner ul.navigation__menubar>li.nav__menu-item>a,
.solo-inner ul.navigation__menubar>li.nav__menu-item>span,
.solo-inner ul.navigation__menubar>li.nav__menu-item>button {
  padding: var(--solo-px10) var(--solo-px12);
}

/* 2,3,4 level padding is smaller */
.solo-inner .navigation__menubar:not(.navigation__megamenu) li li.nav__menu-item>a,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li li.nav__menu-item>span,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li li.nav__menu-item>button {
  padding: var(--solo-px8) var(--solo-px12);
}

.solo-inner .navigation__menubar:not(.navigation__megamenu) li.link-only>a,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.link-only>span,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.button-only>button {
  flex-basis: 100%;
  flex-grow: 1;
}

.solo-inner .navigation__megamenu>li.nav__menu-item>button.ds-link>span.menu__url-title-disabled,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.nav__menu-item>button.ds-link>span.menu__url-title-disabled {
  flex-grow: 1;
  margin-inline-end: var(--solo-px12);
}

.solo-inner .navigation__menubar li.nav__menu-item>.dropdown-toggler .toggler-icon svg {
  transition: 0.2s;
}

.solo-inner .navigation__megamenu>li.nav__menu-item>.dropdown-toggler,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.nav__menu-item .dropdown-toggler {
  cursor: context-menu !important;
}

.solo-inner .navigation__menubar,
.solo-inner .navigation__megamenu>li.nav__menu-item,
.solo-inner .navigation__megamenu>li.nav__menu-item>a,
.solo-inner .navigation__megamenu>li.nav__menu-item>button,
.solo-inner .navigation__menubar:not(.navigation__megamenu) ul.sub__menu,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.nav__menu-item,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.nav__menu-item>a,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.nav__menu-item>button {
  display: flex;
}

.solo-inner .navigation__menubar:not(.navigation__megamenu) li.has-sub__menu {
  position: relative;
}

.solo-inner .navigation__menubar:not(.navigation__megamenu) ul.sub__menu,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.link-only {
  flex-direction: column;
  flex-wrap: wrap;
}

.solo-inner .navigation__megamenu>li.link-and-button>button,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.link-and-button>button {
  position: relative;
  flex-basis: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
}

.solo-inner .navigation__megamenu>li.link-and-button>a,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.link-and-button>a {
  position: relative;
  flex-basis: calc(100% - 50px);
  width: calc(100% - 50px);
  flex-grow: 1;
}

.solo-inner .navigation__megamenu>li.button-only>button>span.menu__url-title-disabled,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.button-only>button>span.menu__url-title-disabled {
  flex-basis: calc(100% - 24px);
  position: relative;
  flex-grow: 1;
}

.solo-inner .navigation__megamenu>li.button-only>button>span.toggler-icon,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.button-only>button>span.toggler-icon {
  flex-basis: 24px;
  margin-inline-start: var(--solo-px12);
}

.solo-inner .navigation__megamenu>li.button-only>button>span.toggler-icon,
.solo-inner .navigation__megamenu>li.link-and-button>button>span.toggler-icon,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.button-only>button>span.toggler-icon,
.solo-inner .navigation__menubar:not(.navigation__megamenu) li.link-and-button>button>span.toggler-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* For the default menu */
.solo-inner .navigation__default {
  justify-content: center;
  flex-wrap: wrap;
}

.solo-inner .navigation__default>li.nav__menu-item ul.sub__menu {
  min-width: 12.5rem;
  display: none;
}

/* For the second tier */
.solo-inner .navigation__default>li>ul.sub__menu {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 100%;
}

/* For the third tier */
.solo-inner .navigation__default>li>ul>li>ul.sub__menu {
  position: absolute;
  inset-inline-start: 100%;
  inset-block-start: 0;
}

/* For the fourth tier */
.solo-inner .navigation__default>li>ul>li>ul>li>ul.sub__menu {
  position: absolute;
  inset-inline-start: 100%;
  inset-block-start: 0;
}

.solo-inner .navigation__default li:hover>ul.sub__menu {
  display: flex !important;
}

.solo-inner .navigation__default>li.has-sub__menu:hover .dropdown-arrow {
  transition: all 0.3s ease;
  transform: rotate(180deg);
}

.solo-inner .navigation__default>li>ul>li.has-sub__menu:hover .dropdown-arrow {
  transition: all 0.3s ease;
  transform: rotate(-90deg);
}

.page-wrapper .navigation__default li.has-sub__menu:hover>*,
.page-wrapper .navigation__default li.has-sub__menu>*:hover {
  color: var(--r-tx-lk-h, var(--r-tx-lk, var(--r-tx))) !important;
  background-color: var(--r-bg-lk-h, var(--r-bg-lk, var(--r-bg))) !important;
}

/* Add borders to menu item */
.page-wrapper .has-border.primary-menu {
  border-block-start: 1px solid var(--r-br);
  border-block-end: 1px solid var(--r-br);
}

/* Right left mens */
.solo-footer-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  justify-content: start;
  align-items: center;
}

.solo-footer-menu {
  justify-content: center;
}

.solo-footer-menu li {
  display: inline-flex;
  align-items: center;
}

.solo-footer-menu li a {
  margin-block: 0;
  margin-inline: var(--solo-px4);
  padding-block: var(--solo-px6);
  padding-inline: var(--solo-px8);
  display: inline-block;
  max-width: 100%;
}

.solo-footer-menu li a.is-active,
.solo-footer-menu li.active-trail {
  font-weight: bold;
}

@media (max-width:35.99875rem) {
  .pager__items,
  .solo-inner .navigation__default {
    justify-content: start;
    padding: 0;
  }

}

/* plain menu in sidebar and footer for devices smaller than 320px */
.copyright-inner.region-xs .solo-side-menu,
.copyright-inner.region-xs .solo-footer-menu,
.footer-menu-inner.region-xs .solo-side-menu,
.footer-menu-inner.region-xs .solo-footer-menu,
.region-inner.region-xs .solo-side-menu,
.region-inner.region-xs .solo-footer-menu {
  justify-content: start;
  flex-direction: column;
}

.copyright-inner.region-xs .solo-side-menu li a,
.copyright-inner.region-xs .solo-footer-menu li a,
.footer-menu-inner.region-xs .solo-side-menu li a,
.footer-menu-inner.region-xs .solo-footer-menu li a,
.region-inner.region-xs .solo-side-menu li a,
.region-inner.region-xs .solo-footer-menu li a {
  padding-inline-start: 0;
  padding-inline-end: 0;
  justify-content: start;
}

/* Menu branding */
#primary-menu .menu-branding a,
#primary-menu .activate-branding.navigation-primary-responsive {
  display: flex;
}

#primary-menu .menu-branding a,
#primary-sidebar-menu .menu-branding a {
  all: unset;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  justify-content: start;
  align-items: center;
  height: 100%;
  width: auto;
  min-width: 50px;
  font-weight: bold;
  float: inline-start;
}

.menu-branding a span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.menu-branding {
  display: flex;
  line-height: normal;
  align-items: center;
  justify-content: start;
  flex-wrap: nowrap;
  flex: 0 1 auto;
  flex-direction: row;
  margin: 0;
  margin-inline-end: var(--solo-px12);
}

.menu-branding .menu-branding-logo img,
.menu-branding .menu-branding-logo svg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: auto;
  max-height: 42px;
}

#primary-menu .menu-branding .menu-branding-site-name,
#primary-sidebar-menu .menu-branding .menu-branding-site-name {
  display: none;
  height: 0;
  width: 0;
}

#primary-menu.show-sitename .activate-branding .menu-branding a.menu-branding-site-name,
#primary-sidebar-menu.show-sitename .activate-branding .menu-branding a.menu-branding-site-name {
  margin-inline-start: var(--solo-px12);
  display: flex;
  height: 100%;
  width: auto;
}

.admin-toolbar {
  z-index: 6000;
}
