.inail-vertical-menu-title {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  letter-spacing: 0px !important;
  vertical-align: middle !important;
  font-family: "Open Sans", sans-serif !important;
}

a.livello_1.inail-menu-level-1 {
  width: 100%;
}

.inail-menu-level-1 {
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  vertical-align: middle !important;
  color: #002e5f !important;
}

.inail-menu-level-1::before {
  content: "" !important;
}

.inail-menu-level-2 li a::before {
  content: "" !important;
}

.inail-menu-level-2 li a {
  color: #002e5f !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  text-decoration: underline !important;
  text-decoration-style: solid !important;
  text-underline-offset: 16% !important;
  text-decoration-thickness: 8% !important;
  text-decoration-skip-ink: auto !important;
}

.inail-menu-level-2 li a:hover {
  color: #0059b8 !important;
}

.inail-menu-level-2 li.selected a:hover {
  color: #0059b8 !important;
}

.inail-menu-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  /* border-right: 3px solid #003366 !important; */
  background: transparent !important;
  border: transparent !important;
  width: 100% !important;
  align-items: center !important;
  height: 56px !important;
  padding: 0px 20px !important;
}

li.selected>.inail-menu-container {
  border-right: 3px solid #003366 !important;
}

.inail-menu-container span.sub-tree-toggle::before {
  color: inherit !important;
}

.inail-menu-container span.sub-tree-toggle {
  color: #002e5f !important;
}

.inail-menu-container[aria-expanded="true"] .sub-tree-toggle::before {
  transform: rotate(180deg) !important;
}

#navigazionesecondaria {
  padding: 40px 0 0 32px !important;
}

#navigazionesecondaria ul[role="list"] li a::before {
  content: "" !important;
}

.miniMenuIcon li {
  padding-left: 0px !important;
  margin-bottom: 15px !important;
}

.miniMenuIcon li .fa {
  margin-right: 10px !important;
  width: 20px !important;
  height: 20px !important;
  color: #0059b8 !important;
  font-size: 18px !important;
}

#sidebar-inferiore {
  margin-left: 0px !important;
  padding: 24px 32px !important;
}

#sidebar-inferiore h2 {
  color: white !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  vertical-align: middle !important;
  font-family: "Open Sans", sans-serif !important;
}



.sidebarLinks {
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  text-decoration: underline !important;
  text-decoration-style: solid !important;
  text-underline-offset: 16% !important;
  text-decoration-thickness: 8% !important;
  text-decoration-skip-ink: auto !important;
}

.sidebarLinks a{
  background-color: transparent !important;
  font-size: 16px !important;
}

#sidebar-inferiore span {
  padding: 10px 0px !important;
}

.inail-menu-container:not([disabled]):hover .inail-menu-level-1,
.inail-menu-container:not([disabled]):hover .inail-menu-level-1+.sub-tree-toggle {
  color: #0059b8 !important;
}

#navigazionesecondaria {
  padding: 0 !important;
}

#sidebar-superiore {
  padding: 24px 32px 24px 32px !important;
}

.inail-sezione-media {
  padding: 0px 32px 24px 32px !important;
}

.inail-menu-divider {
  border-bottom: 1px ridge #7e858b !important;
}

.inail-menu-level-1 .inail-menu-container:focus,
.inail-menu-container:focus-within {
  outline: 3px solid #19191a !important;
}

.inail-menu-container[disabled] a {
  color: #54595d !important;
}

.inail-menu-container[disabled] span.sub-tree-toggle {
  color: #768594 !important;
}

.inail-menu-level-2 .inail-menu-container a:focus,
.inail-menu-container a:focus-within {
  outline: none;
}

.inail-menu-level-2 li.selected a {
  color: #003366 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  vertical-align: middle !important;
  text-decoration: none !important;
}

@media (max-width: 991.98px) {
  button#close-slider-menu {
    margin-top: 0px !important;
  }
}

.box-menu-contestuale li {
  background: none !important;
}

.panel-heading a {
  color: inherit !important;
}

.panel-heading a:hover {
  color: #0059b8 !important;
}

.panel-heading .d-flex a {
  order: 2;
  /* Mostra dopo */
  margin-left: 8px;
  /* Spazio tra chevron e testo */
}

.panel-heading .d-flex .chevron-icon {
  order: 1;
  /* Mostra prima */
  transition: color 0.2s;
}

.panel-heading a:hover+.fa-chevron-left {
  color: #0059b8;
}

