/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* ****************** */
/*    Fichier SVG     */
/* ****************** */

img[src$=".svg"] { width: 100% !important; }


/* ******************* */
/*    FONTS GLOBAL     */
/* ******************* */

/* Lato · self-hosted with raw.org Google Fonts Downloader
 * Keep the included LICENSE with these font files. */

/* latin · normal · 300 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/lato-latin-300-normal.woff2') format('woff2');
}

/* latin · normal · 400 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/lato-latin-400-normal.woff2') format('woff2');
}

/* latin · normal · 700 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/lato-latin-700-normal.woff2') format('woff2');
}

/* latin · normal · 900 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/lato-latin-900-normal.woff2') format('woff2');
}

@media screen and (max-width:467px) {
	h1 { font-size : 32px;}
	h2 { font-size : 26px;}
	h3 { font-size : 22px;}
	h4 { font-size : 18px;}
}

/* ************** */
/*    GENERAL     */
/* ************** */

/* GOOGLE CHROME, OPERA ET EDGE : MASQUE LA BORDURE POURRIE !!! AUTOUR DES LIENS */
a:focus, a img:focus {
    outline: 0 !important;
}

/* couleur des liens */
a { color: #151515; }
a:hover { color: #FFA500; }

h4 a { transition: 0.35s ease !important; }
h4 a:hover { color: #FFA500 !important; }

/* *********** */
/*    HOME     */
/* *********** */

/*  HEADER CATEGORIES SLIDER*/

/* LIENS titre */
#lien-slider a {
transition:
	color 0.35s ease,
    letter-spacing 0.35s ease;
}
#lien-slider a:hover { color: #FFA500; }


/* ***************** */
/*    HERO PAGE     */
/* ***************** */

/* animation titre fluide */
#hero-title { transition: 0.35s ease; }


/* ACCEUIL */
#trait-titre-page.e-5739c53-7855890::before { left: -80px; background: silver; }
#trait-titre-page.e-5739c53-7855890::after { right: -80px; background: silver; }


/* ********************* */
/*    BARRE LATÉRALE     */
/* ********************* */
#widget-recherche form.search-form label { 
	display: block !important;
	width: 300px;
	margin: 10px auto; 
}
#widget-recherche form.search-form input[type=submit]	{
    display: block !important;
	width: 300px;
	margin: 10px auto; 
	border: 1px solid #000;
	color: #000;
}
#widget-recherche form.search-form input[type=submit]:hover { 
	border: 1px solid #FFA500;
	background-color: #FFA500;
}
#widget-recherche form.search-form input[type=search]{
    background: #f6f6f6;
    border: 1px solid #eaeaea;
    color: #9f9f9f;
}


@media screen and (max-width:479px) {
	#widget-recherche form.search-form label,
    #widget-recherche form.search-form input[type=search],
    #widget-recherche form.search-form input[type=submit] { width: 100%;}
}


/* Liseré décoratif diagonal autour du bloc */
#lisere-diagonal {
    box-sizing: border-box;
    width: 100%;
    border: 6px solid transparent;
    border-image-source: url("/wp-content/uploads/border-bloc.png");
    border-image-slice: 5;
    border-image-repeat: round;
    padding: 20px 18px;
}


/* ********************************* */
/*    TRAIT DECORATIF GENERAL TITRE   */
/* ********************************* */

#trait-titre-hero,
#trait-titre-page,
#trait-titre-bloc-lateral {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

#trait-titre-hero::before,
#trait-titre-hero::after { 
	content: "";
    display: block;
    flex: 0 0 40px;
    height: 2px;
    background: #FFA500;
}

#trait-titre-page::before,
#trait-titre-page::after {
    content: "";
    display: block;
    flex: 0 0 60px;
    height: 1px;
    background: #FFA500;
}
#trait-titre-bloc-lateral::before,
#trait-titre-bloc-lateral::after {
	content: "";
    display: block;
    flex: 0 0 40px;
    height: 2px;
    background: silver;
}

#trait-titre-page h1 {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    text-align: center;
    overflow-wrap: break-word;
}

@media (max-width: 600px) {
    #trait-titre-page::before,
    #trait-titre-page::after {
        flex-basis: 25px;
    }
}


/* ************************ */
/*    HEADER NAVIGATION     */
/* ************************ */

#header-nav nav ul.tahefobu-sub-menu { background-color: #FFFFFF; }
#header-nav nav ul.tahefobu-sub-menu li { margin: 0 20px; }

