/*
Bienvenue dans l'éditeur de CSS !

Pour en savoir plus sur le fonctionnement de l'éditeur, vous pouvez vous
rendre sur cette page :
http://wp.me/PEmnE-Bt
*/
/* change underline style on the post titles | 3059986-zen */
.page-content a, .entry-content a, .comment-content a {
	text-decoration: none;
}

/*background position*/
body.custom-background {
	background-color: #c2b301;
	background-size: 1300px 800px;
	background-position: left 10px;
	background-position: center -37px;
	background-repeat: no-repeat;
}

/* Remove meta data (published by, publish date */
.entry-meta .byline, .entry-meta .cat-links {
	display: none;
}

.entry-meta .posted-on {
	display: none;
}

add_action( template_redirect, remove_aioseo_wp_title, 1 );
function remove_aioseo_wp_title() {
}	
}

.site-info {
	display: none;
}

.kad-youtube-shortcode.videofit {
	margin-right: auto;
	margin-left: auto;
}

/* Hide featured image front page | zd-5428751 (af) */
.entry-media {
	display: none;
}

li.actnbr-btn.actnbr-hidden,
li.actnbr-ellipsis.actnbr-hidden,
#actionbar {
	display: none !important;
}

/* Cache les éléments du diaporama (flèches, pause, points) */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev {
	display: none !important;
}

.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause {
	display: none !important;
}

.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets {
	display: none;
}

/*BACKGROUND*/
body.custom-background::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('https://leopoldcordier.com/wp-content/uploads/2020/06/site-background3-1.png');
	background-position: center top;
	background-size: auto;
	background-repeat: repeat;
	background-attachment: fixed;
	z-index: -1;
	opacity: 1;
/* start fully visible */
	animation: fadeBG 5s forwards;
/* fade over 2 seconds */
}

@keyframes fadeBG {
	from {
		opacity: 1;
	}
	
	/* explicitly start visible */
	to {
		opacity: .2;
	}/* fade to desired level */
	
}

/* Masquer tous les titres de page */
.page .entry-title {
	display: none;
}

/* Afficher le titre uniquement pour des pages spécifiques */
.page-id-625 .entry-title,
.page-id-9 .entry-title,
.page-id-8 .entry-title,
.page-id-79 .entry-title,
.page-id-671 .entry-title,
.page-id-1374 .entry-title,
.page-id-995 .entry-title,
.page-id-3502 .entry-title,
.page-id-951 .entry-title,
.page-id-78 .entry-title {
	display: block !important;
}


/*Animations pour les boutons d'accueil - Ajouter fade-on-scroll sur les CSS Class de chaque block */

.fade-on-scroll {
  opacity: 0;
  transition: opacity 2s ease;
}

.fade-on-scroll.is-visible {
  opacity: 1;
}


/* VERSION ANIM BOTTOM->TOP*/
.fade-on-scroll-home {
  opacity: 0;
  transform: translateY(40px); 
  transition: opacity 1.5s ease, transform 2.5s ease;
}

.fade-on-scroll-home.is-visible {
  opacity: 1;
  transform: translateY(0);
}
