.custom-bg-text {
    font-size: 260px;
    left: 10%;
    line-height: 0;
    position: absolute;
    top: 75px;
    white-space: nowrap;
    z-index: -1;
}
@media (min-width: 769px) {
  .custom-block:hover {
  	z-index: 5;
  	}
  
    .custom-block  .ba-grid-column{
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }

    .custom-block:hover  .ba-grid-column:hover{
        box-shadow: 0 8px 50px rgba(0, 0, 0, 0.2) !important;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        z-index: 1;
    }
  
    .custom-right-column {
        margin-left: -70px;
    }

  /* Carousel */
  .custom-carousel .slideshow-button {
      padding: 0;
  }

  .custom-carousel  .slideset-btn-prev  {
      left: auto;
      right: calc(45% - 20px);
      right: -webkit-calc(45% - 20px);
  }

  .custom-carousel  .slideset-btn-next {
      right: calc(45% - 90px);
      right: -webkit-calc(45% - 90px);
  }

  .custom-carousel  .ba-slideset-nav {
      bottom: 60px;
      top: auto;
  }
  
  .custom-carousel {
      width: 150% !important;
      margin-right: -50%;
  }

  .custom-carousel .item.active {
      box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.15);
  }

  .custom-carousel .slideshow-content {
      padding: 50px 0 100px; 
  }  
}


  .custom-carousel .slideshow-button a {
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
      line-height: initial;
      opacity: 0 !important;  
      position: absolute;
      right: 25px;
      top: 250px;
      transform:scale(.3);
      -webkit-transform:scale(.3);
      -webkit-transition:all .3s ;
      transition:all .3s ;
  }

  .custom-carousel .item.active:hover .slideshow-button a {
      opacity: 1 !important;  
      transform:scale(1);
      -webkit-transform:scale(1);
  }

  .custom-carousel .slideshow-button a:before {
      content: '\f10d';
      display:block;
      font: normal normal normal 24px/1 'Material-Design-Iconic-Font';
      height:24px;
      text-align:center;
      width:24px;
  }
/* effetto testo con immagini */
.knockout-text .ba-counter >span,
.knockout-text .ba-countdown > span > span:first-child,
.knockout-text .content-text *,
.knockout-text .headline-wrapper > * {
 -webkit-text-fill-color: transparent;
 -webkit-background-clip: text;
 background-size: cover;
 background-repeat: no-repeat;
 background-position: center;
 background-image: url(https://aquafor.sviluppo.host/images/aquafor-in-home.jpg) !important;
 transform: translate3d(0, 0, 0);
}
/* Menù codice generico */
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a {
    background: none;
    overflow: hidden;
    position: relative;
    transition: none;
}
 
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a > i,
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a > span {
    z-index: 5;
    position: relative;
    display: block;
}
 
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a:before,
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a:after {
    border-radius: inherit;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .3s;
}
 
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a:before {
    z-index: 1;
}
 
body:not(.gridbox) .nav-hover-effect .nav.menu > li > a:after {
    background: var(--button-border-color);
    z-index: 2;
}
/* Menù effetto 26 */
body:not(.gridbox) .nav-hover-effect.hover-26 .nav.menu > li > a > span {
    transition: .3s;
}
 
body:not(.gridbox) .nav-hover-effect.hover-26 .nav.menu > li > a:after {
    align-items: center;
    background: transparent;
    content: attr(data-hover);
    display: flex;
    font-weight: bold;
    justify-content: center;
    transform: translateY(50%);
    opacity: 0;
}
 
body:not(.gridbox) .nav-hover-effect.hover-26 .nav.menu > li.active > a:after,
body:not(.gridbox) .nav-hover-effect.hover-26 .nav.menu > li > a:hover:after {
    transform: translateY(0%);
    opacity: 1;
}
 
body:not(.gridbox) .nav-hover-effect.hover-26 .nav.menu > li.active > a span,
body:not(.gridbox) .nav-hover-effect.hover-26 .nav.menu > li > a:hover span {
    transform: translateY(-100%);
    opacity: 0;
}
/* Effetto su button */
body:not(.gridbox) .btn-hover-effect .ba-btn-transition {
    overflow: hidden;
    position: relative;
    transition: background .0s ease-in-out;
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition > i,
body:not(.gridbox) .btn-hover-effect .ba-btn-transition > span {
    z-index: 5
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:before,
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:after {
    border-radius: inherit;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .3s;
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:before {
    background: var(--button-background-color);
    z-index: 1;
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:after {
    background: var(--button-background-hover);
    z-index: 2;
}
/* Button effetto hover 3 */
body:not(.gridbox) .btn-hover-effect.hover-3 .ba-btn-transition {
    overflow: visible;
}
 
body:not(.gridbox) .btn-hover-effect.hover-3 .ba-btn-transition:after {
    opacity: 0;
}
 
body:not(.gridbox) .btn-hover-effect.hover-3 .ba-btn-transition:hover:after {
    opacity: 1;
}
 
@keyframes pulse {
    to {
        opacity: 0;
        transform: scale(1.2);
    }
}
 
body:not(.gridbox) .btn-hover-effect.hover-3 .ba-btn-transition:hover:before {
    animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    background: var(--button-background-hover);
 
}
/* correzione menu hover fornita da Balbooa */
@media (max-width: 1024px){
	#item-14990743590831 > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > li > a:hover,
	#item-14990743590831 .main-menu li > span:hover {
	    color: var(--primary) ;
	    background-color: rgba(0,0,0,0);
	}
}
/* effetto apertura pop-up */
@keyframes effect-20 {
    0% {opacity: 0;transform-origin: 0 100%;transform: scale(0, 0) translate(-700px, 0px);}
    100% {opacity: 1;transform-origin: 100% 100%;transform: scale(1, 1) translate(0px, 0px);}
} 
.visible-section .custom-effect-20,
.visible-lightbox .custom-effect-20 {
    animation: effect-20 1s  both;
}
/* effetto bold su hover */
.hover_bold p:hover {
  font-weight:bold !important;
}
/* allineamenti modulo login */
#modlgn-remember {
  vertical-align: text-bottom;
}
.control-group .control-label {
  text-align: left;
}