/*
 * NormaSkeleton CSS
 * Fusione di Normalize.css v3.0.2 + Skeleton V2.0.4
 * Personalizzato per template Parma — WMA Web Maker Agency
 *
 * Griglia: flexbox, gap 2%, max-width 1500px
 * Breakpoint: 300px – 3440px
 * Sezione button rimossa (codice personalizzato)
 */

/* ============================================================
   1. RESET GLOBALE
   ============================================================ */

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

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  font-family: "Arial", "HelveticaNeue", "Helvetica Neue", Helvetica, sans-serif;
}

/* ============================================================
   2. ELEMENTI HTML5
   ============================================================ */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

/* ============================================================
   3. TESTO E SEMANTICA
   ============================================================ */

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

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

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ============================================================
   4. MEDIA INCORPORATI
   ============================================================ */

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

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

/* ============================================================
   5. RAGGRUPPAMENTO
   ============================================================ */

figure {
  margin: 1em 40px 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #e1e1e1;
}

pre {
  overflow: auto;
}

/* ============================================================
   6. FORM
   ============================================================ */

input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

select {
  text-transform: none;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  display: inline;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  overflow: auto;
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33c3f0;
  outline: 0;
}

optgroup {
  font-weight: bold;
}

label,
legend {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

legend {
  border: 0;
  padding: 0;
}

fieldset {
  padding: 0;
  border-width: 0;
  margin: 0;
}

label > .label-body {
  display: inline-block;
  margin-left: 0.5rem;
  font-weight: normal;
}

/* ============================================================
   7. TABELLE
   ============================================================ */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e1e1e1;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

/* ============================================================
   8. CODICE
   ============================================================ */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

code {
  padding: 0.2rem 0.5rem;
  margin: 0 0.2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #f1f1f1;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}

pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
}

/* ============================================================
   9. GRIGLIA — Flexbox, gap 2%, max-width 1500px
   Attiva da 550px. Funziona da 300px a 3440px.
   Larghezze colonne: k × 6.5% + (k−1) × 2%
   ============================================================ */

.container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}

.column,
.columns {
  flex: 0 0 100%;
  box-sizing: border-box;
}

@media (min-width: 400px) {
  .container {
    width: 90%;
    padding: 0;
  }
}

@media (min-width: 550px) {
  .container {
    width: 85%;
  }

  .one.column,
  .one.columns        { flex: 0 0 6.5%; }

  .two.columns        { flex: 0 0 15%; }

  .three.columns      { flex: 0 0 23.5%; }

  .four.columns       { flex: 0 0 32%; }

  .five.columns       { flex: 0 0 40.5%; }

  .six.columns        { flex: 0 0 49%; }

  .seven.columns      { flex: 0 0 57.5%; }

  .eight.columns      { flex: 0 0 66%; }

  .nine.columns       { flex: 0 0 74.5%; }

  .ten.columns        { flex: 0 0 83%; }

  .eleven.columns     { flex: 0 0 91.5%; }

  .twelve.columns     { flex: 0 0 100%; }

  /* Frazioni */
  .one-third.column   { flex: 0 0 32%; }
  .two-thirds.column  { flex: 0 0 66%; }
  .one-half.column    { flex: 0 0 49%; }

  /* Offset: margin-left = n × 6.5% + n × 2% = n × 8.5% */
  .offset-by-one.column,
  .offset-by-one.columns        { margin-left: 8.5%; }

  .offset-by-two.column,
  .offset-by-two.columns        { margin-left: 17%; }

  .offset-by-three.column,
  .offset-by-three.columns      { margin-left: 25.5%; }

  .offset-by-four.column,
  .offset-by-four.columns       { margin-left: 34%; }

  .offset-by-five.column,
  .offset-by-five.columns       { margin-left: 42.5%; }

  .offset-by-six.column,
  .offset-by-six.columns        { margin-left: 51%; }

  .offset-by-seven.column,
  .offset-by-seven.columns      { margin-left: 59.5%; }

  .offset-by-eight.column,
  .offset-by-eight.columns      { margin-left: 68%; }

  .offset-by-nine.column,
  .offset-by-nine.columns       { margin-left: 76.5%; }

  .offset-by-ten.column,
  .offset-by-ten.columns        { margin-left: 85%; }

  .offset-by-eleven.column,
  .offset-by-eleven.columns     { margin-left: 93.5%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns  { margin-left: 34%; }

  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns { margin-left: 68%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns   { margin-left: 51%; }
}

/* ============================================================
   10. TIPOGRAFIA
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.3;
}

h1 { font-size: 4rem;   line-height: 1.2;  letter-spacing: 0; }
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: 0; }
h3 { font-size: 3rem;   line-height: 1.3;  letter-spacing: 0; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: 0; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: 0; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

@media (min-width: 550px) {
  h1 { font-size: 5rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

/* ============================================================
   11. LISTE
   ============================================================ */

ul {
  list-style: circle inside;
}

ol {
  list-style: decimal inside;
}

ol,
ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 2.5rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%;
}

li {
  margin-bottom: 1rem;
}

/* ============================================================
   12. SPAZIATURA
   ============================================================ */

input,
textarea,
select,
fieldset {
  margin-bottom: 0;
}

pre,
blockquote,
dl,
figure,
table,
ul,
ol,
form {
  margin-bottom: 2.5rem;
}

/* ============================================================
   13. UTILITÀ
   ============================================================ */

.u-full-width {
  width: 100%;
  box-sizing: border-box;
}

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box;
}

.u-pull-right {
  float: right;
}

.u-pull-left {
  float: left;
}
