/*
Theme Name: Aostafactor
Author: Bruno Bionaz
Author URI: http://bioandjules.com
Description: Tema child di ItaliaWP2.
Version: 1.0.1
License: GNU AFFERO GENERAL PUBLIC LICENSE v3 or later
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: italiawp2
Text Domain: aostafactor
*/

.btn.selected {
    background-color: #1A1F22 !important;
}

.services-buttons .btn,
.services-buttons .btn .icon-external-link {
    color: #fff !important;
    fill: #fff !important;
}


.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.service-summary h5 {
    text-transform: uppercase;
    font-weight: 700;
    padding-top: 0.4em;
    padding-left: 1em;
    padding-right: 1em;
    max-width: 250px;;
}
.box-servizi a:nth-child(n+2) .scheda-sito {
    background-color: #45555d !important;
}  

.service-summary .text-center {
    border-right: 1px solid;
}
.service-summary .text-center:last-child {
    border-right: none;
}

.partecipate-cards .scheda-news .scheda-foto,
.partecipate-cards .scheda-news .scheda-foto img {
    height: 320px
}

/* FIX font */
section#articolo-dettaglio-testo .cerca-risultato-item p {
    font-family: "Titillium Web", Geneva, Tahoma, sans-serif;
}

/* SIBLINGS */
.lista-paragrafi .list-group-item.is-current,
.lista-paragrafi .list-group-item.is-current:hover,
.lista-paragrafi .list-group-item.is-current:focus {
    /* background-color: #5D000B !important; */
    /* color: #fff !important; */
    font-weight: 900;
}
.lista-paragrafi .list-group-item .icon {
    fill: #fff !important;
}
/* GALLERIE — schede senza data: recupera lo spazio della riga meta rimossa */
.scheda .scheda-testo.scheda-testo-nodata {
    padding-top: 24px;
}

/* FOOTER — motto del sito sotto il titolo, come nell'header.
   L'altezza fissa di 48px del tema padre lascerebbe fuori la seconda riga. */
#footer .intestazione .logoimg,
#footer .intestazione .logotxt {
    vertical-align: middle;
}

#footer .intestazione .logotxt,
#footer .intestazione .logotxt h3 {
    height: auto;
}

#footer .intestazione .logotxt h3 span.tagline {
    display: block;
    margin-top: 4px;
    font-size: 0.778rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* GALLERIA (pagina singola) ------------------------------------------------
   Il pannello dietro il carosello e' bianco (regola nel CSS aggiuntivo del
   Customizer), mentre il tema padre colora titolo e didascalie di bianco per il
   fondo scuro #30373D originale: senza questi colori il testo sparisce.
   !important e specificita' alta perche' lo style.css del child viene accodato
   PRIMA dei CSS del tema padre (inc/enqueue.php:57) e del CSS del Customizer.
   :not(.galleriahome) perche' la sezione gallerie della home riusa lo stesso id
   su fondo rosso, e li' i testi devono restare bianchi. */
#articolo-dettaglio-testo:not(.galleriahome) .galleriaslide h4 {
    color: #30373d !important;
}

#articolo-dettaglio-testo:not(.galleriahome) .galleriaslide figcaption,
#articolo-dettaglio-testo:not(.galleriahome) .galleriaslide figcaption > p {
    color: #555 !important;
}

/* Data di scatto sotto ogni foto: nascosta come sulle schede galleria.
   Il tema padre la stampa in inc/gallery.php, per giunta non tradotta. */
#articolo-dettaglio-testo:not(.galleriahome) .galleriaslide .galleria-foto > p {
    display: none;
}
