@charset "utf-8";

@-moz-document url-prefix() {
  /* Solo per Firefox, che ha posizionamenti diversi */
}

html {
  scroll-behavior: smooth;
}

#hideAll {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  background-color: white;
  z-index: 99; /* Maggiore di qualunque altro elemento */
}

/*---------------------------------- Corpo codice Stile ---------------------------------*/
* {
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  list-style: none;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

p {
  font-size: 16px;
  line-height: 26px;
  color: #151515;
}

a {
  color: #ddd;
}

img {
  max-width: 100%;
}

.wrapper {
  margin: 0 auto;
  width: 80%;

  /* max-width: 1200px; */
}

.long-wrapper {
  margin: 0 auto;
  width: 90%;

  /* max-width: 1200px; */
}

.clear {
  clear: both;
}

header,
section {
  width: 100%;
  float: left;
}

header {
  padding: 0;
  text-align: center;
}

.qbity_header {
  padding: 0;
  width: 100%;
  background: #fff; /* Sfondo dietro logo*/
  float: left;
}

.logo-scritta-menu {
  position: absolute;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.menu_qbity    /* agg per altezza spazio verde */ {
  position: relative;
  padding: 0;
  width: 100%;
  height: 46px;
  background: #333; /* Grigio header */
  float: left;
  color: #000000;
}

.menu_qbity ul {
  list-style: none;
  margin: 0;
  padding: 0;
  vertical-align: center;

  font-family: arial;
  font-size: 16px;
  color: #000000; /* Testo Menu (non link) */
  position: relative;
  text-align: center;
  display: inline-block;

  /*transform: translate(-50%, 0%);*/
  /*-webkit-transform: translate(-50%, 0%);*/
}

.menu_qbity ul li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  /*	padding: 25px 10px;*/ /* padding cambiato - correggere */

  /*border-left: 1px solid #f00;		/* linee verticali voci menu */

  text-decoration: none;

  float: left;
  margin: 0;
  padding: 0;
}

.menu_qbity ul li:last-of-type {
  /*border-right: 1px solid #739dff;		/* ultima linea voci menu */
}

/*
.menu_qbity ul li:first-of-type
{
	border-left:none;
}
*/

.menu_qbity li a:hover {
  color: #fff;
  text-decoration: none;
}

.menu_qbity ul li a {
  display: block;
  padding: 15px;
  color: #eee; /* Colore Testo Menu */
  text-decoration: none;
  background: none;
  transition: 400ms;

  font-family: arial;
  font-size: 17px;
  font-weight: normal;
  z-index: 80;
}

.menu_qbity ul li:hover a          /* Sopra Testi Menu Link */ {
  color: #fff;
  text-decoration: none;
  overflow: hidden;

  /*background: #325cc0; */ /* sfondo voci menu hover */
  transition: 400ms;

  box-shadow: -2px 2px 4px 0 rgba(0, 0, 0, 0.5);
  text-align: center;

  font-size: 17px;
}

.menu_qbity li ul    /* MENU A TENDINA: SFONDO E POSIZIONE*/ {
  margin: 0;
  padding: 0;
  display: none;
  position: relative;
  left: 0;
  top: 3px;
  background-color: #151515;
  /*border: 1px solid #777;*/
  text-align: left;
  z-index: 80;
}

.menu_qbity li:hover ul {
  display: block;
}

.menu_qbity li li {
  list-style: none;
  display: list-item;
  width: 100%;
}

.menu_qbity li li a:hover {
  text-decoration: none;
  background-color: #282828;
  color: #ffffff;
  transition: 500ms;
}

.invisi {
  display: none; /* Classe normalmente non mostrata */
}

.invisi-rev {
  display: block; /* Classe mostrata su desktop ma non su smartphone*/
}

/* MENU SMARTPHONE */

.topnav {
  overflow: hidden;
  background-color: #333;
  position: absolute;
  border: none;
  width: 100%;
  z-index: 99;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 22px;
  display: block;
  background: #222; /* Sfondo Voci menu */
  border: 1px solid #151515; /* Linee separazione Menu */
}

.topnav a.icon {
  background: #151515; /* Button On/Off Menu */
  display: block;
  color: #9b0909;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: #333;
  color: white;
  text-decoration: none;
}

.active {
  background-color: #333;
  color: #777;
}

/*  FINE MENU SMARTPHONE */

.content {
  padding: 25px 0;
}

.content h2 {
  padding: 5px 10px 2px;
  background: none; /* Titoli Pagina */
  text-align: center;
  font-weight: 400;
  font-size: 30px;
}

.content h2 img {
  width: 75%;
  height: 75%;
}

.contenuto_interno {
  background: #f1f1f1;
}

footer {
  float: left;
}

/* --------------------------------- Nuovo Contenuto --------------------------------- */

.riga-rossa {
  background: #9b0909;
  height: 20px;
  max-height: 2px;
  width: 100%;
  margin: 10px 0;
}

.scritta-br {
  padding: 2px 10px 10px;
  margin: 0;
}

.foto-chi-siamo {
  border: 4px solid #151515;
  border-radius: 50%;
  max-width: 300px;
  max-height: 300px;
}

.bio {
  padding: 20px 10px 30px;
}

.bio a {
  color: #151515 !important;
  text-decoration: none !important;

  font-size: 16px;

  -webkit-transition: 500ms; /* per Safari */
  -webkit-transition-timing-function: ease; /* per Safari */
  transition: 500ms;
  transition-timing-function: ease;
}

.bio a:hover {
  color: #777 !important; /* rosso AWD */
  text-decoration: none !important;

  -webkit-transition: 500ms; /* per Safari */
  -webkit-transition-timing-function: ease; /* per Safari */
  transition: 500ms;
  transition-timing-function: ease;
}

.prova-demo {
  border: 2px solid white;
  border-radius: 5px;
  /*color:#151515;*/
  background: white;
  font-size: 20px;
  padding: 10px;
  margin-top: 30px;
  margin-bottom: 40px;
  text-decoration: none;
}

.prova-demo a {
  color: #151515 !important;
  text-decoration: none !important;

  font-size: 20px;

  -webkit-transition: 500ms; /* per Safari */
  -webkit-transition-timing-function: ease; /* per Safari */
  transition: 500ms;
  transition-timing-function: ease;

  padding: 10px 50px;
  min-width: 100%;
}

.prova-demo a:hover {
  color: #e54 !important; /* rosso AWD */
  text-decoration: none !important;

  font-size: 22px;

  -webkit-transition: 500ms; /* per Safari */
  -webkit-transition-timing-function: ease; /* per Safari */
  transition: 500ms;
  transition-timing-function: ease;
}

.awd-cover {
  width: 70%;
  height: 70%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Formato per 16:9 */
  padding-top: 25px;
  height: 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-container {
  position: relative;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
}
.img-container img {
  /* L'immagine copre il 100% dell'area occupabile */
  max-width: 100%;
  max-height: 100%;
  padding: 5px;
}

.img-container-left {
  position: relative;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  border: 1px solid #ffffff;
}

#myBtn {
  display: block;
  visibility: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #333; /* Colore Button top */
  color: #eee;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 26px;

  -webkit-transition: 500ms; /* per Safari */
  -webkit-transition-timing-function: ease; /* per Safari */
  transition: 500ms;
  transition-timing-function: ease;
}

#myBtn:hover {
  color: #fff;
  background-color: #555; /* Poco più chiaro del Colore button top*/

  -webkit-transition: 500ms; /* per Safari */
  -webkit-transition-timing-function: ease; /* per Safari */
  transition: 500ms;
  transition-timing-function: ease;
}

