/*
Theme Name: Maxam Child Theme
Theme URI:  https://www.wpserveur.net
Author:     Silens
Author URI: https://silenswework.com/
Template:   blankslate
Version:    1.0
License:    GNU General Public License v2 or later
*/

html,
body {
  overflow-x: clip;
}

.m-button-icon:hover .m-icon.m-icon-bg-red-400 {
	background-color: var(--red-300);
}

.m-button-icon:hover .m-icon.m-icon-bg-white-400 {
	background-color: var(--grey-100);
}

.m-link-icon .e-svg-base.m-link__icon-default {
	opacity: 1;
	width: 17px;
	transition: opacity 0.5s, width 0.5s;
}

.m-link-icon .e-svg-base.m-link__icon-hover {
	opacity: 0;
	width: 0;
	transition: opacity 0.5s, width 0.5s;
}

.m-link-icon:hover .e-svg-base.m-link__icon-default {
	opacity: 0;
	width: 0;
}

.m-link-icon:hover .e-svg-base.m-link__icon-hover {
	opacity: 1;
	width: 29px;
}

.text-white-strong-grey strong {
	color: rgba(255, 255, 255, 0.60);
}

.text-grey-strong-grey-light strong {
	color: #8C8C8C;
}

.hero-component {
	position: relative;
}

.hero-component::before {
	content: "" !important;
	display: block !important;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(90deg, rgb(45, 46, 54) 0%,rgba(45, 46, 54, 0.30) 60%);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

@media (max-width: 1024px) {
	.hero-component::before {
		background-image: linear-gradient(180deg, rgb(45, 46, 54) 0%,rgba(45, 46, 54, 0.30) 60%);
	}
}

/* Pagination Elementor */

.elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
	flex-wrap: wrap;
}

.elementor-pagination .page-numbers {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid #8C8C8C;
    color: #8C8C8C;
}

.elementor-pagination .page-numbers.current,
.elementor-pagination .page-numbers:hover {
    background: #E22413;
    border-color: #E22413;
    color: #fff;
}

.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next{
    border: none;
    width: fit-content;
    height: fit-content;
}

.elementor-pagination .page-numbers.prev:hover,
.elementor-pagination .page-numbers.next:hover {
    background: transparent;
    color: #E22413;
}

.elementor-pagination .page-numbers.prev {
    padding: 10px 44px;
}

.elementor-pagination .page-numbers.next {
    padding: 10px 44px;
}

@media (max-width: 767px) {
	.elementor-pagination .page-numbers.prev {
		padding: 10px 15px;
	}

	.elementor-pagination .page-numbers.next {
		padding: 10px 15px;
	}
}

.elementor-pagination .page-numbers.prev:before {
    content: url(/wp-content/uploads/2026/04/icon-arrow.svg);
    transform: rotate(180deg);
}

.elementor-pagination .page-numbers.next:before {
    content: url(/wp-content/uploads/2026/04/icon-arrow.svg);
}

/* Header */

#top-header .elementor-widget-theme-site-logo {
	position: relative;
	display: flex;
	justify-content: center;
}

@media (min-width: 1025px) {
	body.home #top-header .elementor-widget-theme-site-logo:after {
		position: absolute;
		content: "";
		width: 100%;
		height: 2px;
		background-color: var(--e-global-color-primary);
		bottom: 0;
	}
	
	body:not(.home) #top-header .elementor-widget-theme-site-logo:hover:after {
		position: absolute;
		content: "";
		width: 100%;
		height: 2px;
		background-color: var(--e-global-color-primary);
		bottom: 0;
	}
}

#top-header .elementor-widget-theme-site-logo a {
	display: flex;
	align-items: center;
}

a[data-action="espace-client"] svg {
	width: 12px !important;
}

a[data-action="espace-client"]:after {
	content: "Espace clients Traçabilité";
	font-size: 12px;
    margin-left: 5px;
}

@media (max-width: 1430px) {
	a[data-action="espace-client"]:after {
		font-size: 0.79vw;
	}
}

@media (min-width: 1025px) and (max-width: 1309px) {

	.menu-item.blog-link {
		display: none !important;
	}
}

/* Popup de recherche */

body:not(.elementor-editor-active) #m-popup-search {
	display: none;
	position: absolute;
	z-index: 80;
}

body:not(.elementor-editor-active) #m-popup-search.is-open {
	display: flex;
}

/* Menu mobile - icône burger */

body:not(.elementor-editor-active) #m-mobile-menu {
	display: none;
	position: absolute;
	z-index: 100;
}

@media (max-width: 1024px) {
	body:not(.elementor-editor-active) #m-mobile-menu.is-open {
		display: flex;
	}
}

/* Menu mobile - navigation */

#m-mobile-menu .elementor-item.has-submenu {
	display: flex;
	justify-content: space-between;
}

#m-mobile-menu .elementor-item.has-submenu .sub-arrow {
	fill: var(--grey-600);
}

#m-mobile-menu .elementor-item.has-submenu .sub-arrow svg {
	height: 14px;
    width: 14px;
	transition: transform 0.2s ease-in;
}

#m-mobile-menu .elementor-item.has-submenu[aria-expanded="true"] .sub-arrow svg {
	transform: rotate(-180deg);
}

#m-mobile-menu .sub-menu.elementor-nav-menu--dropdown {
	padding-left: 40px;
}

#m-mobile-menu .menu-item-has-children .menu-item:first-child .elementor-sub-item {
	padding-top: 0;
}

#m-mobile-menu .menu-item-has-children .elementor-sub-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 11px;
}

#m-mobile-menu .menu-item-has-children .elementor-sub-item:before {
	content: url("/wp-content/uploads/2026/04/icon-arrow-red-400.svg");
	height: 18px;
}

/* Menus footer */

.m-menu-footer-arrow .menu-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 11px;
	transition: transform 0.3s;
}

.m-menu-footer-arrow .menu-item:before {
	content: url("/wp-content/uploads/2026/04/icon-arrow-red-400.svg");
	margin-top: -4px;
}

.m-menu-footer-arrow .menu-item:hover {
	transform: translateX(5px);
}