.mobile_menu_bar:before {color:#fff !important;}
.et_mobile_menu .menu-item-has-children>a {font-weight:500; background:none;}
@media (min-width: 981px) {
  .et-fixed-header #top-menu ul.sub-menu li>a,
  .et-fixed-header #top-menu ul.sub-menu li.current-menu-item>a {color:#0a2438 !important;}
}
#top-header .container {font-weight:400;}

#top-header {
  transition: transform 0.3s ease;
  will-change: transform;
}
body.sticky-header-active #top-header {
  transform: translateY(-100%);
}
body.show-top-header #top-header {
  transform: translateY(0%);
}

#top-header,
#main-header.et-fixed-header {
  transition: transform 0.3s ease;
  will-change: transform;
}
#et-top-navigation {font-weight:500;}

#et-secondary-nav li.current-menu-item > a,
#top-menu li.current-menu-item > a {
	text-decoration: underline;
	text-underline-offset: .3rem;
}
	
.custom-cart-icon {
    width: 20px !important;
    height: 20px !important;
}
.et-cart-infos {position:relative;}
.et-cart-infos span {
	width:1rem;
    height:1rem;
    background-color: #253d52;
	color: #fff;
	
    position: absolute;    
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
    bottom:-.65rem;
    left: 1rem;
    line-height: 1.25;
}
@media (max-width:980px){
	.et-cart-infos span { background:rgba(255,255,255,.75); color:#253d52;}
	.et_mobile_menu li a, .nav li li a {font-size:16px;}
	
	.last-first-group-mobile a {border-bottom:none !important;} 
	.mobile_nav.opened .mobile_menu_bar:before {content:"\4d";}
	
	#mobile_menu {border-bottom:3px solid #0a2438;}
	#mobile_menu li:not(.fw-normal) a:after {content:'\f105'; font-weight:600; font-family: "Font Awesome 6 Free"; position:absolute; right:2rem;}
	
	#mobile_menu li.second-group-mobile {margin-top: 2rem; padding-top: 2rem; border-top: 2px solid #006A5B; }
	#mobile_menu li.fw-normal {font-size:14px;}
	#mobile_menu li.fw-normal > a {padding:.5rem 5%; border:none;}
	#mobile_menu li.fw-normal i {font-size:1.1rem;}	
}

@media (min-width:981px){
	#top-header .container,
	#main-header .container {width:94%;}
	#top-menu > li {padding-left:8px; padding-right:8px; margin-bottom:15px; border-right:1px solid rgba(255,255,255,.2);}
	#top-menu > li:first-child {padding-left:0;}
	#top-menu > li:last-child {border-right:0;}
	#top-menu > li>a>span:not(.menu-item-description){display:none;}
	
	.et_header_style_left #et-top-navigation, 
	.et_header_style_split #et-top-navigation {padding-top:25px !important; padding-bottom:10px !important;}
	.et_header_style_left #et-top-navigation nav>ul>li>a, 
	.et_header_style_split #et-top-navigation nav>ul>li>a {padding-bottom: 10px !important; padding-top:10px; font-weight:400;}

	.menu-item.pink>a{color:#ecc4a2 !important;}

	.menu-btn {margin-top:-5px;}
	.menu-btn .menu-item-description {display:block; font-size:14px; letter-spacing:0.05em; font-weight:300; position:absolute; white-space:nowrap;}
}

@media (min-width:1210px){
	#top-menu > li {padding-left:18px; padding-right:18px;}
	#top-menu > li>a>span:not(.menu-item-description){display:inline;}
}


@media (min-width:981px) and (max-width:991px) {
	#et-secondary-nav li {margin-right:12px;}
	#et-secondary-menu .me-3 {margin-right: .25rem !important;}
}
@media (max-width:980px){
	.menu-item-description {padding-left:5px;}
}	

#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {top:10px;}
/* mega-menu */
#top-menu li.mega-menu > ul {pointer-events: none; border-top:10px solid #0a2438;}
#top-menu li.mega-menu:hover > ul {pointer-events: auto;}

#top-menu li.mega-menu>ul {padding:1rem; max-height:80vh; overflow-y: auto;}
#top-menu li.mega-menu>ul.sub-menu>li {margin-bottom:1rem;}
#top-menu li.mega-menu>ul.sub-menu>li>a {padding:0 1rem .5rem; font-size:1rem; line-height:1.2; font-weight:800 !important; font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif; background:#f1f1f1; border-radius:1rem; overflow:hidden; width:96%;}
#top-menu li.mega-menu>ul.sub-menu>li.current-menu-item>a {text-decoration:none;}
/* #top-menu li.mega-menu>ul.sub-menu>li>a img {padding:0 3.5rem;} */
#top-menu li.mega-menu>ul.sub-menu>li>a img.custom-product-image {}

#top-menu li.mega-menu>ul>li>a:first-child:hover {background:#f1f1f1 !important; opacity:1;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description {font-size: 1rem; font-weight:400 !important; display:block;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .woo__content .woocommerce-loop-product__subtitle {font-weight:400; font-size:.75rem;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .woo__content .woo-product-item__content__list {}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .woo__content .woo-product-item__content__list ul {display:inline; position:relative; left:0; top:0; background:none;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .woo__content .woo-product-item__content__list ul li {float:none !important; display:none !important; font-size:.75rem;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .woo__content .woo-product-item__content__list ul li:first-child {/* display:block !important; */}

#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .price {font-size: 1rem; color: #0f2438 !important; font-weight: 600; border-top:1px solid #79858d; display:none;}
#top-menu li.mega-menu>ul.sub-menu>li>a:not(:hover) {margin-bottom:35px;}
#top-menu li.mega-menu>ul.sub-menu>li>a:hover .menu-item-description .price {display:block;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .price > span > span:nth-child(2) {font-size:.75rem;}
#top-menu li.mega-menu>ul.sub-menu>li>a .menu-item-description .price .legend {display:block; font-size:.65rem; font-weight:400; color:#79858d;}

#top-menu li.mega-menu>ul.sub-menu>li>a .badge_pc {opacity:0; transition: transform 0.6s ease;}
#top-menu li.mega-menu>ul.sub-menu>li>a:hover .badge_pc {opacity:1;}


#top-menu li.mega-menu>ul {
	scrollbar-width: thin; /* Per Firefox */
	scrollbar-color: #ccc transparent; /* Colore della scrollbar per Firefox */
}
/* Personalizzazione per WebKit (Chrome, Safari) */
#top-menu li.mega-menu>ul::-webkit-scrollbar {
  width: 6px; /* Larghezza della scrollbar */
}

