/*
 * Poggio Cavallo - CSS del sito (template child poplar-poggiocavallo).
 * Caricato automaticamente dal template Poplar dopo il suo CSS; importato anche nell'editor (editor.css).
 * Sostituisce files/override.css (parametro "File CSS" dello stile del template).
 */

/* ------------------------------------------- TOPBAR E MENU */
#topbar {
  background: none;
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 1030; /* come le barre fisse di Bootstrap: sotto modali, lightbox e preloader */
  transition: all 0.3s ease-in-out;
}
#topbar.sticknav {
  background: var(--color1) !important;
}
#menu {
  background: none;
}
#menu ul.nav.nav-pills li {
  background: none;
}
#menu ul li a {
  font-family: "Libre Baskerville", serif;
  text-transform: none;
  font-size: 1.5rem;
  letter-spacing: normal;
  line-height: 4rem;
}

@media only screen and (max-width: 768px) {
  #topbar {
    background: #fff;
  }
  #topbar a {
    color: var(--color1) !important;
  }
}
@media (min-width: 768px) {
  #topbar.sticknav nav {
    position: unset;
    z-index: 999;
  }
  #menu .logo svg g {
    fill: #fff !important;
  }
}

/* Voci di menu attive, barre e piè di pagina nel colore principale.
   I pulsanti (.btn, .button, .readmore) restano quelli del template: colore 2 (lilla). */
ul.nav a.active,
.nav a.active:hover,
#top,
#contact-bar,
ul.nav.nav-pills li,
#footer {
  background: var(--color1);
  color: #000;
}
#footer a {
  color: var(--color1);
}

div.mod-languages ul li.lang-active {
  background-color: transparent;
}

/* ------------------------------------------- HEADER E HOME */
#header::after {
  background: linear-gradient(to bottom, var(--color1) 0%, rgba(0, 0, 0, 0) 25%, rgba(64, 64, 64, 0) 75%, var(--color2-light) 100%);
  pointer-events: none;
}
#header #sitedescription {
  display: none;
}
body.view-featured .category-name {
  display: none;
}

/* Sagoma sotto i titoli dei blocchi della home */
#featquad .title::after {
  -webkit-mask-image: url("../images/featquad-mask.svg");
  mask-image: url("../images/featquad-mask.svg");
}

/* Slider: niente anello del conto alla rovescia */
.autoplay-progress {
  display: none;
}

/* ------------------------------------------- PIÈ DI PAGINA */
#foot svg,
#foot h3,
#foot i {
  color: #fff;
}

#back-to-top {
  position: fixed;
  display: none;
  bottom: 10vh;
  right: 0;
  transform: translateZ(0);
  transition-duration: 0.3s;
  transition-property: box-shadow, transform;
}

/* ------------------------------------------- MODULI E SERVIZI ESTERNI */
/* Form di richiesta (mod_danform) */
#danform {
  background-color: #d6aa5230;
}
#danform label {
  text-transform: uppercase;
  color: #d6aa52;
}
#danform h3,
#danform h4,
#danform svg,
#danform a {
  color: #d6aa52;
}
#danform .button {
  background-color: #d6aa52 !important;
}

/* Conto alla rovescia (mod_dan_datacountdown) */
#countdown,
#countdown #giorni,
#countdown #ore,
#countdown #minuti,
#countdown #secondi {
  color: var(--color1);
}
#countdown #giorni,
#countdown #ore,
#countdown #minuti,
#countdown #secondi {
  font-family: "Libre Baskerville", serif;
  line-height: 1em;
  margin: 0;
}
#countdown #giorni {
  font-size: 4em;
}
#countdown #ore,
#countdown #minuti,
#countdown #secondi {
  font-size: 1.5em;
}
#countdown #secondi,
#countdown .button {
  transform: scale(0.6);
}
#countdown .button {
  color: #fff;
}

/* Newsletter (AcyMailing) */
.acymailing_module_form,
.acymailing_module_form table td {
  text-align: center;
}

/* Prenotazioni WuBook: pulsante e testo leggibile (evita il ritaglio) */
.kw_theme_ligth .kw_book_button {
  background: #7f83ba !important;
}
.kw_container {
  clear: both;
  background-color: #fff !important;
}
.kw_block__content {
  font-size: 15px !important;
}
