.header-new {
  height: var(--header-new-height);
  background-color: rgb(52, 56, 60);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 200;
  width: 100%;
  transition: height 300ms ease 0s, background-color 300ms ease 0s;
}
.header-new.scrolled {
  height: var(--header-new-height-scrolled);
}
.header-new .grid {
  position: relative;
  column-gap: var(--column-gap);
  display: grid;
  grid-template-columns: var(--grid-margin-without-gap) repeat(12, 1fr) var(--grid-margin-without-gap);
  max-width: 1920px;
  height: 100%;
}
.header-new .sub-grid {
  display: grid;
  grid-column: 2 / -1;    
  grid-template-columns: 160px 1fr auto 20px;
  position: relative;
  overflow: hidden;
}
.header-new .logo {
  display: flex;
  align-items: center;
}
.header-new .logo a {
  display: inline-block;
}
.header-new .logo .svg {
  width: 69px;
  height: 32px;
}
.header-new .logo .svg svg {
  width: 100%;
  height: auto;
}
.header-new .logo .svg svg  .claim {
  display: none;
  opacity: 1;
  transition: opacity 300ms ease 0s;
}

.header-new .header-new-button {
  position: relative;
  cursor: pointer;
  display: block;
  appearance: none;
  -webkit-appearance: none;
}

.header-new .header-new-button svg {
  width: 32px;
  height: 32px;
}

.header-new .main-navigation {
  display: flex;
}

.header-new .main-navigation ul {
  position: relative;
  font-family: "Helvetica Now Text Bold", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: normal;
  display: flex;
  gap: 24px;
  align-self: flex-end;
  padding: 0 20px 0 0;
  overflow: hidden;
  margin-bottom: 4px;
  list-style: none;
}

.header-new .main-navigation ul {
  display: none;
}

.header-new .main-navigation ul li a {
  color: #fff;
  text-decoration: none;
}
.header-new .main-navigation ul li a:hover,
.header-new .main-navigation ul li a.active {
  text-decoration: underline 2px;
  text-underline-offset: 3px;
}
.header-new .main-navigation ul:last-child {
  position: absolute;
  bottom: 0;
  right: 24px;
}

.header-new .service-navigation {
  display: flex;
  align-items: center;
  left: -88px;
  position: relative;
  margin-top: 0;
  margin-right: -88px;
  grid-column: 3 / auto;
}

.header-new .sub-grid .service-navigation > .actions-container {
  display: flex;
  column-gap: 13px;
}

.header-new .menu-toggle-btn {
  position: relative;
  width: 32px;
  height: 38px;
  margin-left: 19px;
  display: flex;
  align-items: center;
}

