@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap");

/* CSS Document */
body {
  font-family: "Play", sans-serif;
  background-color: #f2eee9;
}

/* -------- classi globali ---------- */
.navbar-collapse.top-shadow {
  float: left;
  width: 100%;
  background: rgb(26, 32, 53);
  background: -moz-linear-gradient(0deg, rgba(26, 32, 53, 1) 0%, rgba(194, 0, 45, 1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(26, 32, 53, 1) 0%, rgba(194, 0, 45, 1) 100%);
  background: linear-gradient(0deg, rgba(26, 32, 53, 1) 0%, rgba(194, 0, 45, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000", endColorstr="#c2002d", GradientType=1);
}

/* COLORI SFONDO PER CANALE */
/* -------- Header ---------- */
#header .container {
  max-width: none;
}

#header .navbar-default {
  overflow: hidden;
  padding: 0;
  z-index: 100;
  -webkit-box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  border: 0;
  border-radius: 0;
  background-color: #fff;
}

.navbar-brand {
  color: #777;
  padding: 0px;
  height: auto;
  width: 100%;
}

.navbar-brand>img {
  margin: 0 auto;
}

.navbar {
  padding: 0;
  margin-bottom: 0;
  min-height: 44px;
}

.navbar-header {
  padding: 0;
  width: 100%;
  background-color: #fff;
}

.navbar-default .navbar-nav {
  text-transform: uppercase;
  font-size: 21px;
  padding: 0;
}

.nav>li {
  padding: 10px 0;
}

.navbar-default .navbar-nav>li>a {
  color: #fff;
  padding: 0 20px;
  line-height: 50px;
  opacity: 1;
  transition: 0.5s;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a.selected {
  color: #fff;
  opacity: 1;
  transition: 0.5s;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
}

.navbar-nav.centrale {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.navbar-default .navbar-nav.centrale>li>a:hover:before {
  height: 5px;
  top: -8px;
}

.navbar-default .navbar-nav.centrale>li>a:hover:after {
  height: 5px;
  bottom: -8px;
}

.navbar-default .navbar-nav.centrale>li>a:before, .navbar-default .navbar-nav.centrale>li>a::after {
  background: #fff;
}

.navbar-default .navbar-nav.centrale>li>a:before {
  top: -15px;
}

.navbar-default .navbar-nav.centrale>li>a::after {
  bottom: -15px;
}

.navbar-default .navbar-nav.centrale>li>a:before, .navbar-default .navbar-nav.centrale>li>a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  z-index: 0;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.navbar-default .navbar-nav.centrale>li>a.selected:before {
  width: 100%;
}

.navbar-default .navbar-nav>li>a.login {
  padding: 5px 20px;
  color: #c2002d;
  font-size: 17px;
}

.navbar-default .navbar-nav>li>a.login:hover {
  transition: 0.5s;
  color: #333;
}

.navbar-default .navbar-nav>li:last-child {
  border-right: none;
}

.navbar-default .navbar-nav>li.last {
  border-right: none;
}

/* -------- Header SEZIONE ---------- */
#header-sezione {
  margin-bottom: 0 !important;
  position: relative;
  background-size: auto 100%;
  height: 30vh !important;
  overflow: hidden;
  z-index: -1;
  float: left;
  width: 100%;
  background-color: #fff;
  background-position: center;
  background-image: none !important;
}

#header-sezione .gradiente {
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

#header-sezione .container {
  position: relative;
  z-index: 10;
}

#header-sezione .titolo-header {
  font-size: 5vw;
  color: #000;
  font-weight: 300;
  padding: 10px !important;
  text-align: center;
  height: 30vh !important;
  line-height: 30vh !important;
  width: 100%;
  float: right;
  text-transform: uppercase;
  border-bottom: 2px solid #fff;
  background-color: #f4f4f4;
}

/* -------- SLIDESHOW ------------ */
#intro {
  height: auto !important;
}

.slides-container li div p, .slides-container li div .intro_button {
  padding-left: 0;
  text-align: center;
}

.slides-container li div {
  text-align: left;
}

/* ----- HOME PAGE VARI ---- */
.canale-page .titolo {
  font-size: 3vw;
  font-weight: 700;
  color: #000;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  padding: 50px 0 0 0;
}

/* ---- BOX ARTICOLO/SEZIONE ---- */
/* ====== BOX HOME PAGE ======= */
.box-wrap.root .box-element {
  margin-bottom: 50px;
  height: 50vh;
  font-size: 7em;
  overflow: hidden;
  text-align: center;
  padding: 0;
  margin: 20px;
  flex-grow: 1;
  align-self: stretch;
  border-radius: 30px;
  border: 2px solid #fff;
  width: auto;
}

.box-wrap.root .box-element:last-child {
  margin-bottom: -50px;
}

.box-wrap.root .box-element a {
  display: block;
  height: inherit;
  text-decoration: none;
}

