header {
  position: relative;
  width: 100%;
  max-width: 100%;
  z-index: 9999999;
  background-color: #fbfbfb;
  /* COLORE SFONDO AREA BANNER */
}

header nav {
  height: 60px;
  background-color: #fff;
  border-bottom: 1px solid #dddddd;
  /* COLORE SFONDO MENU */
}

.imgLogolaReg {
  height: 90px;
}

.navbar {
  min-height: 90px;
  align-items: normal;
}

header nav li > a {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  color: #000;
  font-size: 1.4rem;
}

header nav .nav-link {
  height: 60px;
  margin-top: -1px;
}

header .nav-separator {
  width: 1px;
  background-color: #ddd;
}

header .header-banner {
  width: 994px;
  margin: 0 auto;
  max-width: 100%;
}

header .header-banner > div > div {
  /*padding: 20px;*/
  padding: 5px;
}

header .top-menu {
  display: none;
  background-color: #ffffff;
  width: 100%;
  max-height: 100%;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  overflow-y: auto;
  padding: 50px;
  font-size: 1rem;
  z-index: 999999;
}

@media (max-width: 790px) {
  header .top-menu {
    top: 60px;
  }
}

header .top-menu-left {
  list-style-type: none;
  column-count: 1;
  column-gap: 50px;
  column-rule: 1px solid #e0e0e0;
  column-fill: auto;
  padding-left: 0;
}

header .top-menu-left .menu-item {
  width: 100%;
  padding-bottom: 60px;
}

header .top-menu-left .menu-item:last-child {
  padding-bottom: 20px;
}

header .top-menu-left .menu-item > a:first-child {
  border-top: 1px solid #000000;
  font-weight: bold;
}

header .top-menu .menu-subsections a {
  font-weight: normal;
}

header .hide-header {
  display: none !important;
}

header .btn {
  font-size: 0.9rem !important;
}

header .weather-container img {
  height: 45px;
}

header .weather-container .min-max-temp {
  font-size: 0.8rem;
  font-weight: bold;
}

.sidebar-left {
  position: absolute;
  left: 0;
  padding-top: 5px;
}

.sidebar-right {
  position: absolute;
  right: 0;
  padding-top: 5px;
}

@media (min-width: 900px) {
  header .top-menu-left {
    column-count: 1;
  }
}

@media (min-width: 1060px) {
  header .top-menu-left {
    column-count: 2;
    max-height: calc(100vh - 100px);
    max-width: 500px;
  }
}

@media (min-width: 768px) {
  header .header-banner > div > div {
    padding: 10px 10px;
  }
}

/* Logo speciale */
@keyframes logoSpecialPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(176, 30, 40, 0));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 8px var(--logo-glow-color, rgba(176, 30, 40, 0.35)));
    transform: scale(1.03);
  }
}

.logo-special,
img.logo-special ~ .logo-icon {
  animation: logoSpecialPulse 2.5s ease-in-out 2 forwards;
  transform-origin: center center;
}

#divLogo {
  max-height: 89px;
  overflow: hidden;
}

@keyframes logoBadgePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.logo a {
  /*display: inline-flex;*/
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  gap: 8px;
  width: -webkit-fit-content;
  width: fit-content;
}

.logo a.logo-clickable,
#logoTestataLar {
  position: relative;
}

.logo-icon {
  max-height: 50px;
  /*width: auto;*/
  max-width: 50px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .logo-icon {
    max-height: 34px !important;
    max-width: 34px !important;
  }

  .logoTestataLar {
    max-width: 80% !important;
    /* max-height: 50% !important;*/
    overflow: hidden;
  }

  .logo {
    width: 250px;
  }

  /*
    .imgLogolaReg {
max-height: 50% !important;
max-width: 50% !important;
    }
*/
}

@media (max-width: 1200px) {
  .logo-icon {
    max-height: 34px !important;
    max-width: 34px !important;
  }

  .imgLogolaReg {
    max-width: 80% !important;
    width: 80% !important;
  }

  .logo {
    width: 250px;
  }
}

/*

#logoTestataLar::after {
    content: '';
    display: block;
    position: absolute;
    top: 8px;
    right: var(--logo-pointer-right,4px);
    width: 9px;
    height: 9px;
    background-color: var(--logo-glow-color, #242424);
    border-radius: 50%;
    animation: logoBadgePulse 1.5s ease-in-out infinite;
}
    */

#logoSpecialCard {
  z-index: 10000000;
  margin-top: 25px;
  min-width: 200px;
  max-width: 300px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid var(--logo-glow-color, #242424);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
}

#logoSpecialCardTitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

#logoSpecialCardLink {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--logo-glow-color, #242424);
  text-decoration: none;
}

#logoSpecialCardLink:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .imgLogolaReg {
    max-height: 67px;
  }

  .navbar {
    min-height: 60px;
    align-items: normal;
  }

  header .weather-container img {
    height: 30px;
  }

  header .weather-container .min-max-temp {
    font-size: 0.7rem;
  }
}