#top-menu li.mega-menu>ul::-webkit-scrollbar-track {
  background: transparent; /* Colore dello sfondo della track */
}

#top-menu li.mega-menu>ul::-webkit-scrollbar-thumb {
  background-color: #ccc; /* Colore della thumb */
  border-radius: 3px; /* Raggio dei bordi della thumb */
}


/* Mega menu colonne da 6 */
#top-menu li.mega-menu.mega-menu-parent-6 {}
#top-menu li.mega-menu.mega-menu-parent-6>ul.sub-menu {padding-left:.5rem; padding-right:0;}
#top-menu li.mega-menu.mega-menu-parent-6>ul>li{width:16.6666%; clear: none;}
#top-menu li.mega-menu.mega-menu-parent-6>ul>li:nth-of-type(4n+1) {clear:none;}
#top-menu li.mega-menu.mega-menu-parent-6>ul>li:nth-of-type(6n+1) {clear:left;}

@media (max-width:1400px){
	#top-menu li.mega-menu.mega-menu-parent-6.menu-item-has-children>a:first-child:after,
	#top-menu li.mega-menu.mega-menu-parent-6.menu-item-has-children>ul.sub-menu {display:none !important;}
	#top-menu li.mega-menu.mega-menu-parent-6.menu-item-has-children>a:first-child {padding-right:0;}
	#main-header .et_mobile_menu li.mega-menu.mega-menu-parent-6.menu-item-has-children>ul.sub-menu {display:none !important;}
}




/* menu mobile */
@media only screen and (max-width: 980px) {
    #main-header {
        background-color: #0a2438 !important;
    }
}


@media (min-width:300px) and (max-width:380px) {
	#et-top-navigation .me-3 {margin-right:.75rem !important;}
	#et-top-navigation .pe-3 {padding-right:.75rem !important;}
   .et_header_style_left #logo {max-width: 42vw;}
}
@media (max-width:299px) {
 #et-top-navigation .popup-video {display:none;}
}