/* 404 */
.error404 .elementor-location-header {
	background-color: var(--1);
}

.error404.is-sticky .elementor-location-header {
	background-color: var(--white) !important;
}

/* Header sticky */
.elementor-location-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: .5s;
}

.is-sticky .elementor-location-header {
	transition: .5s;
	background-color: var(--white);
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.05);
}

.main-header {
	transition: background 0.5s, padding 0.5s !important;
}

.is-sticky .main-header {
	transition: background 0.5s, padding 0.5s !important;
	padding: 10px 20px !important;
}

/* Logo sticky */
.main-header .logo-sticky,
.is-sticky .main-header .logo-not-sticky {
	display: none;
}

.is-sticky .main-header .logo-sticky,
.main-header .logo-not-sticky {
	display: block;
}

/* Menu */
.elementor-widget-nav-menu ul {
	align-items: center;
}

.main-header .elementor-widget-nav-menu ul li a {
	cursor: pointer !important;
}

.elementor-nav-menu .sub-arrow {
	padding: 0 0 0 5px;
	margin-top: 0;
	margin-bottom: 0;
}

.fa-caret-down:before {
	content: '' !important;
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/down-chevron-white.svg);
	display: inline-block;
	width: 12px;
	height: 10px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.elementor-sub-item.has-submenu .fa-caret-down:before {
	content: '' !important;
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/down-chevron.svg);
	display: inline-block;
	width: 12px;
	height: 10px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.elementor-nav-menu .sub-menu {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.elementor-nav-menu .sub-menu li a {
	border: none !important;
}

/* Menu sticky */
.is-sticky .main-header .elementor-widget-nav-menu ul li a,
.is-sticky .main-header .elementor-widget-nav-menu ul li a:hover {
	color: var(--text) !important;
}

.is-sticky .main-header .elementor-widget-nav-menu .fa-caret-down:before {
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/down-chevron.svg);
}

/* Search */
.elementor-widget-nav-menu .elementor-nav-menu .icon-search {
	margin-left: 20px;
	cursor: pointer;
}

.elementor-widget-nav-menu .elementor-nav-menu .icon-search:after {
	content: '';
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/search-white.svg);
	display: inline-block;
	width: 22px;
	height: 22px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.search-open .elementor-widget-nav-menu .elementor-nav-menu .icon-search:after {
	width: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
}

.elementor-widget-nav-menu .elementor-nav-menu .icon-search:before {
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
}

.search-open .elementor-widget-nav-menu .elementor-nav-menu .icon-search:before {
	content: '';
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/close-white.svg);
	display: inline-block;
	width: 22px;
	height: 22px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 16px;
	opacity: 1;
	visibility: visible;
	overflow: visible;
}

.elementor-widget-nav-menu .elementor-nav-menu .icon-search a {
	display: none !important;
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
}

.search-header.elementor-widget-html .elementor-search-form__input {
	padding: 6px 10px 6px 20px !important;
	font-family: var(--ff1) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .5px !important;
}

.search-header.elementor-widget-html .elementor-search-form__input::placeholder {
	font-family: var(--ff1);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .5px;
	opacity: .4 !important;
}

.search-header.elementor-widget-html .elementor-search-form__submit,
.search-header.elementor-widget-html .elementor-search-form__submit:hover {
	min-height: 32px;
	min-width: 32px;
	height: 32px;
	width: 32px;
	max-height: 32px;
	max-width: 32px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 3px;
}

.search-header.elementor-widget-html .elementor-search-form__submit .fa-search {
	width: 20px;
	height: 20px;
}

.search-header.elementor-widget-html .elementor-search-form__submit .fa-search:before {
	content: '';
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/search-white.svg);
	display: inline-block;
	width: 20px;
	height: 20px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.search-header.elementor-widget-html {
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	transform: translateX(25%);
	position: absolute;
	top: 70px;
	right: 0;
	transition: .5s;
}

.search-open .search-header.elementor-widget-html {
	overflow: visible;
	visibility: visible;
	opacity: 1;
	transform: translateX(0);
}

.search-header.elementor-widget-html .elementor-search-form__container {
	background-color: var(--white);
	border-radius: 50px;
	min-height: 38px;
	box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
}

/* Search sticky */
.is-sticky .main-header .elementor-widget-nav-menu .elementor-nav-menu .icon-search:after {
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/search.svg);
}

