/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Header menu highlight item */
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .elementor-item,
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .elementor-item:link,
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .elementor-item:visited,
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .elementor-item:focus,
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .current-menu-item > .elementor-item,
body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .current-menu-ancestor > .elementor-item {
	color: #ffffff !important;
	fill: #ffffff !important;
}

.elementor-location-header .elementor-nav-menu--main .menu-item.in-evidenza > a.elementor-item,
.elementor-location-header .elementor-nav-menu--main .in-evidenza > a.elementor-item {
	background-color: #d00000;
	border: 2px solid #d00000;
	border-radius: 20px;
	color: #ffffff;
	padding: 11px 22px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.elementor-location-header .elementor-nav-menu--main .menu-item.in-evidenza > a.elementor-item:hover,
.elementor-location-header .elementor-nav-menu--main .menu-item.in-evidenza > a.elementor-item:focus,
.elementor-location-header .elementor-nav-menu--main .in-evidenza > a.elementor-item:hover,
.elementor-location-header .elementor-nav-menu--main .in-evidenza > a.elementor-item:focus,
.elementor-location-header .elementor-nav-menu--main .menu-item.in-evidenza.current-menu-item > a.elementor-item,
.elementor-location-header .elementor-nav-menu--main .in-evidenza.current-menu-item > a.elementor-item {
	background-color: #ffffff !important;
	border-color: #d00000 !important;
	color: #d00000 !important;
}

@media (max-width: 1024px) {
	body.header-absolute-on .elementor-location-header .elementor-nav-menu--main .elementor-item {
		color: inherit;
	}

	.elementor-location-header .elementor-nav-menu--main .menu-item.in-evidenza > a.elementor-item,
	.elementor-location-header .elementor-nav-menu--main .in-evidenza > a.elementor-item {
		padding: 10px 20px;
	}
}

@media (max-width: 767px) {
	.elementor-location-header .elementor-nav-menu--main .menu-item.in-evidenza > a.elementor-item,
	.elementor-location-header .elementor-nav-menu--main .in-evidenza > a.elementor-item {
		display: inline-flex;
		justify-content: center;
		padding: 10px 18px;
	}
}

/* Elementor form refinements */
.elementor-form .elementor-field-type-acceptance label {
	font-size: 14px;
	line-height: 1.3;
}

.elementor-form .elementor-field-type-upload .elementor-upload-field {
	min-height: 44px;
	padding: 10px 52px 10px 16px;
	border: 2px solid currentColor;
	border-radius: 999px;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 5 17 10'/%3E%3Cline x1='12' y1='5' x2='12' y2='16'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 20px 20px;
	box-shadow: none;
	cursor: pointer;
	color: inherit;
	border-width: 1px !important;
    border-radius: 35px !important;
}

.elementor-form .elementor-field-type-upload .elementor-upload-field::file-selector-button {
	margin-right: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.elementor-form .elementor-field-type-upload .elementor-upload-field::-webkit-file-upload-button {
	margin-right: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

/* Reusable Elementor UI helpers */
.aecas-vertical-title .elementor-heading-title {
	display: inline-block;
	margin: 0;
	line-height: 1;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.aecas-category-card {
	position: relative;
	overflow: hidden;
}

.aecas-category-card > .elementor-element:first-child {
	align-self: flex-end;
}

.aecas-category-card > .aecas-vertical-title {
	position: absolute;
	bottom: 28px;
	left: 28px;
	z-index: 2;
	margin: 0;
}

.aecas-arrow-link a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding-bottom: 6px;
	color: #d00000;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.aecas-arrow-link a::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background-color: currentColor;
}

.aecas-arrow-link a::after {
	content: ">";
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.aecas-quality-list > div {
	margin-bottom: 14px;
}

.aecas-quality-list ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.aecas-quality-list li {
	position: relative;
	margin-bottom: 6px;
	padding-left: 22px;
}

.aecas-quality-list li::before {
	content: "";
	position: absolute;
	top: 0.25em;
	left: 0;
	width: 11px;
	height: 11px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5.1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

@media (max-width: 767px) {
	.aecas-vertical-title .elementor-heading-title {
		writing-mode: horizontal-tb;
		transform: none;
	}

	.aecas-category-card > .aecas-vertical-title {
		position: static;
		margin-top: auto;
	}
}

/* Certifications download block */
.aecas-cert-downloads .elementor-heading-title {
	color: #ffffff;
}

.aecas-cert-grid {
	width: 100%;
}

.aecas-cert-list .elementor-icon-list-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aecas-cert-list .elementor-icon-list-item {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 10px 46px 10px 18px;
	border: 2px solid #ffffff;
	border-radius: 999px;
	list-style: none;
}

.aecas-cert-list .elementor-icon-list-icon {
	display: none;
}

.aecas-cert-list .elementor-icon-list-text {
	padding-left: 0 !important;
	color: #ffffff !important;
	font-weight: 700;
	line-height: 1.2;
}

.aecas-cert-list .elementor-icon-list-item::after {
	content: "";
	position: absolute;
	top: 50%;
	bottom: auto !important;
	left: auto !important;
	right: 14px;
	width: 16px;
	height: 16px;
	border: 0 !important;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

@media (max-width: 767px) {
	.aecas-cert-list .elementor-icon-list-item {
		min-height: 38px;
		padding: 10px 44px 10px 16px !important;
	}

	.aecas-cert-list .elementor-icon-list-item::after {
		right: 12px !important;
		left: auto !important;
		width: 13px !important;
		height: 13px !important;
		background-size: 13px 13px !important;
	}
}

@media (max-width: 1024px) {
	.aecas-cert-grid {
		--flex-direction: column;
		--gap: 12px 12px;
		--row-gap: 12px;
		--column-gap: 12px;
	}

	.aecas-cert-grid > .e-con {
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.aecas-cert-list .elementor-icon-list-item {
		padding: 10px 44px 10px 18px !important;
	}

	.aecas-cert-list .elementor-icon-list-item::after {
		right: 12px !important;
		left: auto !important;
		width: 14px !important;
		height: 14px !important;
		background-size: 14px 14px !important;
	}
}

.aecas-product-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 34px;
	color: #111111;
	font-size: 14px;
	line-height: 1.5;
}

.aecas-product-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.aecas-product-breadcrumbs a:hover {
	text-decoration: underline;
}

.aecas-product-breadcrumbs__sep {
	opacity: 0.55;
}

.aecas-product-title-underline {
	width: auto !important;
}

.aecas-product-title-underline .elementor-heading-title {
	display: inline-block;
	width: auto;
	padding-bottom: 8px;
	border-bottom: 2px solid #d40000;
}

.aecas-category-card {
	position: relative;
	overflow: hidden;
}

.aecas-category-card .aecas-vertical-title {
	position: absolute;
	bottom: 28px;
	left: 28px;
	z-index: 2;
	margin: 0;
}

.aecas-category-card .aecas-vertical-title a {
	color: inherit;
	text-decoration: none;
}

.aecas-category-card .aecas-vertical-title .elementor-heading-title {
	position: relative;
	z-index: 2;
}

.aecas-category-card:hover {
	cursor: pointer;
}

.aecas-product-filter-dropdown {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.aecas-product-filter-dropdown__select {
	width: min(100%, 240px);
	min-height: 42px;
	padding: 8px 40px 8px 10px;
	border: 0;
	border-bottom: 1px solid #111111;
	border-radius: 0;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m10 8 4 4-4 4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 6px center;
	background-size: 18px 18px;
	box-shadow: none;
	color: #111111;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	appearance: none;
	-webkit-appearance: none;
}

.aecas-product-filter-dropdown__select:focus {
	outline: none;
}

.aecas-product-filter-dropdown__select option {
	padding: 8px 10px;
	color: #111111;
	background: #ffffff;
}

@media (max-width: 1024px) {
	.aecas-product-breadcrumbs {
		margin-bottom: 26px;
		font-size: 13px;
	}

	.aecas-product-title-underline {
		width: auto !important;
	}

	.aecas-product-title-underline .elementor-heading-title {
		padding-bottom: 7px;
	}

	.aecas-product-filter-dropdown__select {
		width: min(100%, 220px);
		min-height: 40px;
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.aecas-product-breadcrumbs {
		gap: 6px;
		margin-bottom: 22px;
		font-size: 12px;
	}

	.aecas-product-title-underline {
		width: auto !important;
	}

	.aecas-product-title-underline .elementor-heading-title {
		padding-bottom: 6px;
	}

	.aecas-product-filter-dropdown {
		justify-content: flex-start;
	}

	.aecas-product-filter-dropdown__select {
		width: 100%;
	}
}
