/* Compatibility layer for the restored static website. */
html { background: #fff; }
body {
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}
iframe { max-width: 100%; }

/* Evidenza discreta del progetto fotovoltaico nella homepage italiana. */
.funding-banner {
  background: linear-gradient(90deg, #8b0700 0%, #d4140a 100%);
  border-bottom: 3px solid #f2c84b;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
}
.funding-banner a {
  box-sizing: border-box;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 9px 22px;
  text-decoration: none !important;
}
.funding-banner strong {
  flex: 0 0 auto;
  font-size: 14px;
  letter-spacing: .02em;
}
.funding-banner-copy {
  flex: 1 1 auto;
  font-size: 13px;
}
.funding-banner-link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.funding-banner a:hover .funding-banner-link,
.funding-banner a:focus .funding-banner-link {
  text-decoration: underline;
}

/* Sezione ufficiale inserita nella pagina Profilo. */
.funding-project {
  border-top: 4px solid #990000;
  margin-top: 30px;
  padding-top: 20px;
  text-align: left;
}
.funding-project h2 {
  color: #1f558e;
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 26px;
  line-height: 30px;
  margin: 0 0 16px;
}
.funding-project p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
  text-align: left;
}
.funding-logos {
  border-top: 1px solid #ddd;
  margin-top: 22px;
  padding-top: 18px;
}
.funding-logos img.funding-logos-strip {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}
.project-developer {
  margin-top: 22px;
}
.project-developer strong {
  color: #3d3d3d;
  display: block;
  font-size: 14px;
  margin-bottom: 9px;
}
.project-developer img {
  display: block;
  height: 60px;
  width: 239px;
}

/* The old Flash homepage was already replaced with these three original slides. */
#sliderImages {
  animation-name: restored-home-slider !important;
  -webkit-animation-name: restored-home-slider !important;
}
@keyframes restored-home-slider {
  0%, 28% { margin-left: 0; }
  33%, 61% { margin-left: -980px; }
  66%, 94% { margin-left: -1960px; }
  100% { margin-left: 0; }
}
@-webkit-keyframes restored-home-slider {
  0%, 28% { margin-left: 0; }
  33%, 61% { margin-left: -980px; }
  66%, 94% { margin-left: -1960px; }
  100% { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #sliderImages {
    animation: none !important;
    -webkit-animation: none !important;
  }
}