.is-sticky.search-open .main-header .elementor-widget-nav-menu .elementor-nav-menu .icon-search:before {
	background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/close.svg);
}

.is-sticky .main-header .search-header.elementor-widget-html {
	top: 60px;
}

.is-sticky .main-header .search-header.elementor-widget-html .elementor-search-form__container {
	background-color: var(--4) !important;
}

@media screen and (max-width: 1440px) {
	/* Spaziature menu */
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-nav-menu--main > ul li a.elementor-item {
		margin-inline-end: 10px !important;
		margin-inline-start: 10px !important;
	}
	
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-nav-menu--main > ul li:first-child a {
		margin-inline-end: 10px !important;
		margin-inline-start: 0 !important;
	}
	
	.elementor-widget-nav-menu .elementor-nav-menu .icon-search {
		margin-left: 10px;
	}
}

@media screen and (max-width: 1280px) {
	/* Grandezza col */
	.main-header .elementor-inner-section .elementor-column {
		width: 50% !important;
	}
	
	/* Menu hidden */
	.main-header .elementor-widget-nav-menu .elementor-nav-menu--main {
		display: none;
	}
	
	/* Hamburger */
	.main-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
		display: block !important;		
	}
	
	.main-header .elementor-widget-nav-menu .elementor-menu-toggle {
		z-index: 999;
		padding: 0 !important;
		display: block !important;
	}
	
	/* Hamburger sticky */
	.is-sticky .main-header .elementor-widget-nav-menu .elementor-menu-toggle {
		color: var(--text) !important;
	}
	
	/* Background */
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle + .elementor-nav-menu--dropdown {
		transform: none;
		position: fixed;
		margin: 0 !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		z-index: 99;
		box-shadow: none !important;
		background-color: transarent !important;
		opacity: 0 !important;
		overflow: hidden;
		visibility: hidden;
	}
	
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown {
		background-color: #1111114f !important;
		opacity: 1 !important;
		overflow: visible;
		visibility: visible;
	}
	
	/* Menu */
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle + .elementor-nav-menu--dropdown > ul {
		position: fixed;
		top: 0 !important;
		left: 0 !important;
		width: 80% !important;
		height: 100%;
		margin-top: 0 !important;
		background-color: var(--white) !important;
		z-index: 999;
		padding: 30px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
		align-content: flex-start;
		/**/
		opacity: 0;
		overflow: hidden;
		visibility: hidden;
		transform: translateX(-100%) translateY(0);
		transition: .5s;
	}
	
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown > ul {
		opacity: 1 !important;
		overflow: visible;
		overflow-y: scroll;
		visibility: visible;
		transform: translateX(0) translateY(0);
		transition: .5s;
	}
	
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle + .elementor-nav-menu--dropdown > ul li {
		width: 100%;
	}
	
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle + .elementor-nav-menu--dropdown > ul li a {
		text-align: left;
		padding: 20px 0;
		line-height: 1.5;
	}
	
	.fa-caret-down:before {
		background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/down-chevron.svg);
	}
	
	/* Sub menu */
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle + .elementor-nav-menu--dropdown ul.sub-menu {
		padding: 0 20px 10px !important;
	}
	
	body .elementor-location-header .main-header .elementor-widget-nav-menu .elementor-menu-toggle + .elementor-nav-menu--dropdown ul.sub-menu li a {
		padding: 10px 0 !important;
	}
	
	/* Search */
	.icon-search.elementor-widget-icon {
		height: 20px;
		display: block !important;
	}
	
	.icon-search.elementor-widget-icon .elementor-icon svg {
		width: 20px !important;
	}
	
	.is-sticky .icon-search.elementor-widget-icon .elementor-icon:before { 
		content: '';
		background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/search.svg);
		position: absolute;
		top: 0;
		left: 0;
		width: 20px;
		height: 20px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		z-index: 1;
	}
	
	.search-open .icon-search.elementor-widget-icon .elementor-icon:after {
		content: '';
		background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/close-white.svg);
		display: inline-block;
		width: 20px;
		height: 20px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: 16px;
	}
	
	.search-open.is-sticky .icon-search.elementor-widget-icon .elementor-icon:after {
		background-image: url(https://www.laborchimica.it/wp-content/themes/appare/icons/header/close.svg);
	}
	
	.search-open .icon-search.elementor-widget-icon .elementor-icon svg,
	.search-open.is-sticky .icon-search.elementor-widget-icon .elementor-icon:before {
		display: none;
	}
}