/*
Theme Name: Sterling (Child Theme)
Theme URI: https://n.foxdsgn.com/sterling-3/
Author: TRUETHEMES
Author URI: https://themeforest.net/user/truethemes
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready WordPress theme with grid system layout. It is optimized for mobile touch and swipe.
Version: 3.0.0
Tags: one-column, two-columns, right-sidebar, left-sidebar, custom-menu, post-formats, sticky-post
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sterling-child
Template: sterling
*/

/* = Add your own modification from here
------------------------------------------------------------- */
/*----------------------ELEMENTI BASE-------------------------*/

/*
body .aheto-heading--moovit__simple .aheto-heading__subtitle,
body .aheto-heading--moovit__simple .aheto-heading__subtitle::before{
	background-color: transparent !important;
	background: transparent !important;
	color: #559BC2 !important;
	font-size: 2.2rem !important
}
*/
h2{
	color: #EA538A !important;
    font-family: "Work Sans", Sans-serif !important;
    font-weight: 700 !important;
}
h2:after{
	content: '';
    display: block;
    width: 6rem;
    height: 1.2px;
    background-color: #EA538A;
    margin-top: 1rem;
}
h3,
h3 b,
h3 b strong{
	color: #27439A !important;
    font-family: "Work Sans", Sans-serif !important;
    font-weight: 500 !important;
    font-style: italic !important;
}
/*----------------------MAIN MENU-----------------------------*/
#masthead .elementor{
	z-index: 1 !important; 
}
#masthead .body-overlay{
	z-index: 0 !important;
}
@media screen and (max-width: 1199px) {
	.sidebar-open .menu_section{
		background-color: transparent !important;
	}
	.sidebar-open .boxes_wrapper{
		display: none !important;
	}
}
.d34_menu{
	line-height: 1.1rem;
}
.d34_menu *{
	font-size: 1rem !important;
}
.d34_menu .dropdown-btn{
	display: none !important;
}
.d34_menu .main-header__logo{
	padding-right: 2rem !important;
}
.d34_menu nav ul,
.d34_menu nav li{
    min-width: fit-content;
    width: 0px;
    max-width: fit-content;
}
.d34_menu nav ul li ul{
	box-sizing: border-box !important;
	min-width: fit-content;
}
.d34_menu nav ul > li > ul *{
	position: relative !important;
    box-shadow: unset !important;
	box-sizing: border-box !important;
	width: fit-content !important;
	
	left: unset !important;
	top: unset !important;
	padding: 0px !important;
	margin: 0px !important;
	border: none !important;
}
.d34_menu nav ul > li > ul{
	/*x debug*/
	/*visibility: visible !important;
	opacity: 1 !important;*/
	padding: .7rem !important;
	display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
	pointer-events: none;
	gap: .4rem;
}
.d34_menu nav ul > li:hover > ul,
.d34_menu nav ul > li > ul:hover{
	/*siccome la posizione è relative devo intervenire con il pointer-events, altrimenti il layer rimane cliccabile anche se invisibile*/
	pointer-events: auto;
}
.d34_menu nav ul > li > ul > li{
	display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
	gap: 1rem;
}
.d34_menu nav ul > li > ul > li > ul:has(> li > ul > li) {
	visibility: visible !important;
	opacity: 1 !important;
	padding: 0px !important;
	gap: .2rem;
	
	padding-bottom: .5rem !important;
}
.d34_menu nav ul > li > ul > li > ul > li:has(> ul > li) li:before{
	content: "/";
	color: white;
	position: absolute;
	left: -1.3rem;
}
.d34_menu nav ul > li > ul > li > ul > li > ul:has(> li){
	opacity: 1 !important;
	visibility: visible !important;
	padding: 0rem 0rem 0rem 1rem !important;
	margin: 0rem !important;
}

