/**************************************************
*****                 PARAGRAPHES            ******
********************* ******************************/


/*******************************************
****              TITRE BOUZERAND       ****
*******************************************/
[id = "bouzerand"]  {
	 		max-width: 700px;
	 text-align: center;
			padding-top: 5px;
					padding-bottom: 5px;
}

/***************************************
  REMPLACEMET DU TITRE < ACTUALITÉS > 
****************************************/
.blog .page-title {
     display: none;
		}

.blog .site-main::before {
		content: "Actualités";
		display: block;
		font-size: 24px;
	  background: #0b3a47;
    color: white;
		margin-top: 0px; 
    text-align: center;
		max-width: 290px;
		margin-bottom: 50px;
		}

/******************************************
** Ajoute une marge G et D de 5%, 15%  ***
******************************************/

@media (min-width: 768px) {
.marge-90 {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  max-width: 1900px;
  }
}

@media (min-width: 768px) {
.marge-70 {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
  max-width: 1900px;
  }
}

/********* Aligner les blocs dans la grille */
 
.aligne-blocs {
		display: flex;
		justify-content: center;
		align-items: center;
}

/********************************************
 **** Forcer l'affichage des legendes    ***
****  sous images de Metaslider          ***
 *******************************************/ 
.metaslider .caption-wrap {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    bottom: 0 !important;
}

.metaslider .caption-wrap .caption {
    display: block !important;
    padding: 12px !important;
    line-height: 1.4;
    color: #fff !important;
}

/* Force l’affichage avec FlexSlider */
.flexslider .slides .caption-wrap {
    display: block !important;
}


/********************************************
***** creer un bloc contenair cliquable *** 
 *******************************************/

.bloc-cliquable {
		position: relative;
}

.bloc-cliquable .lien-overlay {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 10;
}

.bloc-cliquable:hover {
		cursor: pointer;
		transform: translateY(-2px);
}

/** Justifie le texte d'un paragraphe **/

@media (min-width: 768px) {
.justifier-texte {
  text-align: justify;
   }
}		

.bloc-reduit {
		margin-top: 5px !important;
		margin-bottom: 5px !important;
		padding: 0 !important;
}

/* ****** Supprimer soulignement d'un paragraphe *******/
.non-souligne a {
		text-decoration: none;
}

.reduire-pos-vert {
margin-top: 0px;
}

/********************* INTERLIGNE ********************/

@media (min-width: 768px) {
.interligne-vl p {
			 line-height: 15%; 
    }
}

@media (min-width: 768px) {
.interligne-l p {
			 line-height: 25%; 
   }
}
.interligne-m p {
			 line-height: 50%; 
}
.interligne-h p {
			 line-height: 100%; 
}

/* ** Centrer les Widgets de bas de page **
********************************************

.inside-footer-widgets {
    text-align: center;
}

.blog .page-title {
   display: none;
}
/**************************************************
 ***                    ARTICLES              ****
**************************************************/
 
/* Espace entre image de bannière et titre article */

.single .entry-title {
  margin-top: 20px;
}

/* Taille des titres d'articles */

.entry-title {
  font-size: 28px;
  color: #910b28;
}

/* Masquer la zone "Laisser un commentaire" */

#comments {
  display: none;
}

/* Masquer le lien commentaires dans tous les articles *********************************************************/

.comments-link {
  display: none;
}

/* Masquer les noms d'auteur */

.byline {
  display: none;
}
/* Supprimer les catégories dans la liste des articles */

.cat-links {
  display: none;
}

/* Force l'image de bannière à défiler normalement */
.page-hero, .site-header, .gb-container {
    background-attachment: scroll !important;
}

/**** Baisser la hauteur du texte des articles de la liste *****/

.blog .entry-summary {
      margin-top: 40px !important;
      padding: 0 !important;
}


.blog .attachment-thumbnail {
		 height: 7%;  
}

.blog h2 .entry-title { 
text-decoration: none;
}

.blog .entry-title .link { color: red; }


/*******************************************
******             MENU PRINCIPAL     ******
*******************************************/

/* Propriétés du menu principal
Le menu rendu transparent est retiré du flux normal de la page. Il est positionné par-dessus le reste (bannière, image, etc.)  et  “flotte” visuellement */
/*
.main-navigation {
  background: transparent;
  position: absolute;
  width: 80%;
}
*/

/* Colore en blanc le texte du menu */

.main-navigation .main-nav ul li a {
  color: #fff;
}

/* Force la barre de menu à prendre toute la largeur de l ecran */

.main-navigation {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
}

/* Colore en blanc le texte du menu lors du survol   */

.main-navigation .main-nav ul li a {
  color: #fff;
}

/* Colore le menu en bleu / fond noir lors du survol */

.main-navigation .main-nav ul li a:hover {
  color: #1e73be;
  background-color: #000;
}

/* Page active du menu */

.main-navigation .main-nav ul li.current-menu-item > a {
  color: #fff;
  background-color: #000;
}

/* Remplacer "Lire la suite" par un triangle */

.read-more,
.more-link {
  font-size: 0;
}

.read-more::after,
.more-link::after {
  content: "►";
  font-size: 20px;
}

/*************************************************
******         PAGE ACCUEIL                 ******
**************************************************/
/* Masquer le titre  */

.home .entry-title {
    display: none;
}

/*************************************************
******         PAGE ACCUEIL PROVISOIRE      ******
**************************************************/
/*.blog .inside-article {
    padding-bottom: 10px;
}
*/
/*************************************************
******         TITRE PAGE ACTUALITES         ******
**************************************************/
/* --- Configuration du Titre de la page Actualités --- */

.blog .page-header {
    /* Équivalent d'un offset vertical */
    margin-top: 0px;    /* 70px */
    margin-bottom: 25px; 
    padding-left: 10px;  /* Petit décalage si nécessaire pour aligner avec l'image */
}

.blog .page-title {
    /* On définit la taille de la police */
    font-size: 26px;     
    
    /* Poids de la police : 400 (normal), 700 (bold) */
    font-weight: 600;    
    
    /* Couleur en Hexadécimal ou RGBA */
    color: #2c3e50;      
    
    /* Transformation du texte : uppercase, capitalize ou none */
    text-transform: none; 
    
    /* Espacement des lettres (micro-ajustement) */
    letter-spacing: -0.5px;
}

/* Page Actualités : réduire espacements */

.blog .post {
    margin-bottom: 5px;
} 

.blog .post {
		margin-top: -20px;
}
                              
.blog .inside-article {
    padding-top: 0;
}


/******** DIAPORAMA METASLIDER **************/

.metaslider .caption {
  position: absolute;
  bottom: 20px;   /* distance du bas */
  left: 20px;    /* distance du bord gauche */
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 10px 15px;
  max-width: 70%;
}

.metaslider .caption {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease 1.0s;
}

/* slide active */

.metaslider .slides li.flex-active-slide .caption {
  opacity: 1;
  transform: translateX(0);
}