/*
- VARIABILI
- GENERAL
- HELPERS
- FONTS
- STILI CUSTOM
    - SLIDER
- HEADER
    - HAMBURGER
    - SUB MENU
    - OVERLAY
- PRELOADER

- RECENSIONI GOOGLE

- BLOCCHI
    - HERO HOME
    - SLIDER TEAM

- NEWS
    - PAGINAZIONE
    - SINGOLO
    - ARTICOLI CORRELATI

- TESTIMONIANZE

- FOOTER
- TEMPLATE

- COOKIE BANNER

*/


/** -------------------------------------------------------------------------------- */
/* // ! VARIABILI */
/** -------------------------------------------------------------------------------- */
:root{
    --transition: all 0.3s;
    --transition-cubic: all 0.5s cubic-bezier(0.59, 0.03, 0.2, 1);
    --font-dm-sans: var(--wp--preset--font-family--dm-sans);
    --font-urbanist: var(--wp--preset--font-family--urbanist);
}
  
  
  
/** -------------------------------------------------------------------------------- */
/* // ! GENERAL */
/** -------------------------------------------------------------------------------- */



/** -------------------------------------------------------------------------------- */
/* // HELPERS */
/** -------------------------------------------------------------------------------- */
.absolute{
  position: absolute;
}
.t-0{
  top: 0;
}
.b-0{
  bottom: 0;
}
.r-0{
  right: 0;
}
.l-0{
  left: 0;
}



/** -------------------------------------------------------------------------------- */
/* // ! FONTS */
/** -------------------------------------------------------------------------------- */
.has-titolo-grande-font-size{
  font-family: var(--font-urbanist);
  line-height: 1;
}

.has-titolo-sezione-font-size{
  font-family: var(--font-urbanist);
  line-height: 1;
}
.has-titolo-sezione-font-size strong{
  font-weight: 600;
}
.has-titolo-xs-font-size{
  line-height: 1;
}
.has-paragrafo-grande-font-size{
  line-height: 1.1;
}
.has-titolo-post-card-font-size{
  font-family: var(--font-urbanist);
  line-height: 1;
}
.has-titolo-piccolo-font-size {
  font-family: var(--font-urbanist);
  line-height: 1;
  letter-spacing: -0.5px;
}
.has-titolo-piccolo-font-size strong{
  font-weight: 600;
}


/* recensioni */
.ti-review-content{
  font-size: 18px !important;
}



  
/** -------------------------------------------------------------------------------- */
/* // ! STILI CUSTOM */
/** -------------------------------------------------------------------------------- */  
/*? -------------------------------------------------------------------------------- */
/*? SLIDER */
/*? -------------------------------------------------------------------------------- */
/* bullets */
.container-paginazione-slider{
      height: 60px;
}
.swiper-pagination-bullet{
  background: currentColor !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;
}
.container-freccie-slider{
  height: 60px !important;
}

/* freccie bianche */
.wp-block-query.is-style-freccie-bianche .material-symbols-outlined{
  color: var(--wp--preset--color--custom-bianco) !important;
}
  




  
  
/** -------------------------------------------------------------------------------- */
/* // ! HEADER */
/** -------------------------------------------------------------------------------- */
header{
    position: fixed;
    width: 100%;
    z-index: 99;
    transition: var(--transition);
}
.scrollato header{
  background-color: var(--wp--preset--color--custom-bianco);
  box-shadow: 0px 0px 30px #00000030;
}
  
  
  
