/* Aggiunte del tema Grav: sostituiscono i plugin jQuery del vecchio template */
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
#header { position: sticky; top: 0; }
#home { position: relative; min-height: 100vh; }
#home .tb { min-height: 100vh; }
.motto { color: #fff; margin-bottom: 120px; }
.hero-buttons .btn { margin: 0 5px 10px; }
.lingue { margin-top: 40px; }
.lingua { display: inline-block; margin: 0 6px; }
.lingua:not(.active) { opacity: .5; }
.lingua:hover { opacity: 1; }
#cta, #facts { min-height: 350px; padding: 0; }
.section .testo { line-height: 1.6; }
.section .immagine img { opacity: .4; margin: 30px auto 0; }
.certificati { display: flex; flex-wrap: wrap; justify-content: center; }
.certificato { padding: 15px; text-align: center; margin: 0 0 25px; min-height: 100%; }
.certificato img { margin: 0 auto 10px; max-height: 250px; }
.didascalia { font-size: 15px; line-height: 1.5; }
.contact-address p { line-height: 1.6; }
.contact-address a { color: #fff; }
footer .loghi { margin-top: 15px; }
.certificato-pagina { padding-bottom: 100px; }
.logo-certificato { margin: 0 auto 20px; max-height: 260px; }
.js .wow { visibility: hidden; }
.js .wow.animated { visibility: visible; }
@media (max-width: 992px) {
  #main-menu.collapse { display: none; }
  #main-menu.collapse.in { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .wow { visibility: visible; }
  .animated { animation: none !important; }
}
.slide-text { padding-top: 265px; }
.testo a, .didascalia a, .policy { color: #ac6c20; text-decoration: underline; }
.testo img { display: block; max-width: 280px; height: auto; margin: 20px auto 10px; }
.testo img + em, .testo p:has(> img) + p em { display: block; text-align: center; }
.contact-address img { max-width: 150px; }
.indietro { color: #332F2F; }
.certificato-pagina .testo { text-align: left; }
body { height: auto; min-height: 100%; }
