/*
- VARIABILI
- GENERAL
- FONTS
- STILI CUSTOM
    - DETAILS
    - SLIDER
    - BUTTON
- HEADER
    - HAMBURGER
    - SUB MENU
    - OVERLAY
- MARQUEE
- RECENSIONI
- FOOTER
- FORM
- PRELOADER
*/


/** -------------------------------------------------------------------------------- */
/* // ! VARIABILI */
/** -------------------------------------------------------------------------------- */
:root{
    --transition: all 0.3s;
    --transition-cubic: all 0.5s cubic-bezier(0.59, 0.03, 0.2, 1);
  }
  
  
  
/** -------------------------------------------------------------------------------- */
/* // ! GENERAL */
/** -------------------------------------------------------------------------------- */

.box-shadow{
  box-shadow: 0px 10px 30px #00000080 !important;
}



  
  
/** -------------------------------------------------------------------------------- */
/* // ! FONTS */
/** -------------------------------------------------------------------------------- */
.has-titolo-giant-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.has-titolo-grande-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.has-titolo-piccolo-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.has-titolo-xs-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.has-titolo-sezione-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.has-sottotitolo-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.has-marquee-font-size{
  font-family: var(--wp--preset--font-family--oswald);
  line-height: 1;
  text-transform: uppercase;
}

.wp-block-post-excerpt__more-link{
  font-family: var(--wp--preset--font-family--oswald);
}
  
  
/** -------------------------------------------------------------------------------- */
/* // ! STILI CUSTOM */
/** -------------------------------------------------------------------------------- */  
/*? -------------------------------------------------------------------------------- */
/*? DETAILS */
/*? -------------------------------------------------------------------------------- */
.wp-block-details .has-paragrafo-font-size{
  font-family: var(--wp--preset--font-family--open-sans);
  text-transform: none;
  line-height: 1.3;
}



/*? -------------------------------------------------------------------------------- */
/*? SLIDER */
/*? -------------------------------------------------------------------------------- */
/* bullets */
.container-paginazione-slider{
    height: 40px;
}
.swiper-pagination-bullet-active{
background: var(--wp--preset--color--custom-uno) !important;
}

/* freccie */
.swiper-button-next:after,
.swiper-button-prev:after{
display: none;
}
.swiper-button-next .material-symbols-outlined,
.swiper-button-prev .material-symbols-outlined{
color: var(--wp--preset--color--custom-nero);
font-size: 40px;
}

/* freccie */
.is-style-freccie-down-left .query-slider .container-freccie-slider{
  margin-top: 20px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}
.is-style-freccie-down-left .query-slider .swiper-button-next{
right: unset;
left: 60px;
}
.is-style-freccie-down-left .query-slider .swiper-button-prev{
  top: -2px;
}
.query-slider .material-symbols-outlined{
  color: var(--wp--preset--color--custom-uno);
}
  
  

/*? -------------------------------------------------------------------------------- */
/*? BUTTON */
/*? -------------------------------------------------------------------------------- */
.wp-block-button__link:hover{
  background-color: var(--wp--preset--color--custom-nero) !important;
}





/** -------------------------------------------------------------------------------- */
/* // ! HEADER */
/** -------------------------------------------------------------------------------- */
header{
    position: fixed;
    width: 100%;
    z-index: 99;
    transition: var(--transition);
}
.scrollato header{
  background-color: var(--wp--preset--color--custom-nero);
  box-shadow: 0px 0px 30px #00000030;
}

  
  
/*? -------------------------------------------------------------------------------- */
/*? HAMBURGER */
/*? -------------------------------------------------------------------------------- */
/* btn hamburger */
.hamburger-mobile{
    text-align: center;
    padding: 20px 0px;
}
.btn-menu {
    z-index: 34;
    background: transparent;
    min-height: 22px;
    padding-left: 0;
    padding-right: 0;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
  }
  .menu-open .btn-menu,
  .scrollato .btn-menu{
    background-color: transparent;
  }
  
  .btn-menu__bars {
    display: block !important;
    background: currentColor;
    position: relative;
    width: 26px;
    height: 1px;
    transition: 0.3s;
  }
  
  
  .btn-menu__bars:before{
    content: "";
    background: currentColor;
    display: block;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    transition: 0.3s;
  }
  
  
  .btn-menu__bars:after {
    content: "";
    background: currentColor;
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.3s;
  }
  
  
  .btn-menu__bars:before {
    transform: translate(0, -8px);
  }
  
  .btn-menu__bars:after {
    transform: translate(0, 8px);
  }
  
  /* menu open */
  .menu-open .btn-menu .btn-menu__bars {
    background-color: transparent;
  }
  .menu-open .btn-menu__bars:before {
    background-color: currentColor;
    transform: rotate(45deg);
    right: 0;
    width: 100%;
  }
  
  .menu-open .btn-menu__bars:after {
    background-color: currentColor;
    transform: rotate(-45deg);
    width: 100%;
  }
  




