/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.4.0.1713256350
Updated: 2024-04-16 10:32:30

*/


.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5px; /* Le trait dépasse de 5px à gauche */
    width: calc(100% + 10px); /* Le trait dépasse de 5px à droite */
    height: 20px; /* Épaisseur du trait */
    background-color: #BAF7C9;
    border-radius: 5px; /* Bordures arrondies */
    z-index: -1; /* Passe derrière le texte */
}



.underline {
    display: inline; /* S'assure que le style ne dépasse pas la largeur du texte */
    position: relative;
    padding: 2px 2px; /* Ajoute un espace de 5px autour du texte */
    background-color: #BAF7C9; /* Applique la couleur de surlignage */
    border-radius: 5px; /* Coins arrondis */
    line-height: 1; /* Ajuste l'espacement vertical */
    white-space: nowrap; /* Empêche le texte de s'étendre sur plusieurs lignes */
}



.underline2 {
    display: inline; /* S'assure que le style ne dépasse pas la largeur du texte */
    position: relative;
    padding-left: 20px; /* Ajoute un padding à gauche */
    padding-right: 20px; /* Ajoute un padding à droite */
    background-color: #BAF7C9; /* Applique la couleur de surlignage */
    border-radius: 5px; /* Coins arrondis */
    line-height: 1; /* Ajuste l'espacement vertical */
    white-space: normal; /* Permet au texte de revenir à la ligne */
    word-wrap: break-word; /* Assure que les mots trop longs sont cassés pour s'adapter à l'écran */
}



.elementor-element.elementor-element-c5a11a9 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px; /* Ajustez l'épaisseur du soulignement */
    background-color: currentColor; /* Utilise la couleur du texte */
    transition: width 1s ease-in-out;
}

.elementor-element.elementor-element-c5a11a9 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item {
    position: relative; /* Nécessaire pour que le pseudo-élément soit correctement positionné */
    display: inline-block;
}

.elementor-element.elementor-element-c5a11a9 .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0; /* Couvre toute la hauteur du texte */
    background-color: rgba(255, 229, 100, 0.5); /* Couleur jaune stabilo semi-transparente */
    z-index: -1; /* Place l'effet derrière le texte */
    width: 0%; /* Départ de l'animation */
    transition: width 1s ease-in-out; /* Animation fluide */
}

MENU ANIMATION


.menu-item {
    position: relative; /* Nécessaire pour positionner le ::before */
    display: inline-block; /* Assure que l'effet se limite au texte */
}

.menu-item:before {
    content: "";
    position: absolute;
    left: 0; /* Débute au bord gauche du texte */
    right: 0; /* Termine au bord droit du texte */
    bottom: 0; /* Place l'effet juste derrière le texte */
    height: 100%; /* Couvre seulement la hauteur du texte */
    background-color: #424242; /* Couleur du surlignage */
    border-radius: 3px; /* Coins arrondis pour un bel effet */
    z-index: -1; /* Derrière le texte */
    transform: scaleX(0); /* Animation commence à zéro */
    transform-origin: left; /* L'animation démarre depuis la gauche */
    transition: transform 0.5s ease-in-out; /* Animation fluide */
}

.menu-item:hover:before {
    transform: scaleX(1); /* L'arrière-plan remplit toute la largeur du texte */
}


.highlight {
    position: relative;
    display: inline; /* Inline pour s'adapter au texte uniquement */
}

.highlight {
    position: relative;
    display: inline;
}

.highlight3::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Décalage de 10px vers le bas */
    left: -5px; /* Le trait dépasse de 5px à gauche */
    width: calc(100% + 10px); /* Le trait dépasse de 5px à droite */
    height: 0.75em; /* 75% de la hauteur du texte */
    background-color: #BAF7C9;
    border-radius: 3px; /* Bordures légèrement arrondies */
    z-index: -1; /* Passe derrière le texte */
}


.cmplz-btn.cmplz-manage-consent.manage-consent-1{
	display:none;
}

