/*
- VARIABILI
- GENERAL
- FONTS
- STILI CUSTOM
    - SLIDER
    - BUTTON
    - PAGINATION
- HEADER
    - HAMBURGER
    - SUB MENU
    - OVERLAY
- PRELOADER
- FORM
- PATTERN
    - LOOP PAGINE
    - GALLERY
- PROMOZIONI
- BLOG

- LOOP IDROMASSAGGI
- PISCINA SINGOLA
    - CARATTERISTICHE


- MOBILE ++ 

*/


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


/** -------------------------------------------------------------------------------- */
/* // ! FONTS */
/** -------------------------------------------------------------------------------- */
.has-titolo-giant-font-size{
  line-height: 0.9;
}
@media(max-width:781px){
  .has-titolo-giant-font-size {
    margin-bottom: 10px;
  }
}

.has-titolo-medio-font-size{
  line-height: 1;
  font-weight: 200;
}
  
  
/** -------------------------------------------------------------------------------- */
/* // ! STILI CUSTOM */
/** -------------------------------------------------------------------------------- */  
/*? -------------------------------------------------------------------------------- */
/*? SLIDER */
/*? -------------------------------------------------------------------------------- */
/* bullets */
.container-paginazione-slider,
.container-dots-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;
}

/* freccie bianche */
.wp-block-query.is-style-freccie-bianche .material-symbols-outlined{
  color: var(--wp--preset--color--custom-bianco) !important;
}
  
/* dots interni */
/* .is-style-dots-interni .container-paginazione-slider{
  height: 0px !important;
} */





/*? -------------------------------------------------------------------------------- */
/*? BUTTON */
/*? -------------------------------------------------------------------------------- */
.wp-block-button:not(.is-style-btn-arancio-pieno) .wp-block-button__link{
  display: inline-flex;
  background-color: transparent !important;
}
.wp-block-button .wp-block-button__link:hover{
  width: 120%;
}


/* // read more post */
.wp-block-post-excerpt__more-link{
  border-top: 3px solid currentColor;
  display: inline-flex;
  padding-top: 8px;
  transition: all 0.25s;
}
.wp-block-post-excerpt__more-link:hover{
  padding-right: 20px;
}




/*? -------------------------------------------------------------------------------- */
/*? PAGINATION */
/*? -------------------------------------------------------------------------------- */
.wp-block-query-pagination-numbers .page-numbers{
  width: 40px;
  height: 40px;
  display: inline-flex;
  border: 1px solid var(--wp--preset--color--custom-nero);
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--custom-nero);
    color: var(--wp--preset--color--custom-bianco);
    transition: all 0.25s;
}
.wp-block-query-pagination-numbers .page-numbers.current {
  background-color: transparent;
  color: var(--wp--preset--color--custom-nero);
}
.wp-block-query-pagination-numbers .page-numbers:not(.current):hover{
  background-color: #f58635;
}




  
  
/** -------------------------------------------------------------------------------- */
/* // ! 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;
}

.header-menu{
  background-color: var(--wp--preset--color--custom-bianco);
}
  
  
  
/*? -------------------------------------------------------------------------------- */
/*? 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: 34px;
  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 */
/*? -------------------------------------------------------------------------------- */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu{
  margin: 0;
  gap: 0px;
}
/* .header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu > li{
  padding: 25px 0px;
} */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children{
  position: relative; 
  display: flex;
}
/* debug */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu{
  display: block;
  position: absolute;
  top: 60px;
  opacity:0;
  visibility:hidden;
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  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:65px;
}
/* .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;
}



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


/* // VOCI DESK - primo livello */
.header-menu-desk .menu-item-has-children a{
  text-decoration: none;
}
.header-menu-desk ul.menu > li{
  padding: 25px 8px;
  position: relative;
}
.header-menu-desk ul.menu > li.menu-item-has-children,
.header-menu-desk ul.menu > li:not(.menu-item-has-children){
  cursor: pointer;
  transition: all 0.25s;
}
.header-menu-desk ul.menu > li:hover{
  background-color: var(--wp--preset--color--custom-sei);
}
.header-menu-desk ul.menu > li > a:after{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.header-menu-desk ul.menu > li:hover > a{
  color: var(--wp--preset--color--custom-bianco);
}
.header-menu-desk ul.menu > li > a{
  font-weight: bold;
}
.header-menu-desk .freccia-sub-menu{
  display: none;
}



/* // SUB MENU - megamenu */

.header-menu-desk ul.sub-menu{
  background-color: #000000cc;
  width: max-content !important;
  left: 0;
  padding: 40px;
  display: flex !important;
  flex-direction: row;
  gap: 40px;
  left: 50%;
  right: 50%;
  transform: translate(-20%);
} 
.header-menu-desk ul.sub-menu li > a{
  color: var(--wp--preset--color--custom-bianco);
}
.header-menu-desk .mm-col-titolo{
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}
.header-menu-desk .mm-col-wrap{
  display: block;
}
.header-menu-desk .mm-col-wrap li:not(.mm-col-title){
  margin-bottom: 5px;
}
.header-menu-desk .mm-col-wrap li > a:hover{
  color: var(--wp--preset--color--custom-cinque);
}


/* // debug */
/* .header-menu-desk .menu > li:nth-child(2){
  display: none;
} */


  
/*? -------------------------------------------------------------------------------- */
/*? OVERLAY */
/*? -------------------------------------------------------------------------------- */
.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;
  font-weight: bold;
}
.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:1px;
  font-weight: bold;
}
.overlay-menu .mm-col-titolo{
  margin-top: 10px;
  font-weight: bold;
}
.overlay-menu ul.sub-menu{
  margin-bottom: 20px;
}



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




