#mc_embed_shell{
	margin-top:40px !important;
}
.i_scrolltop{
	bottom: 100px !important;
}
.i_intro_slider_ct .swiper-slide{
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
	bottom: 100px !important;
}
.swiper-pagination-bullet{
	width: 15px !important;
	height: 15px !important;
	background: transparent !important;
	opacity: 1 !important;
	border: 1px solid #fff !important;
}
.swiper-pagination-bullet-active{
	background: #fff !important;
}

.i_home_activities_i figure::before{
	padding-top: 34% !important;
}
.i_home_info_in {
	padding: 36px 30px !important;
}
.i_home_activities_i .i_svg {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    margin-left: 10px;
}
.i_home_activities {
	margin: 20px 0 !important;
}
.i_home_activities_i figure>div .i_svg{
	width:70px !important;
	height:70px !important;
}
.blocks_home_page{
	padding-bottom:20px;
}

.i_home_news_events{
	background:#fff !important;
	margin: 20px 0 !important;
}
.i_home_news_events_title{
	margin-bottom:30px;
} 

.i_home_news_events .i_svg {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    margin-left: 10px;
}
.i_home_news_events_i .date::before {
	display:none !important;
}
.i_home_news_events_i .date:after {
    content: '';
    width: 30px;
    height: 2px;
    background: #7e9d8b;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.i_home_offers{
  background: #e0e7e3 !important;
	margin:0 !important;
	padding:20px 0 !important;
}
.i_home_offers_i>div {
  background: #fff;
	position: relative;
}
.news_list .i_home_offers_i>div{
	background: #e0e7e3;
	padding: 20px;
}
.i_home_offers_i .date {
    font-size: 13px;
    color: #808080;
		padding-bottom:5px;
}
.i_home_offers_i .i_svg {
    width: 17px;
    height: 17px;
		position: absolute;
		bottom:10px;
		right:10px;
		fill:#808080;
}

.i_footer ul li{
	color:#fff !important;
	fill:#fff !important;
}
.i_footer ul li a{
	color:#fff !important;
}
.i_footer .i_footer_menu ul li{
	margin-bottom:0 !important;
}

.post-date {
  color: #003d1a;          /* verde scuro */
  margin-bottom: 0.5rem;   /* spazio sotto */
  font-weight: bold;        /* peso medio */
  letter-spacing: 0.02em;  /* leggero spazio tra lettere */
	padding: 20px 0;
}


/* Contenitore della paginazione */
.post-navigation {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px; /* opzionale per spazio tra bottoni */
  flex-wrap: nowrap; /* evita che vadano a capo */
}

.post-navigation .btn {
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 5px;
  white-space: nowrap;
}

.post-navigation .nav-previous .btn {
  text-align: left;
}

.post-navigation .nav-next .btn {
  text-align: right;
}

.post-navigation .nav-all-news .btn {
  text-align: center;
  min-width: 140px;
}


.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 30px 0;
  list-style: none;
  padding-left: 0;
}

/* Ogni link/pulsante */
.pagination a,
.pagination span {
  background-color: #003d1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  min-width: 36px;
  text-align: center;
  transition: background-color 0.3s ease;
}

/* Stato attivo (pagina corrente) */
.pagination .current {
  background-color: #005522;
  cursor: default;
}

/* Hover sui link */
.pagination a:hover {
  background-color: #004426;
  color: #fff;
}

.i_who_btns .i_svg {
	width: 17px;
	height: 17px;
	margin-top: 3px;
	margin-left: 10px;
	fill:#003d1a !important;
}
.btn-normal{
	color: #003d1a !important;
	
}
.i_partners{
	margin:0 !important;
}
.container_partner{
	display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 20px;
  justify-content: center;
	width:100%;
	margin-top:50px;
}
.box {
  height: 200px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
	padding:20px;
}
.box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* 🔁 Responsive: 1 colonna su schermi piccoli */
@media (max-width: 900px) {
  .container_partner {
    grid-template-columns: 1fr;
  }
}

