/* GENERALE */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

.footer p {
  color: #212529 !important;
}

.footer p a {
  color: #022350;
}

.footer p a:hover {
  color: #212529;
  text-decoration: none;
}

a.btn.btn-primary,
.btn-secondary {
  width: fit-content;
}

h1 {
  font-size: 50px;
  letter-spacing: -0.7px;
}

h2 {
  margin-bottom: 30px;
  font-size: 40px;
  letter-spacing: -0.7px;
}

h3 {
  letter-spacing: -0.35px;
}

h4 {
  font-size: 26px;
  letter-spacing: -0.35px;
}

h4.section-desc {
  font-weight: 400;
}

h4.subtitle {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.7px;
}

/* HEADER */

.header {
  position: fixed;
  background-color: #2c3b5f;
  width: 100%;
  z-index: 999999999;
}

.header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.logo {
  width: 30%;
}

.menu {
  width: 70%;
  justify-content: flex-end;
}

ul.mainmenu {
  display: flex;
  list-style-type: none;
  justify-content: flex-end;
  margin-bottom: 0px;
  align-items: center;
}

li.menuitem {
  margin-left: 20px;
}

li.menuitem.ctamenu {
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
}

li.menuitem.ctamenu a {
  color: #3f3b3b;
}

.header .container a {
  text-decoration: none;
  color: #fff;
}

.header .container a:hover {
  text-decoration: underline;
  color: #0d6efd;
}

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

.navbar-mytheme {
  --bs-navbar-color: rgba(255, 255, 255, 1);
  --bs-navbar-hover-color: rgba(255, 255, 255, 0.75);
  --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
  --bs-navbar-active-color: #fff;
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: rgba(255, 255, 255, 0.75);
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, 1);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ROW 1 */

.hero {
  background-color: #f9a90a;
  height: 100vh;
  padding-top: 50px;
}

.hero .container {
  display: flex;
  height: 100%;
}

.hero .col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.hero picture {
  margin-left: auto;
  height: 100%;
  width: auto;
  display: flex;
  align-items: center;
}

.hero img {
  height: 80%;
}

.hero h1 {
  margin-bottom: 40px;
}

/* ROW 2/3 IL SERVIZIO*/

.servizio .container {
  display: flex;
  height: 100%;
}

.servizio .col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.servizio img {
  max-width: 100%;
}

.servizio {
  padding: 70px 0px;
}

.servizio img {
  max-width: 80%;
  margin-bottom: 20px;
}

.features-icons .features-icons-item {
  max-width: 100%;
}

.iconsrow i::before {
  color: #fff;
}

.iconsrow h3,
.iconsrow .lead {
  width: 90%;
}

.features-icons {
  padding-top: 0rem;
  padding-bottom: 4rem;
}

.punzonatura {
  display: flex;
}