.toast-info {
  background-color: #777;
}

/* ----------------------------------- Nuovo Footer ----------------------------------- */

.qbity-footer {
  background-color: #151515;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 14px sans-serif;

  padding: 55px 50px;
  margin-top: 10px;
}

.qbity-footer .footer-left,
.qbity-footer .footer-center,
.qbity-footer .footer-right {
  display: inline-block;
  vertical-align: top;
}

.qbity-footer .footer-left {
  width: 35%;
  text-align: left;
  padding: 0 0 0 40px;
}

.qbity-footer .footer-left img {
  /* Il browser non deforma l'immagine perché altezza e larghezza sono assegnati automaticamente */
  width: auto;
  height: auto;
}
.qbity-footer .footer-left .footer-title,
.qbity-footer .footer-right .footer-title {
  color: #ededed;
  font-size: 20px;
}

.qbity-footer .footer-links {
  color: #c3c3c3;
  margin: 10px 0 12px 65px;
  font-size: 15px;
  font-weight: normal;
}

.qbity-footer .footer-left .footer-links,
.qbity-footer .footer-right .footer-links {
  margin: 5px 0 10px 0;
}

.qbity-footer .footer-left p,
.qbity-footer .footer-right p {
  font-size: 16px;
}

.qbity-footer .footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
}

.qbity-footer .footer-links a:hover {
  color: #fff;
}

.qbity-footer .footer-center {
  width: 40%;
}

.qbity-footer .footer-center i {
  background-color: #202020;
  color: #ededed;
  font-size: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin: 10px 15px;
  vertical-align: middle;
}

.qbity-footer .footer-center i.fa-envelope {
  font-size: 16px;
  line-height: 38px;
}

.qbity-footer .footer-center p {
  display: inline-block;
  color: #c3c3c3;
  vertical-align: middle;
  margin: 0;
}

.qbity-footer .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 13px;
  line-height: 2;
}

.qbity-footer .footer-center p a {
  color: #e54; /* rosso footer links = rosso AWD */
  text-decoration: none;
}

.qbity-footer .footer-center p a:hover {
  color: #f87; /* rosso hover footer links */
  text-decoration: none;
}

.qbity-footer .footer-right {
  width: 20%;
}

