.mobile-menu-toggle,
.mobile-menu-toggle-inside {
  font-size: var(--rh--general--font-size, 1.7rem);
  line-height: 2;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
  white-space: nowrap;
}
.mobile-menu-toggle .icon,
.mobile-menu-toggle-inside .icon {
  vertical-align: -1px;
}

.mobile-menu-toggle {
  display: block;
  margin-top: 0;
  padding-left: max(env(safe-area-inset-left), 2rem);
  padding-right: max(env(safe-area-inset-right), 2rem);
  transition: left 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle {
    transition: none;
  }
}
@media only screen and (min-width: 840px) {
  .mobile-menu-toggle {
    flex: 0 1;
    margin-left: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.nav-center .mobile-menu-toggle {
  text-align: center;
}
.nav-right .mobile-menu-toggle {
  text-align: right;
}
@media only screen and (min-width: 840px) {
  .nav-right .mobile-menu-toggle {
    margin-right: 4rem;
  }
}

.main-navigation {
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  transition: top 0.3s ease, width 0.3s ease;
  width: 0;
  z-index: 1000;
}
@media (prefers-reduced-motion: reduce) {
  .main-navigation {
    transition: none;
  }
}
.main-navigation .container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 0;
  padding-left: env(safe-area-inset-left);
}
@media only screen and (min-width: 840px) {
  .nav-center .main-navigation .container {
    justify-content: center;
  }
}
@media only screen and (min-width: 840px) {
  .nav-right .main-navigation .container {
    justify-content: flex-end;
  }
}
.main-navigation .container.container {
  padding-bottom: env(safe-area-inset-bottom);
  width: 100%;
}
.main-navigation ul {
  margin: 0;
}
.main-navigation .menu-item {
  display: block;
  padding-left: 0;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.main-navigation .menu-item::before {
  content: none;
}
.main-navigation .menu-item:not(.menu-item-has-children) > a {
  padding-right: 4rem;
}
.main-navigation .menu-item:not(.menu-item-has-children) > .dropdown-toggle {
  display: none;
}
.main-navigation a {
  display: block;
  font-size: 1.7remrem;
  line-height: 2.3;
  overflow: hidden;
  padding: 10px 4rem 10px 2rem;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  transform: translateZ(0);
  white-space: nowrap;
}
.main-navigation a:active, .main-navigation a:hover, .main-navigation a:focus {
  text-decoration: none;
}
.main-navigation .current-menu-ancestor > ul:not(.sub-menu-closed),
.main-navigation .current_page_ancestor > ul:not(.sub-menu-closed) {
  display: block;
}
.main-navigation .nav-menu {
  flex-wrap: wrap;
  text-indent: 0;
  width: 100%;
}
.main-navigation .nav-menu .dropdown-toggle {
  align-items: center;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  height: 58px;
  justify-content: center;
  line-height: 58px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 4rem;
}
.main-navigation .nav-menu .dropdown-toggle > svg {
  height: 24px;
  width: 24px;
}
.main-navigation .sub-menu {
  padding-left: 10px;
  display: none;
  margin: 0;
}
.main-navigation .sub-menu .menu-item {
  margin-right: 0;
}
.main-navigation .sub-menu.sub-menu-open {
  display: block;
}
.nav-open .main-navigation {
  display: block;
  height: auto;
  overflow: auto;
  width: 256px;
}
.nav-open .main-navigation .current-menu-ancestor > .dropdown-toggle:not(.closed):not(.open),
.nav-open .main-navigation .current_page_ancestor > .dropdown-toggle:not(.closed):not(.open) {
  transform: none;
}
.nav-right .main-navigation {
  left: auto;
  right: 0;
}

.nav-before + .main-navigation,
.nav-before + .mobile-menu-toggle,
.nav-flex + .main-navigation,
.nav-flex + .mobile-menu-toggle {
  order: 1;
}
@media only screen and (min-width: 840px) {
  .nav-before + .main-navigation,
  .nav-before + .mobile-menu-toggle,
  .nav-flex + .main-navigation,
  .nav-flex + .mobile-menu-toggle {
    order: 0;
  }
}

.fixed .mobile-menu-toggle {
  left: 0;
  position: fixed;
  right: 0;
  top: var(--wp-admin--admin-bar--height, 0);
  z-index: 999;
}
.fixed.header {
  position: relative;
  z-index: 999;
}

.nav-fixed-wrapper {
  transition: left 0.3s ease, right 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .nav-fixed-wrapper {
    transition: none;
  }
}

@media only screen and (min-width: 840px) {
  .nav-fixed-wrapper .secondary-toggle {
    flex: 0 1 105px;
  }
}
.nav-fixed-wrapper.fixed .nav-wrapper {
  position: static;
}
@media only screen and (min-width: 840px) {
  .nav-fixed-wrapper.fixed .nav-wrapper .mobile-menu-toggle {
    position: static;
  }
}

.nav-open .fixed .mobile-menu-toggle,
.nav-open .nav-fixed-wrapper.nav-fixed-wrapper {
  left: 256px;
}
@media only screen and (min-width: 1135px) {
  .nav-open .fixed .mobile-menu-toggle,
  .nav-open .nav-fixed-wrapper.nav-fixed-wrapper {
    left: 128px;
  }
}
.nav-open .nav-fixed-wrapper.nav-fixed-wrapper {
  right: -256px;
}
@media only screen and (min-width: 1135px) {
  .nav-open .nav-fixed-wrapper.nav-fixed-wrapper {
    right: -128px;
  }
}
.nav-open > .nav-right .fixed .mobile-menu-toggle, .nav-open > .nav-right.page-template-page-full .fixed .mobile-menu-toggle {
  left: auto;
  right: 256px;
}
@media only screen and (min-width: 1135px) {
  .nav-open > .nav-right .fixed .mobile-menu-toggle, .nav-open > .nav-right.page-template-page-full .fixed .mobile-menu-toggle {
    right: 128px;
  }
}
.nav-open > .nav-right .nav-fixed-wrapper.nav-fixed-wrapper, .nav-open > .nav-right.page-template-page-full .nav-fixed-wrapper.nav-fixed-wrapper {
  left: -256px;
  right: 256px;
}
@media only screen and (min-width: 1135px) {
  .nav-open > .nav-right .nav-fixed-wrapper.nav-fixed-wrapper, .nav-open > .nav-right.page-template-page-full .nav-fixed-wrapper.nav-fixed-wrapper {
    left: -128px;
    right: 128px;
  }
}
.nav-open .page-template-page-full .fixed .mobile-menu-toggle,
.nav-open .page-template-page-full .nav-fixed-wrapper.nav-fixed-wrapper {
  left: 256px;
}
@media only screen and (min-width: 1135px) {
  .nav-open .page-template-page-full .fixed .mobile-menu-toggle,
  .nav-open .page-template-page-full .nav-fixed-wrapper.nav-fixed-wrapper {
    left: 128px;
  }
}
.nav-open .page-template-page-full .nav-fixed-wrapper.nav-fixed-wrapper {
  right: -256px;
}
@media only screen and (min-width: 1135px) {
  .nav-open .page-template-page-full .nav-fixed-wrapper.nav-fixed-wrapper {
    right: -128px;
  }
}

html:not(.nav-open) .admin-bar .fixed .mobile-menu-toggle,
html:not(.nav-open) .admin-bar .fixed .nav-fixed-wrapper .nav-wrapper {
  top: 46px;
}
@media only screen and (min-width: 783px) {
  html:not(.nav-open) .admin-bar .fixed .mobile-menu-toggle,
  html:not(.nav-open) .admin-bar .fixed .nav-fixed-wrapper .nav-wrapper {
    top: 32px;
  }
}
html:not(.nav-open) .admin-bar .fixed .nav-fixed-wrapper .nav-wrapper {
  margin-top: 0;
}

#nav-blocker {
  bottom: 0;
  left: 100%;
  position: fixed;
  right: 0;
  top: 0;
  transition: left 0.3s ease;
  z-index: 99999;
}
@media (prefers-reduced-motion: reduce) {
  #nav-blocker {
    transition: none;
  }
}

