/* ########################### */
/* ######## sixeleven ######## */
/* ########################### */


* {
  box-sizing: border-box;
}
body {
  position:relative;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  color: #4a4845;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: url("../images/backgrounds/img-noise-300x300.png") center center;
}
a:link, a:hover, a:visited {
  text-decoration: none;
  color: #0c3d86;
}
h1 {
  font-size: 2.5em;
  margin: 0 0 0.5em;
  line-height: 100%;
}
h1 span {
  font-weight: 300;
  display: block;
}
h2 {
  color: #104591;
}
h2, h3, h4, h5, h6, p {
  margin-top: 0;
}
h3 {
  font-weight: 600;
  font-size: 2em;
  line-height: 100%;
  color: #104591;
}
*:focus {
  outline: none;
}
button, a.button {
  border-radius: 0;
  background: #0d7cc6;
  background: -webkit-linear-gradient(top,  #0d7cc6 0%,#104591 100%);
  background: linear-gradient(to bottom,  #0d7cc6 0%,#104591 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d7cc6', endColorstr='#104591',GradientType=0 );
  text-shadow: 0px 1px 0px rgba(0,0,0,0.4);
  display: inline-block;
  color: #fff;
  border: 0;
  font-size: .9em;
  padding: 1em 2em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0px 0px 3px rgba(0,0,0,0.7);
}
button:hover,
a.button:hover {
  background: #0b61a8;
  background: -webkit-linear-gradient(top,  #0b61a8 0%,#0f2682 100%);
  background: linear-gradient(to bottom,  #0b61a8 0%,#0f2682 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b61a8', endColorstr='#0f2682',GradientType=0 );
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  width: 100%;
}

.content-row {
  display: block;
  clear: both;
}

.content-row.first-row {
  width: 100%;
  height: 80vh;
  min-height: 32em;
  position: relative;
  background-color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-bottom: 12em;
}

.content-row.first-row:after {
  content: "";
  bottom: 0;
  top: 50%;
  left: 0;
  right: 0;
  height: auto;
  width: 100%;
  display: block;
  position: absolute;
  z-index: 1;
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
}

.container {
  padding: 2em;
}
.background-block {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.background-block:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  z-index: 1;
  background: rgba(0,0,0,0.4);
  }

.first-row .scrollmagic-pin-spacer {
  float: left;
}

.content-row.video {
  padding: 2em 0;
  background: url(../images/backgrounds/img-noise2.png) center center #31609A;
  color: #DCEAF9;
}

.content-row.video .wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: 2em;
  text-align: center;
  box-sizing: border-box;
}

.content-row.video .wrapper img,
.content-row.video .wrapper iframe {
  max-width: 100%;
  margin: 1em auto;
  display: block;
  box-shadow: 0px 1px 4px rgba(0,0,0,0.4);
}

.content-row.video .wrapper h3 {
  color: #fff;
}

.content-row.video .wrapper a {
  color: #fff;
  font-weight: bold;
}

.content-row.social {
  background-color: #ffffff;
}

.content-row.social .wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: 2em;
  text-align: center;
  box-sizing: border-box;
}
.content-row.social .wrapper h3 {
  margin-bottom: .25em;
}
.content-row.social .wrapper img {
  max-height: 60px;
  max-width: 60px;
  height: auto;
  width: auto;
  display: inline-block;
}

@media (max-width: 1100px) {
  #block-plus .plus-item {
    width: 40%;
    min-height: 7.8em;
  }
  .footer .footer-sentence:first-of-type {
    display: block;
  }
  .footer .footer-sentence:nth-of-type(2):before {
    display: none;
  }
  .footer .footer-sentence:nth-of-type(4):before {
    display: block;
    content: "";
  }
  .footer .footer-sentence:last-of-type {
    display: inline;
  }
  .footer .footer-sentence:last-of-type:before {
    display: inline;
    content: " - ";
  }
}

@media (max-width: 990px) {
  .content-row.first-row {
    height: auto;
    min-height: 0;
    padding-bottom: 2em;
  }
  #block-plus .text-overlay p {
    font-size: 0.85em;
  }
  .footer p {
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 1.5em;
  }
  .footer .footer-sentence {
    display: block;
  }
  .footer .footer-sentence:before {
    content: "";
    display: none;
  }
  .socials {
    display: block;
    vertical-align: middle;
    width: 100%;
    text-align: center;
  }
  .sec-quality .container .logos:nth-of-type(1) {
    margin-top: 1em;
    margin-bottom: 0;
  }
  .sec-quality .container .logos:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: 1em;
  }
  #block-plus .plus-item {
    padding: 20px 10px 20px 5px;
    margin: 0.5% 0.3%;
  }
  #block-plus .plus-categoria {
    width: 50px;
    height: 50px;
    vertical-align: top;
  }
  #block-plus .text {
    width: calc(100% - 60px);
  }
}

@media (max-width: 767px) {
  .content-row.composizione {
    display: none;
  }
  .main-content-container.container {
    padding: 1em;
    text-align: center;
  }
  .note {
    margin-top: 1em;
  }
  .main-content-container .itinerari-container p {
    text-align: center;
  }
  h3 {
    font-size: 1.4em;
  }
  .hero-text button {
    margin-top: 1em;
  }

  .download {
    display: none;
  }
  .block-plus-container {
    padding: 2em 1em;
  }
  #block-plus .flex-row {
    display: block;
  }
  #block-plus .plus-item {
    width: 100%;
    min-height: 6.2em;
  }
  .footer p {
    width: 100%;
    line-height: 1.4em;
    margin: 1em 0;
  }
  .footer .footer-sentence {
    display: block;
  }
  .footer .footer-sentence:before {
    display: block;
    content: "";
  }
  .footer .footer-sentence:last-of-type {
    display: block;
  }
  .footer .footer-sentence:last-of-type:before {
    display: block;
    content: "";
  }
  .footer p strong {
    font-size: 1.3em;
  }
  .footer p strong:after {
    display: block;
    content: "";
  }
  .footer p a:after {
    display: inline;
    content: "";
  }
}

@media (max-width: 600px) {
  .quote {
    font-size: 1em;
  }
}
