/* Stili schermo */

/*
  Sticky Footer Solution
  by Steve Hatcher
  https://www.cssstickyfooter.com
*/

html, body {
  height: 100%;
}

#wrap {
  min-height: 100%;
}

#main {
  overflow: auto;
	padding-bottom: 112px;
}  /* must be same height as the footer */

#piepagina {
  width: 100%;
  position: relative;
	margin-top: -100px; /* negative value of footer height */
  padding: 0;
	height: 100px;
	clear: both;
  background: transparent url(../img/sfumature/prato.png) repeat-x center;
}

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
  content: "";
  height: 100%;
  float: left;
  width: 0;
  margin-top: -32767px; /* thank you Erik J - negate effect of float*/
}
/* End of Sticky Footer code */


/* TAG HTML5 per vecchi browser */

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

mark {
  display: inline;
}

summary {
  cursor: pointer;
  font-weight: bold;
}


/* Definizioni globali */

html {
  font-size: 100%;
  line-height: 1.6;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  background: url(../img/sfumature/cielo-2022a.png) repeat-x center -95px;
  position: relative;
}

article,
section,
#articolo,
#racconto,
.domanda,
.risposta {
  line-height: 1.5;
}

p, div {
  word-wrap: break-word;
}

strong {
  color: #e85d0e;
}

li {
  margin-bottom: 0.2rem;
}

img {
  border: 0;
}

a, a:link {
  color: #0c17af;
  font-weight: bold;
}

a:hover {
  color: #7c7cff !important;
}

input, select, textarea, button {
  padding: 1px;
  background-color: #fff1c9;
  color: #000000;
  font-weight: bold;
  font-size: 100%;
}

label {
  font-size: 100%;
}

input[type=text] {
  max-width: 99%;
}

textarea:invalid, input:invalid,
textarea:invalid:focus, input:invalid:focus {
  border: 2px solid red;
}

input:focus, select:focus, textarea:focus {
  border: 2px solid green;
}

textarea {
  width: 90%;
}

fieldset h3 {
  margin-top: 0;
  color: #e85d0e;
}

fieldset p,
#barra-laterale.riquadro p {
  margin-bottom: 0;
}

.text-modifier {
  min-width: 2rem;
  margin-right: 2rem;
}

.text-modifiers-buttons {
  display: none;
  margin-top: 0.5rem;
}

#barra-laterale .riquadro a:hover, .riquadro-news a:hover {
  color: #7c7cff !important;
}

legend {
  font-weight: bold;
  color: #e85d0e;
}

section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

section:last-child {
  margin-bottom: 0;
}

mark {
  padding: 0 0.1rem !important;
}


/* LAYOUT */

#main, #wrap {
  width: 960px;
  margin: 0 auto;
  padding: 0;
}

#intestazione {
  width: 960px;
  height: 146px;
  margin: 4px auto;
  padding: 0;
  position: relative;
}

#intestazione-home {
  width: 960px;
  height: 170px;
  margin: 0 auto;
  padding-top: 32px;
  position: relative;
}

#intro, #contenuto {
  width: 690px;
  float: left;
  padding-bottom: 3rem;
  text-align: left;
}

#intro { padding: 0 0 1.5rem 8px; }
#barra-intro, #barra-laterale {
  width: 230px;
  float: right;
	padding-top: 0;
	padding-bottom: 112px;
  overflow: hidden;
}
#barra-intro { padding-bottom: 0; }

#barra-laterale {
  padding-bottom: 3.5rem;
  margin-bottom: 2rem;
}

#infoetc {
  width: 200px;
  margin: 0 auto;
  font-weight: bold;
  text-align: center;
}


/* CLASSI e ID ELEMENTI */

.wide { width: 100% !important; }

#intestazione-home, #intestazione, #intro, #piepagina, h1, h2, h3, h4, h5 {
  font-family: Arial, Verdana, sans-serif;
}

#link-rapidi a.crea, a.crea:link         { color: #08b600; }
#link-rapidi a.comunica, a.comunica:link { color: #eeaa08; }
#link-rapidi a.impara, a.impara:link     { color: #ca1919; }
#link-rapidi a.cerca, a.cerca:link       { color: #cc00ff; }

#contenuto, #barra-intro, #barra-laterale {
  font-family: "Trebuchet MS", "Lucida Casual", sans-serif;
}

