/*For this menu to work, you need to add header__menu__parent__subs and header__sub__menu to the parent menu item*/


.header .sub-menu {
display: none;
pointer-events: none;
position: absolute;
padding: 16px !important;
background-color: white;
width: 100%;
max-width: 1440px;
left: 0;
z-index: 990;
top: 50%;
left: 50%;
transform: translate(-50%, 0%);
flex-wrap: wrap;
justify-content: space-between;
gap: 16px;
}

.header .sub-menu>li:hover {
    background-color: #F5F7FF;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header .show__sub-menu {
display: flex;
pointer-events: inherit;
justify-content: flex-start;
width: 100%;
}

.header .header__sub__menu {
padding: 16px;
}

.header .sub-menu>li a img {
    width: 35px;
    height: auto;
    margin-right: 8px;
}

.header .sub-menu li {
    width: 300px !important;
    border-radius: 12px
}

.header .sub-menu li a {
    padding: 0 !important;
}

.header .sub-menu li a .menu-item-small-text {
    font-family: "Moderat-Light" !important;
    font-size: 14px !important;
    line-height: 1.4;
    color: #212121 !important;
    margin-left: 33px !important;
    margin-top: 8px;
    display: block;
}

.header .sub-menu li a .menu-item-header {
    display: flex;
    align-items: flex-start;
    font-family: "EightiesComeback-SemiBold" !important;
    color: #061AAF !important;
    font-size: 16px !important;
    line-height: 1.4;
}

@media (max-width: 1170px) {
    #menu-navigation-principale {
        flex-direction: inherit;
        gap: inherit;
        margin-bottom: 48px;
    }

    .header .sub-menu {
        display: flex;
        flex-direction: column;
        position: inherit;
        pointer-events: inherit;
        transform: inherit;
        gap: inherit;
        padding: 0 !important;
    }

    .header .sub-menu li {
        width: 100% !important;
    }
}