.box-wrap.root .box-element a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background: #000;
  opacity: 0.8;
}

.box-wrap.root .box-element a:hover::before {
  height: 100%;
}

.box-wrap.root .box-element:nth-child(odd) table.titolo-box-sezione span {
  color: #666;
}

.box-wrap.root .box-element:nth-child(even) table.titolo-box-sezione span {
  color: #666;
}

.box-wrap.root .titolo-wrap {
  height: inherit;
  z-index: 10;
}

.box-wrap.root table.titolo-box-sezione {
  background: none;
  position: relative;
  bottom: auto;
  left: auto;
  height: inherit;
}

.box-wrap.root table.titolo-box-sezione span {
  font-weight: 700;
  text-transform: none;
  color: #3b5998;
  font-size: inherit !important;
}

.box-wrap.root .box-element a:hover .title-section {
  color: #fff;
}

.box-wrap.root .box-element:nth-child(odd) table.titolo-box-sezione td {
  text-align: right;
  padding-right: 25px;
}

.box-wrap.root .box-element:nth-child(even) table.titolo-box-sezione td {
  text-align: left;
  padding-left: 25px;
}

.box-wrap.root .immagine-wrap {
  width: 100%;
  background-position: top center;
  -webkit-background-size: cover;
  background-size: cover;
  height: 100%;
  z-index: 0;
  position: absolute;
  top: 0;
}

.box-wrap.root .box-element:nth-child(even) .titolo-wrap {
  float: right;
}

.box-wrap.root .box-element:nth-child(odd) .immagine-wrap {
  float: left;
}

.box-wrap.root .titolo-wrap .separatore {
  position: absolute;
  top: 0;
}

.box-wrap.root .box-element:nth-child(even) .titolo-wrap .separatore {
  left: -30px;
}

.box-wrap.root .box-element:nth-child(odd) .titolo-wrap .separatore {
  right: -30px;
}

/* ====== BOX SEZIONE ======= */
.box-wrap {
  margin-bottom: 0;
}

.box-wrap.articoli {
  margin-bottom: 0;
  /* box-sizing: border-box;
     */
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  flex-flow: wrap;
}

