
@font-face {
    font-family: Carattere;
    src: url('../font/galliard.ttf');
    src: url('../font/galliard.svg');
    src: url('../font/galliard.otf');
}


* {
	margin: 0;
	padding: 0;
	border: 0;
	text-transform: none;
	text-decoration: none;
	font-family: Carattere, serif;
}

body {
    background-color: #f6efe1;
}

.testo {
	margin: 0 auto;
	text-align: center;
    z-index: 1000;
    color: white;
    font-family: Carattere, serif;
}

.testo p, .cit div {
    font-size: 1.15em;
    font-style: italic;
    width: 70vw;
    margin: 0 auto;
    line-height: 1.15em;
    color: #ffffff;
    font-weight: 100;
}

#video02 {display: none;}

.cit {
    background-color: #cca85b;
    padding: 8vh 0;
}

#frase-intro-1, #intro, #tradizione, #innovazione {
	margin: 0;
	padding: 0;
  border: 0;
}

#intro {
    margin-top: -3px;
    background-image: url("../media/intro.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}

#intro img {
    width: 15vw;
    height: auto;
    margin: auto;
    padding-left: 42vw;
    padding-top: 22vh;

}

#bando-valore {
padding-bottom: 25px;

}

#bando-valore a {
  color: #f6efe1;
  text-decoration: underline;
}

.parallax-window {
    min-height: 80vh;
    background: transparent;
}

footer {
	background-color: #061136;

}

footer p {
  padding-top: 7vh;
  color: #ffffff;
  font-size: 1.5em;
  font-family: Carattere, serif;
} 


/*--------*/

.container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}

.container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

.cd-timeline-content h1 {
    font-size: 2.5em;
    color: #cca85b;
    padding-bottom: 40px;
    font-family: Carattere, serif;
  }


/* -------------------------------- 

Main components 

-------------------------------- */

#impegno, #origini, #trad, #inn {
  position: relative;
  padding: 5em 0;
}

#impegno::before, #origini::before, #trad::before, #inn::before {
  /* linea del tempo verticale */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #cca85b;
}

@media only screen and (min-width: 1170px) {

  #impegno::before, #origini::before, #trad::before, #inn::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
}

.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}

.cd-timeline-block:first-child {
  margin-top: 0;
}

.cd-timeline-block:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}



.cd-timeline-content .titolo {
  font-style: italic;
  font-family: Carattere, serif;
}

.cd-timeline-content .underline {
  border-bottom: 4px double #cca85b;
  margin-top: -5px;
}