.block_repeater {
	padding: 0;
	border-radius: 12px; /* Aggiunge angoli arrotondati */
	overflow: hidden;    /* Utile per tagliare l'immagine se ha border-radius */
	border: 2px solid #003d1a; /* Opzionale: sfondo chiaro */
	margin-bottom:10px;
}

.block_repeater .block-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	padding:20px;
}

@media (min-width: 768px) {
	.block_repeater .block-inner {
			flex-wrap: nowrap;
	}

	/* Dimensioni e layout */
	.block_repeater .image {
			flex: 0 0 25%;
	}

	.block_repeater .text {
			flex: 0 0 75%;
			padding: 20px;
	}

	/* Immagine a sinistra per blocchi pari */
	.block_repeater.even .image {
			order: 0;
	}

	.block_repeater.even .text {
			order: 1;
	}

	/* Immagine a destra per blocchi dispari */
	.block_repeater.odd .image {
			order: 1;
	}

	.block_repeater.odd .text {
			order: 0;
	}
}

/* Immagine adattabile */
.block_repeater .image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.header-image {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	margin-top: 90px;
}

.header-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.header-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 3rem;
	font-weight: bold;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
	z-index: 2;
	text-align: center;
	width: 100%;
	padding: 0 1rem;
}
.content_after_header{
	padding:10px 0;
}




/* ---------------------- */
/* Sezione 1: immagini link */
.circle-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.circle-item {
  display: block;
  width: 23%;
  text-align: center;
  text-decoration: none;
  color: #333;
}

.circle-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.circle-item p {
  margin-top: 0.5rem;
	font-weight:bold;
}
.circle-item:hover{
	text-decoration: none;
	color: #007030;
}
.circle-item:hover img {
  transform: scale(1.10);
}
/* Stato active */
.circle-item.active {
  color: #007030;
}

.circle-item.active img {
  box-shadow: 0 0 0 4px #007030;
  transform: scale(1.20);
}


/* 2 per riga sotto 900px */
@media (max-width: 900px) {
  .circle-item {
    width: 45%;
  }
}

/* ---------------------- */
/* Sezione 2: card link */
.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
	margin-bottom:50px;
}

.card-item {
  display: block;
  flex: 1 1 calc(33.333% - 1rem);
  text-decoration: none;
  color: inherit;
}

.card-content {
  border: 2px solid #007030;
  border-radius: 8px;
  background: #fff;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-content h3 {
  margin-bottom: 0.5rem;
}

.card-content p {
  margin-bottom: 1rem;
}

.card-content button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background-color: #007030;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.card-content button:hover {
  background-color: dark#007030;
}
.card-item:hover{
	text-decoration: none;
}
.card-item:hover .card-content {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive per card */
@media (max-width: 900px) {
  .card-item {
    flex: 1 1 100%;
  }
}

.card-wrapper {
  background-color: #e0e7e3;
  padding: 2rem;
  border-radius: 12px;
	margin-bottom:50px;
}

/* Già presente */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 2px solid #007030;
  border-radius: 8px;
  background-color: white; /* ora bianca per contrastare con wrapper */
  text-decoration: none;
  color: #000;
  padding: 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
	text-align: center;
}
.card h5{
	margin-bottom:5px;
}
.card:hover {
  background-color: #cfe7d9;
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 112, 48, 0.3);
	text-decoration: none;
}


.formazione_personalizzata .container {
  display: flex;
  flex-wrap: wrap;
}

.formazione_personalizzata .text-block {
	width: 70%;
	padding: 20px;
	display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: stretch; /* forza stessa altezza */
}

.formazione_personalizzata .button {
	flex: 1 1 calc(33.333% - 10px);
  display: flex;
  align-items: center;       /* allinea verticalmente il testo */
  justify-content: center;   /* centra orizzontalmente */
  text-align: center;
  padding: 20px;
  border: 2px solid #007030;
  background-color: transparent;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: default;
	min-height: 120px;
}

