h2 {
	letter-spacing: 0.5px;
}

.vert {
	font-weight: bold;
	color: #26aa92;
}
.vert a {
	font-weight: bold;
	color: #26aa92;
	text-decoration: none;
}
.vert a:hover {
	text-decoration: underline;
}
.decalage {
	margin-left: 40px;
}
#visuel-promo {
	z-index: 333;
	margin-top: -57px;
	float: right;
}
.image-container {
  position: relative;
  display: inline-block;
}

.image-caption {
  position: absolute;
  bottom: 72px;
  letter-spacing: 1px;
  left: 0;
  right: 0;
  font-weight: bolder;
  font-weight: 900;
  text-shadow: 0.6px 0 0 currentColor;  
  font-size: 23px;
  color: white;
  text-align: center;
  cursor:pointer;
}
.image-caption a,
.image-caption a:hover {
  text-decoration: none;
  color: white;
}

#catalogue {
	font-family: 'Baloo2',Helvetica, Arial, sans serif;
	width: 80%;
	margin-left: 12%;
	clear: both;
	float: left;
}

.marge {
	margin-bottom: 25px;
}	

/* Style cabinet Zwartjes */
.cabinet-zwartjes {
  border-left:1px solid #26aa92;
  border-right: 1px solid #26aa92;
  border-top: 1px solid #26aa92;
  border-bottom: 1px solid #26aa92;
  border-radius: 10px;
  padding: 1px 20px 2px 10px;
  margin-left: 10px;
  background: #fff;
}

.cz-logo {
  float: left; 
  margin-top: -26px; 
  margin-left: -40px; 
  z-index:150;
}

.cz-logo img {
  height: 120px;
  width: auto;
  display: block;
  margin-left: -12px;
}

/* Styles des filtres */
.filters {
	text-align: center;
	margin-bottom: 20px;
}

.filters button {
	font-size: 13px;
	padding: 10px 20px;
	margin: 10px;
	background-color: #DA0710;
	color: #FFF;
	cursor: pointer;
	border: none;
	border-radius: 10px;
	transition: background-color 0.3s;
}

.filters button.active {
	background-color: #26aa92;
}

.filters button:hover {
	background-color: #26aa92;
}

/* Styles des formations */
.formations-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
}

.formation {
	width: 250px;
	margin: 10px;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	position: relative;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.formation.visible {
	opacity: 1;
	transform: translateY(0);
}

.formation img {
	width: 100%;
	height: auto;
	min-height: 145px;
	max-height: 145px;
	border-radius: 5px;
	object-fit: cover;
}

.formation p {
	font-weight: bold;
	margin: 10px 0;
}

.formation a,
.formation a.btn2 {
	display: block;
	background-color: #26aa92;
	color: white;
	padding: 10px;
	border-radius: 5px;
	text-decoration: none;
	margin-top: 10px;
	font-weight: bold;
	font-size: 13px;
}

.formation a.btn2 {
	margin-top: 0px;
	margin-bottom: 5px;
}

.formation a:hover,
.formation a.btn2:hover {
	background-color: #26aa92;
	border: 3px solid #FFF;
	padding: 7px;
	font-weight: bold;
	font-size: 13px;
}

/* Pour les liens texte */
.formation a.lien-text {
	display: inline;
	background-color: transparent;
	color: white;
	font-weight: bold;
	padding: 0px;
	text-decoration: underline;
}
.formation a:hover.lien-text {
	border: none;
	text-decoration: underline;
}

/* Styles pour le calque de survol */
.formation .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(22, 22, 22, 0.8);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
    transform: scale(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
} 

.formation:hover .overlay {
    opacity: 1;
    transform: scale(1);
}

.formation .overlay p {
	font-size: 15px;
	text-align: center;
	padding: 0 15px;
}

.nom-formation {
	color: #333;
	font-size: 14px;
}
.nom-formation a,
.nom-formation a:hover {
	text-decoration: none;
	color: #333;
	background: none;
	display: block;
	font-size: 14px;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	border: none;
}

/* Style pour le conteneur de chaque section */
.category-section {
	margin-bottom: 40px;
	text-align: center;
	display: none;
}

.category-section.visible {
	display: block;
}
h3,
.category-title {
	font-family: 'Aquatico',Helvetica, Arial, sans serif;
	letter-spacing: 0.5px;
	color: #DA0710;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.category-description {
	margin-bottom: 10px;
	font-size: 15px;
	display: none;
}

/* Afficher la description quand la class visible */
.category-description.visible {
	display: block;
}
#formateurs-exceptions #produits {
  float: left;
  clear: both;
  margin-top: 20px;
  width: 74%;
  margin-left: 13%;
  margin-right: 13%;
  margin-bottom: 75px;
}
#formateurs-exceptions #produits h2 {
  font-family: 'Aquatico', Helvetica, Arial, sans-serif;
  position: relative;
  text-align: center;
  color: #DA0710;
  padding: 0;
  font-size: 21px;
}