.titles {
  background-image: url(bg_titles.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-bottom: 5px solid #fff;
  position: relative;
}

.no-padding {
  padding: 0;
}

.box-wrap.root {
  display: flex;
  padding: 50px 30px 180px 30px !important;
  position: relative;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  background-image: url(bg_body-home.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.box-wrap .box-element {
  background-size: 100% auto;
  background-position: center center;
  height: 280px;
  position: relative;
  display: block;
  background-repeat: no-repeat;
}

.box-wrap table.titolo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #999;
  text-align: center;
  z-index: 10;
}

.box-wrap table.titolo span {
  color: white;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 30px;
}

.box-wrap .immagine-box {
  position: relative;
  z-index: 0;
  float: left;
  width: 100%;
  background-color: #fff;
}

.box-wrap .sfondo-immagine-box {
  min-height: 300px;
  display: block;
  float: left;
  width: 100%;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  margin: 0 auto;
  position: relative;
}

.box-wrap .positioner::before {
  background: #ffffff;
  background: -moz-linear-gradient(45deg, #ffffff 0%, #e8e8e8 100%);
  background: -webkit-linear-gradient(45deg, #ffffff 0%, #e8e8e8 100%);
  background: linear-gradient(45deg, #ffffff 0%, #e8e8e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8e8e8', GradientType=1);
  content: "";
  position: absolute;
  width: calc(100% - 30px);
  height: calc(96% - 20px);
  top: 20px;
  left: 15px;
}

.box-wrap a.sfondo-immagine-box:before {
  background: rgba(215, 0, 86, 0.3);
}

.box-wrap a.sfondo-immagine-box:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  background: #c2002d;
  opacity: 0.8;
}

.box-wrap a.sfondo-immagine-box:hover:before {
  height: 100%;
}

.immagine-box span {
  padding: 10px;
  float: left;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  margin: 0;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  font-size: 18px;
  text-transform: uppercase;
}

.box-wrap a.immagine-box:hover span {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: #c2002d;
}

.box-wrap .positioner {
  overflow: hidden;
  min-height: 52px;
}

.box-wrap.articoli table.titolo {
  text-align: left;
  table-layout: fixed;
}

.box-wrap.articoli table.titolo span {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  display: block;
  max-height: 44px;
  text-align: left;
  padding: 0 5%;
  overflow: hidden;
}

.box-element-generico {
  max-height: unset;
  height: 100%;
  width: 30%;
  margin: 10px auto;
  -webkit-box-shadow: 0 10px 30px 0 rgb(0 0 0 / 20%);
  -moz-box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px 0 rgb(0 0 0 / 20%);
  border: 3px solid #fff;
  background-color: #fff;
  padding: 0;
}

.box-element-generico .positioner {
  height: inherit;
}

.box-element-generico table.titolo {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 52px;
}

.box-element-generico table.titolo span {
  color: #fff;
}

.box-element-generico:nth-child(odd) table.titolo span {
  color: #fff;
}

.box-element-generico:hover table.titolo {
  background: #403e38;
}

.box-element-generico:hover table.titolo span.title-section {
  color: #fff;
}

/* box quiz */
.box-element-quiz {
  margin-bottom: 15px;
}

.box-element-quiz table.titolo {
  position: initial;
  bottom: initial;
  left: initial;
  margin-bottom: 15px;
  height: 52px;
}

.login-page .nocciolo, .profilo-utente .nocciolo {
  padding: 0 5%;
}

/*canale*/
/* --------- PAGINA INTERNA --------- */
.articolo-page .nocciolo .main.img-responsive {
  display: none !important;
}

.articolo-page .nocciolo .immagine-articolo {
  height: 350px;
  background-size: 100% auto;
  background-position: center -120px;
  background-repeat: no-repeat;
  margin-bottom: 25px !important;
  float: left;
}

.foto-articolo {
  margin: 20px 0 50px 0 !important;
  float: left;
  width: 100%;
}

.foto-articolo img {
  border: 15px solid #fff;
}

.articolo-page .nocciolo .wp-caption img {
  display: block;
  width: 100%;
  height: auto;
}

.articolo-page .titolo, .profilo-utente .titolo {
  font-size: 49px;
  font-weight: 300;
  margin: 25px 0;
  color: #c2002d;
  text-transform: uppercase;
}

.login-page .titolo {
  color: #c2002d;
  padding: 10px 30px 10px 0;
  box-sizing: border-box;
  width: auto;
  float: left;
  font-size: 49px;
  text-transform: uppercase;
}

.app-android .testo .linkapk {
  font-weight: 700;
  font-size: 120%;
  padding-left: 1%;
}

.box-element-generico .positioner img {
  width: 100%;
  max-width: 100% !important;
  border-top: 5px solid #f2eee9;
  position: relative;
  background-image: url(logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 252px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  max-height: 252px;
}

.testo p, .sign-description, .sign-title {
  font-size: 18px;
}

.testo p a, .sign-description a, .sign-title a {
  color: #c2002d;
}

.sign-title {
  font-weight: bold;
  text-transform: uppercase;
}

/* -------- TEST QUIZ ------------ */
.articolo-page.test-estensione .testo {
  margin: 0 0 15px 0;
}

.articolo-page.test-estensione .larghezza-test {
  /*max-width: 640px;
     margin-left: auto;
     margin-right: auto;
     margin-top: 15px*/
  width: 100%;
  padding: 5% 10% 2% 10%;
}

.articolo-page.test-estensione .titolo {
  text-align: center;
  font-size: 36px;
  color: #49c1b8 !important;
}

.articolo-page.test-estensione .immagine-articolo {
  /*height: initial;
     margin-bottom: 0*/
  height: initial;
  margin-bottom: 0;
  /*min-height: 33vh;
     */
  background-size: cover;
  background-position: center top;
}

.articolo-page.test-estensione .nocciolo .main.img-responsive {
  display: block !important;
  width: 100% !important;
}

.articolo-page.test-estensione #header-sezione .container .header {
  max-width: 640px;
  margin: auto;
}

.articolo-page.test-estensione #header-sezione {
  margin-bottom: 0;
}

.articolo-page.test-estensione #header-sezione .nocciolo .immagine-articolo {
  margin-bottom: 15px;
}

/* DOMANDE */
.domanda {
  margin-bottom: 15px;
}

.domanda table {
  width: 100%;
}

.domanda table tr td {
  vertical-align: middle;
}

.domanda table tr td.span-domanda {
  background-color: #49c1b8;
  border-bottom: 1px solid #fff;
  color: white;
}

.domanda table tr td.span-domanda span {
  padding: 10px;
  line-height: 20px;
  display: block;
}

.domanda fieldset {
  display: block;
  border: none;
  padding: 0;
  margin: 0;
}

.domanda .risposte td {
  border-bottom: 1px solid #fff;
  position: relative;
}

.domanda .risposte input:checked~label, .domanda .risposte input:active~label, .domanda .risposte input:hover~label {
  background-color: #d3d3d3;
}

.domanda .risposte label {
  display: block;
  padding: 10px 30px 10px 10px;
  line-height: 20px;
  background-color: #eaeaea;
  margin-bottom: 0;
}

.domanda .risposte input {
  margin: 0;
  padding: 0;
  display: block;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -7px;
  height: 14px;
}

/* ESITO */
.immagine-esito {
  margin: 0;
  padding: 0;
}

.esiti {
  margin-top: 15px;
}

.esiti h3 {
  font-size: 20px;
  margin: 10px 0;
}

#test .buttons {
  padding: 25px 15px;
}

#test div.button.standard {
  text-align: center;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px 10px;
}

