/*-- nascondo menu di home senza link nelle pagine interne--*/
body{
	transition: background 1s cubic-bezier(0.5,0,0.2,1);
}

/*helper color*/
.black{
	background: #000;
}
/**/

.home{
	display: none;
}

/*only internals*/
nav.first-menu > ul > li.cursor{
  transition: none;
}
/**/

.storytelling{
	width: 100%;
	color: #fff;
	background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /*-webkit-overflow-scrolling : auto;*/
}

.section{
	min-height: 100vh;
	position: relative;
}

/* 1 background */
.videoBg{
	height: 100%;
  	width:100%;
/*  background: black;*/
  	position: fixed;
  	top: 0;
  	left: 0;
	overflow: hidden;
  	opacity: 0;
  	z-index: 0;
  	visibility: hidden;
  	transition-property: opacity , visibility;
  	transition-delay: 0s, 1s;
  	transition-timing-function: cubic-bezier(0.5,0,0.2,1);
  	transition-duration: 1s;
}


.videoBg.active{
    opacity: 1;
	visibility: visible;	
	transition-delay: 0s, 0s;
  pointer-events: auto;
}

.videoBg .video{
	display: block;
  	left:50%;
  	/*top: 50%;*/
  	/*transform: translate(-50%, -50%);*/
  	transform: translateX(-50%);
  	transition: opacity 1s cubic-bezier(0.5,0,0.2,1);
}

.big-video-title, .video-title{
	/*pointer-events: none;*/
	width: calc(100% - 1.4rem);
    padding-left: 1.4rem;
	position: absolute;
  	top: 50%;
  	transform: translateY(-50%);
  	opacity: 1;
    z-index: 1;
  	transition: opacity 1s cubic-bezier(0.5,0,0.2,1);
}

.video-title{
	top:95%;
  padding-bottom: 30%;
}

.map{
  	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100%;
 	height: 100%;
  	z-index: -3; 
  	opacity: 0;
  	visibility: hidden;
  	transition-property: opacity , visibility;
  	transition-delay: 0s, 1s;
  	transition-timing-function: cubic-bezier(0.5,0,0.2,1);
  	transition-duration: 1s;
  	/*transition: opacity 1s cubic-bezier(0.5,0,0.2,1);*/
}

.map.active{
	opacity: 1;
	visibility: visible;
	transition-delay: 0s, 0s;
}

.map-title{
	position: absolute;
	top: 80%;
	left: 5rem;
	transform: translateY(-80%);
	text-transform: none;
}

.big-video-title h1{
	width: 60%;
  text-transform: uppercase;
  font-size: 5.5rem;
  line-height: 1;
  padding: 0 0 1rem 0;
}

.big-video-title.hide, .video-title.hide{
	opacity: 0;
}

.big-video-title.off, .video-title.off{
	opacity: 0;
}

.big-video-title.off{
	visibility: hidden;
}

.big-video-title span.down, .big-title span.down{
  height: 20px;
  width: 20px;
  display: inline-block;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: translateX(-50%) rotate(45deg);
  position: absolute;
  left: 50%;
  margin-top: 15%;
}

.video-title p.title{
    line-height: 3rem;
  	font-size: 3rem;
  	text-transform: uppercase;
  	margin-bottom: 2rem;
    letter-spacing: 1px;
}

.video-title p.where , .text p.where{
  	font-size: 1.8rem;
  	text-transform: uppercase;
  	margin-top: -1rem;
  	margin-bottom: 2rem;
  	line-height: 0px;
    letter-spacing: 1px;
}

.text{
  	width: 60%;
  	margin: 0 auto;
  	/*padding: 10rem;*/
  	line-height: 4rem;
}

.text h1 { 
    font-size: 3.2rem;
}

.text p.where{
	font-family: 'Montserrat', serif;
	font-weight: 400;
	padding-bottom: 2rem;
}

.text p {
    font-family: 'Cardo', serif;
    text-transform: none;
    font-size: 2.3rem;
    text-align: justify;
    letter-spacing: 0px;
    margin: 0;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 
}

.map-title p.quote{
	width: 65%;
  font-size: 2.2rem;
	text-align: left;
  line-height: 2.6rem;
  margin: 0 0 2.5rem 0;  
  letter-spacing: 1px;
}

.map-title p.detail{
  font-size: 1.5rem;
  letter-spacing: 1px;
}

/*--transparent control player */
/*  .transparentControl{
      position: fixed;
      background: rgba(250, 120, 80, 0);
      z-index: -1;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      visibility: hidden;
      cursor: pointer;
  }

  .transparentControl.active{
    visibility: visible;
    pointer-events: auto;
  }*/
/**/

/*-- button control player */
/*span.buttonPlayer {
    color: white;
    font-size: 1.4rem;
    padding: 0.6rem 1.3rem;
    border: 2px solid white;
    position: relative;
    letter-spacing: 0;
    margin: 0 1.4rem 0 0;
    top: 0.2rem;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    pointer-events: auto;
}*/

/*span.buttonPlayer {
    top: 0.8rem;
    margin: 0 1.4rem 0 0;
}
*/
span.buttonPlayer.active{
	opacity: 1;
}
/*--*/

/* rewrite PLYR CSS */
.plyr.plyr--video{
  	height: 100%;
}

