/* 
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 */

body {
    background-color: #d8dce0;
    transition: background-color 1s ease;
}

.color-black {
    background-color: #1a1a1a!important;
}

html {
  scroll-behavior: auto;
}


/* Couleur par défaut du menu dans le header */
#bf-header .elementor-item,
#bf-header .elementor-sub-item,
#bf-header .elementor-menu-toggle,
#bf-header .elementor-menu-toggle svg {
    color: #1A1A1A;
    fill: #1A1A1A;
}

/* Quand le body a la classe "color-black" (panel foncé) */

li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children ul.sub-menu li a:hover{
    color: #fff!important;
}

body.color-black #bf-header .elementor-item,
body.color-black #bf-header .elementor-sub-item,
body.color-black #bf-header .elementor-menu-toggle,
body.color-black #bf-header .elementor-menu-toggle svg {
    color: #fff;
    fill: #fff;
}

body.color-black #menuheader > nav.elementor-nav-menu--dropdown.elementor-nav-menu__container,
body.color-black li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children ul.sub-menu{
    background-color: #343434!important;
}