#contenuto h2:first-child,
#contenuto h3:first-child,
#contenuto h4:first-child,
#barra-laterale p:first-child {
  margin-top: 0;
}

#contenuto table {
  border-collapse: collapse;
  margin: 0 auto;
}

#contenuto table th,
#contenuto table td {
  vertical-align: top;
  table-layout: fixed;
  padding: 0.3rem;
}

#contenuto table th {
  font-weight: normal;
  font-style: italic;
}

#contenuto table.tabellavis thead {
  background-color: #fff1c9;
  color: #e85d0e;
}

#contenuto table.tabellavis th,
#contenuto table.tabellavis td {
  border: 2px solid #e85d0e;
}

#contenuto p {
  margin-top: 0;
}

#contenuto h2,
#contenuto h3,
#contenuto h4,
#contenuto h5 {
  margin-top: 1.5rem;
  color: #e85d0e;
  text-align: center;
}

article section {
  margin-top: 1.5rem;
}

article section:first-child {
  margin-top: 0;
}

#contenuto .sezione,
#contenuto .sottosezione,
section h2:first-child, section h3:first-child, section h4:first-child {
  padding: 0.2rem;
  margin-top: 1.5rem;
  background-color: #eefcff;
  background: linear-gradient(to right, #9aebff 0%, #eefcff 45%, #eefcff 55%, #9aebff 100%);
}

.riquadro2 > h3 {
  margin-top: 0 !important;
}

#contenuto dt {
  margin-top: 1.5rem;
  font-size: 110%;
}

#contenuto ul, #contenuto ol {
  margin-left: 0;
  padding-left: 1.2rem;
}

.navigazione {
  text-align: center;
}

#intestazione h1, #intestazione-home h1,
#intestazione h2, #intestazione-home h2 {
  margin-top: 0;
  display: none;
}

ul#informazioni-home {
  padding-top: 125px;
  padding-left: 340px;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}

ul#informazioni {
  padding-top: 100px;
  padding-left: 290px;
  font-size: 85%;
  text-align: left;
}

ul#informazioni li:last-child a,
ul#informazioni-home li:last-child a {
  color: green !important;
}

li a.link-rapidi-natale {
  color: red !important;
}

li a.link-rapidi-natale:hover {
  color: red !important;
}

ul#informazioni li:last-child a:hover,
ul#informazioni-home li:last-child a:hover {
  color: #65cd6d !important;
}

#intro p {
  margin-bottom: 0;
}

#intro h2 {
  width: 690px;
  height: 130px;
  margin: 0 auto;
}
#intro h2 span { display: none; }

#link-rapidi, #posizione {
  width: 50%;
  margin-top: 0;
  padding: 0.5rem 0;
  word-spacing: -2px;
  font-weight: bold;
}

#link-rapidi h3 {
  margin: 0;
  font-size: 100%;
}

#link-rapidi {
  float: right;
  text-align: right;
  font-size: smaller;
}

#posizione {
  font-size: smaller;
  float: left;
  text-align: left;
}

.pagination {
  text-align: center;
  margin: 0.5rem auto 0 auto;
}

.pagination a {
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}


/* Nuovo CTA */

.ncta {
  display: block;
  text-align: center;
  margin: 1rem auto;
}

.ncta:first-child { margin-top: 0; }
.ncta:last-child { margin-bottom: 0; }

.ncta + .pagination { margin-top: 0 !important; }

.ncta a {
  padding: 1px 2px;
  background-color: #fff1c9;
  border: 2px solid green;
  color: #000000 !important;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 2px 2px 4px #aaa;
}

.ncta a:focus, .ncta a:hover {
  color: green !important;
  border: 2px solid green;
}


/* Barre */

#barra-intro h3,
#barra-laterale h2,
#barra-laterale h3 {
  margin: 0 auto;
  padding: 0;
  color: #e85d0e;
  font-size: 120%;
  text-align: center;
}

#barra-laterale h3 {
  font-size: 110%;
}

#barra-laterale ol, #barra-laterale ul {
  padding-left: 16px;
  text-indent: 0;
  margin-left: 0;
  margin-bottom: 0;
}

#barra-laterale ol {
  padding-left: 20px;
}

#barra-laterale li {
  padding-bottom: 0.3rem;
}