.nav-open #nav-blocker {
  left: 256px;
}
.nav-open > .nav-right #nav-blocker {
  left: 0;
  right: 256px;
}

.main-navigation-widgets {
  order: -1;
}
@media only screen and (min-width: 840px) {
  .main-navigation-widgets {
    order: 0;
  }
}
.main-navigation-widgets .widget_search {
  height: 100%;
}
.main-navigation-widgets .widget_search > form {
  align-items: center;
  display: flex;
  height: 100%;
}
.main-navigation-widgets .widget_search label {
  padding: 1rem 2rem;
}
.main-navigation-widgets .widget_search input[type=search] {
  margin: 0;
  padding: 0.5rem 0.5rem 0.25rem;
}

.posts-navigation {
  margin-block-start: var(--rh--size--general--margin--bottom);
}
.posts-navigation .page-numbers {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.posts-navigation .page-number {
  border: 2px solid var(--rh--color--ci);
  border-right-width: 0;
  color: var(--rh--color--content--text);
  display: block;
  padding: 0.15rem 0.75rem;
  text-decoration: none;
}
.posts-navigation .page-number:focus, .posts-navigation .page-number:hover, .posts-navigation .page-number.current {
  background-color: var(--rh--color--ci);
  color: var(--rh--color--ci--contrast);
}
.posts-navigation .page-number.dots {
  color: var(--rh--color--content--text);
}
.posts-navigation .page-number-item:first-child .page-number {
  border-radius: 3px 0 0 3px;
}
.posts-navigation .page-number-item:last-child .page-number {
  border-radius: 0 3px 3px 0;
  border-right-width: 2px;
}
.posts-navigation .page-number-item:not(.current):not(.first):not(.last):not(.next):not(.prev) {
  display: none;
}
@media (min-width: 500px) {
  .posts-navigation .page-number-item:not(.current):not(.first):not(.last):not(.next):not(.prev) {
    display: block;
  }
}
