/*
Theme Name:  Nectarblocks Child Theme
Version:     1.0.0
Template:    nectar-blocks-theme
Description: Child theme for Nectarblocks.
Theme URI:   https://nectarblocks.com
Author:      NectarBlocks
Author URI:  https://nectarblocks.com
License:     Custom license
License URI: https://nectarblocks.com/license
Text Domain: nectar-blocks-theme
*/

/*-------------------------------------------------------------------------*/
/* Note: The theme CSS files are loaded through the /css/ folder. 
/*-------------------------------------------------------------------------*/

/* ==========================================================================
   VARIABLES GLOBALES
   ========================================================================== */
:root
{
	--container-padding: 2vw;
    --wp--style--root--padding-left: 2vw;
    --wp--style--root--padding-right: 2vw;
	--scroll-bar-w: 2vw;
}

@media only screen and (max-width: 1024px) {
    :root {
        --header-mobile-fullwidth-horizontal-padding: 5vw;
			--scroll-bar-w: 0vw;
	}
}

/* ==========================================================================
   MEGA MENU
   ========================================================================== */

#nectar-nav li.nectar-megamenu-shown .nectar-global-section-megamenu, 
#nectar-nav li.sfHover .nectar-global-section-megamenu 
{
	margin-top: 1rem;
	background-color: initial;
    /*max-width: 48vw;
    left: 80%;*/
}

/*Contact item
#menu-item-45 a
{
    flex-direction: row-reverse;
    gap: 1rem;
}

#menu-item-45 a img
{
	transform: scale(1);
	transition: transform 300ms ease;
}

#menu-item-45 a:hover img
{	
	transform: scale(1.1);
	transition: transform 300ms ease;
}

#nectar-nav header .nectar-menu-icon-img
{
	margin-right: initial;
}*/

/* sélecteur de langue*/
#nectar-nav #top .sf-menu > li ul.sub-menu.tracked-pos
{
    padding: 5px !important;
    width: fit-content !important;
	top: 75%;
    transform: translateX(10px);
}

/*CTA Custom*/
html body .nectar-blocks-button a
{
    gap: 1.2rem;	
}

.nectar-blocks-button .nectar-component__icon 
{
    padding: 0.56rem;
    background-color: var(--accentPrimary);
}

.nectar-blocks-button .nectar-component__icon svg,
.nectar-blocks-button .nectar-component__icon svg path{
    fill: white !important;
}

/*CTA custom no texte*/
.nectar-blocks-button--Reveal.hidden-texte .nectar-blocks-button__text
{
	display:none;	
}

body[data-header-search=false][data-full-width-header=false] #nectar-nav[data-lhe=animated_underline][data-format=default][data-cart=false] #top nav>ul>li:last-child>a, body[data-header-search=false][data-user-set-ocm=off] #nectar-nav[data-lhe=animated_underline][data-format=centered-menu][data-cart=false] #top nav>.buttons>li:last-child>a {
    margin-right: 0;
    padding: 0.32rem 0.2rem;
}

/*.nectar-blocks-button--Reveal.hidden-texte .nectar-component__icon
{
	background-color: var(--accentDark);	
}*/


/*CTA footer*/
footer .nectar-blocks-button .nectar-component__icon 
{
    padding: 0.56rem;
    background-color: #1e294c;
}

.screenup-better-read-more-toggle {
	color: #f8f8f6b8;
}