/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Ubuntu", sans-serif;
  color: #3e3947;
  background-color: white;
}

body, html {
  height: 100%;
}

a {
  color: #3e3947;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,h2,h3{
  font-family: 'Gloria Hallelujah', cursive;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

/* -------------------------------- 

Main components 

-------------------------------- */
.cd-section {
  min-height: 100%;
  max-height: auto;
  position: relative;
  padding: 2em 0;
  z-index: 1;
}
.cd-section:nth-of-type(odd) {
  background-color: #65c6ea !important;
}
.cd-section:nth-of-type(odd) p {
  color: #898099;
}
.cd-section:nth-of-type(even) {
  background-color: #414f5b !important;
}
.cd-section:nth-of-type(even) p {
  color: #bda3ad;
}
.cd-section p , .containerQ, .containerR {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 768px;
  text-align: center;
}
.cd-section h1 {
  color: white;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 20px;
  font-size: 1.25rem;
}
.cd-section p , .containerQ {
  line-height: 1.6em;
}
@media only screen and (min-width: 768px) {
  .cd-section h1 {
    font-size: 30px;
    font-size: 1.875rem;
  }

  .cd-section p , .containerQ, .containerR {
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 2em;
  }
}

.cd-scroll-down {
  position: absolute;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 20px;
  width: 38px;
  height: 44px;
  background: url("../img/cd-arrow-bottom.svg") no-repeat center center;
}

/* No Touch devices */
.cd-nav-trigger {
  display: none;
}

.no-touch #cd-vertical-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}
.no-touch #cd-vertical-nav li {
  text-align: right;
}
.no-touch #cd-vertical-nav a {
  display: inline-block;
  /* prevent weird movements on hover when you use a CSS3 transformation - webkit browsers */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.no-touch #cd-vertical-nav a:after {
  content: "";
  display: table;
  clear: both;
}
.no-touch #cd-vertical-nav a span {
  float: right;
  display: inline-block;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
.no-touch #cd-vertical-nav a:hover span {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
.no-touch #cd-vertical-nav a:hover .cd-label {
  opacity: 1;
}
.no-touch #cd-vertical-nav a.is-selected .cd-dot {
  background-color: white;
}
.no-touch #cd-vertical-nav .cd-dot {
  position: relative;
  /* we set a top value in order to align the dot with the label. If you change label's font, you may need to change this top value*/
  top: 8px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.3);
  -webkit-transition: -webkit-transform 0.2s, background-color 0.5s;
  -moz-transition: -moz-transform 0.2s, background-color 0.5s;
  transition: transform 0.2s, background-color 0.5s;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}
.no-touch #cd-vertical-nav .cd-label {
  position: relative;
  margin-right: 10px;
  padding: .5em .5em;
  color: white;
  font-size: 18px;
  font-size: 1rem;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.5;
  -webkit-transform-origin: 100% 50%;
  -moz-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  -o-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
}

/* Touch devices */
.touch .cd-nav-trigger {
  display: block;
  z-index: 2;
  position: fixed;
  bottom: 30px;
  right: 5%;
  height: 44px;
  width: 44px;
  border-radius: 0.25em;
  background: rgba(255, 255, 255, 0.9);
}
.touch .cd-nav-trigger span {
  position: absolute;
  height: 4px;
  width: 4px;
  background-color: #3e3947;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.touch .cd-nav-trigger span::before, .touch .cd-nav-trigger span::after {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
}
.touch .cd-nav-trigger span::before {
  top: -9px;
}
.touch .cd-nav-trigger span::after {
  bottom: -9px;
}

.touch #cd-vertical-nav {
  position: fixed;
  z-index: 2;
  right: 5%;
  bottom: 30px;
  width: 90%;
  max-width: 400px;
  max-height: 90%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -webkit-transform-origin: right bottom;
  -moz-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  -o-transform-origin: right bottom;
  transform-origin: right bottom;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
  border-radius: 0.25em;
  background-color: rgba(255, 255, 255, 0.9);
}
.touch #cd-vertical-nav a {
  display: block;
  padding: 1em;
  border-bottom: 1px solid rgba(62, 57, 71, 0.1);
    color: #414f5b !important
}
.touch #cd-vertical-nav a span:first-child {
  display: none;
}
.touch #cd-vertical-nav a.is-selected span:last-child {
  color: #d88683;
}
.touch #cd-vertical-nav.open {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
.touch #cd-vertical-nav.open + .cd-nav-trigger {
  background-color: transparent;
}
.touch #cd-vertical-nav.open + .cd-nav-trigger span {
  background-color: rgba(62, 57, 71, 0);
}
.touch #cd-vertical-nav.open + .cd-nav-trigger span::before, .touch #cd-vertical-nav.open + .cd-nav-trigger span::after {
  background-color: #3e3947;
  height: 3px;
  width: 20px;
  border-radius: 0;
  left: -8px;
}
.touch #cd-vertical-nav.open + .cd-nav-trigger span::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 1px;
}
.touch #cd-vertical-nav.open + .cd-nav-trigger span::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  bottom: 0;
}
.touch #cd-vertical-nav li:last-child a {
  border-bottom: none;
}

