/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

body:not(.admin-bar) {
  --wp-admin--admin-bar--height: 0px;
}

a.brxe-text-basic:hover {text-decoration: underline;}

:where(.brxe-image):before {
    z-index: 1;
}

.brx-animated .perfmatters-lazy.pmloaded, .brx-animated .perfmatters-lazy.pmloaded>img, .brx-animated .perfmatters-lazy>img.pmloaded, .brx-animated .perfmatters-lazy[data-ll-status=entered] {
    animation: inherit !important;
}


/* hover menu */
@keyframes fade-in {0% {opacity: 0;}100% {opacity: 1;}}
header nav ul.bricks-nav-menu li.current-menu-item a::after,
header nav ul.bricks-nav-menu li:hover a::after,
body.home header nav ul.bricks-nav-menu li.current-menu-item:hover a::after
{content:"";width:100%;height:4px;background-color: #ffffff;position:absolute;bottom:-7px;animation:fade-in .3s ease;display: block;}

header nav ul.bricks-nav-menu li.menu-item-has-children a::after {display:none !important;}
header nav ul.bricks-nav-menu li a{position:relative;}
header .bricks-nav-menu ul.sub-menu li a::before, header .bricks-mobile-menu ul.sub-menu li a::before {content:"-\00a0";}


/* HEADER */
header nav ul.bricks-nav-menu > li.current-menu-item:not(.menu-item-has-children) a::after, header nav ul.bricks-nav-menu>li:hover:not(.menu-item-has-children) a::after{content:"";width:100%;height:3px;background-color:var(--secondary);position:absolute;bottom:-7px;animation:fade-in .3s ease}
header nav ul.bricks-nav-menu li a{position:relative}
header nav li:hover .brx-submenu-toggle button{transform:rotate(180deg)}

/** HEADER STICKY **/

header.sticky.scrolling section .brxe-container > div.bloc-header {
    background-color: #fbfbfb;
    border-radius: 40px;
    padding: 16px;
}

header.sticky.scrolling section .brxe-container > div.bloc-header img {
	width: 80px !important;
	min-width: 80px !important;
}

header.sticky.scrolling section .brxe-container > div.bloc-header .bricks-button {
	padding: 10px !important;
	font-size: 0.85rem !important;
	border-radius: 5px !important;
}

header.sticky.scrolling section .brxe-container > div.bloc-header .brxe-nav-menu {
	font-size: 0.85rem !important;
}

header.sticky.scrolling section .brxe-container > div.bloc-header,
header section .brxe-container > div.bloc-header img,
header.sticky.scrolling section .brxe-container > div.bloc-header .brxe-nav-menu {
	transition-property: background-color, border-color, border-radius, color, padding, height, opacity, visibility, transform, width, min-width !important;
	transition-duration: .3s !important;
	transition-timing-function: ease !important;
}



/* Class Rose */
.rose{
	color: var(--secondary-4);
}

/* Bounce */

.bounce {
    animation: bounce 2s infinite;
}