.section-title{
  padding: 0 !important;
  margin-bottom:60px !important;
  margin-top:120px !important;
}


.section-title h2
{
 font-size: 48px;
 font-weight: 600;
 margin-bottom: 20px;
 position: relative;
}

.section-title h2::before,
.section-title-about h2::before{
 content: "";
 position: absolute;
 display: block;
 width: 120px;
 height: 1px;
 background: #ddd;
 bottom: 1px;
 left: calc(50% - 60px);
}

.section-title h2::after,
.section-title-about h2::after {
 content: "";
 position: absolute;
 display: block;
 width: 40px;
 height: 3px;
 background:  rgb(195, 0, 0);
 bottom: 0;
 left: calc(50% - 20px);
}



/* INIZIO NAVBAR + CAROSELLO*/

#nav-bar{
    position:sticky;
    top: 0;
    z-index:10;
}

#navbar.scroll {
    background-color: #222222;
}

.navbar{
    transition: background-color 0.6s ease;
    padding:0;
}

.navbar-brand img{
    height: 65px;
    text-align: center;
}

#navbar .navbar-nav .nav-link:hover {
  color: rgb(224, 224, 224) !important;
}

#navbar .navbar-nav .nav-link {
  position: relative;
  color: rgb(224, 224, 224);
  font-weight: 600;
  text-align: left;
}

#navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color:  rgb(195, 0, 0);
  transition: width 0.3s ease;
}

#navbar .navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav li{
    padding: 0 10px;
    margin-right:0px;  
}

.navbar-nav li a{
    color:rgb(224, 224, 224);
    font-weight: 600;
    float:right;
    text-align: left;
}

.navbar-toggler .fa-bars {
  color: white;
}

.navbar-toggler {
  border-color: white !important;
  border-width: 2.5px !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

  #nav-serv .navbar{
    background-color:#222222;
  }
  
  #nav-serv .navbar-nav .nav-link {
    position: relative;
    color: rgb(224, 224, 224);
    font-weight: 600;
    text-align: left;
  }
  
  #nav-serv .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color:  rgb(195, 0, 0);
    transition: width 0.3s ease;
  }
  
  #nav-serv .navbar-nav .nav-link:hover::after {
    width: 100%;
  }


.overlay-image {
  position: relative;
  z-index: 1; /* Assicura che l'immagine sia posizionata sotto l'overlay */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Opacità del 50% (0.5) */
  z-index: 2; /* Assicura che l'overlay sia posizionato sopra l'immagine */
}


  @media (max-width: 425px) {
    .navbar-brand img{
        height: 40px;
        padding-left:20px;
        text-align: center;
    }
  }

  @media (max-width: 575.98px) {
    #nav-bar {
    margin-bottom:65px;
    }
  }
  @media (max-width: 575.98px) {
    #navbar {
    background-color:  #222222 !important;
    }
  }

/* FINE NAVBAR*/


/*CHI SIAMO*/

#chi_siamo{
  background-image: url("../img/blur.jpg");
  background-size: cover;
}

#img-border{
  border-radius: 5px;
}

/*FINE CHI SIAMO*/



/*INIZIO SERVIZI*/

#services{
  background-color: #222222;
  color:white;
}

.descrizione{
  font-family: 'Montserrat', sans-serif;
  font-size:20px;
}
  
#portfolio-flters {
  padding: 0;
  list-style: none;
}

#portfolio-flters li {
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 10px;
  border-style: solid 0;
  border-color: #fff;
  padding:7px;
  font-size: 18px;
}

#portfolio-flters li:hover,
#portfolio-flters li.filter-active {
  color: #f9f6f6; /* Cambia colore al passaggio del mouse o se attivo */
  background-color: rgb(195, 0, 0);
}

#portfolio-items {
  margin-top: 20px;
  padding-bottom:50px;
}

#portfolio-items .flag-icon {
  width: 20px; /* Imposta la larghezza desiderata */
  height: auto; /* Imposta l'altezza automaticamente in base all'aspetto originale */
}

.portfolio-item {
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  #portfolio-flters li {
    display: block;
    text-align: center;
    margin: 10px auto; /* per centrare verticalmente */
  }

  #general-description{
    margin-top:50px;
  }
}


/*FINE SERVIZI*/



/*INIZIO FOOTER*/

  #footer {
    background-color: #222222;
    color: #fff;
  }
  
  #footer .copyright {
    text-align: center;
  }
  
  #footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #ccc;
    padding-bottom:20px;
  }

  #maps iframe {
    width: 100%;
    border: 0;
    height:300px;
    margin-bottom: 50px;
}

  #contatti{
    margin-bottom:50px;
  }

  .contact-info address,
  .contact-info p {
  margin-bottom: 0;
  color: white;
}

  .contact-info i {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 10px;
    color: rgb(195, 0, 0);
  }

  .contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
  }

  .contact-email a{
    color:white;
    text-decoration: none;
  }

  @media (min-width: 1025px) {
    .contact-phone {
      border-left: 1px solid #ddd;
      border-right: 1px solid #ddd;
    }
  }

  @media (min-width: 1025px) {
    .contact-hour {
      border-right: 1px solid #ddd;
    }
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    .contact-info .col-md-3 {
        width: 50%;
    }
}

/*FINE FOOTER*/




/*GENERAL MEDIA*/


@media (max-width: 375px) {
  .section-title h2{
    font-size:30px !important;
  }
  }

@media (max-width: 425px) {
  .section-title{
    padding: 0 !important;
    margin-bottom:60px !important;
    margin-top:80px !important;
  }
  }

@media (max-width: 576px) { /* Applica solo su dispositivi con larghezza massima di 576px (dispositivi mobili) */
  #tagliandi .section-title h2 {
    font-size:28px; /* Resetta il margin-left */
  }
}

@media (max-width: 575.98px) {
  .custom-order {
    order: 2; /* Imposta l'ordine desiderato */
  }
}
/*FINE GENERAL MEDIA*/

  

/*Designed by Informale*/
