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

/* Add your custom styles here */


/* Utils*/

.evidenza {
    background: linear-gradient(180deg, transparent 60%, yellow 60%);
}


/*
#navigation a:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: var(--e-global-color-secondary);
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
#navigation a:hover:after { 
  width: 100%; 
  left: 0; 
}
*/

.page-id-185 #navbar,
.error404 #navbar{
	background-color: var(--e-global-color-primary);
}

#navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.85); /* oppure il colore che preferisci */
}

select.mptt-menu.mptt-navigation-select {
    display: none;
}

/* Strutture */
.punti_forza:hover{
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
}

.punti_forza:hover svg{
    fill: var(--e-global-color-primary);
}

/*NEWS */

.card_news .elementor-widget-image a{
	display: flex;
	overflow: hidden;
}

.img_news {
    position: relative;
    overflow: hidden;
}

.img_news::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    pointer-events: none; 
}

/* HOME */

.bg_section{
    position: relative;
}

.bg_section::after{
    content: "";
    position: absolute;
    width: 60%;
    right: 0;
    top:0;
    background: white;
    height: 100%;
}





.linear-shadow{
	position: relative;
}

.linear-shadow::after{
	content:"";
	height:100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, .2) 0%,    /* nero in basso */
    rgba(0, 0, 0, 0) 50%,   /* completamente trasparente a metà */
    rgba(0, 0, 0, .2) 100%   /* nero in alto */
  );
	  background-color:  rgba(0, 0, 0, .2);
}


.linear-shadow-soft{
	position: relative;
}

.linear-shadow-soft::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* sfuma dal nero 70% opaco in basso
     al trasparente al 70% dell’altezza */
     background-image: linear-gradient(to top, #0D487B 0%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0) 100%);
}




@media only screen and (min-width: 1025px) {
.linear-shadow-left{
	position: relative;
}

.linear-shadow-left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* sfuma dal nero 70% opaco in basso
     al trasparente al 70% dell’altezza */
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, .3) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}
}

@media only screen and (max-width: 1024px) {
	.card-testata{
		position:relative;
		left: 0;
		transform: translate(0,0)!important;
	}}

@media only screen and (min-width: 1025px) {
.hover-card{
	max-height: 0;
	opacity: 0;
  overflow: hidden;
  transition: all .7s ease-in-out;
}

.card:hover .hover-card{
	max-height: 500px;
  opacity: 1;
}
}
/*
.carosello-recensioni{

  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 10%,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-mode: alpha;
  

  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 10%,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0) 100%
  );
  mask-mode: alpha;
}
*/
.swiper-wrapper{
	transition-timing-function: linear!important;
}




.card-istruttore{
    color: var(--e-global-color-text);
}

.card-istruttore p{
    font-size: 18px;
}

.card-istruttore:hover p{
        color: var(--e-global-color-text);
}

@media only screen and (max-width: 768px) {
    .card-istruttore{
        background-color:#51B0D6 ;
    }
}

.rank-math-breadcrumb{
	color: white;
	font-size: 16px;
}
.rank-math-breadcrumb a {
	color: var(--e-global-color-secondary);
	font-size: inherit;
	font-weight: 700;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  /* Imposta un delay calcolato da una variabile */
  animation-delay: calc(var(--i, 0) * 0.3s);
}



.fadeInUp:nth-child(1) { --i: 0; }
.fadeInUp:nth-child(2) { --i: 1; }
.fadeInUp:nth-child(3) { --i: 2; }
.fadeInUp:nth-child(4) { --i: 3; }


#form_contatto a {
    font-size: inherit;;
    color: var(--e-global-color-primary);
}

.elementor-widget-n-menu .e-n-menu-title.e-current, .elementor-widget-n-menu .e-n-menu-title.e-current a {
    text-decoration: underline;
    text-underline-offset: 5px;
}


 #my-agile-privacy-consent-again a {
	 font-size: 14px;
}

a.map-button.map-reject-button {
    font-size: 18px;
}

.myagileprivacy_text_wrapper strong{
	    margin: 20px 0px;
    display: inline-block;
}
.myagileprivacy_text_wrapper a{
font-size: inherit;
color: var(--e-global-color-primary);
}