/**
 * EyeLens accordion mobile menu
 */
#sm_menu_ham,
.sm_menu_outer {
  display: none;
}
#sm_menu_ham[hidden],
.sm_menu_outer[hidden],
.sm_menu_outer .submenu[hidden] {
  display: none !important;
}
@media (max-width: 1023.98px) {
  html.iv-mobile-ready .iv-header {
    position: relative;
    z-index: 1100;
  }
  html.iv-mobile-ready .iv-header-inner {
    position: relative;
    padding-right: 54px;
  }
  html.iv-mobile-ready #iv-nav {
    display: none !important;
  }
  html.iv-mobile-ready #sm_menu_ham:not([hidden]) {
    display: block;
  }
  #sm_menu_ham {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 42px;
    height: 42px;
    padding: 6px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    z-index: 1102;
  }
  #sm_menu_ham:focus-visible,
  .sm_menu_outer a:focus-visible,
  .sm_menu_outer button:focus-visible {
    outline: 3px solid #02123a;
    outline-offset: 3px;
  }
  #sm_menu_ham span {
    position: absolute;
    display: block;
    left: 6px;
    width: 30px;
    height: 4px;
    border-radius: 5px;
    background: #00ABCD;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  #sm_menu_ham span:nth-child(1) { top: 9px; }
  #sm_menu_ham span:nth-child(2),
  #sm_menu_ham span:nth-child(3) { top: 19px; }
  #sm_menu_ham span:nth-child(4) { top: 29px; }
  #sm_menu_ham.open span:nth-child(1),
  #sm_menu_ham.open span:nth-child(4) { opacity: 0; }
  #sm_menu_ham.open span:nth-child(2) { transform: rotate(45deg); }
  #sm_menu_ham.open span:nth-child(3) { transform: rotate(-45deg); }
  .sm_menu_outer:not([hidden]) {
    display: block;
  }
  .sm_menu_outer {
    position: fixed;
    inset: 0 0 0;
    z-index: 1090;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #00abcd;
    color: #ffffff;
    -webkit-overflow-scrolling: touch;
  }
  body.mmactive {
    overflow: hidden;
  }
  .sm_menu_outer .mobile_menu,
  .sm_menu_outer .submenu {
    display: block;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .sm_menu_outer .mobile_menu li {
    position: relative;
    list-style: none;
    border-bottom: 0.5px solid transparent;
    border-image: linear-gradient(to right, transparent 0%, #2a2a2a 20%, #2a2a2a 50%, #2a2a2a 80%, transparent 100%) 0 0 1 0;
    margin: 0;
    padding: 0;
  }
  .sm_menu_outer .mod-menu__toggle-sub {
    display: none !important;
  }
  .sm_menu_outer .mobile_menu a,
  .sm_menu_outer .mobile_menu .iv-mobile-label {
    display: block;
    padding: 12px 15px;
    color: #ffffff;
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .sm_menu_outer .mobile_menu a:hover,
  .sm_menu_outer .mobile_menu a:focus-visible {
    color: #ffffff;
    background: rgb(0 0 0 / 11%);
  }
  .sm_menu_outer .submenu {
    background: transparent;
  }
  .sm_menu_outer .submenu li > a,
  .sm_menu_outer .submenu li > .iv-mobile-label {
    padding-left: 40px;
    color: #f7f7f7;
  }
  .sm_menu_outer .submenu .submenu li > a,
  .sm_menu_outer .submenu .submenu li > .iv-mobile-label {
    padding-left: 58px;
  }
  .sm_menu_outer .iv-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 43px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
  }
  .sm_menu_outer .iv-submenu-toggle::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    content: "";
    background: url('images/next.png') center / contain no-repeat;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 190ms ease;
  }
  .sm_menu_outer .iv-submenu-toggle[aria-expanded="true"]::before {
    transform: translate(-50%, -50%) rotate(90deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  #sm_menu_ham span,
  .sm_menu_outer .iv-submenu-toggle::before {
    transition: none;
  }
}
