.inail-menu-orizzontale {
  display: flex;
  list-style: none;
  margin: 0;
  background-color: #e4e5e9;
  align-items: center;
  height: 72px;
  padding: 0 24px;
  width: 100%;
}

.inail-menu-orizzontale-container i {
  color: #0059b8 !important;
}

#unoLv {
  position: relative;
}

.inail-menu-orizzontale-child-lvl2-list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2 !important;
  padding: 0 64px;
}

.inail-menu-orizzontale-child-lvl2-list.collapse {
  display: none;
}

.inail-menu-orizzontale-child-lvl2-list.collapse.in {
  display: block;
}

.inail-menu-orizzontale-child-lvl3-list.collapse {
  display: none;
}

.inail-menu-orizzontale-child-lvl3-list.collapse.in {
  display: block;
}

.inail-menu-orizzontale-child-lvl3-list {
 position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2 !important;
  padding: 0 80px;
}

.inail-menu-orizzontale-child-lvl4-list.collapse {
  display: none;
}

.inail-menu-orizzontale-child-lvl4-list.collapse.in {
  display: block;
}

.inail-menu-orizzontale-child-lvl4-list {
 position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2f2f2 !important;
  padding: 0 115px;
}

.inail-menu-orizzontale > li {
  display: inline-block;
}

.inail-menu-orizzontale .collapse.in{
  display: flex !important;
}

.inail-menu-orizzontale button.inail-tertiary-button i.fa-chevron-right {
  margin-right: 16px;
}

.inail-menu-orizzontale button.inail-tertiary-button[aria-expanded="true"] i.fa-chevron-right {
  transform: rotate(90deg);
}

.inail-menu-orizzontale button.inail-tertiary-button[aria-expanded="false"] i.fa-chevron-right {
  transform: rotate(0deg);
}