.main-header--simple-outsourceo .main-header__menu-box .main-menu ul, 
.main-header--simple-outsourceo .main-header__menu-box>ul ul,
.main-header--simple-outsourceo.main-header--desktop .main-header__menu-box .main-menu ul.sub-menu::after, 
.main-header--simple-outsourceo.main-header--desktop .main-header__menu-box>ul ul.sub-menu::after{
	background-color: #27439A !important;
}
/*----------------------FINE MAIN MENU -----------------------*/
/*----------------------BREADCRUMBS --------------------------*/
.breadcrumbs_section .elementor-widget-wrap.elementor-element-populated{
	padding-top: .2rem !important;
	padding-bottom: .2rem !important;
}
.breadcrumbs_shortcode{
	padding: 0px 15px !important;
}
.yoast-breadcrumbs-in-menu:after{
	content: '';
	position: fixed;
	left: 0px;
	width: 100vw;
}
#breadcrumbs *{
	font-family: "Roboto", Sans-serif;
	font-size: 1rem;
	font-weight: 500;
	color: var(--e-global-color-primary);
}
#breadcrumbs .breadcrumb_last{
	color: #27439A;
}
#breadcrumbs > span > span:first-child a {
  text-transform: uppercase;
}
/*----------------------FINE BREADCRUMBS ---------------------*/
/*----------------------MENU GRAPHICS ------------------------*/
.menu_section{
	/*z-index: 1*/
}
.menu_gfx{
	/*z-index: 0*/
	position: absolute !important;
	top: 0px !important; 
	left: 0px !important;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
}
.menu_gfx .boxes_wrapper{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: white;
}
.menu_gfx .boxes_left,
.menu_gfx .corner_box,
.menu_gfx .boxes_right{
	position: absolute;
}
.menu_gfx .boxes_left{
	left: 0px;
}
.menu_gfx .boxes_right{
	right: 0px;
}
.menu_gfx .corner_box.l1,
.menu_gfx .corner_box.r2{
	background-color: #ea538a; /*viola*/
}
.menu_gfx .corner_box.l2,
.menu_gfx .corner_box.r3{
	background-color: #4cbda8; /*verde*/
}
.menu_gfx .corner_box.r1{
	background-color: #d1b511; /*giallo*/
}
.menu_gfx .corner_box{
	border-radius: 1.8rem;
	color: transparent;
	font-size:  1px;
}

.menu_gfx .corner_box.r1,
.menu_gfx .corner_box.l1,
.menu_gfx .corner_box.r2,
.menu_gfx .corner_box.r3{
	opacity: .2;
}
.menu_gfx .corner_box.l2{
	opacity: .4;
}
.menu_gfx .corner_box.l1{
	width: 40rem;
	height: 10rem;
	top: -5rem;
	left: -22rem;
}
.menu_gfx .corner_box.l2{
	width: 20rem;
	height: 5rem;
	top: -1.7rem;
	left: 5rem;
}

.menu_gfx .corner_box.r1{
	width: 16rem;
    height: 4rem;
    top: -1.5rem;
    left: -18rem;
}
.menu_gfx .corner_box.r2{
    width: 8rem;
    height: 8rem;
    top: -1.5rem;
    left: -7rem;
}
.menu_gfx .corner_box.r3{
	width: 24rem;
    height: 8rem;
    top: 5rem;
    left: -13rem;
}


.main_menu{
	/*z-index: 1*/
}
.breadcrumbs_section{
	/*z-index: 0*/
}

/*----------------------FINE MENU GRAPHICS -------------------*/
/*----------------------HOMEPAGE------------------------------*/
.home_slider{
	padding-bottom: 0px !important;
}
.home_slider li .caption-wrap,
.home_slider li .caption-wrap *{
	box-sizing: border-box !important;
	margin: 0px !important;
}
.home_slider li .caption-wrap{
	opacity: 1 !important;
	color: white !important;
	border-radius: 2rem !important;
	left: 3rem !important;
	padding: 1rem !important;
	
	width: 45% !important;
}
.home_slider li .caption-wrap .caption{
	padding: 0rem !important;
	transition: all .3s; 
}
.home_slider li:nth-child(even) .caption-wrap{
	background-color: #4CBDA8de !important;
	background: #4CBDA8de !important;
}
.home_slider li:nth-child(odd) .caption-wrap{
	background-color: #D1B511de !important;
	background: #D1B511de !important;
}
.home_slider li span{
	color: white !important;
}

