/* ---------- */
/* NON STICKY */
/* ---------- */

/* Testo del menu principale - stato NON sticky (su sfondo bianco) */
#sp-header:not(.menu-fixed) .sp-megamenu-parent > li > a,
#sp-header:not(.menu-fixed) .sp-megamenu-parent > li > a * {
  color: #0F210B !important;
}

/* Testo del menu a discesa (dropdown) - stato NON sticky */
#sp-header:not(.menu-fixed) .sp-megamenu .sp-dropdown li.sp-menu-item > a,
#sp-header:not(.menu-fixed) .sp-megamenu .sp-dropdown li.sp-menu-item > a span {
  color: #2d3b54 !important;
}

/* Hover sul dropdown - stato NON sticky */
#sp-header:not(.menu-fixed) .sp-megamenu .sp-dropdown a:hover {
  color: #0F210B !important;
  background-color: #7dc855 !important;
}

/* Forza hover dropdown nel NON sticky */
body.ltr #sp-header:not(.menu-fixed) .sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover,
body.ltr #sp-header:not(.menu-fixed) .sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a,
body.ltr #sp-header:not(.menu-fixed) .sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a * {
  background-color: #7dc855 !important;
  color: #0F210B !important;
}

/* ---------- */
/* STICKY     */
/* ---------- */

/* Quando il menu diventa fisso (sticky), cambia lo sfondo in blu scuro */
#sp-header.menu-fixed {
  background-color: #2d3b54 !important;
}

/* Durante lo scroll (menu sticky), il testo delle voci del menu diventa bianco */
#sp-header.menu-fixed .sp-megamenu > li > a {
  color: #ffffff !important;
}

/* Sfondo del box dropdown sticky */
#sp-header.menu-fixed .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background-color: #2d3b54 !important;
}
/* Colore del testo nel dropdown sticky (non-hover) */
#sp-header.menu-fixed .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner a,
#sp-header.menu-fixed .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner a span {
  color: #ffffff !important;
}

/* Background Hover sul dropdown - menu sticky */
#sp-header.menu-fixed .sp-dropdown li.sp-menu-item:hover > a {
  background-color: #7dc855 !important;
  color: #0F210B !important;
}


