/*! HTML5 Boilerplate v4.3.0 | MIT License | https://h5bp.com/ */
html,
button,
input,
select,
textarea {
  color: #222;
}
html {
  font-size: 1em;
  line-height: 1.4;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
img,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==================
   Mixins
   ================== */
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.tasto {
  background-color: #9e9e9e;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  font-size: 19px;
  font-weight: 300;
  padding: 10px 20px;
  border-right: 2px solid #000000;
}
.tasto:hover,
.tasto.active {
  background-color: #777777;
}
.overlay {
  display: none;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body,
html {
  background-color: #000;
  width: 100%;
  height: 100%;
  font-family: 'Roboto', sans-serif;
}
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
nav ul {
  zoom: 1;
  *zoom: 1;
}
nav ul:before,
nav ul:after {
  content: "";
  display: table;
}
nav ul:after {
  clear: both;
}
nav li a {
  float: left;
  background-color: #9e9e9e;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  font-size: 19px;
  font-weight: 300;
  padding: 10px 20px;
  border-right: 2px solid #000000;
  position: relative;
}
nav li a:hover,
nav li a.active {
  background-color: #777777;
}
.logo {
  width: 272px;
  position: absolute;
  bottom: 30px;
  left: 0;
}
.logo a {
  background-color: #9e9e9e;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  font-size: 19px;
  font-weight: 300;
  padding: 10px 20px;
  border-right: 2px solid #000000;
  display: block;
  background: #9e9e9e url(../img/bg-tasto.png) no-repeat right center;
}
.logo a:hover,
.logo a.active {
  background-color: #777777;
}
.logo img {
  width: auto;
  height: auto;
}
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
footer .banda {
  background-color: #FFF;
  text-align: center;
  color: #9e9e9e;
  padding: 10px 0;
  font-weight: 100;
  font-size: 14px;
}
#slider {
  padding-top: 70px;
  position: relative;
}
#slider .bxslider li {
  text-align: center;
}
#slider .portafoto {
  position: relative;
}
#slider .pdf {
  position: absolute;
  width: 100%;
  bottom: 10px;
  text-align: center;
}
#slider .pdf a {
  background-color: #9e9e9e;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  font-size: 19px;
  font-weight: 300;
  padding: 10px 20px;
  border-right: 2px solid #000000;
  border: none;
}
#slider .pdf a:hover,
#slider .pdf a.active {
  background-color: #777777;
}
.controls {
  text-align: center;
  margin-top: 10px;
}
.controls a {
  width: 40px;
  height: 40px;
  display: inline-block;
  overflow: hidden;
  text-indent: -999px;
  background-position: 0 0;
  background-repeat: no-repeat;
}
.controls a.prev {
  background-image: url(../img/btn-prev.png);
}
.controls a.next {
  background-image: url(../img/btn-next.png);
}
.controls a:hover {
  background-position: 0 100%;
}
.overlay {
  background-color: #FFF;
  padding: 20px;
  font-family: 'Arapey', serif;
  font-size: 17px;
  position: absolute;
}
.overlay a {
  color: #000;
}
.overlay a:hover {
  text-decoration: none;
}
.overlay p {
  padding: 5px 0;
  line-height: 1.2em;
}
.overlay.txt_promo {
  width: 500px;
}
.overlay.txt_contatti {
  width: 200px;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1100px) {
  nav li a {
    font-size: 12px;
  }
  footer .banda {
    font-size: 10px;
  }
  a.promotore {
    font-size: 12px;
  }
  .logo,
  .logo img {
    width: 200px;
  }
  .txt_contatti {
    top: 92px !important;
    left: 50% !important;
  }
  #slider .pdf a {
    font-size: 12px;
  }
  #slider .descr li {
    font-size: 16px !important;
  }
  #slider .descr li h1 {
    font-size: 21px !important;
  }
}
@media only screen and (max-width: 800px) {
  nav li a {
    font-size: 10px;
    display: block;
    width: 40%;
  }
  footer .banda {
    font-size: 10px;
  }
  a.promotore {
    font-size: 10px;
  }
  #slider {
    margin-top: 70px;
  }
  .logo,
  .logo img {
    width: 150px;
  }
  .txt_promo {
    font-size: 12px;
    width: 500px !important;
  }
  #slider .pdf a {
    font-size: 10px;
  }
}
@media only screen and (max-width: 700px) {
  .txt_promo {
    width: 400px !important;
  }
}
@media only screen and (max-width: 600px) {
  .txt_promo {
    width: 300px !important;
  }
  #slider .descr li {
    font-size: 13px !important;
  }
  #slider .descr li h1 {
    font-size: 17px !important;
  }
}
@media only screen and (max-width: 570px) {
  nav li a {
    font-size: 10px;
    display: block;
    width: 17%;
  }
  .logo img {
    display: none;
  }
  .txt_promo {
    width: 200px !important;
  }
  #slider {
    padding-top: 0px;
  }
}
@media only screen and (max-width: 425px) {
  nav li a {
    font-size: 10px;
    display: block;
    width: 35%;
  }
  #slider {
    padding-top: 160px;
  }
  .txt_promo {
    font-size: 12px;
    width: 120px !important;
    top: 240px !important;
  }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}
.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}
.hidden {
  display: none !important;
  visibility: hidden;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