.fsocial {
  font-weight: normal;
  font-size: 36px;
  margin: 0 3px;
}

/*------------------------------- Calcoli per Risoluzioni -------------------------------*/

@media only screen and (max-width: 1100px) {
  .tabs label {
    padding: 10px 15px;
    font-size: 16px;
  }

  .foto-chi-siamo {
    max-width: 450px;
    max-height: 450px;
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  .features ul li {
    width: 50%;
    border-bottom: 1px solid #e3e3e3;
  }

  .features ul li:nth-child(2) {
    border-right: none;
  }

  .features ul li:nth-child(3) {
    border-bottom: none;
  }
}

@media only screen and (max-width: 991px) {
  .logo-scritta-menu {
    padding: 50px 0 0 0;
  }

  .awd-cover {
    width: 100%;
    height: 100%;
  }

  .galleria_video,
  .descrizione_oggetto {
    width: 100%;
  }

  .tabs .tab,
  .tabs label {
    order: initial;
    transition: 300ms all;
    display: block;
  }

  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }

  .tabs input[type="radio"]:checked + label {
    background: #f1f1f1;
    border-bottom: 1px solid #e1e1e1;
  }

  .tabs input[type="radio"]:checked + label + .tab {
    max-height: 400px;
    overflow-y: scroll;
  }

  /*--------------------------- Menu visualizzato su Smartphone ---------------------------*/

  .qbity_header {
    padding: 0;
    background: #fff;
  }

  .menu_qbity:last-of-type {
    background: #ccc; /* --- Solo per secondo blocco --- */
  }

  .menu_qbity a {
    width: 100%;
    float: none;
    display: inline-block;
    text-align: center;
  }

  .menu_qbity ul {
    width: 100%;
    color: #2a2a2a;
    top: 0px;
    background: #f1f1f1; /* --- Colore sfondo tasti con ris < 980 --- */
  }

  .menu_qbity ul li {
    float: none;
    border: 1px solid #e1e1e1;
    border-bottom: 1px solid #f1f1f1;
  }

  .menu_qbity ul li a {
    width: 100%;
    color: #ccc;
    font-size: 24px;
    text-align: center;
  }

  .menu_qbity ul li:hover a {
    color: #fff;
    font-size: 24px;
  }

  .menu_qbity li ul, .menu_qbity li:hover ul   /* MENU A TENDINA DA NON MOSTRARE*/ {
    display: none;
  }

  .invisi		/* Vengono mostrati i tasti del menu normalmente (equivalgono a quelli del sottomenu) */ {
    display: block;
  }

  .invisi-rev	/* NON vengono mostrati i tasti per smartphone, sì per desktop */ {
    display: none;
  }

  /*-------------------------- Nuovo Contenuto su Smartphone -----------------------------*/

  .content h2 {
    padding: 15px;
  }

  .content h2 img {
    width: 100%;
    height: 100%;
  }

  table.centro {
    margin-left: auto;
    margin-right: auto;
  }

  /*---------------------------- Nuovo Footer su Smartphone -------------------------------*/

  .qbity-footer {
    font: bold 20px sans-serif;
    padding: 40px 10px;
    font-size: 20px;
  }

  .qbity-footer .footer-left,
  .qbity-footer .footer-center,
  .qbity-footer .footer-right {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .qbity-footer .footer-left .footer-title,
  .qbity-footer .footer-right .footer-title {
    font-size: 22px;
  }

  .qbity-footer .footer-left p,
  .qbity-footer .footer-right p {
    font-size: 22px;
  }

  .qbity-footer .footer-left p span {
    font-size: 18px;
  }

  .qbity-footer .footer-center i {
    margin-left: 0;
  }

  .qbity-footer .footer-center i.fa-envelope {
    margin-left: 0;
    margin-right: 0;
  }

  .qbity-footer .footer-links {
    margin: 0;
  }

  .qbity-footer .footer-center p {
    font-size: 20px;
    padding: 0 0 10px 0;
  }

  .qbity-footer .footer-center p span {
    font-size: 16px;
  }

  .qbity-footer .footer-orari {
    font-size: 16px;
  }

  .qbity-footer .footer-orari span {
    font-size: 20px;
  }

  .qbity-footer .footer-right {
    padding: 0 20px;
  }

  table.centro {
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 540px) {
  .features ul li {
    width: 100%;
    border-right: none !important;
  }

  .features ul li:nth-child(3) {
    border-bottom: 1px solid #e3e3e3;
  }

  .thumbnails .contenuto_galleria,
  .white-box {
    height: 400px;
  }

  .thumbnails li {
    width: 70px;
    height: 70px;
  }
}

@media only screen and (min-device-width: 896px) and (max-device-width: 1024px) and (orientation: landscape) {
  .logo-scritta-menu {
    padding: 20px 5px;
  }
}

@media only screen and (min-device-width: 420px) and (max-device-width: 896px) and (orientation: landscape) {
  .logo-scritta-menu {
    padding: 20px 80px;
  }
}
