/*https://codepen.io/nguyenanhtuan/pen/VwqxwJG*/

/* aggiungere sul widget questo ID dentro elementor  su avanzato*/
#elementor-mega-menu {
    position: static;
}

.menu__item:hover .voce-open {
	transform: rotate(-180deg);
}

.voce-open {
	 transition: transform .45s ease;
	 margin-left: 5px;
}

@media (max-width: 1098px) {
  .voce-open {
	 transition: transform .45s ease;
	 margin-left: 5px;
	 transform: rotate(-90deg);
}
.menu__item:hover .voce-open {
	transform: rotate(0deg);
}
}

.menu__inner {
    margin-top: 30px;
}


.no-scroll {
	overflow-y:hidden;
}

@-webkit-keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}
@-webkit-keyframes slideRight {
  0% {
    opacity: 1;
    transform: translateX(0%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}
@keyframes slideRight {
  0% {
    opacity: 1;
    transform: translateX(0%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}


.section {
  margin: 0 auto;
  padding: 6rem 0 2rem;
}

.container {
  max-width: 75rem;
  height: auto;
  margin-inline: auto;
}

.centered {
  text-align: center;
  vertical-align: middle;
  margin-bottom: 1rem;
}



.navbar {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: end;
  width: 100%;
  height: 35px;
  margin: 0 auto;
}
.navbar .navbar__left {
  display: flex;
  align-items: center;
  flex: 0 0 17%;
}
@media (max-width: 1098px) {
  .navbar .navbar__left {
    flex: 0 0 auto;
	background: #701137;
    border-radius: 35px;
    flex-direction: row;
	padding-top:12px;
	padding-bottom:12px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.navbar .navbar__center {
  display: flex;
}
@media (max-width: 1098px) {
  .navbar .navbar__center {
    flex: 0 0 100%;
    order: 3;
    align-items: center;
  }
}
.navbar .navbar__right {
  display: flex;
  flex: 0 0 17%;
  align-items: center;
  justify-content: flex-end;
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}
@media (max-width: 1098px) {
  
  section.navbar__left, .elementor-icon.menu__arrow {
    visibility: visible;
    opacity: 1;
}	
	
  .navbar .navbar__right {
    flex: 0 0 auto;
    align-items: center;
  }
}

.brand {
  display: flex;
  align-items: center;
  order: 1;
}
.brand svg {
  width: 60px;
  height: 60px;
}

.menu .menu__header {
  display: none;
  box-shadow: var(--shadow-medium);
}
@media (max-width: 1098px) {
  .menu .menu__header {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 4rem;
    z-index: 110;
    visibility: hidden;
    background: transparent;
  }
  .menu .menu__header.is-active {
    visibility: visible;
    background-color: #fff;
  }
  .menu .menu__header.is-active > .menu__arrow {
    display: flex;
  }
  .darkmode .menu .menu__header.is-active {
    background-color: var(--color2);
  }
}
@media (max-width: 1098px) {
  .menu .menu__header .menu__arrow {
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 3rem;
  }

  .menu .menu__header .menu__arrow > svg {
    width: 14px;
    transition: all 0.25s ease;
	opacity:1;
  }
  .darkmode .menu .menu__header .menu__arrow > i {
    color: #fff;
  }
}
@media (max-width: 1098px) {
  .menu .menu__header .menu__title {
	cursor: pointer;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.25s ease;
    color: #7E133E;
    font-family: 'MetroSans Family';
	font-size:15px;
    line-height: 18px;
  }
 

}
@media (max-width: 1098px) {
  .menu .menu__inner {
    height: 100%;
    margin-top: -1rem;
    overflow-y: auto;
    overflow-x: hidden;
	margin-top: -1rem;
    padding-left: 20px;
    padding-right: 20px;
	padding-bottom: 5rem;
  }
}
.menu .menu__inner .menu__item {
  position: static;
  display: inline-block;
  padding-right: 20px;
  padding: 0px 20px 30px 0;
}
.menu .menu__inner .menu__item:last-child {
  padding-right: 0;
}
.menu .menu__inner .menu__item:hover > .menu__link {
  color: var(--e-global-color-secondary);
}

@media (max-width: 1098px) {
  .menu .menu__inner .menu__item {
    display: block;
    padding: 0;
  }
}
@media (min-width: 1099px) {
  .menu .menu__inner .menu__item:hover > .menu__link i {
    transform: rotate(-90deg);
  }
}
@media (min-width: 1099px) {
  .menu .menu__inner .menu__item.menu__dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    top: 95%;
  }
}
.menu .menu__inner .menu__item .menu__link {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 21px;
  line-height:27px;
  letter-spacing:0;
  font-weight: 400;
  color: var(--e-global-color-text);
  text-transform: uppercase;
  transition: all 0.25s ease;
}

@media only screen and (max-width: 1200px) and (min-width: 1100px)  {
	.menu .menu__inner .menu__item .menu__link {
		font-size: 18px;
		line-height:24px;
	}
}

.menu .menu__inner .menu__item .menu__link:hover {
  color: var(--e-global-color-text);
}

@media (max-width: 1098px) {
  .menu .menu__inner .menu__item .menu__link {
    justify-content: space-between;
    padding: 10px 10px;
  }
}
.menu .menu__inner .menu__item .menu__link > i {
  margin-left: 5px;
  font-size: 1.35rem;
  transform: rotate(90deg);
  transition: 0.35s;
}
@media (max-width: 1098px) {
  .menu .menu__inner .menu__item .menu__link > i {
    margin-left: 10px;
    transform: rotate(0deg);
  }
}


.submenu {
  position: absolute;
  z-index: 100;
  top: 110%;
  left: 50%;
  width: 100%;
  height: auto;
  padding: 20px 15px;
  border-radius: 0.25rem;
  border-top: 2px solid var(--color);
  background-color: #fff;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in-out;
  transform: translateX(-50%);
 /* max-height: calc(100vh - 160px);*/
  max-height:100vh;
}

@media (max-width: 1098px) {
  .submenu {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: auto;
    margin: 0;
    padding: 70px 15px 40px 15px;
    border-radius: 0;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    overflow-y: scroll;
    visibility: visible;
    transform: translateX(0%);
  }
  .submenu.is-active {
    display: block;
  }
}
@media (min-width: 1099px) {
  .submenu {
    -webkit-animation: none !important;
            animation: none !important;
  }
}
@media (min-width: 1099px) {
  .submenu.megamenu__normal {
    left: inherit;
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 0 auto;
	background: #f2f2f2;
  }
}
@media (min-width: 1099px) {
  .submenu.megamenu__text, .submenu.megamenu__image {
    display: flex;
    flex-wrap: wrap;
    max-width: 95%;
    height: auto;
    margin: 0 auto;
	border-radius:30px;
  }
}
@media (min-width: 975px) {
  .submenu.megamenu__text, .submenu.megamenu__image {
    max-width: 96vw;
	background-color:#fff;
  }
}
.submenu.megamenu__image .submenu__inner a {
  display: flex;
  flex-flow: column;
  align-items: center;
}
@media (max-width: 1098px) {
  .submenu.megamenu__image .submenu__inner a {
    flex-flow: row;
    align-items: center;
    padding-bottom: 20px;
  }
}
.submenu.megamenu__image .submenu__inner a img {
  display: block;
  width: 100%;
  height: 150px;
  margin-bottom: 15px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 1098px) {
  .submenu.megamenu__image .submenu__inner a img {
    width: 30%;
    height: 80px;
    margin-bottom: 0;
    margin-right: 15px;
  }
}
.submenu .submenu__inner {
  width: 25%;
  padding: 0 15px;
}
@media (max-width: 1098px) {
  .submenu .submenu__inner {
    width: 100%;
    padding: 0;
  }
}
.submenu .submenu__inner .submenu__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

@media (max-width: 1098px) {
  .submenu .submenu__list {
    margin-bottom: 20px;
  }
   .submenu.megamenu__normal ul.submenu__list {
    padding-left: 0px;
	}
}
.submenu .submenu__list li {
  display: block;
  line-height: 1;
  margin: 0 auto;
}
.submenu .submenu__list li a {
  display: inline-block;
  padding: 10px 0;
  line-height: 1.4;
  text-transform: capitalize;
  color: #000;
  transition: all 0.25s ease-in-out;
}
.submenu .submenu__list li a:hover {
  color: var(--color);
}
@media (max-width: 1098px) {
  .submenu .submenu__list li a {
    display: block;
  }
}



.overlay {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.45s ease-in-out;
  pointer-events: none;
}
/*@media (max-width: 1098px) {
  .overlay {
    cursor: url("https://i.imgur.com/cPh9Zm5.png"), zoom-out;
    pointer-events: visible;
  }
  .overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}*/

.scritta-mobile-menu  {
    font-size: 17px;
    color: #fff;
    font-size: #F39444;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: 400;
	opacity: 0;
	visibility: hidden;
}

.burger {
  position: relative;
  display: block;
  cursor: pointer;
  width: 25px;
  height: 15px;
  margin-right: 8px;
  opacity: 0;
  visibility: hidden;
  background: transparent;
}
@media (max-width: 1098px) {
  .burger {
    opacity: 1;
    visibility: visible;
  }
  .mobile__section__under__menu {
	display:block;
}
 .scritta-mobile-menu  {
	opacity: 1;
	visibility: visible;
} 
}
.burger .burger-line {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  border-radius: 15px;
  background: #F39444;
}

.burger:before, .burger:after {
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  background: #F39444;
  transition: all 250ms ease-out;
  will-change: transform;
  top:6px;
}

.burger:before {
  transform: translateY(-4px);
}

.burger:after {
  transform: translateY(4px);
}



.mobile-overlay .burger:before {
  transform: translateY(0) rotate(45deg);
}

.mobile-overlay .burger:after {
  transform: translateY(0) rotate(-45deg);
} 


.burger .burger-line:nth-child(1) {
  top: 0px;
}
.burger .burger-line:nth-child(2) {
  top: 8px;
  width: 100%;
}

/*.burger .burger-line:nth-child(3) {
  top: 16px;
}*/

.elementor-icon.menu__arrow {
  display:flex;
  align-items:center;
  font-size:15px;
  color:#F39444;
}