.header-new .menu-toggle-btn span {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-new .menu-toggle-btn .toggle{
  opacity: 0;
  visibility: hidden;   
}
.header-new .menu-toggle-btn .toggle.visible {
  opacity: 1;
  visibility: visible;
}
.header-new .menu-toggle-btn .close {
  visibility: hidden;
}
.header-new .menu-toggle-btn .close.enter {
  animation: 200ms linear 0.05s 1 normal forwards running closeButtonEnter;
}
.header-new .menu-toggle-btn .close.leave {
  animation: 300ms linear 0s 1 normal forwards running closeButtonLeave;
}

.overlay.open {
  content: "";
  width: 100%;
  height: 100%;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 199;
}

.mobile__nav {
  width: 100%;
  height: 100%;
  left: 0;
  top: var(--header-new-height);
  bottom: 0;
  padding: 0;
}
.mobile__nav.visible {
  position: fixed;
  z-index: 100;
}
.mobile__nav.visible .overlay__nav {
  content: "";
  width: 100%;
  height: 100%;    
  display: block;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 300ms linear 0s;
  z-index: 1;
}
.mobile__nav nav {
  position: relative;
  height: 100%;
}
.mobile__nav.visible nav {
  width: 100%;
  height: calc(100% - var(--header-new-height));
  overflow-y: scroll; 
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile__nav.visible nav::-webkit-scrollbar {
  background: transparent;
  width: 0px;
}
.mobile__nav nav ul {
  background-color: #fafafa;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 60px 40px 0px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  transition: opacity 100ms ease-in, transform 200ms ease-in;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile__nav nav ul.visible {
  transform: translateX(0);
  opacity: 1;
  z-index: 1;
}
.mobile__nav nav ul li {
  display: block;
  margin-bottom: 20px;
  font-family: "Helvetica Now Text", sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: normal;
}
.mobile__nav nav ul li a {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: var(--color-link);
}
.mobile__nav nav ul li:first-child a:not(.back__menu) {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mobile__nav nav a:hover {
  color: rgb(222, 0, 0);
}
.mobile__nav nav a.level-up::before {
  content: '';
  width: 0;
  height: auto; 
  background-position: center left;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.2s ease 0s;
}
.mobile__nav nav a.level-up:hover::before { 
  width: 16px; 
  opacity: 1;
  transform: translate3d(0px, 0px, 0px);
  background-position: center left;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEyIDEyIj48ZyBmaWxsPSIjZGUwMDAwIj48cGF0aCBkPSJtOS4wOTA5MDkwOSA2Ljc1NzU3NTc2LTQuMTY2NjY2NjcgNC4xNjY2NjY2NCAxLjA3NTc1NzU4IDEuMDc1NzU3NiA2LTYtNi02LTEuMDc1NzU3NTggMS4wNzU3NTc1OCA0LjE2NjY2NjY3IDQuMTY2NjY2NjYuNzQ0ODU4MjcuNzU3NTc1NzZ6Ij48L3BhdGg+PHBhdGggY2xhc3M9InNoYWZ0IiBkPSJtMTAgNS4yNDI0MjQyNGgtMTB2MS41MTUxNTE1Mmg5Ljk3NzUzNTE5Ij48L3BhdGg+PC9nPjwvc3ZnPg==');
}
.mobile__nav nav a.back__menu {
  position: absolute;
  top: 22px;
  left: 28px;
  font-size: 12px;
  line-height: 23px;
}

.flyout-content {
  display: none;
  position: fixed;
  background-color: rgb(255, 255, 255);
  box-shadow: var(--shadow-medium);
  width: calc(100% - var(--grid-margin) * 2);
  top: var(--header-new-height-scrolled);
  left: var(--grid-margin);
  overflow: hidden;
  opacity: 0;
}
.flyout-content.open {
  display: flex;
  flex-direction: column;
  z-index: 200;
  animation: 300ms linear 0s 1 normal forwards running open-modal;
}


.flyout-content .flyout-content-wrapper {
  overflow: hidden;
  padding: 24px var(--grid-margin) 40px;
}

.flyout-content .flyout-content-wrapper button {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 28px;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
}
.flyout-content .flyout-content-wrapper button svg {
  width: 28px;
  height: 28px;
}

.flyout-content .flyout-content-wrapper form {
  display: block;
}

.flyout-content .flyout-content-wrapper input {
  width: 100%;
  height: 56px;
  padding: 0 48px;
  font-size: 16px;
  line-height: 32px;
  font-family: "Helvetica Now Display Light", sans-serif;
  font-weight: normal;
  margin: 16px 0 64px;
  border: 1px solid rgb(153, 155, 157);
  background-size: 40px 36px;
  background-position: 4px center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzk5OWI5ZCIgZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6Ij48L3BhdGg+PC9zdmc+');
}
.flyout-content .flyout-content-wrapper input:focus {
  outline: 2px solid rgb(202, 205, 207);;
  outline-offset: 2px;
  outline-color: rgb(202, 205, 207);
}
::placeholder,
.flyout-content .flyout-content-wrapper input::placeholder {
  color: rgb(202, 205, 207);
}

#search:before {
  content:"";
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 16px solid white;
  position: absolute;
  left: 4px;
  top: 100%;
  visibility: hidden;
  opacity: 0;
}
#search.open:before {
  animation: 200ms linear 0.05s 1 normal forwards running arrow-view;
}

.flyout-content .search-close {
  cursor: pointer;
}


@media (min-width: 768px) {
  .header-new .logo .svg {
    width: 89px;
    height: 40px;
  }
  .header-new .logo .svg svg {
    width: 89px;
    height: 64px;
  }
  .header-new .logo .svg svg .claim {
    display: block;
    opacity: 1;
  }
  .header-new .logo .svg svg .claim.hide {
    display: none;
    opacity: 0;
  }
  .header-new .main-navigation ul:last-child {
    display: flex;
  }
  
  .header-new .sub-grid .service-navigation > .actions-container {
    margin-right: 20px;
  }
  .mobile__nav.visible {
    top: var(--header-new-height-scrolled);
  }
  .mobile__nav.visible nav {
    height: calc(100% - var(--header-new-height-scrolled));
    width: auto;
  }
  .mobile__nav nav ul {
    width: calc(100% / 3);
  }
  .flyout-content {
    margin-top: 5px
  }
  .flyout-content.scrolled {
    margin-top: -5px;
  }
  .flyout-content .flyout-content-wrapper {
    padding-right: 60px;
    padding-left: 60px;
    padding-top: 60px;
  }
  .flyout-content .flyout-content-wrapper input {
    font-size: 32px;
    line-height: 44px;
    padding: 0 56px;
  }
  .flyout-content .flyout-content-wrapper button {
    width: auto;
    position: absolute;
    right: 20px;
    top: 20px;
  }
}
@media (min-width: 1024px) {
  .flyout-content {
    margin-top: 7px;
  }
  .flyout-content.open {
    justify-content: center;
  }
  .flyout-content .flyout-content-wrapper {
    padding-right: 120px;
    padding-left: 120px;
  }
  .flyout-content.scrolled {
    margin-top: -9px;
  }
}

@media (min-width: 1441px) {
  .header-new .menu-toggle-btn {
    display: none;
  }
  .header-new .service-navigation {
    margin-top: -12px;
  }
  .flyout-content {
    margin-top: -2px
  }
  .flyout-content.scrolled {
    margin-top: 0;
  }
  #search:before {
    display: none;
  }
  .header-new .main-navigation ul:first-child {
    display: flex;
  }
}