.formazione_personalizzata .image-block {
	width: 30%;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.formazione_personalizzata .image-block img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.formazione_personalizzata .text-block,
	.formazione_personalizzata .image-block {
		width: 100%;
	}

	.formazione_personalizzata .button {
		flex: 1 1 100%;
	}
}


.form-block-bg {
  background-color: #e0e7e3;
  width: 100%;
  padding: 60px 0;
}

.form-block .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.form-block form {
  width: 100%;
}

.form-block .form-row,
.form-block .form-group {
  width: 100%;
  margin-bottom: 0;
}
.form-block h5{
	color:#003d1a;
	margin-bottom:20px;
	text-align:center;
}
.form-block .form-control,
.form-block textarea.form-control,
.form-block .form-check-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-block textarea.form-control {
  resize: vertical;
}

.form-block .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.form-block .btn-primary:hover {
  background-color: #005020;
}

.form-block .form-control {
  width: 100%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #fff;
  line-height: 1.2; /* meno spazio verticale */
}

.form-block .form-control::placeholder {
  font-size: 12px;
  color: #007030;
  opacity: 1; /* assicurati che il colore sia visibile */
  padding-left: 0; /* placeholder allineato a sinistra */
  line-height: 1.2; /* prova a “stringere” un po' */
}

/* Riduci spazio verticale tra campi */
.form-block .form-group {
  margin-bottom: 8px;
}




/* Sfondo blocchi dispari */
.certificazione.bg-odd {
	background-color: transparent;
}

/* Sfondo blocchi pari */
.certificazione.bg-even {
	background-color: #e0e7e3;
}

/* Per testo e immagini */
.certificazione .text-content {
  font-size: 1rem;
  color: #222;
}

/* Testo finale */
.certificazione-final .border-verde {
  border-color: #003d1a !important; /* forza colore bordo */
  color: #000; /* testo nero */
  padding: 20px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  background: #fff;
}
.certificazione-final .border-verde p{
	margin:0;
	font-weight:normal;
}
/* Spaziatura */
.certificazione {
  padding-top: 3rem;
  padding-bottom: 3rem;
}


/* ############### single corso ############### */

.single-corso {
  margin-top: 150px;
}

.single-corso .image-top {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Blocco con bordo */
.single-corso .border-block {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 25px;
  background: white;
}

/* Blocco obiettivi fuori container */
.single-corso .obiettivi-wrapper {
  background: var(--background-obiettivi);
  margin-left: -15px;
  margin-right: -15px;
  padding: 30px 15px;
}

.single-corso .obiettivi-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.single-corso .obiettivi-image {
  flex: 0 0 20%;
  max-width: 20%;
  object-fit: contain;
}

.single-corso .obiettivi-text {
  flex: 1;
}

.single-corso .obiettivi-text h2 {
  margin-top: 0;
  color: var(--border-color);
}

.single-corso .obiettivi-text ul {
  padding-left: 20px;
  margin-top: 10px;
}

.single-corso .obiettivi-text ul li {
  margin-bottom: 8px;
}

/* Specifiche */
.single-corso .specifiche {
  margin-bottom: 25px;
}

.single-corso .specifiche h2 {
  color: var(--border-color);
  margin-bottom: 10px;
}

/* Dati finali con bordo e calendario */
.single-corso .dati-finali {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 10px;
  background: white;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.single-corso .dati-finali img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.single-corso .dati-text {
  font-size: 1rem;
  color: #222;
}

/* Nota piccola */
.single-corso .nota-piccola {
  font-size: 0.8rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

/* Responsive */
@media (max-width: 700px) {
  .single-corso .obiettivi-container {
    flex-direction: column;
  }
  .single-corso .obiettivi-image {
    max-width: 100%;
    flex: none;
    margin-bottom: 15px;
  }
  .single-corso .dati-finali {
    justify-content: center;
    text-align: center;
  }
}