.panel-heading h2 a {
  font-size: 24px !important;
  font-family: "Open Sans", sans-serif !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  text-decoration-style: solid !important;
  text-underline-offset: 16% !important;
  text-decoration-thickness: 8% !important;
  text-decoration-skip-ink: auto !important;
}

.panel-heading h2 a:focus {
  outline: 3px solid #19191a !important;
  border-radius: 1px !important;
  outline-offset: 2px !important;
}

.panel-heading h2 {
  margin-bottom: 0px !important;
}

.panel-heading .fa-chevron-left {
  width: 24px !important;
  height: 24px !important;
}

.menu_orizzontale .inail-menu-card-link {
  color: #002e5f !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  text-decoration: underline !important;
  text-decoration-style: solid !important;
  text-underline-offset: 16% !important;
  text-decoration-thickness: 8% !important;
  text-decoration-skip-ink: auto !important;
  outline: none !important;
  padding: 6px 4px;
}

.menu_orizzontale a.inail-menu-card-link:focus {
  outline: 3px solid #19191a !important;
}


#navigazionesecondaria ul[role="list"] li a:before,
#navigazionesecondaria ul[role="list"] li a[aria-expanded="false"]:before {
  display: none !important;
}

#sidebar-inferiore a:focus {
  outline: 3px solid #19191a !important;
  outline-offset: 5px;
  border-radius: 1px;


}

.menu_orizzontale {
  padding: 16px 20px !important;
}

.menu_orizzontale ul li {
  padding: 8px 10px !important;
}

.inail-intranet-menu-container {
  height: 48px;
  display: flex;
  align-items: center;
  background-color: #EAEDF2;
}

.inail-intranet-menu-toggle-btn {
  position: relative;
  width: 48px;
  height: 48px;
  background: transparent;
  justify-content: center;
  align-items: center;
  color: #002E5F;
  border: none;
  outline: none;
}
.inail-intranet-menu-toggle-btn:focus {
  outline: 3px solid #19191a !important;
  outline-offset: -3px;
}

.inail-intranet-menu-toggle-btn .inail-intranet-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  transform: translate(-50%, -50%) scale(0.5) rotate(-90deg);
  opacity: 0;
  transition: all 0.3s ease;
}

.inail-intranet-menu-toggle-btn .fa {
  margin: 0 !important;
}

.inail-intranet-menu-toggle-btn .inail-intranet-icon.active {
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  opacity: 1;
}

@media (min-width: 768px) {
    #inail-intranet-aside-menu>#navigazionesecondaria {
          margin: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #inail-intranet-aside-menu>#navigazionesecondaria {
    display: block !important;
    width: 100% !important;
    /* position: absolute !important; */
     margin: 0 !important;
  }

}

@media (min-width: 481px) and (max-width: 767.98px) {
  #inail-intranet-aside-menu>#navigazionesecondaria {
    display: block !important;
    width: 100% !important;
    /* position: absolute !important; */
     margin: 0 !important;
  }

}

@media (min-width: 320px) and (max-width: 480.98px) {
  #inail-intranet-aside-menu>#navigazionesecondaria {
    width: 100% !important;
  }
}

@media (max-width: 991.98px) {
  #navigazionesecondaria {
    position: relative !important;
  }
}


button#trigger-slider-menu .inail-responsive-menu-icon {
  transform: translate(-50%, -50%) scale(0.5) rotate(-90deg);
  opacity: 0;
  transition: all 0.3s ease;
}

button#trigger-slider-menu .inail-responsive-menu-icon.active {
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  opacity: 1;
}

button#trigger-slider-menu {
  position: relative !important;
}

button#trigger-slider-menu .inail-responsive-menu-icon {
  position: absolute !important;
  top: 50% !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

button#trigger-slider-menu:focus {
  outline: 3px solid #19191a !important;
}

.inail-sidebar-superiore-title {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  letter-spacing: 0px !important;
  vertical-align: middle !important;
  font-family: "Open Sans", sans-serif !important;
}

.inail-sidebar-superiore-link {
  color: #002e5f !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  letter-spacing: 0px !important;
  vertical-align: middle !important;
  font-family: "Open Sans", sans-serif !important;
}

.inail-mat-sezione-inferiore-title {
  color: white !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  vertical-align: middle !important;
  font-family: "Open Sans", sans-serif !important;
}

/* New intrantet menu */
#inail-intranet-aside-menu>#navigazionesecondaria {
  height: 100% !important;
}
#inail-intranet-aside-menu .inail-menu-divider {
  border: none !important;
}
#inail-intranet-aside-menu .miniMenuIcon {
  border-top: 1px ridge #7e858b !important;
}