#test button {
  display: block;
  margin: auto;
  border-radius: 7px;
  color: white;
  cursor: pointer;
  font-size: 19px;
  text-transform: uppercase;
  height: 48px;
  min-width: 160px;
  width: 70%;
  font-weight: 400;
  font-family: "Quicksand", sans-serif;
  line-height: 48px;
  border: none;
  background: #2370a9;
  /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(#2385b5, #22599c);
  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#2385b5, #22599c);
  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#2385b5, #22599c);
  /* For Firefox 3.6 to 15 */
  background: linear-gradient(#2385b5, #22599c);
  /* Standard syntax */
}

/* ASPECT RATIO IFRAME */
.video-virali .testo, .giochi-html-5 .testo {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-virali .testo iframe, .giochi-html-5 .testo iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* IFRAME RADIO */
.radio .testo iframe {
  max-width: 500px;
  display: block;
  width: 100%;
  height: 600px;
  margin: auto;
  border: 0;
}

.meteo .testo iframe {
  display: block;
  width: 100%;
  height: 650px;
  margin: auto;
  border: 0;
}

/* DIALOG */
.dialog {
  display: none;
  text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15000;
  background: white;
  padding: 40px 5px 5px 5px;
}

.dialog .close {
  text-align: center;
  margin: 0 auto;
  width: 200px;
  padding: 8px 8px;
  background: #e6e6e6;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  margin-left: -108px;
  opacity: 1;
  filter: alpha(opacity=100);
}

/* --------- PAGINA LOG IN + DISISCRIZIONE --------- */
.login-page input[type="button"], #form-disiscrizione input[type="button"], .profilo-utente input[type="button"], .messaggio-thankyou a.btn {
  margin-top: 10px;
  padding: 10px 40px;
  color: #c2002d;
  border: 0;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid #c2002d;
  opacity: 1;
  display: block;
  margin-top: 8px;
  text-transform: uppercase;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background-color: #fff;
  border-radius: 0;
  font-size: 14px;
}

.login-page input[type="button"]:hover, #form-disiscrizione input[type="button"]:hover, .profilo-utente input[type="button"]:hover, .messaggio-thankyou a.btn:hover {
  background: #000;
  border: 2px solid #000;
  color: #fff;
}

.login-page table {
  width: 100%;
}

.login-page table td {
  padding: 0;
  font-size: 18px;
  margin-bottom: 20px;
  float: left;
  line-height: 40px;
  width: 100%;
}

.login-page #form-login a {
  color: #c2002d;
}

#form-disiscrizione {
  text-align: center;
}

#form-disiscrizione ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#form-disiscrizione h4 {
  margin: 30px auto;
}

#form-disiscrizione input[type="button"] {
  margin: 50px auto;
}

.disiscrizione .titolo {
  text-align: center;
}

/* --------- PAGINA RICERCA TAG --------- */
#pagina-ricerca-tag {
  padding: 0.5%;
  border: 2px solid #666666;
  background: #d8d8d8;
  width: 72.6% !important;
  width: 72.2%;
  margin: 6px 25.5% 6px 0.5%;
}

.elenco-tag-ricerca {
  float: left;
  width: 200px;
}

.box-articolo-square {
  padding: 4px;
  background: white;
  margin: 2px 0;
  min-height: 82px;
}

.box-articolo-square .img {
  float: left;
  margin: 0 4px 4px 0;
}

#pagina-ricerca-tag .elenco-articoli {
  margin-left: 200px;
}

/* -------- nav ---------- */
#nav ul.menu-nav {
  margin: 6px 0;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #666666;
}

#nav ul.menu-nav li {
  margin: 0px;
  padding: 2px 4px;
  list-style-type: circle;
  list-style-position: inside;
}

#nav ul.menu-nav a {
  color: #000033;
  font-weight: bold;
}

#nav ul.menu-nav a:hover {
  text-decoration: underline;
  color: #000033;
  font-weight: bold;
}

/* -------- extra ---------- */
#extra .box {
  background: #eee;
  padding: 3px;
}

#extra .titolo {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 4px 2px 4px;
  margin: 0;
}

.tag-elenco {
  float: left;
  padding: 2px 10px 2px 0;
  white-space: nowrap;
}

.tag-elenco:last-child {
  padding: 2px 0;
}

#extra ul.menu-extra {
  margin: 0;
}

#extra ul.menu-extra li {
  margin: 0px;
  padding: 2px 4px;
  list-style-type: circle;
  list-style-position: inside;
}

#extra ul.menu-extra a {
  color: #000033;
  font-weight: bold;
}

#extra ul.menu-extra a:hover {
  text-decoration: underline;
  color: #000033;
  font-weight: bold;
}

