/* 
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
*/


/** Buttons **/
.btn2 .elementor-button{background-color:var(--e-global-color-secondary); border-color:var(--e-global-color-secondary); color: #fff;}
.btn2.outline .elementor-button{background-color:transparent; border-color:var(--e-global-color-secondary); color: #fff;}


/** Header **/
header{width:100%;}
body.home header:not(.elementor-sticky--effects){ background: linear-gradient(to bottom,  var(--e-global-color-primary) 0%,var(--e-global-color-text)  100%); }


/** Mega Menu **/
.e-n-menu-title, .e-n-menu-title-container, .e-n-menu-title-text{cursor:pointer !important;}
.e-n-menu-item:last-child{margin-left: auto;}

.e-n-menu-title:before{
    content: "";
    position: absolute;
    left:0;
    bottom:0;
    width: 0;
    height:5px;
    background-color: var(--e-global-color-secondary);
    opacity:0;
    transition: .3s;
}
.e-n-menu-title:hover:before,
.e-n-menu-title:has(.e-n-menu-dropdown-icon[aria-expanded="true"]):before
{opacity:1;width: 100%;}

.e-n-menu-content{opacity:0; transform: translateY(30px); transition: .3s ease-in-out;}
.e-n-menu-content.e-active{opacity:1; transform: translateY(0);}

@media (max-width:1024px){
    .e-n-menu-wrapper{background-color:#fff !important;}
}

.e-n-menu-toggle{background:none !important; border:none !important;}   


/** Contact Forms **/
.elementor-field-group > *:focus{background-color:transparent !important;}


/** Swiper slider **/
.swiper-slide:first-of-type{margin-left: 20px !important;}
.reverse-slider .swiper-slide:first-of-type{margin-right: 20px}
.reverse-slider .swiper-slide a{text-align: left;}


/** Filters **/
.e-filter-item{ border:none !important; background-color:transparent !important; color: #69727d !important;}

.e-filter-item:before{
    content: "";
    margin-right: 10px;
    width: 15px;
    height: 15px;
    border:1px solid #69727d;
    display: flex;
    justify-content:center;
    align-items: center;
    font-weight: 700;
}

.e-filter-item[aria-pressed=true]{color: #000 !important;}
.e-filter-item[aria-pressed=true]:before{color:var( --e-global-color-secondary); content: "✓";} 


/** Accordion  **/
.elementor-widget-n-accordion .e-n-accordion-item-title-icon{ position: absolute; right: 15px;}



/** Pagination  **/
.elementor-pagination .page-numbers{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px !important;
    height: 40px !important;
    border: 2px solid var(--e-global-color-ac1683d);
}

.elementor-pagination .page-numbers:not(.dots):hover{
    background-color: var(--e-global-color-ac1683d);
    color: var( --e-global-color-primary) !important;
}



/* ----- Tabella Downloads ------*/
.downloads-table {
    width: 100%;
    border-collapse: collapse;
}
.downloads-table td, .downloads-table th {
    border: 1px solid #ddd;
    padding: 12px;
    background: transparent !important;
    border-right: 0;
    border-left: 0;
}
.downloads-table td:last-child{text-align: right;}
.downloads-table td a{white-space:nowrap;}



/* ----- Lista Posizioni Aperte ------*/
.roles-list{margin-block-end: 0;}
.roles-list thead th{text-align: left;}
.roles-list thead:first-child tr:first-child th{border-block-start: none; }
.roles-list td.data{width:200px;}

@media (max-width:599px){
	.roles-list td.data{width:130px;}
	.roles-list td.link{width: 0;font-size: 0;}
}





/** Page Intro **/
.page-intro p{font-size: 20px;}


/** Footer **/
.footer__main nav li:first-child a{font-weight:700;}


/** Servizi **/
body.no-servizi-figli .servizi-figli-section {
  display: none !important;
}


/** Loop Progetti **/
#progetti img{height: auto; aspect-ratio:1;}


@media (max-width: 767px){
	.gradient-reverse-m{ background-image: linear-gradient(360deg, var(--e-global-color-primary) 0%, var(--e-global-color-text) 100%) !important; }
	.sostenibilita:before{ background-image: linear-gradient(360deg, var(--e-global-color-primary) 0%, rgb(25 26 26 / 8%) 100%) !important; }
}


/** Team **/
.team-grid .e-child .elementor-widget-text-editor {
    margin-bottom: auto;
}


/*** Helpers **/
.primary{color: var( --e-global-color-primary) ;}
.secondary{color: var( --e-global-color-secondary ) ;}
.padding{padding-top:75px; padding-bottom:75px;}
.pt0{padding-top:0;}
.pb0{padding-bottom:0;}
.mt0{margin-top:0;}
.mtauto{margin-top:auto;}
.mb0{margin-bottom:0;}
.ratio1{aspect-ratio:1;}
