/*
 * Mobile menu (hamburger) for helenainson.com - veda-child theme.
 * Markup: inc/mobile-menu.php   Behaviour: js/mobile-menu.js
 * Values taken 1:1 from the former Responsive Menu plugin settings.
 * Position tweaks for the toggle button live in style.css.
 */
#ha-mm-toggle {
  width: 35px;
  height: 35px;
  position: fixed;
  top: 112px;
  border-radius: 5px;
  display: none;
  text-decoration: none;
  right: 2%;
  background: #000000;
  transition: transform 0.5s, background-color 0.5s;
}
#ha-mm-toggle:hover, #ha-mm-toggle:focus {
  background: #000000;
  text-decoration: unset;
}
#ha-mm-toggle.is-active {
  background: #000000;
}
#ha-mm-toggle:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -3px;
}
#ha-mm-toggle .ha-mm-toggle__box {
  width: 25px;
  color: #ffffff;
}
#ha-mm-toggle .ha-mm-toggle__bars {
  display: block;
}
#ha-mm-toggle .ha-mm-toggle__bars, #ha-mm-toggle .ha-mm-toggle__bars::before, #ha-mm-toggle .ha-mm-toggle__bars::after {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 4px;
  position: absolute;
}
#ha-mm-toggle.is-active .ha-mm-toggle__bars, #ha-mm-toggle.is-active .ha-mm-toggle__bars::before, #ha-mm-toggle.is-active .ha-mm-toggle__bars::after {
  background-color: #ffffff;
}
#ha-mm-toggle:not(.is-active):hover .ha-mm-toggle__bars, #ha-mm-toggle:not(.is-active):hover .ha-mm-toggle__bars::before, #ha-mm-toggle:not(.is-active):hover .ha-mm-toggle__bars::after {
  background-color: #ffffff;
}
#ha-mm-toggle .ha-mm-toggle__bars::before {
  top: 10px;
}
#ha-mm-toggle .ha-mm-toggle__bars::after {
  bottom: 10px;
}
#ha-mm-toggle.is-active .ha-mm-toggle__bars::after {
  bottom: 0;
}
@media screen and (max-width: 979px) {
  #ha-mm-toggle {
    display: block;
  }
  #ha-mm-panel {
    position: fixed;
    top: 0;
    margin: 0;
    transition: transform 0.5s;
    overflow: auto;
    display: block;
    width: 75%;
    background-color: #212121;
    background-image: url("");
    height: 100%;
    left: 0;
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
  }
  #ha-mm-nav {
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-list, #ha-mm-nav .ha-mm-sub {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  #ha-mm-nav .ha-mm-sub--depth-1 .ha-mm-link {
    padding-left: 10%;
  }
  #ha-mm-nav .ha-mm-sub--depth-2 .ha-mm-link {
    padding-left: 15%;
  }
  #ha-mm-nav .ha-mm-sub--depth-3 .ha-mm-link {
    padding-left: 20%;
  }
  #ha-mm-nav .ha-mm-sub--depth-4 .ha-mm-link {
    padding-left: 25%;
  }
  #ha-mm-nav .ha-mm-sub.ha-mm-sub--open {
    display: block;
  }
  #ha-mm-nav .ha-mm-item {
    width: 100%;
    list-style: none;
    margin: 0;
    position: relative;
  }
  #ha-mm-nav .ha-mm-link {
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    border-bottom: 1px solid #212121;
    font-family: inherit;
    color: #ffffff;
    text-align: left;
    background-color: #212121;
    font-weight: normal;
    letter-spacing: 0px;
    display: block;
    box-sizing: border-box;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s, border-color 0.5s, 0.5s;
    padding: 0 5%;
    padding-right: 50px;
  }
  #ha-mm-nav .ha-mm-link:after, #ha-mm-nav .ha-mm-link:before {
    display: none;
  }
  #ha-mm-nav .ha-mm-link:hover, #ha-mm-nav .ha-mm-link:focus {
    color: #ffffff;
    border-color: #212121;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-link:focus:not(:focus-visible) {
    outline: none;
    border-color: unset;
    box-shadow: unset;
  }
  #ha-mm-nav .ha-mm-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -3px;
  }
  #ha-mm-nav .ha-mm-item--current .ha-mm-link {
    color: #ffffff;
    border-color: #212121;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-item--current .ha-mm-link:hover, #ha-mm-nav .ha-mm-item--current .ha-mm-link:focus {
    color: #ffffff;
    border-color: #3f3f3f;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-arrow {
    position: absolute;
    top: 0;
    bottom: auto;
    line-height: 39px;
    font-size: 13px;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    right: 0;
    border-left-style: solid;
    border-left-color: #212121;
    border-left-width: 1px;
    height: 39px;
    width: 40px;
    color: #ffffff;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-arrow:hover {
    color: #ffffff;
    border-color: #3f3f3f;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-arrow:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -3px;
  }
  #ha-mm-nav .ha-mm-arrow * {
    vertical-align: middle;
    line-height: 39px;
  }
  #ha-mm-nav .ha-mm-arrow--open {
    display: block;
    background-size: cover;
    color: #ffffff;
    border-color: #212121;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-arrow--open:hover {
    color: #ffffff;
    border-color: #3f3f3f;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-sub {
    display: none;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-link {
    height: 40px;
    line-height: 40px;
    letter-spacing: 0px;
    font-size: 13px;
    border-bottom: 1px solid #212121;
    font-family: inherit;
    font-weight: normal;
    color: #ffffff;
    text-align: left;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-link:hover, #ha-mm-nav .ha-mm-sub .ha-mm-link:focus {
    color: #ffffff;
    border-color: #212121;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-item--current .ha-mm-link {
    color: #ffffff;
    border-color: #212121;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-item--current .ha-mm-link:hover, #ha-mm-nav .ha-mm-sub .ha-mm-item--current .ha-mm-link:focus {
    color: #ffffff;
    border-color: #3f3f3f;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-arrow {
    font-size: 13px;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-arrow {
    right: 0;
    border-right: unset;
    border-left-style: solid;
    border-left-color: #212121;
    border-left-width: 1px;
    height: 39px;
    line-height: 39px;
    width: 40px;
    color: #ffffff;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-arrow:hover {
    color: #ffffff;
    border-color: #3f3f3f;
    background-color: #3f3f3f;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-arrow--open {
    color: #ffffff;
    border-color: #212121;
    background-color: #212121;
  }
  #ha-mm-nav .ha-mm-sub .ha-mm-arrow--open:hover {
    color: #ffffff;
    border-color: #3f3f3f;
    background-color: #3f3f3f;
  }
}
.ha-mm-panel {
  display: none;
  visibility: visible;
  padding: 0px 0px 0px 0px;
  z-index: 99998;
  transition: all 0.3s;
}
.ha-mm-panel.ha-mm-panel--left {
  transform: translateX(-100%);
}
.ha-mm-panel.ha-mm-panel--left.ha-mm-panel--open {
  transform: translateX(0);
}
.ha-mm-panel::-webkit-scrollbar {
  width: 0px;
}
.ha-mm-panel ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px transparent;
}
.ha-mm-panel ::-webkit-scrollbar-thumb {
  background: transparent;
}
.ha-mm-panel ::-webkit-scrollbar-thumb:hover {
  background: transparent;
}
.ha-mm-panel .ha-mm-nav .ha-mm-list {
  transition: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  border: 0;
  bottom: auto;
  box-sizing: border-box;
  clip: auto;
  color: #666;
  display: block;
  float: none;
  font-family: inherit;
  font-size: 14px;
  height: auto;
  left: auto;
  line-height: 1.7;
  list-style-type: none;
  margin: 0;
  min-height: auto;
  max-height: none;
  opacity: 1;
  outline: none;
  overflow: visible;
  padding: 0;
  position: relative;
  pointer-events: auto;
  right: auto;
  text-align: left;
  text-decoration: none;
  text-indent: 0;
  text-transform: none;
  transform: none;
  top: auto;
  visibility: inherit;
  width: auto;
  word-wrap: break-word;
  white-space: normal;
}
button.ha-mm-toggle {
  z-index: 999999;
  overflow: hidden;
  outline: none;
  border: 0;
  display: none;
  margin: 0;
  transition: transform 0.5s, background-color 0.5s;
  padding: 0;
}
button.ha-mm-toggle .ha-mm-toggle__bars::before, button.ha-mm-toggle .ha-mm-toggle__bars::after {
  content: "";
  display: block;
}
button.ha-mm-toggle .ha-mm-toggle__bars::before {
  top: 10px;
}
button.ha-mm-toggle .ha-mm-toggle__bars::after {
  bottom: 10px;
}
button.ha-mm-toggle .ha-mm-toggle__box {
  width: 40px;
  display: inline-block;
  position: relative;
  pointer-events: none;
  vertical-align: super;
}
.admin-bar .ha-mm-panel, .admin-bar .ha-mm-toggle {
  margin-top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar .ha-mm-panel, .admin-bar .ha-mm-toggle {
    margin-top: 46px !important;
  }
}
.ha-mm-toggle--x .ha-mm-toggle__bars {
  transition-property: none;
}
.ha-mm-toggle--x .ha-mm-toggle__bars::after, .ha-mm-toggle--x .ha-mm-toggle__bars::before {
  transition-property: none;
}
.ha-mm-toggle--x.is-active .ha-mm-toggle__bars {
  transform: rotate(45deg);
}
.ha-mm-toggle--x.is-active .ha-mm-toggle__bars:before {
  top: 0;
  opacity: 0;
}
.ha-mm-toggle--x.is-active .ha-mm-toggle__bars:after {
  bottom: 0;
  transform: rotate(-90deg);
}
button.ha-mm-arrow {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}
.ha-mm-panel:focus {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .ha-mm-panel, .ha-mm-panel *, button.ha-mm-toggle, button.ha-mm-toggle * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
