/* ---------------------------------------------- */
/* MENU DESKTOP */
/* ---------------------------------------------- */

#menu-desktop {
  background-color: #000;
}

#menu-desktop #topbar span {
  color: var(--grey-color);
  font-size: 11px;
}

#menu-desktop #topbar .logo {
  height: 85px;
  margin-right: 10px;
}

#menu-desktop .wpml-ls-legacy-list-horizontal {
  padding: 0;
}

#menu-desktop #menu-menu-principale {
  list-style-type: none;
  display: flex;
  align-items: center;
  border-top: 1px solid #333; 
}

#menu-desktop #menu-menu-principale li {
  width: 100%;
  height: 80px;
  position: relative;
}

#menu-desktop #menu-menu-principale li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 20px;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  line-height: 17px;
  color: #ffffff;
  border: 0;
  transition: 0.2s ease-in-out;
}
#menu-desktop #menu-menu-principale li:last-child a {
  /* border-right: 1px solid #2f2f2f; */
}

#menu-desktop #menu-menu-principale li a:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

#menu-desktop #menu-menu-principale .menu-item-has-children ul {
  visibility: hidden;
  opacity: 0;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  background-color: var(--black-color);
  width: auto;
  min-width: 450px;
  transition: 0.2s ease-in-out;
}

#menu-desktop #menu-menu-principale .menu-item-has-children:hover > ul {
  visibility: visible;
  opacity: 1;
}

#menu-desktop #menu-menu-principale .menu-item-has-children ul li {
  height: auto;
}

#menu-desktop #menu-menu-principale .menu-item-has-children ul li a {
  width: 100%;
  height: auto;
  padding: 8px 10px;
  text-transform: unset;
  text-align: start;
  justify-content: start;
  background-color: var(--black-color);
  border: 1px solid #2f2f2f;
  transition: 0.2s ease-in-out;
}

#menu-desktop
  #menu-menu-principale
  .menu-item-has-children
  ul
  li:first-child
  a {
}

#menu-desktop #menu-menu-principale .menu-item-has-children ul li a:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 1px solid var(--primary-color);
}

/* ---------------------------------------------- */
/* TESTATA DESKTOP */
/* ---------------------------------------------- */

/* #testata {
  background: linear-gradient(
    to bottom,
    rgba(197, 53, 40, 1) 0%,
    rgba(133, 43, 18, 1) 100%
  ) !important;
} */

#testata .splide__pagination {
  bottom: 1em;
}

#testata .box-img {
  height: 500px;
}

#testata .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#testata .banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#testata .banner-content h2 {
  color: #ffffff;
  font-size: 28px;
  line-height: 28px;
  text-transform: uppercase;
  font-weight: bold;
}

/* ------------------------------------------- */
/* MENU MOBILE */
/* ------------------------------------------ */

#topbar-mobile {
  background-color: #000;
}

#topbar-mobile span {
  color: var(--grey-color);
  font-size: 11px;
}

#topbar-mobile .wpml-ls-legacy-list-horizontal {
  padding: 0;
}

#menu-mobile {
  height: 80px;
  width: 100%;
  z-index: 10000;
  background-color: #ffffff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

#menu-mobile .logo {
  display: flex;
  align-items: center;
}

#menu-mobile .logo img {
  width: 70%;
}

#menu-mobile .hamburger {
  position: relative;
  transition: transform 0.3s;
  width: 35px;
  height: 23px;
}

#menu-mobile .hamburger__line {
  height: 4px;
  width: 100%;
  border-radius: 3px;
  background-color: var(--black-color);
  transition: 0.2s;
  position: absolute;
  z-index: 100000;
}

#menu-mobile .hamburger__line:nth-child(1) {
  top: 0;
  left: 0;
}

#menu-mobile .hamburger__line:nth-child(2) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#menu-mobile .hamburger__line:nth-child(3) {
  bottom: 0;
  left: 0;
}

#menu-mobile .opened .hamburger__line:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

#menu-mobile .opened .hamburger__line:nth-child(2) {
  opacity: 0;
}

#menu-mobile .opened .hamburger__line:nth-child(3) {
  transform: rotate(-45deg);
  top: 50%;
}

#menu-mobile .mobile-menu {
  display: none;
  position: fixed;
  top: 119px;
  left: 0;
  height: calc(100% - 110px);
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  padding: 30px 0;
  list-style-type: none;
  z-index: 1000000000000;
}

#menu-mobile .open {
  left: 0 !important;
}

#menu-mobile .mobile-menu li {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #e3e3e3;
}

#menu-mobile .mobile-menu li:last-child {
  border-bottom: none !important;
}

#menu-mobile .mobile-menu li a {
  text-decoration: none;
  color: var(--black-color);
  font-size: 14px;
  font-weight: bold;
  height: 100%;
  padding: 0 12px;
  text-transform: uppercase;
}

#menu-mobile .menu-item-has-children:after {
  display: none;
}

#menu-mobile .mobile-menu li ul {
  /* display: none; */
  background-color: #ffffff;
  position: fixed;
  z-index: 1000000;
  margin: 0;
  padding: 20px 0 30px 56px;
  top: 119px;
  left: 100%;
  width: 100%;
  transition: 0.2s ease-in-out;
  height: calc(100vh - 80px);
  overflow: auto;
}

#menu-mobile .go-back {
  color: var(--black-color);
  position: absolute;
  z-index: 100000000;
  top: 0;
  left: 100%;
  width: 55px;
  height: calc(100vh - 80px);
  background-color: #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  font-size: 25px;
  transition: 0.2s ease-in-out;
}

#menu-mobile .fixed {
  position: fixed !important;
}

#menu-mobile .openMenu {
  left: 0 !important;
}

#menu-mobile .sub-menu-arrow {
  padding: 3px 6px;
  background-color: transparent !important;
  border: none !important;
  color: var(--primary-color);
}

#menu-mobile #icons a {
  color: var(--black-color);
}