/* Menu Burger */
.sub-menu.tahefobu-mobile-sub-menu {
	padding-top: 15px;
	padding-bottom: 15px;
}
.sub-menu.tahefobu-mobile-sub-menu a { font-weight: 500 !important;} 


/* *********************** */
/*    FOOTER NAVIGATION    */
/* *********************** */

.menu-footer-navigation-container ul#menu-footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* Chaque entrée se comporte comme un bloc */
.menu-footer-navigation-container ul#menu-footer-navigation li {
    position: relative;
    display: block;
    margin: 10px 0;
    padding: 0 20px;
}

/* Séparateurs | */
.menu-footer-navigation-container ul#menu-footer-navigation li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

/* Liens */
.menu-footer-navigation-container ul#menu-footer-navigation li a {
    position: relative;
    display: block;

    color: #5F5E5E;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;

    transition:
        color 0.35s ease,
        letter-spacing 0.35s ease;
}

/* Hover */
.menu-footer-navigation-container ul#menu-footer-navigation li a:hover {
    color: #FFA500;
}

.menu-footer-navigation-container ul#menu-footer-navigation li a:hover::after {
    width: 100%;
}

/* Lien FACEBOOK */
/* Facebook - Font Awesome 4 */

li.menu-facebook > a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

li.menu-facebook > a:hover {
    color: #FFFFFF !important;
}

/* Icône Facebook à droite du texte */
li.menu-facebook > a::after {
    content: "f";
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #151515;
	background-color: #5F5E5E;
    display: inline-flex;

    flex: 0 0 26px;
    width: 26px;
    min-width: 26px;
    max-width: 26px;
    height: 26px;
    min-height: 26px;
    max-height: 26px;

    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50%;
    margin-left: 8px;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

/* Survol : couleur icone facebook change */
li.menu-facebook > a:hover::after {
	color: #FFFFFF;
    background-color: #1877F2;
}

/* =========================================
   TABLETTE
   ========================================= */

@media (max-width: 1024px) {

    .menu-footer-navigation-container ul#menu-footer-navigation {
        row-gap: 15px;
    }
	.menu-footer-navigation-container ul#menu-footer-navigation li {
		margin: 0;
	}

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .menu-footer-navigation-container ul#menu-footer-navigation {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 0;
    }

    .menu-footer-navigation-container ul#menu-footer-navigation li {
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .menu-footer-navigation-container ul#menu-footer-navigation li a {
        display: block;
        width: 100%;

        padding: 12px 0;

        /* font-size: 11px; */
        /* letter-spacing: 0.11em; */
        text-align: center;

        box-sizing: border-box;
    }

    /* Suppression des séparateurs sur mobile */
    .menu-footer-navigation-container ul#menu-footer-navigation li:not(:last-child)::after {
        display: none;
    }

    /* Trait hover — même position visuelle que desktop */
    .menu-footer-navigation-container ul#menu-footer-navigation li a::after {
        bottom: 7px;
    }

    .menu-footer-navigation-container ul#menu-footer-navigation li a:hover {
        color: #FFA500;
        /* letter-spacing: 0.14em; */
    }
}


/* ************* */
/*    ARTICLE    */
/* ************* */

/* article suivant /précédent */
.ae-element-anchorPrevLink-wrapper.ae-element-prev-layout-2,
.ae-element-anchorNextLink-wrapper.ae-element-next-layout-2 { 
	 width: auto !important;
}
.ae-element-anchorPrevLink { padding-right: 15px;}
.ae-element-anchorNextLink { padding-left: 15px;}

.ae-element-next-title { padding-left: 15px;}
.ae-element-prev-title { padding-right: 15px;}

/* *** GALERIE BASIQUE ELEMENTOR GRILLE *** */

@media screen and (max-width:479px) {
	.elementor-image-gallery .gallery.gallery-columns-9 .gallery-item {
		max-width: 33% !important;
	}
}

@media (min-width:480px) and (max-width:767px) {
	.elementor-image-gallery .gallery.gallery-columns-9 .gallery-item {
		max-width: 20% !important;
	}
}

@media screen and (max-width:479px) {
	.elementor-image-gallery .gallery.gallery-columns-5 .gallery-item  {
		max-width: 33% !important;
	}
}

@media (min-width:480px) and (max-width:767px) {
	.elementor-image-gallery .gallery.gallery-columns-5 .gallery-item {
		max-width: 33% !important;
	}
}