body {
    position: relative;
    min-height: 100vh;
    font-family: "Fira", sans-serif;
    background-color: rgba(199,170,139,1) !important;
    margin: 0px;
}

a,
a:hover,
a:focus {
	text-decoration: none;
}

/* PORTFOLIO */

.section {
  padding: 7rem 0; /* serve per spaziare, SOLO nel portfolio, dalla navbar*/
}

.filters a {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

  .filters a:hover:before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 1px;
    background-color: #000;
  }

.filters a.active {
  color: #000;
}

  .filters a.active:before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 1px;
    background-color: #000;
  }

/* recuperato dall'originale */

.item {
  border: none;
  margin-bottom: 30px;
  width: calc(33.33% - 20px); /* Imposta la larghezza desiderata per gli elementi del portfolio */
  float: left; /* Assicura che gli elementi siano disposti in una griglia */
}

.item:last-child {
  margin-right: 0; /* Rimuove lo spazio a destra sull'ultimo elemento della riga */
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%; /* Assicura che le immagini all'interno siano larghe al 100% */
  height: auto; /* Altezza automatica per mantenere l'aspetto proporzionato */
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.item .item-wrap img {
  transition: 0.3s transform ease;
  transform: scale(1);
}

.item .item-wrap>.work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: 0.3s all ease;
}

.item .item-wrap>.work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap>.work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img {
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.testimonial-wrap {
  padding: 50px 50px 80px 50px;
  background: #eceff2;
}

.testimonial-wrap .testimonial {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.testimonial-wrap .testimonial img {
  border-radius: 50%;
  width: 120px;
  margin: 0 auto 30px auto;
}

.testimonial-wrap .testimonial blockquote p {
  font-size: 20px;
}

.h3 {
  font-size: 20px;
}

.h4 {
  font-size: 16px;
}

.heading {
  font-size: 28px;
}

.readmore {
  display: inline-block;
  border: 1px solid #000;
  padding: 10px 15px;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  transition: 0.2s all ease;
  font-weight: 700;
}

.readmore:active,
.readmore:focus,
.readmore:hover {
  outline: none;
}

.readmore:hover {
  color: #fff;
  text-decoration: none;
  background: #000;
}

.testimonials-slider .swiper-pagination {
  margin-top: -60px;
  position: relative;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(13, 30, 45, 0.3);
  opacity: 1;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(13, 30, 45, 0.6);
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

.form-control {
  border-radius: 0;
  background: #f8f9fa;
  border: 1px solid transparent;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.form-control:active,
.form-control:focus {
  background: #eff1f4;
  outline: none;
  box-shadow: none;
  border: 1px solid transparent;
}

.custom-progress {
  height: 7px;
  border-radius: 0;
}

.custom-progress .progress-bar {
  background: #000;
}


/* SEZIONE SOTTO LO SLIDER CON ANIMAZIONI DIFFICILI */

/* recuperato dall'originale */

.layout_padding {
  padding: 30px 0;
  min-height: 50vh;
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}

.heading_container h2 {
  font-weight: bold;
  position: relative;
}

  .heading_container h2::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: 75px;
    height: 3px;
    background-color: #ffffff; /*questo serve per colorare di fatto una strisciolina vuota lunga tot, e cosi' 
                                      la vedi*/
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }

.how_section .how_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 30px 30px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.how_section .how_container .box {
  text-align: center;
  margin: 10px;
  min-width: 200px;
  width: 325px;
}

.how_section .how_container .box .img-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 200px;
}

.how_section .how_container .box .detail-box {
  margin-top: 15px;
}

.how_section .how_container .box .detail-box h5 {
  font-weight: bold;
  position: relative;
}

  .how_section .how_container .box .detail-box h5::before {
    display: none;
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 75px;
    height: 2px;
    background-color: #4D4D4D; /*Stesso colore di navbar*/
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }

.how_section .how_container .box .detail-box {
    background-color: transparent   ;
}

.how_section .how_container .box .detail-box p {
    color: #ffffff;
}

.how_section .how_container .box:hover .detail-box p {
  color: #393a3c;
}

.how_section .how_container .box:hover .img-box {
  background-color: #4D4D4D; /*Stesso colore di navbar*/
}

.how_section .how_container .box:hover .img-box svg {
  fill: #ffffff;
}

.how_section .how_container .box:hover .detail-box {
  margin-top: 15px;
}

.how_section .how_container .box:hover .detail-box h5::before {
  display: block;
}