/* // MENU Overlay */
.overlay-menu .menu-item-has-children a{
  text-decoration: none;
}









/** -------------------------------------------------------------------------------- */
/* // ! 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;
  }
}





/** -------------------------------------------------------------------------------- */
/* // FORM */
/** -------------------------------------------------------------------------------- */
.frm_button_submit{
  box-shadow: none !important;
  width: 80px;
  height: 80px;
  padding: 0 !important;
  border-radius: 500px !important;
  border: 4px solid #fff !important;
  font-weight: bold !important;
  transition: all 0.25s;
}
.frm_button_submit:hover{
  background-color: var(--wp--preset--color--custom-due) !important;
}


/* form dark */
.form-dark .frm_primary_label,
.form-dark .frm_checkbox label{
  color: var(--wp--preset--color--custom-nero);
}










/** -------------------------------------------------------------------------------- */
/* // PATTERN */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? LOOP PAGINE */
/*? -------------------------------------------------------------------------------- */
.query-loop-pagine a{
  transition: all 0.25s
}
.query-loop-pagine .wp-block-post-featured-image{
  overflow: hidden;
}
.query-loop-pagine .wp-block-post-featured-image img{
  transform: scale(1.02);
  transition: transform 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.query-loop-pagine .wp-block-post:hover .wp-block-post-featured-image img{
  transform: scale(1.06);
  transition: transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
}





/*? -------------------------------------------------------------------------------- */
/*? GALLERY */
/*? -------------------------------------------------------------------------------- */
.pattern-gallery .wp-block-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}








/** -------------------------------------------------------------------------------- */
/* // PROMOZIONI */
/** -------------------------------------------------------------------------------- */
.promozioni_prezzo_nuovo{
  font-weight: 800;
}





/** -------------------------------------------------------------------------------- */
/* // BLOG */
/** -------------------------------------------------------------------------------- */
.contenuto-blog .wp-block-heading{
  font-weight: bold;
}






/** -------------------------------------------------------------------------------- */
/* // LOOP IDROMASSAGGI */
/** -------------------------------------------------------------------------------- */

/* * filtri */
.loop-idromassaggi-filtri{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}
.loop-idromassaggi-filtri .cvp-live-filter{
  display: flex !important;
  flex-direction: column;
  min-width: 150px;
  margin-bottom: 0;
}
.loop-idromassaggi-filtri .cvp-live-filter select{
  border: none !important;
}
.loop-idromassaggi-filtri .cvp-live-submit{
  display: none !important;
}
.loop-idromassaggi-filtri .cvp-label{
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.loop-idromassaggi-filtri .cvp-live-button .cvp-live-reset{
  background-color: transparent;
  color: #000;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  top: -4px;
}


@media(max-width:450px){
  .loop-idromassaggi-filtri .cvp-live-filter{
    width:100%;
    margin-bottom: 10px;
  }
  .loop-idromassaggi-filtri .cvp-live-button .cvp-live-reset{
    padding: 20px 0px;
  }
}




/* * VIEW */
.loop-idromassaggi .pt-cv-ctf-name{
  min-width: max-content;
}
.loop-idromassaggi .pt-cv-ctf-posti{
  flex-direction: column;
}
.loop-idromassaggi .pt-cv-ctf-posti .pt-cv-ctf-name{
  font-size: 20px;
}
.loop-idromassaggi .pt-cv-ctf-posti .pt-cv-ctf-value{
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}
.loop-idromassaggi .pt-cv-readmore{
  background-color: transparent !important;
  color: #000 !important;
  padding: 6px 0px 0px 0px;
  border-top: 3px solid #DCDCDC;
  margin-top: 30px;
  font-weight: 800;
  transition: all 0.25s;
}
.loop-idromassaggi .pt-cv-readmore:hover{
  padding-right: 20px;
  border-color: #DCDCDC;
}
@media(max-width:767px){
  .loop-idromassaggi .pt-cv-thumbnail{
    min-width: 100% !important;
  }
}






/** -------------------------------------------------------------------------------- */
/* // PISCINA SINGOLA */
/** -------------------------------------------------------------------------------- */

/* specifiche */
.piscine_specifiche ul{
  padding: 0;
  list-style-position: inside;
  list-style: none;
}
.piscine_specifiche ul > li {
  border-bottom: 1px dotted #00000025;
  padding-bottom: 5px;
  margin-bottom: 5px;
}


/* posti e misure */
.piscina_posti,
.piscina_misure{
  font-size: 24px;
}
@media(max-width:450px){
  .riga-posti,
  .riga-misure{
    flex-direction: column;
    align-items: flex-start;
  }
}



/* caratteristiche */
.piscine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.piscina-card img {
  width: 100%;
  height: auto;
  display: block;
}
@media(max-width:781px){
  .piscine-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}



/* colori */
.colori-interno-grid {
  display: flex;
  gap: 20px !important;
  flex-wrap: nowrap;
}

.colore-item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 70px;
}
.colore-nome{
  max-width: 70px;
  font-size: 12px;
}


/* gallery */
.swiper-gallery-piscina img{
  width: 100%;
  height: auto;
}

.gallery-piscine-paginazione{
  height: 20px;
  color: var(--wp--preset--color--custom-uno);
}






/*? -------------------------------------------------------------------------------- */
/*? CARATTERISTICHE */
/*? -------------------------------------------------------------------------------- */
@media(max-width:781px){
  .griglia-caratteristiche{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .griglia-caratteristiche img{
    width: 100%;
  }
}








/** -------------------------------------------------------------------------------- */
/* // MOBILE ++ */
/** -------------------------------------------------------------------------------- */
@media(max-width:781px){
  .pattern-hero-big-onda-down .wp-block-cover{
    min-height: 60vh !important;
  }
}







