#sidebar-superiore>.mat-tree mat-tree-node[aria-level="1"] a {
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    vertical-align: middle !important;
    color: #002e5f;
 
}

#sidebar-superiore>.mat-tree mat-tree-node[aria-level="1"] .inail-mat-menu-container:hover a+.sub-tree-toggle,
#sidebar-superiore>.mat-tree mat-tree-node[aria-level="1"] .inail-mat-menu-container:hover a {
    color: #0059b8 !important;
}

#sidebar-superiore>.mat-tree .mat-tree-node:focus,
#sidebar-superiore>.mat-tree .mat-tree-node:focus-within {
    /* Rimuove il bordo di focus predefinito */
    outline: 3px solid #19191a !important;

}


#navigazionesecondaria mat-tree-node a {
    background-color: #Eaedf2 !important;
    color: #333;
    text-decoration: none !important;
    font-size: 13.718px !important;
    font-family: "Open Sans", sans-serif !important;
    line-height: 19.6px !important;
}


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

}

#navigazionesecondaria mat-tree-node[aria-level="2"] {
    padding-left: 19px !important;
}

#navigazionesecondaria mat-tree-node[aria-level="2"] 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;
}

#navigazionesecondaria mat-tree-node[aria-level="2"].inail-mat-panel-active a {
    color: #003366 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    vertical-align: middle !important;
    text-decoration: none !important;
}


#navigazionesecondaria mat-tree {
    background-color: #Eaedf2 !important;
    padding: 0px 25px 25px !important;
}

#navigazionesecondaria mat-tree-node {
    min-height: 0px !important;
    padding-top: 10px !important;
}

#sidebar-superiore .mdc-list.inail-mat-menu-link {
    //margin-top: 25px !important;
    //margin-bottom: 25px !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}
#sidebar-superiore .mdc-list.inail-mat-menu-link>div {
    margin-bottom: 15px !important;
}

.inail-mat-menu-link a {
    margin-left: 0px !important;
}

.inail-mat-menu-link .mdc-list-item {
    padding-left: 10px !important;
}

.inail-mat-menu-link .mdc-list-item.mdc-list-item--with-one-line {
    height: 0% !important;
}

.inail-mat-menu-link .mdc-list-item:hover::before {
    background-color: transparent !important;
}

.inail-mat-menu-link .mdc-list-item:focus::before {
    background-color: transparent !important;
}

.inail-mat-menu-link .mat-ripple-element {
    display: none !important;
}

.inail-mat-menu-link .fa-li {
    color: #002E5F !important;
    left: 5px !important;
}

mat-tree-node.inail-mat-panel-active .inail-mat-menu-container {
    border-right: 3px solid #003366 !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;
}

.servizi-online-secondo-livello>#sidebar-superiore>.panel-heading.menu {
    margin-bottom: 1.5rem;
}

#navigazionesecondaria {
    padding: 0 !important;
}

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

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

#sidebar-inferiore h2,
#sidebar-inferiore a {
    padding: 0 4px;
}

#sidebar-inferiore a:focus,
#sidebar-inferiore a:focus-visible {
    outline: none !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 1px white, 0 0 0 4px #19191A !important;
    border-radius: 4px !important;
    /* Keep smooth corners */

}


@media (min-width: 1024px) {
    .inail-mat-menu-link .fa-li {
        left: 38px !important;
    }
}

.inail-mat-menu-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
    border: transparent !important;
    width: 100% !important;
    align-items: center !important;
    height: 56px !important;
    padding: 0px 20px !important;
    cursor: pointer !important;
}

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

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

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

}

.inail-mat-menu-link>div {
    display: flex !important;
    align-items: center !important;
}

.inail-mat-menu-link .fa {
    margin-right: 10px !important;
    width: 20px !important;
    height: 20px !important;
    color: #0059b8 !important;
    font-size: 18px !important;
}

#sidebar-inferiore span {
    padding: 10px 0px !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;
}

button#close-slider-menu {
    margin-top: 0px !important;
}

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

.panel-heading a:hover {
    color: #106bda !important;
}

.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;
    outline: none;
}
.panel-heading h2 a:focus {
    outline: 3px solid #19191a !important;
    border-radius: 1px !important;
    outline-offset: 2px !important;
}

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

#navigazionesecondaria mat-tree-node[aria-level="2"] a:hover {
    color: #0059B8 !important;
}