.home_slider .caption-wrap span{
	height: 100% !important;
    max-height: 100% !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

@media screen and (max-width: 1199px) {
	.home_slider li .caption-wrap{
		width: calc(100% - 6rem) !important;
	}
}
@media screen and (max-width: 600px) {
	.home_slider li .caption-wrap{
		width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		max-height: 100% !important;
		left: 0px !important;
		top: 0px !important;
		transform: translate(0%, 0%) !important;
		border-radius: 0px !important;
	}
}



.homeCalendar,
.homeCalendar .elementor-widget-container,
.homeCalendar iframe{
	height: 100% !important;
}
.home_slide_imgs .elementor-widget-wrap{
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: .7rem !important;
}
.home_slide_img{
	--container-widget-width: calc((100% - 3rem) / 4) !important;
}

.home_progressbar .aheto-counter__number-wrap *{
    font-size: 2rem !important;
}
.home_progressbar .aheto-counter__number.js-counter,
.home_progressbar .aheto-counter__current{
	color: var(--e-global-color-primary) !important;
    font-family: "Roboto", Sans-serif !important;
   /* font-size: 18px !important;*/
    line-height: 1.2 !important;
	font-weight: 700 !important;
	font-style: normal !important;
	padding-bottom: .5rem !important;
	
	margin-block-start: 0em !important;
    margin-block-end: 0em !important;
    margin-inline-start: 0em !important;
    margin-inline-end: 0em !important;
}
.home_progressbar .aheto-counter__number.js-counter{
	margin-right: .5rem !important;
}
.home_progressbar .aheto-counter__number.js-counter:after,
.home_progressbar .aheto-counter__current:after{
	display: none !important;
}


.cont_calendario{
	
}
/*----------------------FINE HOMEPAGE-------------------------*/
/*----------------------FOOTER--------------------------------*/
.footer_logos,
.footer_logos *{
	box-sizing: border-boxr !important;
}
.footer_logos .elementor-container{
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 2rem !important;
}
.footer_img,
.footer_img img{
	display: block !important;
	height: auto !important;
	width: 100% !important;
	max-width: unset !important;
}
.footer_logos .elementor-column.elementor-col-25.elementor-top-column.elementor-element,
.footer_logos .elementor-widget-container{
	min-width: 10rem !important;
}
.footer_logos .elementor-widget-wrap.elementor-element-populated{
	margin: 0px !important;
	padding: 0px !important;
}
#f_img_1{
	width: 22% !important;
}
#f_img_2{
	width: 28% !important;
}
#f_img_3{
	width: 20% !important;
	padding-right: 2rem;
}
#f_img_4{
	width: 18% !important;
}
.footer_info .elementor-widget-container{
	background-color: transparent !important;
}
.footer_info b,
.footer_info strong{
	color: white !important;
}

.footer_newsletter .left{
	width: unset !important;
	height: 100% !important;
}
.footer_newsletter .right{
	width: unset !important;
	height: 100% !important;
	
}
.footer_newsletter .center{
	flex-grow: 1;
}

.footer_newsletter .center form,
.footer_newsletter .center .newsletter-row{
    width: 100%;
    min-width: 100%;
    display: block;
}
.footer_newsletter .center .wpcf7-form-control-wrap{
	flex-grow: 1;
}
.footer_newsletter .center .wpcf7-form-control-wrap input{
	width: 100%;
}
.footer_newsletter .center p{
	margin: 0px !important;
	padding: 0px !important;
}
.footer_newsletter .center form{
	margin: 0px !important;
	
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: .5rem !important;
	flex-wrap: nowrap;
}
.footer_newsletter .center .newsletter-consent label{
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: .5rem !important;
	flex-wrap: nowrap;
}
.footer_newsletter .center .wpcf7-list-item{
	margin: 0px !important;
}
.footer_newsletter .center .newsletter-consent label input{
	width: 1rem;
	height: 1rem;
}
.footer_newsletter .center .newsletter-consent label span{
	flex-grow: 1;
}
.footer_newsletter .left{
	
}
.footer_newsletter .widget_aheto__link,
.footer_newsletter .mc-field-group{
	margin-bottom: .3rem !important;
}
.footer_newsletter #mc_embed_signup{
	width: 100% !important;
}

.newsletter-row,
.newsletter-row p{
	display: flex;
	gap: .5rem;
	align-items: center;
	flex-wrap: nowrap;
}
.newsletter-row input[type="email"],
.newsletter-row input[type="submit"] {
	padding: .3rem;
}

.newsletter-row input[type="email"] {
	flex: 1;
}

.newsletter-row input[type="submit"] {
	cursor: pointer;
	background-color: #27439A;
	color: white;
}


