/*
 Theme Name:   UnSitoFattoBene.it
 Description:  Tema Custom
 Author:       Viola Niccolai
 Author URI:   https://unsitofattobene.it 
 Template:     generatepress
 Version:      1.3
*/

/* ! Reset */

body, html{
    font-size: 17px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
  padding-top: 150px; /* = altezza totale header+nav */
}

@media (max-width: 768px) {
  body {
    padding-top: 82px;
  }
}
    
  *,*:before,*:after{
    box-sizing: border-box;
  }

  h1,h2,h3,h4,h5,h6, p, ol, ul, a {
    margin: 0;
    padding: 0;
  }

    h1,h2,h3,h4 {
     text-wrap: balance;
  }

  p, ol, ul, a {
    letter-spacing: 0.7px;
    line-height: 1.3;
  }


  /* ! Title System */
  /* --------------------------------------------------------- */


.text-0{
    font-size: clamp(2.5rem, 1.408rem + 4.66vw, 7rem);
    line-height: 1;
  }

  h1, .text-1{
    font-size: clamp(2rem, 1.272rem + 3.107vw, 4rem);
  }

  h2, .text-2{
    font-size: clamp(1.8rem, 1.509rem + 1.243vw, 3rem);
  }

  h3, .text-3{
    font-size: clamp(1.4rem, 1.006rem + 0.828vw, 1.7rem);
  }

  h4, .text-4{
    font-size: clamp(1.1rem, 0.865rem + 0.362vw, 1.35rem);
  }

  p, ol, ul{
    font-size: clamp(1rem, 0.863rem + 0.198vw, 1.05rem);
  }

  .title-small {
  font-size: 1em;
  text-transform: uppercase;
  }

  h1, h2, h3, h4, p, ol, ul{
    margin-bottom: 1rem;
  }

.t-white a {
	color:white !important;
  text-decoration: none;

}

.t-dark a {
	color:#204265 !important;
  text-decoration: none;
}

.t-dark a:hover,
.t-white a:hover {
  text-decoration: underline;
}
  
  /* ! Button system */
  /* --------------------------------------------------------- */
 
