.header__button .wp-block-button__link::before,
.is-style-icon-position-marker .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2364_8683)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.99992 1.83333C6.58543 1.83333 5.22888 2.39524 4.22868 3.39543C3.22849 4.39562 2.66659 5.75218 2.66659 7.16667C2.66659 9.23204 4.01041 11.2362 5.48389 12.7915C6.20699 13.5548 6.93236 14.1796 7.4777 14.6139C7.68066 14.7755 7.85793 14.9101 7.99992 15.0151C8.1419 14.9101 8.31918 14.7755 8.52213 14.6139C9.06747 14.1796 9.79284 13.5548 10.516 12.7915C11.9894 11.2362 13.3333 9.23204 13.3333 7.16667C13.3333 5.75218 12.7713 4.39562 11.7712 3.39543C10.771 2.39524 9.41441 1.83333 7.99992 1.83333ZM7.99992 15.8333C7.63012 16.388 7.62995 16.3879 7.62976 16.3878L7.62785 16.3865L7.62341 16.3835L7.60813 16.3732C7.59515 16.3644 7.57664 16.3517 7.55296 16.3353C7.50561 16.3025 7.43756 16.2547 7.35178 16.1928C7.18028 16.0689 6.93749 15.8881 6.64713 15.6569C6.06747 15.1954 5.29284 14.5286 4.51595 13.7085C2.98943 12.0972 1.33325 9.76796 1.33325 7.16667C1.33325 5.39856 2.03563 3.70286 3.28587 2.45262C4.53612 1.20238 6.23181 0.5 7.99992 0.5C9.76803 0.5 11.4637 1.20238 12.714 2.45262C13.9642 3.70286 14.6666 5.39856 14.6666 7.16667C14.6666 9.76796 13.0104 12.0972 11.4839 13.7085C10.707 14.5286 9.93236 15.1954 9.3527 15.6569C9.06235 15.8881 8.81955 16.0689 8.64806 16.1928C8.56228 16.2547 8.49423 16.3025 8.44688 16.3353C8.4232 16.3517 8.40469 16.3644 8.39171 16.3732L8.37643 16.3835L8.37199 16.3865L8.37058 16.3875C8.37039 16.3876 8.36972 16.388 7.99992 15.8333ZM7.99992 15.8333L8.36972 16.388C8.14579 16.5373 7.85369 16.5371 7.62976 16.3878L7.99992 15.8333Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.99992 5.83333C7.26354 5.83333 6.66659 6.43029 6.66659 7.16667C6.66659 7.90305 7.26354 8.5 7.99992 8.5C8.7363 8.5 9.33325 7.90305 9.33325 7.16667C9.33325 6.43029 8.7363 5.83333 7.99992 5.83333ZM5.33325 7.16667C5.33325 5.69391 6.52716 4.5 7.99992 4.5C9.47268 4.5 10.6666 5.69391 10.6666 7.16667C10.6666 8.63943 9.47268 9.83333 7.99992 9.83333C6.52716 9.83333 5.33325 8.63943 5.33325 7.16667Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2364_8683'%3E%3Crect width='16' height='16' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

header.wp-block-template-part {
	position: relative;
	z-index: 99;
}

.eco-preheader {
	border-radius: 0;
	padding-top: .65rem;
	padding-bottom: 1.65rem;
}

.eco-pre-header__fetcher .wp-block-navigation__container {
	list-style: none;
	gap: 0!important;
	justify-content: flex-end!important;
	display: flex;
	margin: 0;
	align-items: center;
}

.eco-pre-header__fetcher .wp-block-navigation__container {
	gap: 0;
	justify-content: flex-end;
}

.eco-pre-header__fetcher .wp-block-navigation__container li {
	margin-left: var(--wp--preset--spacing--40);
	color: var(--wp--custom--color--neutral--600);
	font-size: var(--wp--preset--font-size--xs);
}

.eco-pre-header__fetcher .wp-block-navigation__container li a {
	color: var(--wp--custom--color--neutral--600);
}

.eco-pre-header__fetcher .wp-block-navigation__container li a:focus {
	text-decoration: none;
}

/* .eco-pre-header__fetcher .wp-block-navigation__container > li:not(:last-child)::after{
	content: "|";
	margin-left: var(--wp--preset--spacing--40);
} */

/* Submenu toolbar */