#barra-laterale .riquadro h4 {
  color: #e85d0e;
  margin-bottom: 0;
}

#barra-laterale h4 + ul {
  margin-top: 0;
}

#barra-laterale .riquadro {
  border: none;
  border-top: 1px solid #e85d0e;
  padding-top: 0;
  background-color: #fff1c9 !important;
}

#barra-laterale .riquadro > h2,
#barra-laterale .riquadro > h3:first-child {
  background-color: #e85d0e;
  margin: 0 0 -0.5rem -1rem;
  padding: 0 1rem;
  color: #fff;
  width: 100%;
  border-bottom: 3px solid #fff;
}

#barra-laterale .riquadro > h2 a,
#barra-laterale .riquadro > h3:first-child a,
#barra-laterale .riquadro > h2 a:link,
#barra-laterale .riquadro > h3:first-child a:link {
  color: #fff !important;
}

.print, .share {
  text-align: center;
}

#share_native {
  display: none;
}


/* Footer */

#piepagina ul {
  position: absolute;
  bottom: 0;
  left: 3%;
  right: 3%;
  margin: 0 0 8px 0;
  padding: 0;
  text-align: center;
  font-size: 95%;
  font-weight: bold;
  z-index: 99;
}

#piepagina a, #piepagina a:link {
  color: #000;
}

#piepagina a:hover {
  color: #fff !important;
}


/* ELEMENTI VARI */

.riquadrievidenziati .riquadro {
  background-color: #fff1c9 !important;
  padding: 0.4rem;
}

.lista-orizzontale {
  margin: 0;
  padding-left: 0;
  list-style: none;
  text-indent: 0;
  font-weight: bold;
  text-align: left;
}

.lista-orizzontale li {
  display: inline;
  margin-left: 0;
  padding-right: 0.2rem;
  text-indent: 0;
  white-space: nowrap;
}

.riquadro {
  text-align: left;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 2px solid #e85d0e;
}

#contenuto .riquadro {
  border-radius: 1rem;
}


#contenuto .riquadro:after,
#contenuto .riquadro2:after,
#contenuto .riquadro3d:after,
section:after {
  content: "";
  display: table;
  clear: both;
}

.riquadro2 {
  margin: 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e85d0e;
}

.riquadro > .riquadro2 {
  margin-top: 0;
}

.riquadro3d {
  margin: 1rem auto;
  padding: 0.4rem;
  background-color: #fff1c9;
  border-radius: 1rem;
  box-shadow: 2px 2px 4px #555555;
}

