/* Couleurs 
 * bleu clair #00AAE1  var(--wp--preset--color--custom-bleu-clair-g-2024);
 * bleu foncé #05519F  var(--wp--preset--color--custom-bleu-fonce-g-2024);
 * --wp--preset--color--custom-gris-fond-mascotte
 * --wp--preset--color--custom-jaune-paris
 * --wp--preset--color--custom-jaune-label
 * -wp--preset--color--custom-bleu-gris-label
 * */

/* Dégradés de couleur pour bleu clair -> blanc
 * http://html-color.org/fr/gradients.php?c1=00aae1&c2=ffffff
 * */

/* Effet de soulignement progressif sous les liens */
a:where(:not(.wp-element-button)), .lwa-links-modal, .lwa-info a, #carte-grande a, .agenda a{
	text-decoration: none;
	background-repeat: no-repeat;
	background-image: linear-gradient(transparent calc(100% - 1px),currentColor 1px);
	transition: .36s var(--ona-transition) !important;
	background-size: 0 95%;
}

a:where(:not(.wp-element-button)):hover, .lwa-links-modal:hover, .lwa-info a:hover, #carte-grande a:hover, .agenda a:hover {
		background-size: 100% 95%; 
}

.agenda a {
	border-bottom: none !important;		
}

/* sauf en-tête */
.site-header a:hover {
	background-size: 0;
}

/* Bloc accueil carte */

.liens-carte a {
		color: white !important;
		text-decoration: none !important;
}


/* Retrait de l'arrondi sur 2e image page accueil */
.is-style-ona-post-arc-style .post:nth-child(2n) .wp-block-post-featured-image, .is-style-ona-post-arc-style .wp-block-post.block-editor-block-preview__live-content:nth-child(2n+1) .wp-block-post-featured-image {
	border-radius: 0;
}

/* Liens de connexion avant et après */
.lwa-links-modal, .lwa-info a {
	color: var(--wp--preset--color--text-regular) !important;
	font-size: 16px;
	text-decoration: none !important;
}

.lwa-links-modal:hover, .lwa-info a:hover {
	color: var(--wp--preset--color--custom-bleu-clair-g-2024) !important;
}

#modal-1 {
	max-height: 250px;
		background-color: #e9e9e8;
		color: black;
}

/* Agenda en page d'accueil */
.tribe-events-widget-events-list h2.tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt {
	font-family: var(--wp--preset--font-family--headings);
	font-size: var(--wp--custom--typography--font-size--heading-3);
	color: var(--wp--preset--color--custom-bleu-clair-g-2024);
}

/* Fond patchwork images de sport */
.patchwork {
		background-image: url("https://generation2024-rhone.edu.ac-lyon.fr/wordpress/wp-content/uploads/2022/11/Fond-Generation2024-2-1.jpg");
		background-size: cover;
		width: content;
}

.edito {
	padding: 10px;	
}



/* Bouton Témoignages */
.temoignages .wp-block-button__link {
		padding: calc(0.667em + 2px) calc(1.333em + 2px);
		border: 3px solid var(--wp--preset--color--custom-bleu-fonce-g-2024);
}

.temoignages .wp-block-button__link:hover {
		background-color: white !important;
		color : var(--wp--preset--color--custom-bleu-fonce-g-2024) !important;
		border: 3px solid var(--wp--preset--color--custom-bleu-fonce-g-2024);
}


/* Bouton accès écoles labellisées */
.acces-labellisees .wp-block-button__link {
		border: 5px solid var(--wp--preset--color--custom-bleu-clair-g-2024);
}
.acces-labellisees .wp-block-button__link:hover {
		background-color: white !important;
		color : var(--wp--preset--color--custom-bleu-clair-g-2024) !important;
		border: 5px solid var(--wp--preset--color--custom-bleu-clair-g-2024);
}

/* Bouton Tous les témoignages */

.tous-temoignages .wp-block-button__link {
		border: 3px solid var(--wp--preset--color--custom-bleu-fonce-g-2024);
}

.tous-temoignages .wp-block-button__link:hover {
		color : white !important;
		background-color: var(--wp--preset--color--custom-bleu-fonce-g-2024) !important;
		border: 3px solid white ;
}