.footer_socials .aheto-socials{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 2rem;
}
.footer_socials .aheto-socials a{
	
}

.footer_main .elementor-container{
	display: flex !important;
	flex-direction: row !important;
	align-content: center !important;
	justify-items: center !important;
	gap: 1rem !important;

	--logoSize: 10rem;
}

.footer_main .col_1,
.footer_main .col_2,
.footer_main .col_3,
.footer_main .col_4{
	height: 100% !important;
	width: unset !important;
}
.footer_main .col_3 *,
.footer_main .col_4 *{
	white-space: nowrap !important;
	font-weight: normal !important;
}
.footer_main .separator{
	width: 2px !important;
	max-width: 2px !important;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.footer_main .separator .elementor-widget-wrap{
	margin: 0px !important;
	padding: 0px !important;
	width: 2px !important;
	height: 90% !important;
	background-color: white !important;
}
.footer_main .col_1 .elementor-widget-wrap{
	margin: 0rem !important;
	padding: 10px 0rem 0rem  0rem !important;
}
.footer_main .col_1,
.footer_main .elementor-widget-image{
	width: var(--logoSize) !important;
	max-width: var(--logoSize) !important;
	min-width: var(--logoSize) !important;
}
.widget_aheto__infos div{
	margin-bottom: .2rem !important;
}
.footer_logo{
	min-width: 15rem !important;
	width: 15rem !important;
}
.footer_newsletter .elementor-container{
	height: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}


/*----------------------FINE FOOTER---------------------------*/
/*----------------------PAGINA BASE---------------------------*/
.balloon_text p,
.balloon_text ul{
	color: white !important;
	margin-bottom: 0px !important;
}
.balloon_text ul{
	
}
.balloon_text li{
	padding: .2rem 0rem;
	margin-left: .8rem;
	font-style: italic;
}
.balloon_text li::marker {
  content: "• "; /* Changes bullet to a right-angle quote */
  color: white;   /* Changes bullet color */
  font-size: 1.2em;
}

.main_slider .swiper-pagination span{
	margin: .2rem;
}
.footer_newsletter *{
	color: white !important;
}
/*-------BUTTONS*/
.big_button a{
	font-size: 1.5rem !important;	
	border: 1px var( --e-global-color-primary ) !important;	
	background: var( --e-global-color-primary ) !important;	
}
.big_button a:hover{
	border: 1px #27439A !important;	
	background: #27439A !important;	
}
/*-------ACTS-GRID (Atto di affidamento)*/
.acts_grid .elementor-widget-container{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 1rem;
}
.acts_grid .cont{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 2rem;
	
	width: 100%;
	padding-top: 1rem;
	border-top: 1px solid #999;
}

.acts_grid .cont:nth-child(1){
	padding-top: 0rem;
	border-top: 0px solid transparent;
}

.acts_grid .cont .txt{
	flex-grow: 1;
	text-align: justify;
}
.acts_grid .cont .a_cont{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	gap: .3rem;
}
.acts_grid .cont a{
	white-space: nowrap;
	text-align: right;
}
/*----------------------FINE PAGINA BASE----------------------*/
/*----------------------PROGETTI------------------------------*/
/*----------------------FINE PROGETTI-------------------------*/
.progetti_list .progetti-level{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: .5rem;
}
.progetti_list .progetti-level ul,
.progetti_list .progetti-level li{
	margin: 0px .5rem;
	padding: 0px;
}
.progetto-item.level-0 a{
	font-size: 1.3rem;
}
.progetto-item.level-1 a{
	font-size: 1rem !important;
}
ul.progetti-level.level-2{
	display: inline-block !important;
    position: relative !important;
	margin-left: 1rem !important;
}
ul.progetti-level.level-2:before{
	content: "/" !important;
    display: inline-block !important;
    position: absolute !important;
	color: #006db7 !important;
	left: -.4rem !important;
}
.progetto-item.level-2 a{
	font-size: 1rem !important;
	font-weight: normal !important;
}
/*----------------------CALENDARIO----------------------------*/
.tribe-events .tribe-events-calendar-month__day-cell--selected, .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover{
	background-color: var(--e-global-color-primary) !important
}
.tribe-events-calendar-month-mobile-events div{
	display: none;
}
body.tec_calendar_embed-template{
	overflow-x: hidden !important;
	overflow-y: auto !important;
}