.riquadro *:last-child,
.riquadro2 *:last-child,
.riquadro3d *:last-child {
  margin-bottom: 0 !important;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.clear {
  clear: both;
}

.sclear,
.iclear {
  clear: both;
  display: block;
}

img.center { display: block; margin: 0 auto; }
img.left   { display: block; float: left; margin-right: 4px; }
img.right  { display: block; float: right; margin-left: 4px; }

.rosso   { color: #ff0000; }
.bianco, .grigio { color: #909090; }
.verde   { color: #008000; }
.viola   { color: #c000cf; }
.giallo  { color: #cfbd00; }
.blu     { color: #0015ff; }
.bgbianco { background-color: #fff; }

.corsivo      { font-style: italic; }
.maiuscoletto { font-variant: small-caps; }
.sottolineato { text-decoration: underline; }
.barrato      { text-decoration: line-through; }
.grassetto    { font-weight: bold; }

.arcobaleno {
  display: inline-block;
  padding: 0.3rem;
  background-color: green;
  background: linear-gradient(to right, red 0%, orange 22%, #e5d400 36%, green 50%, blue 64%, indigo 78%, violet 100%);
  color: #fff;
  font-weight: bold;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) and ((-webkit-text-fill-color: transparent)) {
  .arcobaleno {
    background: linear-gradient(to right, red 0%, orange 22%, #e5d400 36%, green 50%, blue 64%, indigo 78%, violet 100%);
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.sfondo {
  background-color: #fff1c9;
  padding: 0.4rem;
}

.sfondo-alt .separatoreinf,
.sfondo-alt table.tabellavis td,
.sfondo-alt table.tabellavis th {
  border-color: #039e03 !important;
  background-color: transparent !important;
}

.sfondo-alt {
  border-color: #5dda29;
  background-color: #e5ffd6;
}

.sfondo-alt strong { color: #000; }

.sfondo-alt h2, .sfondo-alt h3 {
  color: #039e03 !important;
}

.separatoreinf {
  border-bottom: 2px solid #e85d0e;
}

.caption {
  text-align: center;
  font-weight: bold;
}

.firma {
  text-align: right;
  margin-right: 1rem;
  font-weight: bold;
}

article#qa section h3, article#qa section h4 {
  background: none;
}


/* CSS SEZIONI */

.menu-img-categoria {
  float: left;
  vertical-align: middle;
  padding-right: 0.5rem;
}

.avatar {
  display: block;
  margin: 0 auto 4px auto;
  border-radius: 50%
}

.avatar:hover {
  -webkit-transform: rotate(5deg);
  transform: rotate(5deg);
}

#licenza {
  clear: both;
  margin: 1rem 0 0 0;
  padding: 1rem 1rem 0 0;
  border-top: 1px solid #e85d0e;
}

.list-indent-level-0 { margin-left: 0; }
.list-indent-level-1 { margin-left: 1rem; }
.list-indent-level-2 { margin-left: 2rem; }
.list-indent-level-3 { margin-left: 3rem; }
.list-indent-level-4 { margin-left: 4rem; }
.list-indent-level-5 { margin-left: 5rem; }
.list-indent-level-6 { margin-left: 6rem; }
.list-indent-level-7 { margin-left: 7rem; }
.list-indent-level-8 { margin-left: 8rem; }


/* QA */

#qa-domande-collegate h3 {
  background: none;
}

#qa-domande-collegate ul {
  border-left: 2px solid;
  border-bottom: 2px solid;
  border-bottom-left-radius: 1rem;
  padding-top: 0;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
}

#qa-firma {
  text-align: right;
  font-size: 130%;
  font-family: "corsive", "comic sans ms", "verdana", "sans-serif";
  font-style: italic;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 0 1rem 0 0;
}

#qa-ricerca {
  width: 95%;
  margin: 0 auto 0.5rem auto;
  padding: 4px;
  border: 2px solid;
  border-radius: 1rem;
  text-align: center;
}

#qa-ricerca label strong {
  color: #000 !important;
}

#qa-ricerca #search {
  width: 80%;
  margin-bottom: 4px;
}

#qa-ricerca select {
  margin-bottom: 4px;
}

#qa-ticket-form {
  text-align: center;
  margin: 1.2rem auto 0.2rem auto;
}

#qa-ticket-form #ticket {
  width: 5rem;
}

#qa-domande-collegate {
}

#modulodomanda input#anni {
  width: 4rem;
}

#modulodomanda input#nome {
  width: 16rem;
}

.ugc-firma {
  clear: both;
  margin: 0.5rem 0 1rem 22%;
  border-top: 2px dotted #e85d0e;
  font-size: 80%;
  font-style: italic;
  vertical-align: middle;
}

.ugc-firma img {
  vertical-align: middle;
}

#toc {
  width: 45%;
  margin: 0.5rem 0.5rem 1.5rem 0;
  padding: 0.5rem;
  background-color: #fff1c9;
  font-weight: bold;
  font-size: smaller;
  text-align: left;
  box-shadow: 2px 2px 4px #555555;
}

#toc.largo {
  width: 70%;
}

#toc.alto li {
  margin-bottom: 0.5rem;
}

#toc h3, #toc h4 {
  color: #e85d0e;
  margin: 0 0 0.5rem 0;
}

#toc ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 16px;
}

#toc li {
  margin-bottom: 0;
  padding: 0;
}

.linktoc {
  text-align: right;
  font-size: smaller;
}

.listamc {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-gap: 0.5rem;
  -moz-column-gap: 0.5rem;
  -webkit-column-gap: 0.5rem;
}

.listamc ul {
  margin-left: 0;
  padding-left: 1rem;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.listamc li {
  line-height: 1.6;
}

.fumetti dt, .fumetti dd {
  text-align: left;
  width: 90%;
  padding: 0.3rem;
  border: 1px solid #e85d0e;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 1px #aaa;
}

.fumetti dt {
  margin-top: 0 !important;
  background-color: #fff1c9 !important;
  font-size: inherit !important;
}

.fumetti dd {
  width: 90%;
  margin: 0.5rem 0.2rem 1.6rem auto;
  border: 1px solid #039e03;
  background-color: #e5ffd6 !important;
  border-radius: 0.5rem;
}

.fumetti dt strong, .fumetti dd strong {
  color: #000;
}

.ombra {
  box-shadow: 2px 2px 4px #555555;
}

#elenco-categorie div {
  border-bottom: 2px solid #e85d0e;
  padding: 6px 2px;;
}