/* ---------- Briciole di Pane ---------- */
#briciole {
  padding: 4px 6px;
  background: #ffffff;
  border: 1px solid #ccc;
}

#briciole #benvenuto {
  font-size: 14px;
  font-weight: bold;
}

/* ---------- Menu di Navigazione Home ---------- */
#navigazione {
  border: 1px solid #666666;
  margin: 5px;
  background: #ffffff;
  padding: 4px;
}

#navigazione h1 {
  margin: 2px 0;
  font-size: 14px;
  color: #333333;
  text-align: left;
}

#navigazione .canale {
  margin-bottom: 4px;
  border: 1px dotted #faa3a3;
  padding: 2px;
}

#navigazione .canale .titolo {
  color: #666666;
  font-weight: bold;
}

#navigazione .canale .titolo a {
  color: #666666;
}

#navigazione .canale .sezioni {
  color: #666666;
}

#navigazione .canale .sezioni {
  margin: 0;
  padding: 0;
}

#navigazione .canale .sezioni li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* ---------- Box Articolo ---------- */
.box-articolo {
  padding: 0;
  border: 0;
  background: rgba(178, 36, 51, 0.9);
  margin: 39px 0px;
}

#ultimiInseriti .box-articolo {
  margin: 20px 0px;
}

.box-articolo .contenuto-articolo {
  position: absolute;
  top: 32px;
  width: 187px;
}

.box-articolo h1 {
  color: #666666;
  font-size: 12px;
  margin: 0;
  padding: 4px 0;
}

.box-articolo h1 a {
  color: #666666;
  text-decoration: none;
}

.box-articolo h1 a:hover {
  color: #666666;
  text-decoration: underline;
}

.box-articolo p {
  margin: 4px 0;
  padding: 0;
}

.box-articolo p a {
  color: #333333;
}

/* ---- Contenuto Articolo ---- */
.nocciolo iframe {
  width: 100%;
  border: antiquewhite;
  min-height: 100vh;
}
iframe canvas {
  user-select: none !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
  width: 100% !important;
}

.nocciolo .testo img {
  width: 100%;
  height: auto;
}

.nocciolo .testo-grassetto {
  font-weight: bold;
  color: #c2002d;
  text-transform: uppercase;
}

.article-content .nocciolo {
  /* float: left;
     padding: 2% 0;
     */
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* -------- Box di segnalazione -------- */
#segnala-errori {
  margin: 12px 10px;
  width: 290px;
  height: 350px;
  overflow: hidden;
}

/*dimensioni box: LxH : 334x360 px*/
#segnala-errori .intro {
  font-size: 16px;
  line-height: 18px;
  height: 36px;
  text-align: center;
  margin: -2px 0 6px 0;
}

#segnala-errori select {
  width: 289px;
  margin: 0;
  padding: 2px;
  border: 1px solid #ccc;
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  height: 25px;
  line-height: 25px;
}

#segnala-errori .label {
  padding: 6px 0 2px 0;
  font-size: 14px;
  font-weight: bold;
}

#segnala-errori .invio-btn {
  height: 30px;
  line-height: 30px;
  padding-top: 10px;
}

#segnala-errori .invio-btn input {
  margin: 0;
  padding: 2px 15px;
  height: 23px;
  background: #272727;
  display: block;
  border-radius: 4px;
  color: #ffffff;
  font-family: "Quicksand", sans-serif;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  float: right;
  cursor: pointer;
}

#segnala-errori .campo-testo {
  width: 284px;
  margin: 0;
  padding: 2px;
  border: 1px solid #ccc;
  height: 20px;
  line-height: 20px;
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
}

#segnala-errori textarea.campo-testo {
  height: 120px;
  margin: 0;
  padding: 2px;
  border: 1px solid #ccc;
}

/* ------- Box Archivo Articoli Sezione -------- */
.box-archivio {
  border: 1px solid #666666;
  margin: 5px;
  background: #ffffff;
  padding: 4px;
}

.box-archivio h3, .box-archivio p {
  margin: 0;
  padding: 0;
}

.banner-txt {
  background: #dff4ff;
  border: 2px dashed #c7e1e7;
  margin: 4px 8px;
  padding: 4px;
  text-align: center;
}

/* ---- Box Approfondimenti ---- */
.approfondimenti {
  /*text-align: center;
     */
  margin-bottom: 10px;
  padding-left: 10px;
}

.approfondimenti a {
  color: #003366;
  text-decoration: underline;
}

.approfondimenti a:hover {
  color: #003366;
  text-decoration: none;
}

/* ---------- Menu di navigazione Articoli Archivio --------- */
#archive-navigation {
  border-top: #00236f 1px solid;
  height: 32px;
  line-height: 32px;
  margin: 0px auto;
  font-family: "Quicksand", sans-serif;
  clear: left;
}

#archive-navigation #prev {
  float: left;
  margin-left: 12px;
}

#archive-navigation #next {
  float: right;
  margin-right: 12px;
}

