.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;
  }

  .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;
  }
p {
text-align:justify;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
@media (min-width: 769px){
.menu > li.deeper.parent:nth-child(4)> .nav-child {
    max-height: calc(100vh - 65px) !important;
    overflow: auto;
}}

/*codice per fare il popup con il thanks message del form*/
#ba-forms-notification {
    animation: none !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: max-content;
    padding: 50px;
}

#ba-forms-notification.notification-in {
	animation: none !important;
}
#ba-forms-notification.animation-out {
    animation: notification-animation-out .4s cubic-bezier(.25,.98,.26,.99) both !important;
}

@keyframes notification-animation-out {
    to {opacity: 0;}
}
/* codice per testo scorrevole*/
.marquee-text-effect {
    display: inline-flex !important;
    overflow: hidden;
}
@keyframes marquee-text-effect {
    0% { transform:translateX(0%);}
    100% { transform:translateX(-100%);}
}
.marquee-text-effect .content-text {
    display: inline-flex;
    justify-content: space-around;
}
.marquee-text-effect .content-text > * {
    display: inline-block;
    padding: 0 10px;
    white-space: nowrap;
}
/* fine codice per testo scorrevole*/
/*inizio codice per dimensione icona menu verticale*/
li.deeper > * i.ba-icon-caret-right {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
justify-content: end;
font-size: 20px; !important;
  align-items: center;
}
li.deeper > span i.ba-icon-caret-right, li.deeper > a i.ba-icon-caret-right {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 0 5px;
  font-size: 30px;
}
/*fine codice per dimensione icona menu verticale*/

/* VOCE DI MENU COLORATA*/
	li.nav-item.item-433 {
background: #007df7;
	}
	li.nav-item.item-433 a {
	color: #ffc700	 !important;
	}
/*FINE CODICE VOCE DI MENU COLORATA*/

/*MENU DROPDOWN MOBILE*/
@media (max-width: 1024px) {
.vertical-menu .main-menu .nav > li.deeper.parent > .mod-menu__sub {
margin: 0 !important;
position: static;
transform: none !important;
width: 100% !important;
}
}
/*END MENU DROPDOWN MOBILE*/

/*MENU DROPDOWN DESKTOP*/
#item-17697973993163 li.deeper.parent > ul {
margin-left: 0 !important;
top: 0 !important;
transform: translateX(-100%);
left: 0;
}
/*END MENU DROPDOWN DESKTOP*/

/*CODICE PER Z-INDEX MENU REGIONALE*/
.ba-wrapper[data-global="item-17697973993160"]:hover {
position: relative;
z-index: 10;
}
/*FINE CODICE PER Z-INDEX MENU REGIONALE*/

/*CODICE PER SFONDO SU SINGLE POST LAYOUT*/
.ba-item-recent-posts-slider .slideshow-type li .ba-slideshow-img,
ul.ba-slideshow > .slideshow-content > li > .ba-slideshow-img {
    background-color: #fff;
}
/*FINE CODICE PER SFONDO SU SINGLE POST LAYOUT*/

/*CODICE PER NASCONDERE EDIT A PAGINA 404*/
.page:has(.ba-item-error-message) .edit-page-btn {
display:none;
}
/*FINE CODICE PER NASCONDERE EDIT A PAGINA 404*/

/*NASCONDE SCELTA DEL TEMA*/

/*FINE NASCONDE SCELTA DEL TEMA*/