/*? -------------------------------------------------------------------------------- */
/*? HAMBURGER */
/*? -------------------------------------------------------------------------------- */
/* btn hamburger */
.hamburger-mobile{
  text-align: center;
  margin: 0 !important;
}
.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: var(--wp--preset--color--custom-nero);
  position: relative;
  width: 32px;
  height: 3px;
  transition: 0.3s;
}
  
  
.btn-menu__bars:before{
  content: "";
  background: var(--wp--preset--color--custom-nero);
  display: block;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
  
  
.btn-menu__bars:after {
  content: "";
  background: var(--wp--preset--color--custom-nero);
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
  
  
.btn-menu__bars:before {
  transform: translate(0, -7px);
}
  
.btn-menu__bars:after {
  transform: translate(0, 7px);
}
  
/* menu open */
.menu-open .btn-menu .btn-menu__bars {
  background-color: transparent;
}
.menu-open .btn-menu__bars:before {
  background-color: var(--wp--preset--color--custom-nero);
  transform: rotate(45deg);
  right: 0;
  width: 100%;
}

.menu-open .btn-menu__bars:after {
  background-color: var(--wp--preset--color--custom-nero);
  transform: rotate(-45deg);
  width: 100%;
}
  




/*? -------------------------------------------------------------------------------- */
/*? VOCI E SUB MENU */
/*? -------------------------------------------------------------------------------- */
.menu-desktop{
  font-family: var(--font-dm-sans);
  font-weight: 600;
}


/* cta menu */
.pulsante-menu a{
  background-color: var(--wp--preset--color--custom-due);
  color: var(--wp--preset--color--custom-bianco);
  border-radius: 4px;
  padding: 6px 12px !important;
  transition: all 0.3s;
}
.pulsante-menu a:hover {
  background-color: var(--wp--preset--color--custom-uno);
}



/* current page */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .current_page_item > a{
  color: var(--wp--preset--color--custom-due);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .current_page_item > li:hover > a,
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li:hover > a{
  color: var(--wp--preset--color--custom-uno) !important;
}

/* theme */

.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: 10px 0px;
  align-items: center;
}
.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;
  background-color: var(--wp--preset--color--due);
  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-quattro);
  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;
  position: relative;
}
.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-due);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children > a{
  gap: 0px;
}

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

.header-menu .freccia-sub-menu{
  position: relative;
  top: 1px;
  font-size: 20px;
}



/** terzo livello  desktop */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu ul.sub-menu{
  position: absolute;
  left: 90%;
  top: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu .menu-item-has-children:not(.overlay-menu .menu-item-has-children):hover .sub-menu{
  left: 100%;
  opacity: 1 !important;
  pointer-events: all;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu .menu-item-has-children:not(.overlay-menu .menu-item-has-children) a{
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu .menu-item-has-children:not(.overlay-menu .menu-item-has-children) a .freccia-sub-menu{
  transform: rotate(-90deg);
}








  
/*? -------------------------------------------------------------------------------- */
/*? OVERLAY */
/*? -------------------------------------------------------------------------------- */
.overlay-menu a{
  text-decoration: none !important;
}
/* tezi livelli */
.overlay-menu li.menu-item-has-children .sub-menu li.menu-item-has-children > a{
  flex-direction: row;
}
.overlay-menu li.menu-item-has-children .sub-menu li.menu-item-has-children > a .freccia-sub-menu{
  top: 0px !important;
}
.overlay-menu li.menu-item-has-children .sub-menu{
  padding-left: 15px;
}

/* pulsante */
.overlay-menu .pulsante-menu a {
  width: fit-content;
}


/* theme */
.overlay-menu:not(.editor-styles-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%) !important;
}

.overlay-menu ul.menu{
  gap: 5px;
}
.overlay-menu ul.menu > li{
  /* padding: 0 !important; */
  font-size: clamp(18px, 4vw, 22px);
}
.overlay-menu ul.menu > li > a{
  flex-direction: row;
  align-items: center;
}
.overlay-menu ul.menu > li.menu-item-has-children .sub-menu > li > a{
  font-size: 16px;
  margin-bottom: 3px;
}
.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;
}



/** -------------------------------------------------------------------------------- */
/* // ! PRELOADER */
/** -------------------------------------------------------------------------------- */
#preloader .preloader-inner{
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  }
    
.loader {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--custom-uno);
  box-shadow: 32px 0 var(--wp--preset--color--custom-uno), -32px 0 var(--wp--preset--color--custom-uno);
  position: relative;
  animation: flash 1s ease-out infinite alternate;
  margin: 20px 0px;
}
    
@keyframes flash {
  0% {
  background-color: #ffffff20;
  box-shadow: 32px 0 #ffffff20, -32px 0 var(--wp--preset--color--custom-uno);
  }
  50% {
  background-color: var(--wp--preset--color--custom-uno);
  box-shadow: 32px 0 #ffffff20, -32px 0 #ffffff20;
  }
  100% {
  background-color: #ffffff20;
  box-shadow: 32px 0 var(--wp--preset--color--custom-uno), -32px 0 #ffffff20;
  }
}





/** -------------------------------------------------------------------------------- */
/* // RECENSIONI GOOGLE */
/** -------------------------------------------------------------------------------- */
.ti-widget.ti-goog .ti-reviews-container-wrapper{
  margin: 0px 30px 0px 0px;
}