/**
* ----------------------------------------
* animation closeButtonEnter
* ----------------------------------------
*/
@-webkit-keyframes closeButtonEnter {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    visibility: hidden;
  }
  100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    visibility: visible;
  }
}
@keyframes closeButtonEnter{
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    visibility: hidden;
  }
  100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    visibility: visible;
  }
}
/**
* ----------------------------------------
* animation closeButtonLeave
* ----------------------------------------
*/
@-webkit-keyframes closeButtonLeave {
  0 {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    visibility: visible;
  }
  100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    visibility: hidden;
  }
}
@keyframes closeButtonLeave{
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    visibility: visible;
  }
  100% {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    visibility: hidden;
  }
}



/**
* ----------------------------------------
* animation open-modal
* ----------------------------------------
*/
@-webkit-keyframes open-modal {
  0% {
    height: 0px;
    min-height: 0px;
    visibility: hidden;
    opacity: 0;
    
  }
  100% {
    height: 0;
    min-height: 236px;
    visibility: visible;
    opacity: 1;
  }
}
@keyframes open-modal{
  0% {
    height: 0px;
    min-height: 0px;
    visibility: hidden;
    opacity: 0;
    
  }
  100% {
    height: 0;
    min-height: 236px;
    visibility: visible;
    opacity: 1;
  }
}

/**
* ----------------------------------------
* animation arrow-view
* ----------------------------------------
*/
@-webkit-keyframes arrow-view {
  0% { 
    visibility: hidden;
    opacity: 0;
    top: 180%;
  }
  100% {
    visibility: visible;
    opacity: 1;
    top: 100%;
  }
}

@keyframes arrow-view {
  0% { 
    visibility: hidden;
    opacity: 0;
    top: 180%;
  }
  100% {
    visibility: visible;
    opacity: 1;
    top: 100%;
  }
}

/* Padding element post menu */
body #main-container, body .body-container-wrapper {
    padding-top: calc( 50px + var(--header-new-height) ) !important;
}
@media (min-width: 768px) {
  body #main-container, body .body-container-wrapper {
      padding-top: calc( 60px + var(--header-new-height) ) !important;
  }
}

/* secondary menu */
.secondary-menu {
  top: var(--header-new-height ) !important;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
  top: calc( var(--header-new-height) + 50px) !important;;
}
.secondary-menu.scrolled {
  top: var(--header-new-height-scrolled) !important;;
}
.secondary-menu.scrolled  ul li.hs-item-has-children .hs-menu-children-wrapper {
  top: calc( var(--header-new-height-scrolled) + 50px) !important;;
}

@media (min-width: 1024px) {
  .secondary-menu  ul li.hs-item-has-children .hs-menu-children-wrapper {
    top: calc( var(--header-new-height) + 60px) !important;;
  }
  .secondary-menu.scrolled  ul li.hs-item-has-children .hs-menu-children-wrapper {
    top: calc( var(--header-new-height-scrolled) + 60px) !important;;
  }
}