#archive-navigation a {
  color: #104583;
  text-decoration: none;
  font-weight: bold;
}

#archive-navigation a:hover {
  text-decoration: underline;
}

/* ----------- Box Gallery ----------- */
.box-classic-gallery img, .box-full-gallery img {
  padding: 1px;
  background: none;
  border: none;
  float: left;
  margin: 0 6px 5px 6px;
  border: 1px solid #cccccc;
}

.box-classic-gallery img.bestclear, .box-full-gallery img.bestclear {
  padding: 0;
  background: none;
  border: none;
  float: none;
  margin: 0;
  border: none;
}

.box-classic-gallery, .box-full-gallery {
  margin: 3px auto;
}

.box-classic-gallery h3, .box-full-gallery h3 {
  margin: 2px auto;
  padding: 0;
}

.box-full-gallery .divisorio {
  margin: 0;
  padding: 0;
  height: 0;
  width: auto;
}

/* ----------- Box Gioco ------------- */
img.imgbig {
  display: block;
  float: none;
}

.opzioni ul li {
  width: 100%;
}

/* ---- Div Overlayer per privacy e gallery ---- */
#grigino-popup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000000;
  opacity: 0.6;
  filter: alpha(opacity=60);
  z-index: 100;
  cursor: pointer;
}

#box-privacy, .box-overlayer {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  background: #ffffff;
  border: 4px solid #999999;
  border-radius: 4px;
}

#box-privacy span, .box-overlayer span {
  overflow: auto;
  display: block;
  height: 100%;
  padding: 0 8px;
}

#box-privacy span p, .box-overlayer span p {
  margin: 0;
  padding: 6px;
}

#close-button, .box-overlayer .close-button {
  position: absolute;
  top: -12px;
  left: -12px;
  display: block;
  z-index: 3000;
  cursor: pointer;
}

/* ---- Box Gallery ---- */
#box-content-gallery {
  z-index: 1000;
  padding: 8px 25px;
  border: 4px solid #999999;
  border-radius: 4px;
  position: absolute;
  top: 25px;
  left: 50%;
  width: 590px;
  margin-left: -307px;
  background: white;
}

#thumbs {
  float: right;
  width: 70px;
}

#foto {
  width: 500px;
}

#close-button-gallery {
  position: absolute;
  top: -12px;
  right: -12px;
  display: block;
  z-index: 3000;
  cursor: pointer;
}

.selectedLink {
  text-decoration: underline;
}

/* ========================================================================== 22. FOOTER ========================================================================== */
#footer {
  width: 100%;
  float: left;
  bottom: 0;
  position: relative;
  overflow: hidden;
}

#footer .container {
  padding: 15px 0;
  width: 100%;
  background-color: #c2002d;
}

/*------------------------------------------*/
/* FOOTER COPYRIGHT 
/*------------------------------------------*/
#footer_copyright p {
  color: #ccc;
  line-height: 26px;
  margin-bottom: 0;
  margin-left: 7px;
  text-align: center;
}

#footer_copyright p span {
  color: white;
  font-weight: 700;
}

/*------------------------------------------*/
/* FOOTER LINKS 
/*------------------------------------------*/
.contact-socials {
  display: inline-block;
  padding-left: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

.contact-socials li {
  width: auto !important;
  display: inline-block !important;
  vertical-align: top;
  clear: none !important;
  padding: 0;
}

.foo_link {
  text-align: center;
  color: #ccc;
  font-size: 15px;
  line-height: 26px;
  margin: 0 7px;
  display: block;
  opacity: 1;
  transition: 0.5s;
}

.foo_link:hover {
  text-decoration: none;
  color: #fff;
  opacity: 1;
  transition: 0.5s;
}

/* --------- elementi comuni ----------- */
/* FORM */
.wrap-campo {
  border: 1px solid #606366;
  border-radius: 0;
  color: #606366;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  position: relative;
  margin-bottom: 10px;
}

.wrap-campo .campo-testo {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 0 none;
  color: #606366;
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  font-weight: 400;
  height: 40px;
  line-height: 40px;
  margin: 0;
  padding: 0;
  outline: none;
  width: 100%;
}

/* Menu di navigazione commenti o articoli archivio */
/* ---------- Menu di navigazione Articoli Archivio --------- */
#navigazione-pagine {
  height: auto;
  line-height: 50px;
  margin: 40px auto;
  clear: left;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  text-align: center;
}

#navigazione-pagine #prev {
  height: 50px;
  width: 50px;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -25px;
}

#navigazione-pagine #prev a {
  display: block;
}

#navigazione-pagine #next {
  height: 50px;
  width: 50px;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -25px;
}

#navigazione-pagine #next a {
  display: block;
}

#navigazione-pagine a.n-pagina {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  height: 26px;
  width: 34px;
  text-align: center;
  line-height: 26px;
  margin-top: 5px;
}