.col-65 {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-65 h3,
.col-65 p {
  max-width: 80%;
}

.col-35 {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-35 img {
  max-width: 100%;
}

.strumento {
  background-color: #05285b;
  padding: 70px 0;
}

.strumento .container {
  display: flex;
}

.strumento h2,
.strumento p {
  color: #fff;
  max-width: 100%;
}

.strumento h2 {
  font-size: 50px;
}

.strumento picture {
  max-width: 70%;
}

.strumento .col-35 img {
  max-height: 500px;
  height: 500px;
  width: auto;
  object-fit: cover;
  margin-top: -120px;
  border-radius: 50px;
}

.punzonatura img {
  max-width: 75%;
  margin-left: auto;
}

/* ROW 4 VANTAGGI*/

.vantaggimainrow {
  padding: 70px 0px;
}

.vantaggirow .container {
  display: flex;
  flex-direction: row;
}

.vantaggirow {
  padding-top: 20px;
}

.col-50 {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.contattigrid .col-70 {
 width: 70%;
	flex: unset;
}

.contattigrid .col-30 {
	display: flex;
 width: 30%;
flex-direction: column;
}

.custom-counter {
  margin: 0;
  padding: 0;
  list-style-position: outside;
  list-style-type: none;
}

.custom-counter li {
  counter-increment: step-counter;
  margin-bottom: 10px;
  font-size: 26px;
}

.custom-counter li::before {
  content: counter(step-counter);
  font-size: 40px;
  color: #0d6efd;
  font-weight: bold;
  vertical-align: top;
  display: inline-block;
  width: 30px;
}

.vantaggirow picture {
  margin-left: auto;
  max-width: 90%;
  height: auto;
}

.vantaggirow img {
  border-radius: 50px;
  max-width: 100%;
}

.vantaggirow .custom-counter p {
  width: 80%;
  margin-left: 20px;
}

.custom-counter h3 {
  width: 100%;
  letter-spacing: -0.5px;
}

.custom-counter p {
  width: 100%;
  display: inline-block;
  margin-top: 5px;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.cittadinobox {
  display: inline-block;
  width: 95%;
  margin-left: 18px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.lead {
  font-weight: 400;
  letter-spacing: -0.35px;
}

.features-icons .features-icons-item:nth-child(2) {
  margin-bottom: 40px !important;
  margin-top: 20px;
}

/* ENTE PUBBLICO */

.entepubblico {
  padding: 50px 0px;
  background-color: #f9a90a;
}

/* COSA INCLUDE */

.include {
  padding-bottom: 100px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 80px;
}

.includegrid {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.includegrid img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.includegrid h4 {
  text-align: center;
}

.includegrid h5 {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  line-height: 34px;
  width: 90%;
  margin-top: 30px;
  letter-spacing: -0.5px;
  margin-left: auto;
  margin-right: auto;
}

.includegrid .col {
  display: flex;
  flex-direction: column;
  border: 1px solid #eaeaea;
  padding: 30px;
}

/* COMUNI ATTIVI */

.comuni {
  background: #05285b;
  padding: 70px 0px;
  text-align: center;
  color: #fff;
}

.comunigrid {
  display: flex;
  align-items: center;
}

.comunigrid button,
.contatti button {
  padding: 0;
  border: 0;
  border-radius: 50px;
}

img.logocomune {
  max-width: 100px;
}

/* FOOTER */

.contatti {
  padding: 100px 0px;
}

.contattigrid {
  display: flex;
  text-align:center;
}

.pulsanti {
  justify-content: center;
  align-items: center;
}

.contatti .btn-secondary {
  margin-top: 20px;
}

/* FOOTER */

footer {
  background-color: #f9a90a;
}

@media screen and (max-width: 767px) {
	.col-70, .col-30 {
	width:100%;
	}
	
  .iconsrow h3,
  .iconsrow .lead {
    width: 100%;
  }
  .contattigrid {
    flex-direction: column;
  }

  .contatti .col-50 {
    margin-bottom: 30px;
  }

  .contatti {
    text-align: center;
  }
  .cittadinobox {
    width: 80%;
  }

  .features-icons {
    padding-bottom: 0rem;
  }
  .servizio {
    padding-bottom: 0px;
  }

  .vantaggimainrow {
    padding-top: 50px;
  }

  ul.mainmenu {
    align-items: flex-start;
    margin-top: 20px;
  }

  li.menuitem {
    margin-left: 0px;
    margin-bottom: 10px;
  }

  .col {
    width: 100% !important;
  }

  .hero .container,
  .servizio .container,
  .punzonatura,
  .strumento .container,
  .vantaggirow .container,
  .includegrid {
    flex-direction: column;
  }

  .hero {
    height: auto;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero picture {
    margin-top: 30px;
  }

  .hero img {
    height: auto;
    width: 80%;
    margin: 0 auto;
  }

  h1,
  .strumento h2 {
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  h4.subtitle {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  .servizio img {
    max-width: 100%;
  }

  .col-65 h3,
  .col-65 p {
    max-width: 100%;
  }

  .custom-counter p {
    font-size: 20px;
    line-height: 28px;
  }

  .vantaggirow picture {
    max-width: 100%;
    margin-top: 30px;
  }

  .strumento picture {
    max-width: 90%;
    margin: 0 auto;
  }

  .strumento .col-35 img {
    height: 400px;
    max-height: 400px;
    margin-bottom: 40px;
    margin: -120px auto 40px;
  }

  .strumento h2,
  .strumento p {
    margin-left: 0;
  }

  .lead {
    font-size: 20px;
  }

  .punzonatura {
    margin: 60px 0px;
  }

  .punzonatura img {
    margin-top: 30px;
    margin-right: auto;
  }

  .punzonatura h3 {
    margin-bottom: 15px;
  }

  .hero .btn {
    margin-bottom: 40px;
  }

  .hero .col {
    align-items: center;
  }

  .includegrid h5 {
    margin-top: 0px;
    font-size: 20px;
    line-height: 28px;
  }

  .includegrid .col {
    padding: 15px;
  }
}

@media screen and (max-width: 575px) {
  .include,
  .entepubblico {
    padding-left: 12px;
    padding-right: 12px;
  }

  .comunigrid {
    flex-direction: column;
  }

  .comunigrid .col {
    margin-bottom: 30px;
  }
}

.specs {
  margin-top: 100px;
}