@media only screen and (min-width: 768px) {
  .touch .cd-nav-trigger, .touch #cd-vertical-nav {
    bottom: 40px;
  }
}

/*style radio*/
.containerQ, .containerR{
  color:#fff;
}


input[type="radio"] {
    display:none;
}

input[type="radio"] + label {
    font-size:20px;
    clear: both;
    display: block;
}

input[type="radio"] + label span {
    display:inline-block;
    width:30px;
    height:30px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background:url(radio.png) -60px top no-repeat;
    cursor:pointer;
}

input[type="radio"]:checked + label span {
    background:url(radio.png) -90px top no-repeat;
}

/*//posizionamenti*/

.container{
  width: 100%;
  padding: 5%;
  text-align: center;
  
}
h3{
  line-height: 1.5em;
  margin-top: 20px;
  color: white;
  font-weight: 300;
  font-size: 18px;
  font-size: 1rem;}
h2{
  line-height: 1.5em;
  margin-top: 20px;
  color: white;
  font-weight: 300;
  font-size: 25px;
  font-size: 1.9rem;}

  #section1 h1,  #section1 h3{
    color:#414f5b !important;
  }
 
 .descrizione{
  color: #65c6ea;
  }

 /*SFONDI*/

 #section2{
  background: url(../img/chitarra.png);
  background-position: 20px 30px;
  background-repeat: no-repeat;
 }
  #section3{
  background: url(../img/personalita.png);
  background-position: 20px 30px;
  background-repeat: no-repeat;
 }

#section4{
  background: url(../img/cinema.png);
  background-position: 20px 30px;
  background-repeat: no-repeat;
 }

 #section5{
  background: url(../img/like.png);
  background-position: 20px 30px;
  background-repeat: no-repeat;
 }


 #section6{
  background: url(../img/diffondere.png);
  background-position: 20px 30px;
  background-repeat: no-repeat;
 }
 #section7{
  background-color: #fff !important;
  min-height: 1000px;

 }
  #section7 h2,  #section7 h3{
      color:#414f5b ;
      font-size: 40px;
  }

   #section7 img{
    float: left;
    
   }

.morandi_risultato{
  font-weight: 800;
  color: #414f5b !important;
  font-weight: bold;
  font-size: 45px !important
}

.abbraccio{
  font-size: 20px !important;
  display: none;
  
}
.separatore{
  margin-top: 50px;
}

i{
  color: #65c6ea;
  font-size: 50px !important
}

i:hover{
  color:#414f5b !important;
}
.condividi{
  color:#65c6ea !important;
}

a:link, a:visited{
  color:#f7df41 !important;
}

#section8{
  text-align: center;
  padding-bottom: 0;
}
#section8 h2{
  font-size: 50px;
  font-weight: bold;
  
}

#section9{
  padding-top: 0;
  border-bottom:10px white;
  background:#414f5b !important;
}

#section9 a:hover{
  text-decoration: underline;
  cursor: pointer;  
}

#section9 small{
  display: block;
  margin-top: 50px;
  font-size: 12px
}

.errore{
  color: #f7df41;
  z-index: 9999999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52,60,77,0.9);
  display: none;
  
}

.testo_errore{
  font-family: 'Gloria Hallelujah', cursive;
  text-align: center;
  padding-top: 10%;
  font-size: 40px
}

.testo_errore .btn{
  border: 2px solid white; padding: 10px ; margin-top: 90px; display: block; width: 150px; margin: auto; color:#fff;
  
}

.btn{
  border: 2px solid white; padding: 10px 20px; width: 250px;margin: auto; margin-top: 30px;
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -ms-transition: color 0.5s;
  -o-transition: color 0.5s;
  transition: color 0.5s;
   -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  -ms-transition: background 0.5s;
  -o-transition: background 0.5s;
  transition: background 0.5s;
}

.btn:hover{
  cursor: pointer;
  background: #fff;
  color:rgba(52,60,77,1);
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -ms-transition: color 0.5s;
  -o-transition: color 0.5s;
  transition: color 0.5s;
   -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  -ms-transition: background 0.5s;
  -o-transition: background 0.5s;
  transition: background 0.5s;
  
}
.img_titolo{
  width: 70%; height: auto;
}

.img_intro{
  width: 60%; height: auto;
}
.infografiche{
  width: 49%;
  float: left;
  
}

#section1 h3.inizia{
  text-align: center;
  margin-bottom: 50px;
}



@media only screen and (max-width: 768px) {
  .containerQ{
    font-size: 20px;
    line-height: 1em;
    margin-top: 50px;
  }
  .containerQ label{
    margin-top: 20px;
  }
.cd-section .container{
  padding: 0;
}

  h2{
    font-size: 20px !important;
  }
  .img_intro{
    margin-top: 20px;
    width: 90%; height: auto;
  }
  .img_titolo{
  width: 100%; height: auto;
}
   .descrizione{
  font-size: 15px
  }
    #section7 img{
        width: 100%;
        
       }

    .infografiche{
      width: 100%;
  }
}

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}