#formateurs-exceptions #produits p {
  font-family:'Baloo2', Helvetica, Arial, sans serif;
  color: #000;
  font-size: 15px;
  line-height: 22px;
}

#produits .fichier-list {
	list-style: none;
	padding: 0;
}

.fichier-list li {
	width: 100%;
	height: 50px;
	margin-bottom: 10px;
	padding: 15px;
	border: 1px solid #eee;
	border-radius: 5px;
	background-color: #f9f9f9;
	transform: translateY(20px);
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.fichier-list li a {
	text-decoration: none;
	color: #333;
}
.fichier-list li a:hover {
	color: #DA0710;
	font-weight: bold;
}
	
	
/* Responsive */
@media (max-width: 1515px) {
	.cabinet-zwartjes {
	  border-left:1px solid #26aa92;
	}
	.cz-logo img {
	  height: 155px;
	  margin-left: -35px;
	  margin-top: -6px;
	}
}
@media (max-width: 1441px) {
  #visuel-promo { 
	width: 25%;
  }
}
@media (max-width: 1282px) {
  .decalage {
	margin-right: 41px;
  }
  #visuel-promo { 
	margin-right: 8%;
	margin-top: 7px;
  }
  .intro {
	width:60%;
  }
  .cabinet-zwartjes {
	  margin-bottom: 25px;
  }
  .cabinet-zwartjes .decalage {
	margin-right: 0px;
  }
  .cz-logo img {
	height: 155px;
	margin-left: -25px;
  }
}

@media (max-width: 1220px) {
  .cabinet-zwartjes .decalage {
	margin-right: 0px;
  }

  .cz-logo img {
	  margin-top: 7px;
  }
}

@media (max-width: 1051px) {
	.cz-logo img {
	  margin-top: 24px;
  }
}
@media (max-width: 969px) {
	#body-formation {
		font-family: 'Baloo2',Helvetica, Arial, sans serif;
	}
	.decalage {
		margin-left: 50px;
		margin-right: 50px;
	}
	.cz-logo img {
	  margin-top: -6px;
    }	
	.intro { 
		width:100%;
    }
	#catalogue {
		margin-left: 10%;
	} 
	#formateurs-exceptions #produits {
		width: 80%;
		margin-left: 10%;
		margin-right: 10%;
		margin-top: -2%;
	}    
	#formateurs-exceptions #produits h2 {
		font-size: 18px;
	}
	#formateurs-exceptions #produits p {
		font-size: 14px;
	}
	.fichier-list li {
		padding: 10px;
	}
	.image-caption {
	  font-size: 24px;
	  margin-bottom: 0px;
	  font-weight: bold;
	}
	#visuel-promo { 
	width: 100%;
	margin-top: 0px;
	margin-right: 0;
	text-align: center;
  }
}