.btn {
  align-items: center;
  text-align: center;
  background-clip: padding-box;
  background-color: #FBBD37 !important;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px #d1d1d1;
  box-sizing: border-box;
  color: #090f15 !important;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px !important;
  font-weight: bold;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 2.5rem;
  position: relative;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.btn:hover,
.btn:focus {
  background-color: #fcc652 !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  background-color: #fcc652 !important;
  transform: translateY(0);
}


.btn2 {
  align-items: center;
  text-align: center;
  background-clip: padding-box;
  background-color: #254D73 !important;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  color: white !important;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px !important;
  font-weight: bold;
  justify-content: center;
  padding: 10px 20px !important;
  margin: 0;
  position: relative;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.btn2:hover,
.btn2:focus {
  background-color: #10385f !important;
}

.btn2:hover {
  transform: translateY(-1px);
}

.btn2:active {
  background-color: #325576 !important;
  transform: translateY(0);
}


  
    /* ! ABBELLIMENTI */
    /* --------------------------------------------------------- */


  ::selection  {
    background: #FBBD37;
    color: #051128;
  }

  @media (prefers-reduced-motion: no-preference) {
    @view-transition {
      navigation: auto;
    }
  }


  /* ! ACCESSIBILITY ACT */
  /* --------------------------------------------------------- */


    /* ! Freccia su outlink */

    a.outlink[target="_blank"]::after {
      content: "\2197";
    }

    :focus-visible {
      outline: 3px solid #FE6531 !important;
      outline-offset: 3px !important;
    }

    ::placeholder {
      color: #595959 !important;
      opacity: 1 !important;
    }

/* ! Fluent Form CSS ACCESSIBILITà */

    .fluentform .ff-el-is-error .text-danger {
      font-size: 16px;
      margin-top: 10px;
      color: #A9141E;
      font-weight: bold;
    }

    .fluentform .ff-el-is-error .ff-el-form-control {
     border: 2px solid #A9141E;
    }

    .ff-default .ff-el-form-control:focus {
      outline: 2.5px solid #004080;
      outline-offset: 2.5px;
    }

    .ff-default .ff-el-form-control {
      border: 1.5px solid #000000;
    }

    .frm-fluent-form .choices__inner {
      border: 1.5px solid #000000 !important;
    }

    .frm-fluent-form .choices__list--dropdown {
      border: 1.5px solid #000000 !important;
      z-index: 9999; /* assicurati che stia sopra altri elementi */
    }

    form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
      background-color: #264F73 !important;
    }

   .fluentform .ff-step-titles li.ff_active:focus {
      outline: 3px solid #FE6531 !important;
      outline-offset: 3px !important;
    }

    .ff-default .ff-el-input--label label {
      font-weight: bold !important;
    }

   .fluentform .ff-el-group:has(h5) {
  margin-bottom: 5px;
}

.fluentform-step {
	padding: 30px !important;
}

.ff-step-header {
	display: none !important;
}

/* ! Fluent Form CSS BOTTONI */

.ff-btn-secondary {
	align-items: center;
  text-align: center;
  background-clip: padding-box;
  background-color: #254D73 !important;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  color: white !important;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px !important;
  font-weight: bold;
  justify-content: center;
  padding: 10px 20px !important;
  margin: 0;
  position: relative;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.ff-btn-secondary:hover,
.ff-btn-secondary:focus {
  background-color: #10385f !important;
}

..ff-btn-secondary:hover {
  transform: translateY(-1px);
}

.ff-btn-secondary:active {
  background-color: #325576 !important;
  transform: translateY(0);
}

.ff-btn-submit {
  align-items: center;
  text-align: center;
  background-clip: padding-box;
  background-color: #FBBD37 !important;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px #d1d1d1;
  box-sizing: border-box;
  color: #090f15 !important;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px !important;
  font-weight: bold;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 2.5rem;
  position: relative;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.ff-btn-submit:hover,
.ff-btn-submit:focus {
  background-color: #fcc652 !important;
}

.ff-btn-submit:hover {
  transform: translateY(-1px);
}

.ff-btn-submit:active {
  background-color: #fcc652 !important;
  transform: translateY(0);
} {
  align-items: center;
  text-align: center;
  background-clip: padding-box;
  background-color: #FBBD37 !important;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px #d1d1d1;
  box-sizing: border-box;
  color: #090f15 !important;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px !important;
  font-weight: bold;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 2.5rem;
  position: relative;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

 
  /* ! Animation  */ 
/* --------------------------------------------------------- */

.scroll-to-id {
  scroll-margin-top: 120px;
  }

.fade-in{
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.slide-r { 
  opacity: 0;
  transform: translateX(3rem); /* Offset moderato per evitare entrate troppo lunghe */
  transition: opacity 1.5s ease, transform 1.5s ease-out;
}

.slide-l { 
  opacity: 0;
  transform: translateX(-3rem);
  transition: opacity 1.5s ease, transform 1.5s ease-out;
}


/* ! Helpers */
/*----------------------------------------------------------------------------------- */

.mt-0{margin-top: 0;}
.mt-1{margin-top: 1rem;}
.mt-2{margin-top: 2rem;}
.mt-3{margin-top: 3rem;}
.mt-4{margin-top: 4rem;}

.mb-0{margin-bottom: 0;}
.mb-1{margin-bottom: 1rem;}
.mb-2{margin-bottom: 2rem;}
.mb-3{margin-bottom: 3rem;}
.mb-4{margin-bottom: 4rem;}

.p-0{padding: 0;}
.p-1{padding: 1rem;}
.p-2{padding: 2rem;}
.p-3{padding: 3rem;}
.p-4{padding: 4rem;}

.pt-0{padding-top: 0;}
.pt-1{padding-top: 1rem;}
.pt-2{padding-top: 2rem;}
.pt-3{padding-top: 3rem;}
.pt-4{padding-top: 4rem;}

.pb-0{padding-bottom: 0;}
.pb-1{padding-bottom: 1rem;}
.pb-2{padding-bottom: 2rem;}
.pb-3{padding-bottom: 3rem;}
.pb-4{padding-bottom: 4rem;}

.wide {
  margin: 0 auto;
  width: 100%;
  max-width: 1250px;
}


/* ! Custom ADDINGS  */
/*----------------------------------------------------------------------------------- */

 .bs {
  box-shadow: 5px 5px 10px 0px #d1d1d1;
}

 .bs2 {
  box-shadow: 5px 5px 10px 0px #263649 !important;
}


.shadow {
	text-shadow: 2px 0 2px #333, 0 2px 2px #000;
}


.flag {
  position: absolute;
  width: 100px;
  height: 100px;
	top: -30px;
	right: -20px;
  background-image: url('https://www.elated-bohr.87-106-204-9.plesk.page/wp-content/uploads/2025/09/logo-tautouring-vuoto-per-flag.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;			z-index: 1;
}

.flag p {
	position: absolute;
  top: 45px;
  left: 37px;
  transform: rotate(15deg);
  margin: 0;   
  color: white; 
  font-size: 0.7em;
  font-weight: bold;  
}

a img { 
	-webkit-transform: scale(1); transform: scale(1); 
		-webkit-transition: .5s ease-in-out; 
		transition: .5s ease-in-out; position: relative; 
} 

a:hover img { 
		-webkit-transform: scale(1.03); transform: scale(1.03); 
}

/* ! Dimensioni personalizzate png custom POLYLANG */

.lang-item img {
    width: 35px !important;
    height: auto !important;
    box-shadow: 3px 3px 10px 0px #d1d1d1;
}

.menu .lang-item a {
    display: flex;
    align-items: center;
}


/* ! Personalizzazione Splide Carousel Block   */

.wp-block-cloudcatch-splide-carousel.wp-block-splide-carousel__container {
  position: relative !important;
  width: 82% !important;
  left: 9% !important;
  }

  @media (max-width: 782px) {
  .wp-block-splide-carousel .splide__arrow--next {
right: -1.5em;
  }
  
  .wp-block-splide-carousel .splide__arrow--prev {
    left: -1.5em;
      }


  }

  .wp-block-splide-carousel .splide__slide {
     align-items: center;
}

/* end file */