.secondary-menu .container {
    position: relative;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper,
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper:before {
  background-color: rgb(52, 56, 60);
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
  max-width: 100%;
  padding-right: 50px;
}


/* Specifico per Legancy Header */
.secondary-menu {
  position: fixed;
  top: 105px;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 60px;
  padding: 0 50px !important;
  background: #ffffff;
}
.secondary-menu ul {
  float: right;
}
.secondary-menu ul li {
  float: left;
  position: relative;
  height: 60px;
  line-height: 60px;
  padding: 0 9px 0 8px;
}
.secondary-menu ul li:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 1px;
  height: 16px;
  background: #3B454C;
}
.secondary-menu ul li:last-child {
  padding-right: 0;
}
.secondary-menu ul li:last-child:after {
  display: none;
}
.secondary-menu ul li a {
  float: left;
  line-height: 60px;
  color: #3B454C;
  font-family: "Encode Sans Expanded", sans-serif;
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: 400;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
  position: fixed !important;
  z-index: 99 !important;
  top: 165px;
  left: 50% !important;
  width: 100%;
  max-width: 1184px;
  height: 60px;
  text-align: right;
  padding: 0;
  background: #3B454C;
  transform: translateX(-50%);
  transition: all 0.25s !important;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  background: #3B454C;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li {
  float: none;
  display: inline-block;
  height: 60px;
  line-height: 60px;
  padding: 0 9px 0 8px;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 1px;
  height: 16px;
  background: #ffffff;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li:last-child {
  padding-right: 0;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li:last-child:after {
  display: none;
}
.secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li a {
  float: left;
  line-height: 60px;
  color: #ffffff;
  font-family: "Encode Sans Expanded", sans-serif;
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: 400;
}
.secondary-menu ul li.hs-item-has-children.submenu-active .hs-menu-children-wrapper {
  -moz-opacity: 1 !important;
  -webkit-opacity: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.secondary-menu ul li.active-branch a {
  color: #de0000;
}

@media (max-width: 1199px) {
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
    padding-left: 13px;
    padding-right: 13px;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li a {
    font-size: 12px;
    font-size: 1.2rem;
  }
}
@media (max-width: 1023px) {
  .secondary-menu {
    top: 150px;
    height: 50px;
    padding: 0 44px;
  }
  .secondary-menu .container {
    max-width: 100%;
    padding: 0;
  }
  .secondary-menu ul li {
    height: 50px;
    line-height: 50px;
    padding: 0 7px 0 6px;
  }
  .secondary-menu ul li a {
    line-height: 50px;
    font-size: 12px;
    font-size: 1.2rem;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
    top: 200px;
    max-width: 100%;
    height: 50px;
    padding: 0 44px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper::-webkit-scrollbar {
    display: none;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 7px 0 6px;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li a {
    line-height: 50px;
    font-size: 12px;
    font-size: 1.2rem;
  }
}
@media (max-width: 991px) {
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
    padding: 0 20px;
    -moz-opacity: 0 !important;
    -webkit-opacity: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .secondary-menu ul li.hs-item-has-children.submenu-open a {
    color: #de0000;
  }
  .secondary-menu ul li.hs-item-has-children.submenu-open .hs-menu-children-wrapper {
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    position: fixed !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.submenu-open ul.hs-menu-children-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative !important;
  }

  .secondary-menu {
    top: 68px;
    padding: 0 20px;
  }
  .secondary-menu ul {
    width: auto;
    white-space: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .secondary-menu ul::-webkit-scrollbar {
    display: none;
  }
  .secondary-menu ul li {
    display: inline-block;
    width: auto;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
    position: fixed !important;
    top: 118px;
  }
}
@media (max-width: 479px) {
  .secondary-menu {
    padding: 0;
  }
  .secondary-menu ul {
    float: left;
    max-width: 100%;
    width: 100%;
  }
  .secondary-menu ul li {
    padding: 0 7px;
  }
  .secondary-menu ul li:after {
    right: -2px;
  }
  .secondary-menu ul li:first-child {
    margin-left: 13px;
    padding-left: 0;
  }
  .secondary-menu ul li:last-child {
    margin-right: 13px;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
    padding: 0 13px;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li {
    padding: 0 7px;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li:after {
    right: -2px;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li:first-child {
    margin-left: 0;
    padding-left: 0;
  }
  .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper li:last-child {
    margin-right: 0;
  }
}

body .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper {
  left: unset !important;
  right: 0 !important;
  transform: none !important;
  padding-right: 50px;
}

body .secondary-menu ul li.hs-item-has-children .hs-menu-children-wrapper:before {
  left: 0 !important;
}