@media (max-width: 768px) { 
	#body-formation {
		font-family: 'Baloo2',Helvetica, Arial, sans serif;
	}
	.image-caption {
	  font-size: 16px;
	  margin-bottom: -24px;
	}
}

@media (max-width: 740px) {
	.cz-logo img {
	  margin-top: 20px;
    }	
}

@media (max-width: 555px) {
  .intro {
	width:100%;
	clear: both;
  }	
  .decalage {
	margin-left: 0px;
	margin-right: 0px;
  }
  #visuel-promo img { 
	float: left;
	width: 100%;
	height: auto;
	margin-top: 0;
	margin: auto;
	clear: both;
	height: 100%;
  }
}

@media (max-width: 540px) {
	.cz-logo img {
	  margin-top: 37px;
    }	
}

@media (max-width: 480px) {
	.vert {
		width: 100%;
		margin-bottom: 10px;
    }
	#présentation {
		width:100%;
		clear: both;
	}	
	#formateurs-exceptions #produits {
		width: 80%;
	}    
	#formateurs-exceptions #produits h2 {
		font-size: 16px;
	}
    .cz-logo img {
	    margin-top: 47px;
    }		
	h3,
	.category-title { 
		font-size: 14px;
		line-height:22px;
	}

	#formateurs-exceptions #produits p {
		text-align: justify;
	}
	.fichier-list li {
	  height: 65px; 
	  display: flex;
	  align-items: center; 
	}
	.fichier-list li a {
	  display: flex; 
	  align-items: center; 
	  height: 100%; 
	  width: 100%; 
	}
}

@media (max-width: 446px) {
  .cz-logo img {
	margin-top: 15px;
  }		
}	
@media (max-width: 434px) {
  .grid2 figure h1 {
    padding-top: 45px;
  }	  
  #formateurs-exceptions #pre-footer {
	  margin-top: -25px;
  }
  .formation img {
	object-fit: cover;
  }
  #formateurs-exceptions #presentation p {
	  text-align: left;
  }
}

@media (max-width: 393px) {
  .grid2 figure h1 {
    padding-top: 35px;
  }	
}
@media (max-width: 363px) {
  #visuel-promo { 
	width: 250px;
  }
  #visuel-promo img { 
	width: 242px;
	margin: 0;
	margin-left: -35px;
  }
  .image-caption {
	font-size: 18px;
	margin-bottom: -24px;
	margin-left: -30px;
  }
  #formateurs-exceptions #produits {
	width: 80%;
  }  
  #produits .fichier-list { 
	width: 100%;
  }
  .fichier-list li {
	height: 75px;
	margin-left: 2px;
  }
}
@media (max-width: 323px) {
  .vert {
	white-space: nowrap;
	float: left;
	margin-bottom: 10px;
  }
  #visuel-promo img { 
	margin-left: -18px;
  }
  .image-caption {
	margin-left: -20px;
  }
  .fichier-list li {
	margin-left: 4px;
  }
  #produits .fichier-list {
	width: 252px;
	padding: 5px 0;
  }
}

@media (max-width: 303px) {
  .vert {
	white-space: normal;
  }
  #visuel-promo img { 
	margin-left: -10px;
  }
  #produits .fichier-list {
	  width: 235px;
  }
}

.accessible-mode .nom-formation a {
	display: block;
	background-color: #26aa92;
	color: white;
	padding: 10px;
	border-radius: 5px;
	text-decoration: none;
	margin-top: 10px;
	font-weight: bold;
	font-size: 16px;
}

.accessible-mode .nom-formation a:hover {
	background-color: #26aa92;
	border: 3px solid #FFF;
	padding: 7px;
	font-weight: bold;
	font-size: 16px;
}

.accessible-mode .formation a,
.accessible-mode .formation a:hover,
.accessible-mode #formateurs-exceptions #produits p,
.accessible-mode .filters button {
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
}