.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children {
	position: relative;
	padding-right: .5rem;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a {
	position: relative;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a::after,
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a::before {
	content: '';
	display: block;
	height: 1px;
	width: .4rem;
	border-top: var(--wp--custom--color--neutral--600) 1px solid;
	position: absolute;
	top: .3rem;
	right: -.8rem;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a::after {
	transform: rotate(45deg);
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a::before {
	transform: rotate(-45deg);
	right: -1.1rem;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children.toolbar__li--open > a::after {
	transform: rotate(-45deg);
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children.toolbar__li--open > a::before {
	transform: rotate(45deg);
	right: -1rem;
}

.eco-pre-header__fetcher .wp-block-navigation__container > li > a {
	border-bottom: transparent 1px solid;
	transition: border .5s;
}
/* .eco-pre-header__fetcher .wp-block-navigation__container > li > a:hover,
.eco-pre-header__fetcher .wp-block-navigation__container > li > a:focus-visible {
	border-bottom-color: var(--wp--custom--color--neutral--600);
	text-decoration: none;
} */
.eco-pre-header__fetcher .wp-block-navigation__container > li > a:focus {
	text-decoration: none;
}

.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a {
	border-bottom: var(--wp--custom--color--neutral--600) 1px solid;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a:hover,
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children > a:focus-visible {
	border-bottom-color: transparent;
}

.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu {
	background-color: white;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	border-radius: var(--radius-default);
	box-shadow: 0px 0px 15px 0px #00000019;
	list-style: none;
	padding-left: 0;
	min-width: 12rem;
	position: absolute;
	right: -1rem;
	top: 1.4rem;
	z-index: 100;
	
	opacity: 0;
	pointer-events: none;
	transition: opacity .5s;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children.toolbar__li--open .sub-menu {
	opacity: 1;
	pointer-events: initial;
}

.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu li {
	margin-bottom: .5rem;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu li:last-child {
	margin-bottom: 0;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu li a {
	transition: border .5s;
	border-bottom: transparent 1px solid;
}
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu li a:hover,
.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu li a:focus {
	border-bottom-color: var(--wp--custom--color--neutral--600);
}

/* End Submenu */

.header {
	position: fixed !important;
	top: 40px;
	width: 100%;
	padding: 16px 24px !important;
	background-color: var(--wp--preset--color--fond);
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-radius: 0 !important;
	box-shadow: var(--wp--preset--shadow--light);
	transition: all 0.3s ease-in-out;
	z-index: 2;
}

/* .header--sticky {
	position: fixed !important;
	top: 40px;
	width: 100%;
} */

.header--hidden {
	transform: translateY(calc(-100% - 40px));
}

body.admin-bar .header {
	top: 72px;
}

body.admin-bar .header--simulateur {
	top: 33px;
}

body.admin-bar .header--hidden {
	transform: translateY(calc(-100% - 72px));
}

body.page-template-pages-la-grande-collecte .header,
body.page-template-page-formulaire-grande-collecte .header {
	top: 0;
}

body.admin-bar.page-template-pages-la-grande-collecte .header,
body.admin-bar.page-template-page-formulaire-grande-collecte .header {
	top: 32px;
}

#header .header__logo-container {
	margin: 0;
}

#header > .wp-block-group,
.header > .wp-block-group,
.header--corpo > .wp-block-group {
	gap: 0;
	display: flex;
    flex-wrap: nowrap !important;
    max-width: none !important;
}

.header .header__left-side { gap: 0 }

.header nav {
	margin-top: 0;
	margin-right: auto;
}

.header__logo-container {
	padding-top: var(--wp--preset--spacing--20)!important;
	padding-right: var(--wp--preset--spacing--70)!important;
	padding-bottom: var(--wp--preset--spacing--20)!important;
	padding-left: 0!important;
	transition: opacity .5s;
}

.header__logo-container:hover {
	opacity: .35;
	cursor: pointer;
}

.wp-block-site-logo img {
	height: 3.75rem;
	width: auto;
}

.header-logo__text {
	margin-top: 0!important;
	text-transform: lowercase;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

.header-logo__text a:hover {
	text-decoration: none;
}

.header__buttons {
	margin-left: auto !important;
}

.header .header__buttons {
	position: absolute;
	top: var(--wp--preset--spacing--55);
	right: var(--wp--preset--spacing--30);
}

.header__buttons:not(:last-child) {
	gap: 0!important;
	padding-right: var(--wp--preset--spacing--60);
}

.header__button a {
	font-weight: 600!important;
	font-size: var(--wp--preset--font-size--s);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60)!important;
}

.header__location-link .wp-block-button__link {
	padding: 1rem 2rem !important;
}

.header__location-link .wp-block-button__link::before {
	height: 1rem;
	margin-right: 8px;
}

.header__location-link .wp-block-button__link::after {
	display: none;
}

.eco-submenu__button-label--closed { display: none }

.eco-single-header__main .eco-header__socials-and-lang {
	padding-left: var(--wp--preset--spacing--500)!important;
	margin: 0!important;
}

@media screen and (max-width: 768px){
	.header {
		top: 40px;
	}
	
	body.admin-bar .header {
		top: 86px;
	}

	body.admin-bar .header--simulateur {
		top: 33px;
	}
}

@media screen and (max-width: 1024px){

	.header > .wp-block-group,
	.header--corpo > .wp-block-group {
		flex-wrap: wrap !important;
	}

	.eco-single-header__main .eco-header__socials-and-lang {
		padding-left: 0!important;
		text-align: center;
		justify-content: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.header {
		padding: var(--wp--preset--spacing--20) !important;
		box-shadow: var(--wp--preset--shadow--light);
	}

	.eco-preheader--open .eco-submenu__button-label--closed { display: inline }
	.eco-preheader--open .eco-submenu__button-label--open { display: none }

	.header__logo-container {
		padding-left: 0 .5rem !important;
		padding-right: 0 .5rem !important;
		margin: auto !important;
	}

	.wp-block-site-title {
		font-size: .8rem;
	}

	.wp-block-site-logo img {
		height: 2.5rem;
		width: auto;
	}

	.header__buttons {
		margin-left: 0 !important;
	}

	.header__buttons--partenaires {
		display: none !important;
	}

	.header__location-link .wp-block-button__link::before {
		height: 3rem;
		margin-right: 0;
	}

	.eco-pre-header__fetcher .wp-block-navigation__container {
		justify-content: start!important;
	}

	.eco-pre-header__fetcher .wp-block-navigation__container > li.menu-item-has-children .sub-menu {
		bottom: 1.5rem;
		top: auto;
	}

	.eco-preheader {
		transition: top 1s ease-in-out;
		top: calc(100% - 3rem);
	}

	.eco-preheader--open {
		top: 5rem;
	}

	.eco-pre-header__fetcher  .eco-submenu__parent {
		position: static;
	}

	.eco-pre-header__fetcher .eco-submenu {
		transition: opacity .5s;
		opacity: 0;
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		height: 100%;
		top: 3rem;
	}

	.eco-pre-header__fetcher .eco-submenu--open {
		opacity: 1;
	}
	.eco-pre-header__fetcher .eco-submenu .eco-submenu__padder {
		position: static;
		height: 100%;
	}
	.eco-pre-header__fetcher .eco-submenu ul.is-style-tabs {
		height: 100%;
		width: 100%;
		transition: none;
	}

	.eco-pre-header__fetcher ul.is-style-tabs > li {
		max-width: none;
	}
	.eco-pre-header__fetcher ul.is-style-tabs > li.tab--is-active > ul:not(.block-editor-block-list__block) {
		position: relative;
		left: -2.25rem;
		transition: none;
		max-width: none;
		width: calc(3.75rem + 100%);
		border-radius: unset;
		height: auto;
		margin-top: 1rem;
		padding-bottom: 1rem;
		padding-bottom: 1rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.eco-pre-header__fetcher ul.is-style-tabs > li.tab--is-active > ul:not(.block-editor-block-list__block) > li {
		max-width: none;
		padding-left: 0;
	}

	header > .header { position: relative }
	
	.header .eco-burger { position: absolute }

	.header .eco-burger {
		left: var(--wp--preset--spacing--30);
	}
	.header .header__buttons {
		top: var(--wp--preset--spacing--20);
	}

}

@media all and (max-width: 1190px) {
	.header__button .wp-block-button__link {
		position: relative;
		height: 3rem;
		width: 3rem;
	}

	.header__button .wp-block-button__link::before {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	.header__location-link.wp-block-button.is-style-icon-position-marker .wp-block-button__link {
		padding: 0 !important;
		font-size: 0;
	}
}

@media all and (max-width: 1280px) {
	.header__logo-container {
		padding-right: 0 !important;
	}
}


/* weglot adjustments */

#menu-preheader { margin-right: 2rem }

.weglot-parent-menu-item {
	margin-left: 1.25rem!important;
}

.weglot-parent-menu-item a {
	padding: .5rem 1rem;
	border-radius: 3rem;
	border: 0!important;
	font-size: var(--wp--preset--font-size--s);
}

.weglot-parent-menu-item .sub-menu li { margin: 0!important }
.weglot-parent-menu-item .sub-menu {
	padding: .5rem 0!important;
	min-width: none!important;
}

.weglot-parent-menu-item > a::before,
.weglot-parent-menu-item > a::after {
	top: .75rem!important;
}

.weglot-parent-menu-item > a::before {
	right: 0!important;
}

.weglot-parent-menu-item > a::after {
	right: .2rem!important;
}

.weglot-parent-menu-item .sub-menu {
	min-width: 0 !important;
	right: .25rem!important;
}