#navigazione-pagine a.n-pagina:hover {
  text-decoration: underline;
}

#navigazione-pagine .selezionata {
  height: 26px;
  width: 26px;
  background: #333;
  color: white;
  line-height: 26px;
  text-align: center;
  margin-top: 5px;
  display: inline-block;
}

#navigazione-pagine.archivio {
  margin-left: 10px;
  margin-right: 10px;
  padding: 0 50px;
  margin: 15px 0;
}

.navigation {
  text-transform: uppercase;
  height: 28px;
  line-height: 28px;
}

.archivio .navigation {
  text-transform: uppercase;
  font-size: 14px;
}

.navigation .prev {
  float: left;
}

.navigation .prev * {
  float: left;
  display: block;
  margin-right: 6px;
}

.navigation .next {
  float: right;
}

.navigation .next * {
  float: right;
  display: block;
  margin-left: 6px;
}

.navigation a {
  color: #333333;
  text-decoration: none;
  font-weight: bold;
}

.navigation a:hover {
  text-decoration: underline;
}

a img {
  border: none;
}

.carousel-indicators {
  bottom: -12px;
}

.carousel-indicators li {
  border-radius: 0;
  height: 5px;
  background-color: 1px solid #ccc !important;
}

.carousel-indicators .active {
  height: 5px;
  background-color: #c2002d;
}

/* HACK RESTYLING */
.foo_link:after {
  content: "/";
  padding-left: 15px;
}

.contact-socials li:last-child .foo_link:after {
  content: "";
  padding-left: 0;
}

.bg-img {
  background-color: #c2002d;
  position: absolute;
  top: 0px;
  right: -20%;
  width: 100%;
  height: 100%;
  -webkit-transform: skewX(-7deg);
  -moz-transform: skewX(-7deg);
  -ms-transform: skewX(-7deg);
  -o-transform: skewX(-7deg);
  transform: skewX(-7deg);
}

#content.category-list .container, .sezione-page .article-list .container, .archivio-page .article-list .container {
  background-color: #fff;
  float: left;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
}
.canale-page .container {
  padding-bottom: 0 !important;
}
.login-page #content.login, .profilo-utente #content {
  background-color: #fff;
  float: left;
  width: 100%;
  position: relative;
  padding: 0;
  padding-bottom: 20px;
  overflow: hidden;
}

.profilo-utente .panel-default {
  border: 0;
  box-shadow: none;
  padding: 20px 0px 10px 0px;
  border-radius: 0;
  float: left;
  width: 100%;
  margin-bottom: 20px;
  background-color: transparent;
}

.profilo-utente .panel-heading {
  border-radius: 0;
  padding: 0;
  line-height: 40px;
}

.profilo-utente .panel-body, .profilo-utente #form-login {
  padding: 0;
}

.profilo-utente .input-group-addon {
  background-color: transparent;
  border: 0;
  text-align: left;
  padding: 0;
  font-size: 18px;
  margin-bottom: 20px;
  float: left;
  line-height: 40px;
  color: #fff;
}

.profilo-utente .input-group {
  display: block;
}

.profilo-utente .input-group .form-control {
  border: 1px solid #000;
  border-radius: 0;
  height: 40px;
  line-height: 40px;
  color: #000;
}

.profilo-utente .post-form {
  padding-top: 20px;
}

.profilo-utente .form-group {
  margin-bottom: 15px;
  float: left;
  width: 100%;
}

.sezione-page .article-list .container, .archivio-page .article-list .container, .articolo-page .article-content .container, .articolo-page.profilo-utente #content .container {
  width: 100%;
  padding: 2% 10% 2% 10%;
  float: left;
  background-image: url(bg_body-home.jpg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  background-color: #11172f;
}

.container.full-content {
  width: 100%;
  padding: 0;
}

.title-section {
  position: absolute;
}

#content.category-list h2, #content.category-list h1 {
  text-align: center;
  color: #fff;
}

#content.category-list h2 {
  padding-bottom: 25px;
}

.sezione-page .container {
  position: relative;
}

#header-sezione .sezione-smussata, #intro .sezione-smussata {
  bottom: 0;
  top: unset;
}

.ultime-news {
  height: auto;
  position: relative;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  overflow: hidden;
}

#ultimiInseriti {
  height: auto;
  margin: 0;
  padding: 0;
}

.ultime-news h3 {
  padding: 0;
  text-align: center;
  color: #fff;
}

.sezione-smussata {
  background-image: url(bg_arrow-home.png);
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 100000;
  width: 31px;
  height: 16px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -15px;
}

.ultime-news .sezione-smussata {
  top: unset;
  bottom: 0;
}

.carousel-control {
  width: 5%;
}

.carousel {
  position: relative;
  height: auto;
}

a.immagine {
  height: 25vh;
  display: block;
}

