/* ----------------------------- Esprimo Typo3 ---------------------------- */

/* Data ultima modifica: 9 ottobre 2025 */

#top {
  position: relative;
  margin: 0 2%;
  display: block;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
}

/************** flexslider styles **************/
.flexslider {
  margin: 0 !important;
}
.flexslider .slides > li {
  position: relative;
}
.flex-control-nav {
  bottom: 10px !important;
}
.flex-control-paging li a {
  background: #EEEBE9 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -o-box-shadow: none !important;
  box-shadow: none !important;
}
.flex-control-paging li a:hover {
  background: #EEEBE9 !important;
}
.flex-control-paging li a.flex-active {
  background: #B2D8BF !important;
}


/************** payoff styles **************/
.payoff {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 700;
  height:100%;
  width: 30%;
  padding: 20% 20% 0 4%;
  background: #000000;
  background: -webkit-linear-gradient(90deg,rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  background: -moz-linear-gradient(90deg,rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(
    startColorstr="#000000",
    endColorstr="#000000",
    GradientType=1
  );
}
.payoff h1 {
  margin: 0 0 10px 0;
  line-height: 1.10;
  font-size: 3.8vw;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}
.payoff h2 {
  margin: 0 0 20px 0;
  font-family: 'Lato', sans-serif;
  font-size: 1.2vw;
  font-weight: 400;
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}


/************** box styles **************/
.box {
  margin: 0 2%;
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2%;
}
.box01, .box02, .box03 {
  position: relative;
  min-height: 250px;
  padding: 100px 0 50px 0;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  background: #000000;
  text-align: center;
}
.box .box01:before, .box .box02:before, .box .box03:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  opacity: 0.6;
}
.box .box01:before {
  background: url("../images/background/box01.jpg") no-repeat center center / cover;
}  
.box .box02:before {
  background: url("../images/background/box02.jpg") no-repeat center center / cover;
}
.box .box03:before {
  background: url("../images/background/box03.jpg") no-repeat center center / cover;
}

.box .box01:hover:before, .box .box02:hover:before, .box .box03:hover:before {
  opacity: 0.8;
}
.box a {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1.0;
}
.box h2 {
  z-index: 2;
  margin: 0 3%;
   font-size: 1.5vw;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.box p {
  position: relative;
  z-index: 2;
  margin: 5px 3% 20px 3%;
  font-size: 1.3vw;
  font-weight: 400;
  color: #FFFFFF;
}
.box span {
  position: relative;
  z-index: 2;
}


/************** LOGHI styles **************/
#c7900 .ce-image .image{
  position: relative;
  display: block;
  width: 125px;
  height: 125px;
  padding: 10px;
  margin: 5px 5px 10px !important;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1) !important
}
#c7900 .ce-image .image img{
  position: absolute !important;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%,-50%);
  width: auto;
  height: auto;
}
#c7900 .ce-gallery img {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}



@media only screen and (max-width: 1152px) {

  .box {
    grid-template-columns: 1fr;
    gap: 2% 1%;
  }
  .box h2 {
    font-size: 150%;
  }
  .box p {
    font-size: 110%;
  }

}


@media only screen and (max-width: 768px) {

/************** payoff styles **************/
  .payoff {
    width: 80%;
    padding: 45% 16% 0 4%;
  }
  .payoff h1 {
    font-size: 180%;
  }
  .payoff h2 {
    font-size: 110%;
  }

  /************** flexslider styles **************/
  .flexslider {
    width: 150%;
    margin: 0 0 0 -25% !important;
  }

  /************** LOGHI styles **************/
  #c7900 .ce-left .ce-gallery,
  #c7900 .ce-right .ce-gallery,
  #c7900 .ce-column {
    float: left;
    margin-right: 10px;
  }
  #c7900 .ce-image .image{
    width: 90px;
    height: 90px;
    padding: 2px;
    margin: 1px 1px 8px !important;
  }
  #c7900 .ce-gallery img {
    max-width: 80%;
  }

}


@media only screen and (max-width: 480px) {

  
}


