/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/
/*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%;
-webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
transform: translate(-50%, 0%);
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: justify;
    -ms-flex-pack: justify;
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: -webkit-box;
    display: -ms-flexbox;
display: flex;
pointer-events: inherit;
-webkit-box-pack: start;
    -ms-flex-pack: start;
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: "Lato-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: -webkit-box;
    display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
    -ms-flex-align: start;
align-items: flex-start;
    font-family: "Lato-SemiBold" !important;
    color: #061AAF !important;
    font-size: 16px !important;
    line-height: 1.4;
}

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

.header .sub-menu {
display: -webkit-box;
    display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
flex-direction: column;
    position: inherit;
    pointer-events: inherit;
-webkit-transform: inherit;
    -ms-transform: inherit;
transform: inherit;
    gap: inherit;
    padding: 0 !important;
}

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