#elenco-categorie h3 {
  text-align: left;
  margin: 0 0 0.1rem 0;
  font-size: 115% !important;
}

#elenco-categorie p {
  margin: 0 0 0.5rem 0;
}

#intestazione-articolo,
#intestazione-intervista,
#intestazione-racconto {
  margin: 0 auto 1rem auto;
  border-bottom: 1px solid #e85d0e;
}

#intestazione-articolo h3,
#intestazione-intervista h3,
#intestazione-intervista h3 {
  margin-bottom: -1rem;
}

#intestazione-articolo h4, #intestazione-articolo p,
#intestazione-intervista h4, #intestazione-intervista p,
#intestazione-racconto h4, #intestazione-racconto p {
  font-size: smaller;
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

#elenco-voci a {
  font-size: 110%;
}

#elenco-voci h3 {
  text-align: center;
  font-size: 1.2rem;
  margin: 0 0 0.8rem 0;
}

#elenco-voci ul {
  clear: both;
  padding: 0;
  margin-left: 0.5rem;
  list-style-type: none;
}

#elenco-voci ul ul {
  margin-left: 0;
  border-bottom: none;
}

#elenco-voci li {
  list-style-type: none;
  background: transparent url(/img/gomitolino-16px.png) no-repeat 0 5px;
  padding: 0 0 0 20px;
  margin-bottom: 0.4rem;
}

#ricerca {
  width: 100%;
  margin: 0.5rem auto;
  padding: 0;
  text-align: center;
}

#ricerca input {
  text-align: left !important;
  margin-top: 0;
}

ul.lista-compatta {
  display: inline;
  list-style: none;
  margin: 0;
  padding-left: 0 !important;
  text-indent: 0;
}

ul.lista-compatta li {
  display: inline;
  margin: 0;
  padding-left: 0;
  list-style: none;
  text-indent: 0;
}

.citazione {
  margin: 1rem 1rem 1.5rem 1rem;
  padding: 4px;
  border: 0;
  box-shadow: 2px 2px 4px #555555;
}

.avviso-anteprima {
  clear: both;
  padding-top: 1rem;
  font-weight: bold;
  font-size: 85%;
}

.avviso-https {
  width: 80%;
  margin: 0;
  padding: 0.2rem;
  font-size: smaller;
  background-color: #fff1c9;
  color: #000;
}

.avviso-https a, .avviso-https a:link {
  color: green !important;
}

.errore {
}

.errori-sintassi {
  width: 90%;
  margin: 1rem auto;
  border-right: 2px solid #e85d0e;
  border-bottom: 2px solid #e85d0e;
}

.errori-sintassi ul {
  margin: 0.5rem 0 0.5rem 0;
}

.errori-sintassi li {
  color: red;
  font-weight: bold;
}

.mediaembed {
  width: 100%;
  position: relative;
  margin: 1rem 0;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  text-align: center;
}

.mediaembed iframe,
.mediaembed object,
.mediaembed embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent !important;
  text-align: center;
  border: 0;
}

.mediaembed-info {
  margin: -1rem auto 1rem auto;
  text-align: center;
  font-size: smaller;
  color: #e85d0e;
}

.inline-img {
}

.inline-img img {
  max-width: 80%;
  height: auto;
}

figcaption {
  font-size: smaller;
  font-weight: bold;
  font-style: italic;
}

#fast-prefs {
  margin: 1rem auto;
  text-align: center;
  font-size: smaller;
}

#fast-prefs a, a:link {
  color: #0c17af;
}

.ordinamento {
  margin: 1rem auto;
  text-align: center;
  font-size: smaller;
}

.pulsante {
  margin: 0.2rem 0.2rem 0.2rem 0;
}

.gomitolini-calendario img {
  margin-right: -5px !important;
}


/* Usabilità e accessibilità */

.skip-link {
  position: absolute;
  top: -3em;
}

.skip-link:focus {
  top: 0;
}