.articolo-page .carousel {
  position: relative;
  min-height: unset;
  max-width: 600px;
  margin: 0 auto;
}

.box-articolo table {
  width: 100%;
  border-top: 5px solid #fff;
}

.box-articolo h4 {
  display: none;
}

.box-articolo h4 a, .box-articolo a {
  color: #fff !important;
  text-align: center;
  width: 100%;
  display: block;
}

.box-articolo a {
  color: #fff !important;
  background-size: cover;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  padding: 10px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: -0.6px;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-section {
  color: #fff;
  width: 100%;
  left: 0;
  top: 0;
  text-transform: uppercase;
  text-shadow: 0 0px 24px rgba(0, 0, 0, 0.8);
  z-index: 1;
  background: rgb(178, 36, 51);
  background: -moz-linear-gradient(180deg, rgba(178, 36, 51, 0.9) 0%, rgba(178, 36, 51, 0.9) 100%);
  background: -webkit-linear-gradient(180deg, rgba(178, 36, 51, 0.9) 0%, rgba(178, 36, 51, 0.9) 100%);
  background: linear-gradient(180deg, rgba(178, 36, 51, 0.9) 0%, rgba(178, 36, 51, 0.9) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b22433", endColorstr="#b22433", GradientType=1);
  position: absolute;
  margin: 23vh 0;
  border-radius: 0;
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 50px;
}

#navigazione-pagine .selezionata, #navigazione-pagine a.n-pagina, #navigazione-pagine a.n-pagina:hover {
  height: 50px !important;
  width: 50px !important;
  background: #c2002d;
  color: white;
  line-height: 37px !important;
  text-align: center;
  margin: 0 15px;
  display: inline-block;
  text-decoration: none;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding: 8px;
}

#navigazione-pagine a.n-pagina {
  background-color: #fff;
  color: #606060;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.login-page #content {
  min-height: calc(100vh - 185px);
}

#form-login, .recupera-password {
  background-color: transparent;
  float: left;
  width: 100%;
  padding: 20px 0;
}

#footer_socials {
  float: right;
}

.messaggio-thankyou, .messaggio-prefisso {
  color: #fff !important;
  display: none;
  font-size: 18px;
  float: left;
  width: 100%;
  background-color: #47bd00;
  padding: 5px 0;
  margin: 20px 0;
}

.messaggio-thankyou {
  background-color: #f4f4f4;
  color: #000 !important;
  font-weight: normal !important;
  padding: 5px 20px;
  color: #47bd00 !important;
}

.messaggio-errore-empty {
  color: #cc3e3e !important;
}

.messaggio-thankyou h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.messaggio-prefisso, .messaggio-password-empty, .messaggio-password-format {
  float: left;
  width: 100%;
  background-color: #cc3e3e;
  color: #fff !important;
  padding: 5px 20px;
}

.testo {
  font-size: 18px;
  text-align: justify;
  color: #fff;
}

span.glyphicon.glyphicon-chevron-down {
  position: fixed;
  top: 90vh;
  width: 100%;
  height: auto;
  z-index: 100;
  text-align: center;
}

.glyphicon-chevron-down:before {
  content: "\e114";
  font-size: 49px;
  text-shadow: 0px 10px 20px;
  color: #353738;
}

input.new-user {
  float: left;
  margin-top: 20px !important;
  padding: 20px 20px 15px 20px !important;
  width: auto;
}

.glyphicon {
  font-size: 80px !important;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
  margin-top: -40px;
}

.carousel-control .glyphicon-chevron-right {
  right: 100%;
}

.form-loading {
  position: relative;
}

.form-loading img {
  position: absolute;
  left: 50px;
  width: 50px;
  top: -50px;
  left: 140px;
}

/* add-ons odisseias */
.voucher-odisseias .article-content .container {
  padding: 2% 10% 5% 10%;
}

#scrollUp:hover {
  background-color: rgba(26, 32, 53, 0.7) !important;
}

.app h2, .app h1 {
  display: none;
}

.testo-grassetto:last-of-type {
    width: 100%;
    display:flex;
    flex-direction: row;
    line-height: normal;
    align-items: center;
  }
 .testo-grassetto:last-of-type::before {
    content: "FRANCISCO CRUZ";
    background-image: url("https://www.atodavelocidade.site/stili/locali/foto_francisco.png");
    width: 100px;
    height: 100px;
    display: flex;
    background-size: cover;
    color: transparent;
    margin-right: 20px !Important;
    position: lative;
  }

  .testo h2, .testo h3 {
    color: #c2002d;
  }

  input.new-user {
    border: none !important;
    text-transform: none !important;
    padding: 0 !important;
}
input.new-user:hover {
  text-decoration: underline !important;
  background-color: transparent !important;
  color: #c2002d !important;
}

@media (orientation: landscape) {
  #game{
    padding-bottom: 100px; 
    aspect-ratio: 9/6 auto;
  }
}
