/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
.elementor-icon-list-text a {
  display: inline !important;
}

#diff01, #diff02, #diff03 {
  display: none;
  overflow: hidden;
  transition: padding 0.3s ease-out;
  position: relative;
}

.active {
  display: block; /* Non è necessario usare !important se usiamo gli ID */
  padding: 10px; /* Imposta un padding per dare spazio al contenuto */
}





.plus {
  display: block;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .angle-step {
    transform: rotate(90deg);
  }
}
.step li{
  padding-bottom:12px;
}
.elementor-widget-premium-addon-person{
  cursor: pointer;
}
/* MARGINE ANCORE */
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
  content: "";
  display:block;
  height: 140px; /* fixed header height*/
  margin: -140px 0 0; /* negative fixed header height */
  visibility: hidden;
  pointer-events: none;
}
.premium-person-info {
  height: 100%;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;    /* Center vertically */
}
.premium-flip-back-content-container{
  cursor:pointer;
}

.elementor-widget-nav-menu .elementor-nav-menu .elementor-item{
  font-family: "bc-alphapipe", sans-serif!important;
  font-weight: 300;
  font-style: normal;
  }

  .alpha h2 {
    font-family: "bc-alphapipe", sans-serif!important;
    font-weight: 300;
    font-style: normal;
    }
    .alpha {
      font-family: "bc-alphapipe", sans-serif!important;
      font-weight: 300;
      font-style: normal;
      }

/* ticky-header */
header.sticky-header {
	--header-height: 100px;
	--shrink-header-to: 0.6;
	--transition: .45s cubic-bezier(.4, 0, .2, 1);
	/* background-color: rgba(244, 245, 248, 1); */
	transition: background-color var(--transition),
				backdrop-filter var(--transition),
				box-shadow var(--transition);
}

/*
Sticky header activated */
header.sticky-header.elementor-sticky--effects {
	background-color: rgba(6, 6, 6, 0.45)!important;
	box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, .07);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}

header.sticky-header.elementor-sticky--effects img.attachment-large {
  transition: width 0.5s ease-in-out;
  width: 70%; 
}

header.sticky-header.elementor-sticky--effects.shrink img.attachment-large {
  width: 70% !important;
}

header.sticky-header > .elementor-container {
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
}

/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
	header.sticky-header {
		--header-height: 70px;
	}
}


header.sticky-header .elementor-widget-theme-site-logo img {
	transition: transform var(--transition);
}
header.sticky-header.elementor-sticky--effects .elementor-widget-theme-site-logo img {
	transform: scale(0.99);
}

.is_stuck{
  backdrop-filter: blur(10px); 
  background-color: #ffffff;
  color:black;
}
.is_stuck a{
  color:black!important;
}

/* ::: SROLL DOWN ICO :::*/
.hero-mouse {
  position: absolute;
  bottom: -100px;
  left: 50%;
  margin-left: -15px;
  text-align: center;
  z-index: 9;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
}
.hero-mouse h3 {
  margin-left: -14px;
  padding-top: 15px;
}

.mouse-icon {
  width: 25px;
  height: 45px;
  border-radius: 15px;
  position: relative;
  border: 2px solid #fff;
  text-align: center;
}
.mouse-icon span {
  width: 3px;
  height: 8px;
  margin: 2px auto 0;
  display: block;
  background: #fff;
  border-radius: 5px;
  -webkit-animation: 1.2s ease infinite wheel-up-down;
          animation: 1.2s ease infinite wheel-up-down;
}

@-webkit-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

@keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

/* ::: SROLL DOWN ICO :::*/

/* LINE HOVER MENU */

.scroll-top li>a::after {
  background: #ffffff!important;
}

.scroll-top li>a:hover {
  color: #ffffff!important;
}


.elementor-nav-menu li>a::after {
  bottom: 0px;
  content: "";
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  background: #ffffff;
  transition: width 0.2s ease 0s, left 0.1s ease 0s;
  width: 0;
}

/* Nascondi scrollbar per WebKit */
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Nascondi scrollbar per IE e Edge */
body {
  -ms-overflow-style: none;
}

/* Nascondi scrollbar per Firefox */
body {
  scrollbar-width: none;
}

/* scroll style */
.scrollbar {
  position: fixed;
  top: calc(50vh - 9%); /* Spostato più in basso per compensare l'altezza della scritta */
  left: 40px; /* Spostato 20px a destra */
  height: 45%; /* Altezza ridotta per compensare l'altezza della scritta */
  width: 2px;
  background-color: rgba(0, 0, 0, 0.138); /* Opaco */
  z-index: 9999; /* Assicura che la barra sia sopra gli altri elementi */
  display: flex;
  justify-content: center; /* Centra il contenuto orizzontalmente */
  overflow: hidden; /* Nasconde il contenuto che sfora */
}

/* Stile per il contenitore all'interno della barra */
.scroll-content {
  width: 100%;
  background-color: #c12721;
  transition: height 0.2s ease; /* Animazione allungamento */
  height: 0; /* Inizia con un'altezza di 0px */
}

/* Stile per la scritta verticale */
.vertical-text {
  position: fixed;
  top: calc(50vh - 10%); /* Centrato verticalmente */
  left: 28px; /* Spostato 20px a destra */
  transform: rotate(-90deg); /* Ruota il testo di 90 gradi in senso antiorario */
  transform-origin: left top; /* Imposta l'origine della trasformazione sull'angolo sinistro superiore */
  white-space: nowrap; /* Evita il riavvolgimento automatico del testo */
  z-index: 9999; /* Assicura che il testo sia sopra la barra */
  color:#b6b7b7;
  font-size: 16px;
}
/* scroll style */

.elementor-nav-menu li>a:hover::after,
.elementor-nav-menu li>a.active-nav::after {
  width: calc(100% - 40px);
  left: 50%;
  transform: translatex(-50%);
  bottom: 0px;
}

/* LINE HOVER MENU */




/* ::::::::::::::::RESPONSIVE SMARTPHONE E SMALL SCREEN ::::::::::::: */

@media only screen and (max-width: 767px) {

/* scroll style */
.scrollbar {
 
  left: 20px; /* Spostato 20px a destra */
  height: 45%; /* Altezza ridotta per compensare l'altezza della scritta */
}

/* Stile per la scritta verticale */
.vertical-text {
  left: 8px; /* Spostato 20px a destra */
}

/* MARGINE ANCORE */
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
  
  height: 100px; /* fixed header height*/
  margin: -100px 0 0; /* negative fixed header height */
  
}
}