.cd-timeline-content img {
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
      position: absolute;
      top: 0;
      left: 49%;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      box-shadow: 0 0 0 5px #f6efe1;
      background: #cca85b;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
  }

  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }

  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 1.5s;
    -moz-animation: cd-bounce-1 1.5s;
    animation: cd-bounce-1 1.5s;
  }
  .cd-timeline-content {
    margin-left: 0;
    width: 40%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #f6efe1;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-contet .cd-readmore-02 {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(odd) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(odd) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #f6efe1;
  }
  .cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-read-more, .cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-read-more-02 {
    float: right;
  }
  .cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 1.5s;
    -moz-animation: cd-bounce-2 1.5s;
    animation: cd-bounce-2 1.5s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }

   /* inverse bounce effect on odd content blocks */
  .cssanimations .cd-timeline-block:nth-child(odd) .cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 1.5s;
    -moz-animation: cd-bounce-2-inverse 1.5s;
    animation: cd-bounce-2-inverse 1.5s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-150px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(25px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-150px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(25px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-150px);
    -moz-transform: translateX(-150px);
    -ms-transform: translateX(-150px);
    -o-transform: translateX(-150px);
    transform: translateX(-150px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(25px);
    -moz-transform: translateX(25px);
    -ms-transform: translateX(25px);
    -o-transform: translateX(25px);
    transform: translateX(25px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(150px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-25px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(150px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(-25px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(150px);
    -moz-transform: translateX(150px);
    -ms-transform: translateX(150px);
    -o-transform: translateX(150px);
    transform: translateX(150px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-25px);
    -moz-transform: translateX(-25px);
    -ms-transform: translateX(-25px);
    -o-transform: translateX(-25px);
    transform: translateX(-25px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
 
.cd-timeline-content {
  position: relative;
  background: #f6efe1;
  color: #061136;
}

.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}

.cd-timeline-content h2 {
  color: #cca85b;
  font-size: 2em;
  font-family: Carattere, serif;
}

.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-read-more-02 {
  font-size: 16px;
  font-family: Carattere, serif;
}

.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-read-more-02 {
  display: inline-block;
}

.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}

.cd-timeline-content .cd-read-more {
  float: right;
  padding: 0.8em 1em;
  background: #061136;
  color: white;
  font-family: Carattere, serif;
  border-radius: 0.5em;
}

.cd-timeline-content .cd-read-more-02 {
    float: right;
    padding: 0.8em 1em;
    border: 2px solid #061136;
    color: #061136;
    border-radius: 0.5em;
    font-family: Carattere, serif;
  }

.no-touch .cd-timeline-content .cd-read-more:hover, .no-touch .cd-timeline-content .cd-read-more-02:hover {
  background-color: #bac4cb;
}

.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
}

@media only screen and (max-width: 768px) {
 
  .cd-timeline-content h2 {
    font-size: 1.5em;
    font-family: Carattere, serif;
  }    
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
    font-family: Carattere, serif;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-read-more-02, .cd-timeline-content{
    font-size: 14px;
    font-size: 0.875rem;
    font-family: Carattere, serif;
  }

}

@media only screen and (max-width: 1170px) {

  #intro img {width: 28vw; padding-left: 36vw;}
 
  .cd-timeline-content {
    padding-bottom: 10vh;
    margin-left: 60px;
  }

  .cd-timeline-img{
    left: 1.5%;
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #f6efe1;
    background: #cca85b;
  }   
}

@media only screen and (max-width: 480px) {
 
  #video {display: none;}
  #video02 {display: block;}    
  .testo img{height: 50vh; padding-top: 5vh;}
  #intro img {width: 50vw; padding-left: 25vw;}

  .cit {

    margin-top: -3px;
  }

  .cd-timeline-content h1 {
    font-size: 2.5em;
    font-family: Carattere, serif;
  }  

  .cd-timeline-content h2 {
    font-size: 1.5em;
    font-family: Carattere, serif;
  }   

    .cd-timeline-img{
    left: 1.8vw;
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #f6efe1;
    background: #cca85b;
  } 

  #embedded-source {
    display: none;
  }
}

#share-buttons {
  padding-top: 30px;
    padding-bottom: 7vh;
}

#share-buttons img {
width: 50px;
padding: 5px;
border: 0;
box-shadow: 0;
display: inline;
}

.button {
  color: #ffffff;
  font-weight: bolder;
  font-family: Carattere, serif;
  border: 2px solid #ffffff;
  padding: 30px;
  border-radius: 30px;
  display: block;
  width: 300px;
  margin: 0 auto;
  margin-top: 70px;
  text-align: center;
}

.shopper {
    z-index: 999;
    padding: 10px 14px;
    border: 2px solid #061136;
    background-color: #f6efe1;
    display: block;
    position: fixed;
    left: 25px;
    bottom: 25px;
    border-radius: 35px;
}

.shopper img {
  width: 25px;
}

.box-libro {
    width: 40vw;
    height: auto;
    background-color: #f6efe1;
    font-family: Carattere, serif;
    color: #061136;
    z-index: 999;
    padding: 25px;
    text-align: center;
    vertical-align: middle;
    margin: auto;
    margin-top: -550px;
    margin-bottom: 199px;
}

.box-libro input {
  border: 2px solid #000000;
  background-color: #f6efe1;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 5px;
  width: 35vw;
}

.box-libro h1 {
  font-size: 1.5em;
  font-weight: bolder;
  padding-bottom: 15px;
  padding-top: 15px;
  font-family: Carattere, serif;
}

.box-libro h2 {
  font-size: 1.5em;
  padding-bottom: 20px;
  font-family: Carattere, serif;
  color: #cca85b;
}

div#embedded-source {
    width: 30vw;
    background: #f6efe1; 
    margin: 0 auto;
    padding: 30px;
    font-family: Carattere, sans-serif;
    font-size: 12px;
    margin-top: -600px;
    margin-bottom: 120px;
    color: #061136;
}

.tit{
    font-size: 2.5em;
    color: #cca85b;
    text-align: center;
}

.desc{
    font-size: 1.5em;
    text-align: center;
}

input[type="text"],
input[type="number"],
input[type="email"] {
  -moz-border-radius:5px; /* Firefox */
  -webkit-border-radius: 5px; /* Safari, Chrome */
  -khtml-border-radius: 5px; /* KHTML */
  border-radius: 5px; /* CSS3 */
  border: 1px solid #061136;
  width: 29vw;
  height: 30px;
  padding-left: 5px;
  margin-bottom: 8px;
  font-size: 12px;
}
input[type="checkbox"]{
  width: 25px;
  margin-top: 10px;
  margin-right: 10px;
}
input[type="button"]{
  width: 120px;
  height: 30px;
  margin-top: 10px;
  background-color: #f6efe1;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  border: 1px solid #061136;
}

label{
  width: 180px;
  font-family: Carattere, sans-serif;
  font-size: 12px;
  font-weight: bold;
  vertical-align: top;
  display: inline-block;
}

select[multiple]{
height: 30px;
width: 180px;
}

select{
 width: 180px;
}

div.form-group div{
 min-height: 50px;
}

button[type="submit"],input[type="submit"]{
  margin-top: 20px;
  float: right;
  padding: 5px;
}