/** -------------------------------------------------------------------------------- */
/* // BLOCCHI */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? HERO HOME */
/*? -------------------------------------------------------------------------------- */
.titolo-hero{
  line-height: 0.9;
}
.titolo-hero sub{
  position: relative;
  top: -10px;
  font-size: var(--wp--preset--font-size--titolo-sezione);
  line-height: 0;
}

@media(max-width:781px){
  .pattern-hero-home .wp-block-cover__background{
    background: var(--wp--preset--color--custom-quattro) !important;
    opacity: 1 !important;
  }

}









/*? -------------------------------------------------------------------------------- */
/*? SLIDER TEAM */
/*? -------------------------------------------------------------------------------- */
.slider-team-riassunto .wp-block-post-excerpt__excerpt{
  margin-bottom: 0px !important;
}






/** -------------------------------------------------------------------------------- */
/* // NEWS */
/** -------------------------------------------------------------------------------- */

/*? -------------------------------------------------------------------------------- */
/*? PAGINAZIONE */
/*? -------------------------------------------------------------------------------- */
.page-numbers{
  display: inline-flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  background-color: var(--wp--preset--color--custom-quattro);
  border-radius: 4px;
  font-weight: bold;
}
.page-numbers.current,
a.page-numbers:hover{
  background-color: var(--wp--preset--color--custom-due);
  color: var(--wp--preset--color--custom-bianco);
}
.wp-block-query-pagination-numbers{
  display: inline-flex;
  gap: 10px;
}




/*? -------------------------------------------------------------------------------- */
/*? SINGOLO */
/*? -------------------------------------------------------------------------------- */
.single-post .wp-block-list{
  line-height: 1.5;
}

/* cat list */
.categorie-post-singolo a{
  background-color: var(--wp--preset--color--custom-due);
  color: var(--wp--preset--color--custom-bianco);
  padding: 4px 10px;
  border-radius: 4px;
}



/*? -------------------------------------------------------------------------------- */
/*? ARTICOLI CORRELATI */
/*? -------------------------------------------------------------------------------- */
.articoli_correlati_ul{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--10);
  list-style: none;
  padding: 0;
}
.articolo_correlato br{
  display: none;
}
.articolo_correlato img{
  border-radius: 10px;
}
.articolo_correlato_titolo{
  font-weight: 600;
}
.articolo_correlato_titolo a:hover{
  color: var(--wp--preset--color--custom-due) !important;
}
.articolo_correlato_read_more{
  color: var(--wp--preset--color--custom-tre);
}
.articolo_correlato_read_more a:hover{
  color: var(--wp--preset--color--custom-due);
}

@media(max-width:600px){
  .articoli_correlati_ul{
    grid-template-columns: 1fr;
  }
}





/** -------------------------------------------------------------------------------- */
/* // TESTIMONIANZE */
/** -------------------------------------------------------------------------------- */
/* loop */
.testimonianza-card{
  cursor: pointer;
}


/* correlate */
.test_corr_img_container br{
  display: none;
}
.test_corr_img{
  width: 100%;
  height: auto;
}
.testimonianza_correlata_container{
  padding: 10px;
  background: linear-gradient(180deg, rgb(255, 255, 255) 61%, rgb(238, 243, 250) 100%);
  border-radius: 10px;
}
.test_corr_img_container a{
  display: flex;
}
.test_corr_img_container{
  border-radius: 10px;
}

.paginazione-slider-container{
  height: 20px;
  color: var(--wp--preset--color--custom-due);
}


/** -------------------------------------------------------------------------------- */
/* // FOOTER */
/** -------------------------------------------------------------------------------- */
.menu-footer ul.menu{
  gap: 5px;
  margin: 0;
}
.menu-footer ul.menu a{
}
.menu-footer ul.menu a:hover{
  color: var(--wp--preset--color--custom-due);
}



/* footer sticky */
.footer-sticky{
  position: fixed;
  bottom: 0px;
  z-index: 80;
  width: 100%;
  opacity: 0;
  transition: all 0.4s ease-out;
}
.scrollato .footer-sticky {
  bottom: 10px;
  opacity: 1;
}

.footer-sticky-row{
  max-width: 320px;
}




/** -------------------------------------------------------------------------------- */
/* // TEMPLATE */
/** -------------------------------------------------------------------------------- */
.page-template-wp-custom-template-no-prefooter .prefooter{
  display:none !important
}






/** -------------------------------------------------------------------------------- */
/* // COOKIE BANNER */
/** -------------------------------------------------------------------------------- */
@media(max-width:782px){
  .seopress-user-consent.seopress-user-message{
    bottom: 90px !important;
  }
}









