/*
 * base.css — reset minimo per il sito statico GF Investment
 *
 * Replica le sole regole che le pagine ereditavano da style.css del tema
 * Twenty Seventeen e che il design system non definisce. Senza queste il
 * layout si rompe in modo sottile: in particolare `img, video { max-width }`
 * regge il dimensionamento del video di sfondo dell'hero.
 *
 * Non e' un reset moderno: e' la replica fedele di cio' che c'era prima.
 */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: #fff;
}

/* Elementi HTML5 come blocchi (browser datati) */
article, aside, footer, header, nav, section, figure, figcaption, main {
    display: block;
}

a {
    color: #222;
    text-decoration: none;
    background-color: transparent;
}

a:active,
a:hover {
    outline-width: 0;
}

img {
    border-style: none;
}

audio,
video {
    display: inline-block;
}

/* Load-bearing: dimensiona il video di sfondo dell'hero e rende
   responsive le immagini. Non rimuovere. */
img,
video {
    height: auto;
    max-width: 100%;
}

svg:not(:root) {
    overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}