/*? -------------------------------------------------------------------------------- */
/*? VOCI E SUB MENU */
/*? -------------------------------------------------------------------------------- */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu{
  margin: 0;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu > li{
  padding: 20px 0px;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu > li > a{
  transition: var(--transition);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu > li > a:hover{
  color: var(--wp--preset--color--custom-uno);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children{
  position: relative; 
  display: flex;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu{
  display: block;
  position: absolute;
  top: 60px;
  opacity:1;
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  opacity:0;
  visibility:hidden;
  background-color: var(--wp--preset--color--custom-nero);
  width: max-content;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children:not(.overlay-menu .menu-item-has-children):hover .sub-menu{
  opacity:1;
  visibility:visible;
  top:60px;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li{
  padding: 10px;
  border-bottom: 1px solid var(--wp--preset--color--custom-bianco);
  transition: all 0.3s;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li:hover{
  background-color: var(--wp--preset--color--custom-uno);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children > a{
  gap: 0px;
  align-items: center;
}

.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione{
  text-transform: uppercase;
}

.header-menu .freccia-sub-menu{
  position: relative;
}


  
/*? -------------------------------------------------------------------------------- */
/*? OVERLAY */
/*? -------------------------------------------------------------------------------- */
/* overlay wrapper */
.overlay-menu{
  position: fixed;
  width: 100%;
  z-index: -1;
  transform: translateY(-110%);
  transition: all 0.8s cubic-bezier(0.59, 0.03, 0.2, 1);
  top: 0;
}
.menu-open .overlay-menu{
  transform: translateY(0%);
}

.overlay-menu ul.menu{
  /* gap: 5px; */
}
.overlay-menu ul.menu > li{
  /* padding: 0 !important; */
  /* font-size: clamp(18px, 4vw, 22px); */
}
.overlay-menu a{
  transition: var(--transition);
}
.overlay-menu ul.menu > li > a{
  flex-direction: row;
  align-items: center;
  transition: var(--transition);
}
.overlay-menu ul.menu > li.menu-item-has-children .sub-menu > li > a{
  font-size: 16px;
  margin-bottom: 3px;
  transition: var(--transition);
}
.overlay-menu .freccia-sub-menu{
  position: relative;
  top:2px;
}


/* altezza massima */
.overlay-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione{
  max-height: 74vh;
  overflow: auto;
  padding-bottom: 40px;
}




/** -------------------------------------------------------------------------------- */
/* // ! MARQUEE */
/** -------------------------------------------------------------------------------- */
.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
  height: clamp(60px, 62vh, 120px) !important;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media(max-width:781px){
  .marquee {
    height: clamp(60px, 8vh, 120px) !important;
  }
}


/** -------------------------------------------------------------------------------- */
/* // ! RECENSIONI */
/** -------------------------------------------------------------------------------- */
.recensione-virgolette{
  position: absolute;
  right: 20px;
  bottom: 10px;
}




/** -------------------------------------------------------------------------------- */
/* // ! FOOTER */
/** -------------------------------------------------------------------------------- */
.footer-copyright img{
  vertical-align: baseline !important;
}




/** -------------------------------------------------------------------------------- */
/* // ! FORM */
/** -------------------------------------------------------------------------------- */
.frm_button_submit{
  font-family: var(--wp--preset--font-family--oswald);
  transition: var(--transition) !important;
}



/** -------------------------------------------------------------------------------- */
/* // ! PRELOADER */
/** -------------------------------------------------------------------------------- */
#preloader .preloader-colonna{
  display: flex;
  flex-direction: column;
  justify-content: center;
}











