/*
 Theme Name:   CKE Divi Child Theme
 Theme URI:    https://www.elegantthemes.com
 Description:  Theme enfant pour Divi
 Author:       Christophe Kermarrec
 Author URI:   https://ckweb.net
 Template:     Divi
 Version:      1.1.0
*/

/*****Add any custom CSS below this line*****/

/*Modifier le point de rupture du menu mobile*/
/*menu standard switch vers menu mobile*/
@media only screen and ( max-width: 1650px ) {
.mobile_nav.opened .mobile_menu_bar:before {
		content: "\4d";
	}
    .et_mobile_nav_menu {
        display: block
    }
}
/* Augmenter taille logo sur mobile */
@media (max-width: 1190px) {
	.et_header_style_left #logo {
    max-width: 100%;
	}
}

.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: #0e853b;
}

/* TEXTE DEFILANT */
.texte-defilant {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start; /* Pour s'assurer que le texte commence à gauche */
}

.texte-defilant span {
    display: inline-block;
    white-space: nowrap;
    animation: defilement-continu 30s linear infinite;
	animation-delay: -10s;
    opacity: 1;
    /*margin-right: 50%; /* Ajoute un espacement entre les répétitions du texte */
	font-weight:bolder!important;
	/*text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8); /* Halo blanc autour des lettres */
}

.texte-defilant span a {
	color:white!important;
	text-transform:uppercase;
}

.texte-defilant .separateur {
  display: inline-block;
  width: 80px; /* ajuste l’espace entre chaque répétition */
}

/* Animation du texte défilant */
@keyframes defilement-continu {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}
