html {background-color: #ffffff;}
body {font-family: 'Roboto', sans-serif;/*background-color:#f3f4f5*/background-color:#FFFFFF}


.bg-blu{background-color:/*#3c5a98*/#123b7f}
.bg-green{background-color:#95c11f}
.bg-black{background-color:#000000;}
.bg-white{background-color:#FFFFFF;}
.bg-gray{background-color:#dfe0e0;}
.bg-lightgray{background-color:#f2f3f5;}
.bg-graylight{background-color:#f3f3f3;}
.bg-footer-blu{background-color:#054575}
.bg-footer-blu-chiaro{background-color:#507d9f}
.bg-grigio{background-color:#f4f4f4}

.txt-verde{color:#95c11f}
.txt-blu{color:/*#3c5a98*//*#123b7f*/#054575}
.txt-bianco{color:#FFFFFF;}


.txt-trirong{font-family: 'Trirong', serif;}

.bg-transparent{background-color:transparent}
footer p{font-size:0.9rem}

footer a{color:inherit;font-size:0.9rem;text-decoration:none}
footer a:hover{color:inherit}

footer a.maps{color:inherit;font-size:0.9rem;text-transform:none;}
footer a:hover{color:#054575;text-decoration:underline;}
footer .bg-footer-blu a:hover{color:#FFFFFF;text-decoration:underline;}

a {color:#FFFFFF;text-decoration:none}
a:hover{color:#054575;}	

.txt-serif{font-family:Times,serif !important;}

.mTNeg{margin-top:-50px}

.fSizeWidth{font-size:2.5vw}
.fSizeWidthHeader{font-size:2.8vw}

.bordoDx{border-right:3px solid #e3e3e3;}

.fBold600{font-weight:600}

.mTop{margin-top:133px;}

.shadow-header{  box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.2), inset 0 -10px 15px -14px rgba(0, 0, 0, 0.19);}


/*.linkHome a::after{ content: '';     width: 40px;    height: 2px;    display: block;    background: #ffffff;} */
.linkHome a{    background-color: #FFFFFF;    color: #123b7f;    padding: 10px 20px;    border-radius: 20px;font-weight:bold;}
.linkHome a:hover{    background-color: #123b7f;    color: #FFFFFF;   }
.btn-verde{color:#FFFFFF;background-color:#95c11f;border-radius:25px;padding:10px 20px;border:1px solid #95c11f;}
.btn-verde:hover{color:#FFFFFF !important;background-color:#054575;border:1px solid #054575;}

.btn-blu{color:#FFFFFF;background-color:#054575;border-radius:25px;padding:10px 20px;border:1px solid #054575;}
.btn-blu:hover{color:#FFFFFF !important;background-color:#95c11f;border:1px solid #95c11f;}

/*NAV*/
.nav-item a{color:#054575;font-weight:bold;}
.nav-item a:hover{color:#95c11f;}
.navbar-brand{margin-left:20px;}
.navbar-brand img{padding-right:3rem!important}
/*USATO NEL BOTTONE CALENDARIO*/
.bg-menu-verde{background-color:#95c11f;border-radius:25px;color:#FFFFFF !important;padding:8px 20px !important;}
.bg-menu-verde:hover{background-color:#054575;}
.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link{color:#95c11f}

.btn-menu-payoff{background-color:#FFFFFF;border-radius:25px;color:#95c11f !important;padding:8px 20px !important;border:1px solid #95c11f}
.btn-menu-payoff:hover{/*background: rgb(240,230,37);
background: linear-gradient(106deg, rgba(240,230,37,1) 10%, rgba(166,198,27,1) 27%, rgba(102,156,107,1) 49%, rgba(20,84,155,1) 75%);*/
background: #f1e725 !important;
    background: -moz-linear-gradient(left, #f1e725 0%, #12529a 100%) !important;
    background: -webkit-linear-gradient(left, #f1e725 0%,#12529a 100%) !important;
    background: linear-gradient(to right, #f1e725 0%,#12529a 100%) !important;
border-radius:25px;color:#FFFFFF !important;padding:8px 20px !important;border:1px solid #FFFFFF}

.btn-claim{border-radius:40px !important;}


nav .container-fluid{/*border-bottom-left-radius:0.25rem;border-bottom-right-radius:0.25rem*/}

.navbar-toggler:focus{box-shadow:none;}
.navbar-toggler-icon{background-image:  url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(149, 193, 31, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}

/*CAROUSEL HOME*/
#carouselHome .carousel-indicators {margin:0;border-top:1px solid #7d807d;left:5%;right:5%;padding-left:5%;padding-right:5%;}
#carouselHome .carousel-indicators [data-bs-target]{margin:0;border:0;height:1px;border-bottom:3px solid transparent;background-color:transparent}
#carouselHome .carousel-indicators .active{background-color:#f7d51f;border-bottom:3px solid #f7d51f}
#carouselHome .carousel-caption{/*top:25%;text-align:left*/text-align:center;z-index:1;/*right:25%*/}

#carouselHome .pos_caption{bottom:17% !important;top:inherit}

#carouselHome .carousel-control-next-icon, .carousel-control-prev-icon{background-color:#FFFFFF;padding:25px;border-radius:25px;    background-size: 80% 80%;}
#carouselHome .carousel-control-next-icon	{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000' %3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}
#carouselHome .carousel-control-prev-icon {background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}

#carouselHome .carousel-caption a:hover{color:#FFFFFF;}


#carouselHome .carousel-control-prev,#carouselHome .carousel-control-next{display:none;}

.titolo-slider{font-size: 3.5vw !important;    }
.lh-titolo-slider{line-height: 2.7rem !important;}

.linkCarouselHome:hover{color:#FFFFFF;}

.shadowBottom{position:absolute;z-index:1;bottom:0;left:0px;width:100%;height:100%;background: rgb(0,0,0);
background: linear-gradient(180deg, rgba(0,0,0,0) 18%, rgba(0,0,0,0.16290266106442575) 30%, rgba(0,0,0,0.87234243697479) 95%);}

.shadowBottomInterne{position:absolute;z-index:1;bottom:0;left:0px;width:100%;height:100%;background: rgb(0,0,0);
background: linear-gradient(180deg, rgba(0,0,0,0) 14%, rgba(0,0,0,0.16290266106442575) 60%, rgba(0,0,0,0.87234243697479) 104%)}
/*#carouselHome .carousel-caption{text-align:left;z-index:1;}*/
.mx-height{max-height:900px;}

/*.titolo-slider{background-color:#FFFFFF;color:#000000;font-weight: normal;padding:5px 10px;line-height: 1.2em !important;display:inline}*/

.animate__animated.animate__delay-0_8s{
	animation-delay:0.8s !important;
}


/*.animate__fadeInLeft {
    -webkit-animation-name: fadeInLeftMod;
    animation-name: fadeInLeftMod
}*/

@keyframes fadeInLeftMod {
    0% {
        opacity: 0;
      
    }

    to {
        opacity: 1;
      
    }
}


/*CAROUSEL REVIEW*/

#carouselReviews {
  margin-left: 50px;
  margin-right: 50px;
}

#carouselReviews .carousel-control-prev {
  margin-left: -70px;
}

#carouselReviews .carousel-control-next {
  margin-right: -70px;
}

#carouselReviews .carousel-control-prev-icon {
 background-image:url("../img/arrow-left.png") !important;
}

#carouselReviews .carousel-control-next-icon {
  background-image: url("../img/arrow-right.png") !important;
}
#carouselReviews .carousel-control-next,#carouselReviews  .carousel-control-prev{width:4%}

#carouselReviews .carousel-indicators{position:static !important;display:block;margin-left:10px;margin-right:10px;color:#c3c3c3}
#carouselReviews .carousel-indicators [data-bs-target]{text-indent:0px !important;box-sizing:border-box !important;padding:6px;height:auto !important;background-color:transparent;text-align:right !important}
#carouselReviews .carousel-indicators .active{color:#203aff}

#carouselReviews .carousel-caption{    position: absolute;    left: 0;    background: rgba(149,193,31,0.7);color:#FFFFFF; top: 10%;right: 40%;bottom: 10%;}


/*CAROUSEL REVIEW MOBILE*/ 
#carouselReviewsMobile .carousel-caption{left:0px;top:0px; background: rgba(149,193,31,0.7);color:#FFFFFF;}
.bg-overlay-green{background-color:rgba(149,193,31,0.7)}
.bg-back-img{background-size:cover;}

/*TEASER HOME*/
.teaser{color:#FFFFFF;text-decoration:none}
.teaser:hover {color:#f7d51f;}

/*EVENTI*/
.layer-black{background-color:#000000;opacity:0.30;cursor:pointer}
.layer-black:hover{opacity:0}

/*TEAM*/
 /* FLIP */
	/*.flip-box {background-color: transparent;perspective: 1000px;top:270px;left:30px;}
	.flip-box-inner {position: relative;width: 100%;height: 100%;text-align: center;transition: transform 0.8s;transform-style: preserve-3d;}
	.flip-box-front img, .flip-box-back img {}
	.flip-box.flipme .flip-box-inner {	  transform: rotateY(180deg);	}
	.flip-box-front, .flip-box-back { position: absolute; width: 100%;	  height: 100%;	 -webkit-backface-visibility: hidden;	  backface-visibility: hidden;	}
	.flip-box-front { color: black;}
	.flip-box-back { color: white; transform: rotateY(180deg);}	*/
	
.flip-card {
 position: relative;
 display:block;
  background-color: transparent;
  width: 100%;
  height: 487px;
  overflow:hidden;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
   display:block;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
/*.flip-card:hover .flip-card-inner {
 transform: rotateY(180deg);
  
}*/

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: transparent;
  color: black;
 opacity: 1;
}

/* Style the back side */
.flip-card-back {
  background-color: transparent;
  color: white;
  /*transform: rotateY(180deg);*/
  opacity: 0;
}

.flip-card-inner:hover .flip-card-front  {
    opacity: 0;
}
.flip-card-inner:hover .flip-card-back {
      /*animation: fadeIn 3s;*/
	  opacity: 1;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/*CALENDARIO EVENTI*/
.evento.card{border-radius:0;border:0px;border-bottom:2px solid #c5c8c8}
.evento.card .btn-first{background-color:#FFFFFF;border:1px solid #82aa1b;color:#82aa1b;border-radius:25px;    padding: 10px 20px;}
.evento.card .btn-second{background-color:#FFFFFF;border:0px;color:#123b7f;border:1px solid #123b7f;border-radius:25px;    padding: 10px 20px;}
.evento.card .card-img-top{border-top-left-radius:0px;border-top-right-radius:0px;}

.btn-first{background-color:#82aa1b;border:0px;color:#FFFFFF;border-radius:25px;    padding: 10px 20px;}
.btn-second{background-color:#123b7f;border:0px;color:#FFFFFF;border-radius:25px;    padding: 10px 20px;}
.btn-first:hover{background-color:#123b7f !important;color:#FFFFFF !important;border:1px solid #123b7f !important;}
.btn-second:hover{background-color:#123b7f !important;color:#FFFFFF !important;}

/*ACCORDION*/
.accordion-button:not(.collapsed){color:#95c11f;background-color:#FFFFFF;box-shadow:none;}
.accordion-button:focus{border:none;box-shadow:none;}
.accordion-button.collapsed{border-bottom:1px solid #dee2e6;box-shadow:none;}
.accordion-item:last-child .accordion-button.collapsed{border-bottom:none}
.accordion-button:not(.collapsed)::after{background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2395c11f' class='bi bi-dash-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");}
.accordion-item{border:none;}
.accordion-button::after{width:1.75rem;height:1.75rem;background-size:1.75rem;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23054575' class='bi bi-plus-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");}

/*button evento single*/
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background), .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link{background-color: #123b7f; border: 1px solid #123b7f;    color: #FFFFFF !important;   border-radius: 25px;    padding: 10px 20px;font-size: 1em;}

.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background), .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover,	.wp-block-button__link:hover{    background-color: #82aa1b !important;    color: #FFFFFF !important;    border: 1px solid #82aa1b !important;}

.card-footer{background-color:#FFFFFF;border-top:0px;}



/*TIMELINE*/
/**/

@media screen and (max-width: 1100px) {
  #carouselHome .carousel-caption{/*top:14% !important*/}
}

@media screen and (max-width: 1200px) {
  .flip-card {
	
	  height: 405px;
	
	}
	.bg-menu-verde {    background-color: transparent !important;    border-radius: 0;    color: #054575 !important;    padding-left:0px !important;}
	
	nav li a.btn-menu-payoff{border:none;padding:initial !important;color:#054575 !important;}
	nav li a.btn-menu-payoff:hover{color:#95c11f !important;background:none !important;border:none !important;padding:initial !important;}
}
@media screen and (max-width: 991px) {
  .flip-card {
	
	  height: 295px;
	
	}
	
}
@media screen and (max-width: 780px) {
 .bordoDx{border-right:0px !important;}
}