/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

/*
    Add your custom styles here
*/

.pre-title-badge .elementor-widget-container .elementor-heading-title {
    position: relative;
}

.pre-title-badge .elementor-widget-container .elementor-heading-title:after {
    position: absolute;
    bottom: 5px;
    left: 120%;
    content: '';
    display: block;
    height: 3px;
    width: 68px;
    background: var(--e-global-color-primary);
}

.elementor-nav-menu--main .elementor-item.elementor-item-active {
    font-weight: 700 !important;
}

.card-categoria {
    background-size: cover !important;
}

#breadcrumbs span a,
#breadcrumbs span {
    font-size: 13px !important;
}

#breadcrumbs span svg {
    font-size: 20px;
    transform: translateY(-3px);
}

.mezzo-table-wrapper {
    overflow-x: auto
}

.mezzo-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--e-global-typography-text-font-family)
}

.mezzo-table th, .mezzo-table td {
    border: 0
}

.mezzo-table th {
    text-align: left;
    padding: 18px 20px;
    color: var(--e-global-color-dc62a1c);
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 700;
    font-size: 1.2em;
	border-block-start: 0px !important;
}

.mezzo-table td {
    padding: 12px 20px;
    vertical-align: middle
}

.mezzo-table tbody tr.mezzo-table__row--odd td {
    background: transparent;
    color: var(--e-global-color-dc62a1c);
}

.mezzo-table tbody tr.mezzo-table__row--even td {
    background: #FFFFFF
}

.mezzo-table td.mezzo-table__cta {
    text-align: right
}

.mezzo-table__download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--e-global-color-primary);
    text-decoration: none;
    font-weight: 600
}

.mezzo-table__download:hover {
    text-decoration: underline
}

.mezzo-table__icon {
    width: 20px;
    height: 22px;
    flex-shrink: 0
}

.mezzo-table__cta .elementor-button,
.mezzo-table__row-mobile .elementor-button {
    background-color: var(--e-global-color-primary);
    color: #fff
}

.mezzo-table__row-mobile {
    display: none;
}

.mezzo-table__row-mobile td {
    background: none !important;
    text-align: left;
    padding: 12px 20px;
}

@media(max-width:768px){
	.mezzo-table th {
		font-size: 0.9em;
		line-height: 1;
	}
	.mezzo-table td{
		font-size: 0.8rem;
		padding:4px;
	}
	.mezzo-table__download span{
		display:none;
	}
	.mezzo-table__cta,
	.mezzo-table__cta-th {
		display: none;
	}
	.mezzo-table__row-mobile {
		display: table-row;
	}
	.mezzo-table tbody tr.mezzo-table__row--even td {
		background: transparent;
        color: var(--e-global-color-dc62a1c);
	}
	.mezzo-table__row-mobile .elementor-button{
		font-size: 1em;
		margin:4px 0px 32px;
	}
	a.mezzo-table__download {
		display: block;
		text-align: center;
	}
}

.orange-text{
    color: var(--e-global-color-primary);
}
.black-text{
    color: var(--e-global-color-text);
}
.extra-bold-text{
    font-weight:900;
    font-size: 1.3em; /* 120% del font-size ereditato dal heading */
}

header > .elementor-element > .elementor-sticky{
    transition: all 0.3s ease-in-out;
    background-color:transparent;
}
header > .elementor-element > .elementor-sticky.elementor-sticky--active{
    transition: all 0.3s ease-in-out;
    background:var(--e-global-color-primary);
}

.elementor-sticky--active nav.jet-mega-menu-container a.jet-mega-menu-item__link--top-level .jet-mega-menu-item__title{
    color:#161615;
}

.elementor-sticky--active .elementor-widget-theme-site-logo img{
    filter:invert(1);
}
.elementor-sticky--active .elementor-element-8090091 .elementor-icon {
    color: #161615 !important;
}

.elementor-sticky--active .jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item:hover>.jet-mega-menu-item__inner .jet-mega-menu-item__title,
.elementor-sticky--active .jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item:hover>.jet-mega-menu-item__inner .jet-mega-menu-item__dropdown{
    color: #ffffff !important;
}

@media(max-width:767px){
    body div[data-elementor-type="wp-page"] > .elementor-element:first-child,
    body div[data-elementor-type="archive"] > .elementor-element:first-child,
    body div[data-elementor-type="single-post"] > .elementor-element:first-child {
        padding-top:100px;
    }
}

a.mobile-megamenu-root-item {
    display: flex;
    justify-content: space-between;
}


.elementor-message.elementor-message-danger {
    color: #2d0909 !important;
    text-transform: unset !important;
    font-size: 14px !important;
}

.elementor-message.elementor-message-danger:before {
    color: red !important;
}

.elementor-field-group {
    align-content: flex-start;
}