/*-- gallery --*/
.gallery{ 
    width: 78vw; 
    height: 52vw;
    margin: 0 auto;
    padding: 5vh 0;
  }

.gallery .swiper-slide {
    text-align: center;
    font-size: 18px;
    /*background: #000;*/
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
}

.swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
 }
/*--*/


/*--- APPUNTI page --*/
.section.voice{
  background: rgba(255,255,255,1);
}

.section.textcover .appuntiBg{
    background: url('../images/gallery/marseilles/marseillesBg.jpg') no-repeat center center;
    background-size: cover;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.section.cover.notes{
    background: url('../images/gallery/marseilles/marseillesBg.jpg') no-repeat center center;
    background-size: cover;
    /*position: fixed;*/
    height: 100%;
    width: 100%;
    z-index: 0;
}

.section .ricetteBg{
    position: absolute;
    height: 100vh;
    width: 100%;
    background: url('../images/gallery/appunti/ricetteBg.jpg') no-repeat center center;
    background-size: cover;
    top: 0;
    z-index: -1;
}

.section .overlay{
    position: fixed;
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    z-index: 1;
}
  
  .section.textcover h1{
    position: absolute;
    font-size: 2.3rem;
    font-family: 'Cardo', serif;
    text-transform: none;
    text-align: justify;
      letter-spacing: 0px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale; 
      top: 90%;
      transform: translateY(-90%);
      left: 2.4rem;
      width: calc( 80% - 2.4rem);
      z-index: 2;
  }

  .section.textintro p a{
    cursor: pointer;
    text-decoration: underline;
  }

  .section > .wide{
    text-align: center;
    width: 90%;
  }

  .textblack{
    color: #000;
  }

  .section.recipe .text.title{
    text-align: center;
    width: 100%;
    height: 50vh;
    background: -webkit-linear-gradient(rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: linear-gradient(rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  }

  .section.name .text{
    width: 100%;
  }

  .section.friends{
    background: #000;
  }

  .section.friends .text.title{
    width: 90%;
    margin:auto;
  }
  
  .section.recipe .text h2, .section.recipe .text p, .section.name .text h2, .section.name .text p{
    width: 90%;
    margin: auto;
  }

  .section .text.name{
    padding:70vh 0 20vh 0;
  }


  .section .text h2, .section h2{
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 3.3rem;
    padding: 3rem 0 1rem 0;
    z-index: 2;
    letter-spacing: 1px;
    font-size: 2.5rem;
    margin: 0 0 -1rem 0;
  }

  .section .list-audio{
    color: #000;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin:auto;
    width: 90%;
  }

  .section .list-audio li{
    width: 30%;
    list-style: none;
    margin: 4rem 0;
  }

  .section .list-audio li span.title{
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 1.5rem 0;
      display: inline-block;
      font-weight: 400;
  }
  .plyr.plyr--video {
    /*height: initial;*/
  }

  .accordion{
    border-bottom: 2px solid #000;
  }

  .recipe-list.paper{
    background: url('../images/Paper_texture_black.jpg');
    color: #000;
    margin-top: 50vh;
  }

  .recipe-title, .recipe-text{
    width: 80%;
    margin: auto; 
  }

  .recipe-title {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
  }

  .recipe-text{
    padding: 3rem 0 6rem 0;
    display: none;
  }

  .recipe-text p{
    font-family: 'Cardo', serif;
    text-transform: none;
    font-size: 2.2rem;
    width: 90%;
    margin: auto;
    text-align: justify;
  }

  .central{
    text-align: center;
  }

  .icon{
    width: 15rem;
    height: 15rem;
    background-position: center center; 
    background-size: contain;
      background-repeat: no-repeat;
  }

  .icon.icon1{ background-image: url('../images/gallery/appunti/icone/1_pesce_dx.png'); } 
  .icon.icon2{ background-image: url('../images/gallery/appunti/icone/2_gallina_dx.png'); }
  .icon.icon3{ background-image: url('../images/gallery/appunti/icone/3_tacconella_dx.png'); }
  .icon.icon4{ background-image: url('../images/gallery/appunti/icone/4_pecora_dx.png'); }
  .icon.icon5{ background-image: url('../images/gallery/appunti/icone/5_strigolo_dx.png'); }
  .icon.icon6{ background-image: url('../images/gallery/appunti/icone/6_canapa_dx.png'); }
  .icon.icon7{ background-image: url('../images/gallery/appunti/icone/7_coniglio_dx.png'); }
  .icon.icon8{ background-image: url('../images/gallery/appunti/icone/8_coccio_dx.png'); }

  .icon.left {
      transform: scaleX(-1);
  }

  .recipe h3.where{
    font-family: 'Cardo', serif;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0;
      margin: 0 0 1rem 0;
      text-transform: none;
  }
  span.button{
      display: inline-block;
      height: 4rem;
      width: 4rem;
      border-radius: 50%;
      border: 1px solid #fff;
      background: url('../images/add_white.svg') center center;
      background-size: 70%;
      background-repeat: no-repeat;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.5,0,0.2,1);
  }

  span.button.close{
    transform: rotate(135deg);
  }
/*--*/

/* progetto page*/

/*--*/


