/*--- style totale ---*/
body{
    font-family: 'Courgette', cursive;
    line-height: 1.8;
}
a{
    text-decoration: none;
    transition: all 0.4 ease;
}
section{
    padding-top: 80px;
    padding-bottom: 30px;
    z-index: 2;
    position: relative;
}
.offcanvas{
    --bs-offcanvas-width: 350px;
}
/*--- stile barra navigazione ---*/
@media screen and (max-width:992px){

    .offcanvas-body{
        background-image: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url(/immagini/imgxsito/logo1.png);
        background-size: auto;
        background-position: center center;
        background-repeat: no-repeat;
    }
}
.navbar-brand{
    padding-left: 10px;
    font-size: 27px;
    margin-right: 30px;
    margin-left: 10px;
}
.nav-item a{
    font-size: 20px;
    color: black;
    text-transform: uppercase;
    padding-left: 25px !important;
    padding-right: 25px !important;
    border-radius: 30px;
}
.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link{
    background: -webkit-linear-gradient(#0569ff,#0569ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-link:hover{
    color: rgb(5, 105, 255);
}
/*--- stile sfondo home ---*/
.overlay2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5));
    z-index: -1;
}

.bg-cover{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-attachment: fixed;*/

}

.hero-section{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}
.card{
    --bs-card-spacer-y: .1rem;
    --bs-card-border-color: rgb(0 0 0);
    --bs-card-border-width: 0;
    align-items: center;
}
.card2{
    border: 10px double;
}
.overlay{
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    display:block;
    color: rgb(255, 255, 255);
    z-index: 1;
    width: 100%;
    height: 30px;
    background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5));
}
.card-body{
    padding: 0;
}

.contenitore-galleria{
    padding-top: 4.4rem!important;
}
.riga-galleria{
    padding-right: 3px;
    padding-left: 3px;
}



/* stile footer*/
.footer{
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid rgb(5, 105, 255);
}
.spanfooter{
    color: rgb(5, 105, 255) ;
}
.posta{
    color: rgb(5, 105, 255) ;
}

/* stile galleria json*/

/* Settaggio Miniature Galleria */
.json-thumbnail-title a {color: #ffffff;font-size: 20px;}

.json-thumbnail-title {
    text-align: center;
    position: absolute;
    /* top: 50%; */
    /* width: 80%; */
    height: 100%;
    background: rgba(0 0 0 / 50%);
    border-radius: 10px;
    opacity: 1;
    cursor: zoom-in;
}
/* .json-thumbnail-title:hover {
    opacity: 1;
} */
.img-thumbnail{border: 0;}

/* Cambio background  carousel*/
#json-gallery-modal {background: rgba(0,0,0,.80);padding-top: 0px;}
#json-gallery-modal .modal-body {padding: 0;/* background: rgba(0,0,0,.90);*/}
#json-gallery-modal img {margin: auto;}
.modal-dialog{ max-width: 400px;}

/* JSON popup galleria */
.json-gallery-header {
    border: 0;
    padding-bottom: 0;
}
.json-gallery-title {
    color: #3c3c3c;
    border: 0;
    padding-bottom: 0;
}
/* h4  {
color: #ffffff;
    font-size: 1.5rem;
}  */
.json-title-link {
    position: relative;
    top: 50%;
    font-size: 0.9em;
    cursor: zoom-in;

}
.modal-dialog {
    max-width: 800px!important;
}

.carousel-caption {
    position: relative;
    right: 0;
    bottom: 0.25rem;
    left: 0;
    padding-top: 0.45rem;
    padding-bottom: 0rem;
    text-align: center;
    color: black;
}

.emojicliccami img{
    width: 11%;
    margin-bottom: 5px;
}
@media (max-width: 576px){
    .prova img{
        width: 15%;
    }
}
  
.emojicliccami{
        -webkit-animation: cliccami 3s ease-in-out infinite both;
	    animation: cliccami 3s ease-in-out infinite both;
}

@-webkit-keyframes cliccami {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
@keyframes cliccami {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

/* settaggio indirizzo dei contatti*/
@media screen and (max-width:992px){
    .indirizzo{
        text-align:center;
        padding-top: 20px;
    }
}
.via{
    margin-left: 100px;
    margin-top: -17px;
}

/*Funzione per scorrimento immagini orizzontale */
@keyframes slide {

    to {
      transform: translate(-100%);
    }
  }
  
  .logos {
    overflow: hidden;

    padding: 10px 0;
    white-space: nowrap;
    position: relative;

  }
  
    
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }

  .logos-slide {
    display: inline-flex;
    animation:slide 35s infinite linear;
  }
  
  .logos-slide img {
    height: 150px;
    margin: 0 5px;
  }
  /*Fine Funzione per scorrimento immagini orizzontale */