@media screen and (min-width: 768px) {

  .inail-horizontal-menu .inail-mobile-menu-title {
    display: none !important;
  }

  .inail-horizontal-menu .inail-hm-menu-panel.active {
    display: block !important;

  }

  .inail-horizontal-menu .navbar-nav {
    width: 100%;
  }

  /*-------------------------------
Dropdown submenu positioning
-------------------------------*/
  .inail-horizontal-menu .dropdown-submenu {
    position: relative;
  }

  .inail-horizontal-menu .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: -8px;
    margin-top: -1px;
    display: none;
  }

  .inail-horizontal-menu .dropdown-submenu.inail-hm-open-left>.dropdown-menu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: -8px;
  }

  /*-------------------------------
Panel menu body
-------------------------------*/
  .inail-horizontal-menu .inail-panel-menu-body-bt {
    border-top: 2px solid #002E5F !important;
  }

  .inail-horizontal-menu .inail-panel-menu-body {
    box-shadow:
      0px 5px 5px -3px rgba(0, 0, 0, 0.2),
      0px 8px 10px 1px rgba(0, 0, 0, 0.14),
      0px 3px 14px 2px rgba(0, 0, 0, 0.12);
    min-width: 210px !important;
    max-width: 228px !important;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
  }

  .inail-horizontal-menu .inail-panel-menu-body>li>a,
  .inail-horizontal-menu .inail-panel-menu-body>li>button {
    padding: 14px 24px !important;
  }

  .inail-horizontal-menu .inail-panel-menu-body>li>a:focus,
  .inail-horizontal-menu .inail-panel-menu-body>li>button:focus {
    outline-offset: -8px !important;
  }

  /*-------------------------------
Hover and active states
-------------------------------*/
  .inail-horizontal-menu .navbar-nav>li>a:hover,
  .inail-horizontal-menu .dropdown-menu>li>a:hover {
    color: #0059B8 !important;
    background-color: transparent !important;
  }

  .inail-horizontal-menu .navbar-nav>li>a:focus {
    outline: 3px solid #19191a !important;
    outline-offset: -8px;
    background-color: transparent !important;
  }

  .inail-horizontal-menu .dropdown-menu>li>a:focus {
    outline: 3px solid #19191a !important;
    outline-offset: -3px;
    background-color: transparent !important;
  }

  .inail-horizontal-menu .inail-hm-nav-link-btn:focus {
    outline: 3px solid #19191a !important;
    outline-offset: -8px;
  }

  .inail-horizontal-menu a.inail-text-link-1-semibold:focus {
    outline-offset: -8px !important;
    border-radius: 10px !important;
  }

  /*-------------------------------
Nav link buttons
-------------------------------*/
  .inail-horizontal-menu .inail-hm-nav-link-btn {
    display: block;
    width: 100%;
    line-height: 20px;
    color: #002E5F;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    outline: none;
    font-family: "Open Sans", sans-serif;
  }

  .inail-horizontal-menu a:not(.inail-text-link-1-semibold) {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    color: #002E5F !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
  }

  .inail-horizontal-menu .inail-hm-nav-link-btn.dropdown-toggle:focus {
    box-shadow: none;
    border-radius: 0 !important;
  }

  .inail-horizontal-menu .inail-hm-nav-link-btn:hover,
  .inail-horizontal-menu .inail-hm-nav-link-btn[aria-expanded="true"] {
    color: #0059B8 !important;
  }

  /* Flex submenu buttons */
  .inail-horizontal-menu .inail-hm-submenu.inail-hm-nav-link-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Caret spacing */
  .inail-horizontal-menu .dropdown-toggle.inail-hm-nav-link-btn i.fa-caret-down {
    margin-left: 8px;
  }

  /*-------------------------------
Navbar styling
-------------------------------*/
  .inail-horizontal-menu.navbar-default {
    min-height: 52px;
    background-color: #F6F8FC !important;
    border-top: 1px solid #D4D7D9;
    border-bottom: 1px solid #D4D7D9;
    border-left: none;
    border-right: none;
    border-radius: 0 !important;
    box-shadow: none;
    margin-bottom: 0 !important;
  }

  .inail-horizontal-menu.navbar-default .navbar-collapse {
    min-height: 52px;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .inail-horizontal-menu .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /*-------------------------------
Navbar links
-------------------------------*/
  .inail-horizontal-menu .navbar-nav>li>a,
  .inail-horizontal-menu .navbar-nav>li>button.inail-hm-nav-link-btn {
    line-height: 52px;
    padding-block: 0 !important;
    padding-inline: 24px !important;
    text-decoration: none;
  }

  .inail-horizontal-menu .navbar-nav>li>a.inail-text-link-1-semibold {
    margin: 0 !important;
    line-height: 52px !important;
  }

  .inail-horizontal-menu .navbar-nav>li>a.inail-text-link-1-semibold:hover {
    color: #002E5F !important;
  }

  /*-------------------------------
Dropdown menu general styling
-------------------------------*/
  .inail-horizontal-menu .dropdown-menu {
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  .inail-horizontal-menu .dropdown-menu li.inail-hm-active-parent {
    background-color: #EAEDF2 !important;
  }

  /* the last li pull right */
  .inail-horizontal-menu li.inail-link-optional-h-menu {
    float: right !important;
  }

}



@media (max-width: 767px) {

  .inail-horizontal-menu.navbar-default {
    background-color: transparent !important;
    border-color: transparent !important;
  }

  .inail-horizontal-menu.navbar {
    min-height: 40px !important;
    margin-bottom: 0px !important;
    border: none !important
  }

  .inail-horizontal-menu .collapse,
  .inail-horizontal-menu .collapsing {
    transition: none !important;
    height: auto !important;
  }

  /* Force hidden state instantly when not open */
  .inail-horizontal-menu .collapse:not(.in) {
    display: none !important;
  }

  /* Keep visible when open */
  .inail-horizontal-menu .collapse.in {
    display: block !important;
  }

  /* Prevent flicker on the menu title text */
  .inail-horizontal-menu .inail-mobile-menu-title {
    transition: none !important;
  }

  .inail-horizontal-menu .navbar-collapse {
    position: relative;
    overflow: hidden;
    border-top: 2px solid #002E5F !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .inail-horizontal-menu .nav>li:not(:last-child),
  .inail-horizontal-menu .navbar-nav:not(.navbar-right)>li,
  .inail-horizontal-menu .inail-hm-menu-panel>ul>li:not(:last-child) {
    border-bottom: 1px solid #D4D7D9 !important;
  }

  .inail-horizontal-menu .inail-hm-menu-panel {
    display: none;
    position: relative;
    width: 100%;
    background: #fff;
  }

  .inail-horizontal-menu .inail-hm-menu-panel.active {
    display: block;
    height: auto;
  }

  .inail-horizontal-menu .inail-hm-menu-panel.inail-hm-previous {
    display: none;
  }

  /* Panel header */
  .inail-horizontal-menu .inail-hm-menu-header {
    display: flex;
    align-items: center;
    height: 64px !important;
    font-weight: bold;
    font-size: 16px;
    color: #002E5F;
  }

  .inail-horizontal-menu .inail-hm-menu-header .inail-hm-back-btn,
  .inail-horizontal-menu .inail-hm-menu-header .inail-hm-close-btn {
    cursor: pointer;
  }

  /* Panel list */
  .inail-horizontal-menu .inail-hm-menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .inail-horizontal-menu .inail-hm-menu-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
    width: 100%;
  }

  .inail-horizontal-menu .inail-hm-menu-panel-list>li {
    border-bottom: 1px solid #D4D7D9;
  }

  .inail-horizontal-menu .inail-hm-menu-panel-list a,
  .inail-horizontal-menu .inail-hm-menu-panel-list button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    color: #002E5F;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 22px;
    height: 54px;
  }

  .inail-horizontal-menu .inail-hm-menu-panel li a,
  .inail-horizontal-menu .inail-hm-menu-panel li button,
  .inail-horizontal-menu .dropdown-toggle.inail-hm-nav-link-btn,
  .inail-horizontal-menu button.inail-hm-open-mobile-submenu,
  .inail-horizontal-menu .navbar-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px !important;
    color: #002E5F !important;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 22px;
    height: 54px;
  }

  .inail-horizontal-menu .inail-hm-menu-panel li:not(> a.inail-text-link-1-semibold) {
    height: 54px !important;
  }

  .inail-horizontal-menu .navbar-nav li a.inail-text-link-1-semibold {
    margin: 0 !important;
    line-height: 24px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .inail-horizontal-menu .navbar-nav li a:focus.inail-text-link-1-semibold {
    outline-offset: -8px !important;
  }

  .inail-horizontal-menu .dropdown-toggle.inail-hm-nav-link-btn::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f054";
    display: inline-block;
  }

  .inail-horizontal-menu .inail-link-optional-h-menu,
  .inail-horizontal-menu .inail-link-optional-h-menu>a {
    height: 72px !important;
  }

  .inail-horizontal-menu .inail-hm-menu-header .inail-hm-back-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 24px !important;
    width: 100%;
    text-align: left;
  }

  .inail-horizontal-menu .inail-hm-menu-header .inail-hm-back-btn:focus {
    outline: 3px solid #19191a !important;
    outline-offset: -8px !important;
  }

  .inail-horizontal-menu .inail-hm-menu-header .inail-hm-back-btn>.fa-solid {
    margin-right: 8px;
  }

  /* Remove default button styles */
  .inail-horizontal-menu .inail-hm-menu-panel li button {
    font: inherit;
    text-align: left;
  }

  /* Icon styling */
  .inail-horizontal-menu .inail-hm-menu-panel li i.fa {
    font-size: 14px;
    color: #002E5F;
    flex-shrink: 0;
    margin-left: 8px;
  }

  .inail-horizontal-menu .dropdown-toggle.inail-hm-nav-link-btn i.fa-caret-down:before {
    display: none;
  }

  .inail-horizontal-menu a:focus,
  .inail-horizontal-menu button:focus {
    outline: 3px solid #19191a;
    outline-offset: -8px;
  }

  .inail-horizontal-menu .dropdown-toggle:focus {
    box-shadow: none !important;
    border-radius: 0px !important;
  }

  /* Stack icons in same place */
  .inail-horizontal-menu button.navbar-toggle .fa {
    margin: 0px !important;
  }

  .inail-horizontal-menu .navbar-toggle:hover {
    background: transparent !important;
  }

  .inail-horizontal-menu .navbar-toggle:focus {
    background: transparent !important;
    outline-offset: -5px !important;
  }

  .inail-horizontal-menu .navbar-toggle {
    padding: 0px !important;
    margin: 0px !important;
    border-radius: 0px !important;
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    color: #002E5F;
    border: none;
  }

  .inail-horizontal-menu .navbar-toggle .inail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 16px;
    transform: translate(-50%, -50%) scale(0.5) rotate(-90deg);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  /* Show hamburger when closed */
  .inail-horizontal-menu .navbar-toggle[aria-expanded="false"] .fa-bars {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  /* Show close icon when open */
  .inail-horizontal-menu .navbar-toggle[aria-expanded="true"] .fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  /* Hide the other icon in each state */
  .inail-horizontal-menu .navbar-toggle[aria-expanded="true"] .fa-bars,
  .inail-horizontal-menu .navbar-toggle[aria-expanded="false"] .fa-times {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(-90deg);
  }

  /* Label styling */
  .inail-horizontal-menu .inail-mobile-menu-title {
    font-size: 16px;
    font-weight: bold;
    color: #002E5F;
    margin-left: 8px;
  }

  .inail-horizontal-menu .inail-hm-menu-panel {
    pointer-events: none;
  }

  .inail-horizontal-menu .inail-hm-menu-panel.active {
    pointer-events: auto;
  }

}