/* Hero Banner */
.autoscuola {
  height: 20vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url("../../images/ser_autoscuola.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pratiche {
  height: 20vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url("../../images/ser_pratiche.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-banner .hero-heading {
  color: var(--white);
}

.services_info-card-list .single-service-card:not(:last-child) {
  border-bottom: 1px solid var(--lineColor);
  margin-bottom: 50px
}

.services .services_info-card-list .single-service-card {
  position: relative;
  padding: 50px 40px;
}

.services .services_info-card-list .single-service-card:last-child {
  position: relative;
  padding-bottom: 0px;
}

.services .services_info-card-list .single-service-card h2 {
  position: relative;
}

.services .services_info-card-list .single-service-card h2::before {
  content: '';
  display: block;
  color: var(--serviceNumberColor);
  font-size: 100px;
  font-weight: 700;
  position: absolute;
  left: 0;
  bottom: -8px;
  z-index: -1000
}

.services .services_info-card-list #simulazione .service-button, .services .services_info-card-list #calcolo-bollo .service-button {
  display: flex !important
}

.services .services_info-card-list .single-service-card .btn-more {
  width: 30%;
  padding: 10px 25px !important;
  text-align: center;
}

.services .services_info-card-list .single-service-card .btn-more:first-child {
  margin-right: 10px
}

.services .services_info-card-list .single-service-card:nth-child(1) h2::before {
  content: '01';
}

.services .services_info-card-list .single-service-card:nth-child(2) h2::before {
  content: '02';
}

.services .services_info-card-list .single-service-card:nth-child(3) h2::before {
  content: '03';
}

.services .services_info-card-list .single-service-card:nth-child(4) h2::before {
  content: '04';
}

.services .services_info-card-list .single-service-card:nth-child(5) h2::before {
  content: '05';
}

.services .services_info-card-list .single-service-card:nth-child(6) h2::before {
  content: '06';
}

@media only screen and (max-width: 767px) {
  .services .services_info-card-list .single-service-card .btn-more {
    width: 48%;
    padding: 10px 25px !important;
    text-align: center;
  }
}

@media only screen and (max-width: 575px) {
  .services .services_info-card-list .single-service-card {
    padding: 50px 0px;
  }

  .services .services_info-card-list .single-service-card .service-button {
    flex-direction: column;
  }

  .services .services_info-card-list .single-service-card .btn-more {
    width: 100%;
  }

  .services .services_info-card-list .single-service-card .btn-more:first-child {
    margin-bottom: 10px
  }
}