/*
Plugin: jQuery Parallax
Version 1.1.3
Author: Ian Lunn
Twitter: @IanLunn
Author URL: http://www.ianlunn.co.uk/
Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/

License: http://creativecommons.org/licenses/by-sa/3.0/ (Attribution Share Alike). Please attribute work to Ian Lunn simply by leaving these comments in the source code or if you'd prefer, place a link on your website to http://www.ianlunn.co.uk/.
*/

@charset "utf-8";
/* CSS Document */

	/* Style for our header texts
	* --------------------------------------- */
	h1{
		font-size: 5em;
		font-family: 'Titillium Web', sans-serif;
		color: #fff;
		margin:0;
		text-shadow: 1px 1px 3px #333;
	}
	h2{
		font-size: 2em;
		font-family: 'Titillium Web', sans-serif;
		color: #fff;
		margin: 0;
		text-shadow: 1px 1px 3px #333;
	}
	h3{
		font-size: 1.5em;
		font-family: 'Titillium Web', sans-serif;
		color: #fff;
		margin:0;
		text-shadow: 1px 1px 3px #333;
	}
	.slide h2{
		color: #111;
		margin-top: -50vh;
	}
	
	.section a:visited {
    text-decoration: none;
    color: #fff;
	}

	.section a:link {
    text-decoration: none;
    color: #fff;
	}

	.section a:hover {
    text-decoration: underline;
	-webkit-text-decoration-line: underline;
		text-decoration-line: underline;
    -webkit-text-decoration-color: #f00;    
    	text-decoration-color: #f00;    
}

	.intro p{
		color: #fff;
	}
	.section a, .section p{
		font-family: 'Titillium Web', sans-serif;
		text-shadow: 1px 1px 3px #333;
		color: #fff;
		margin:0;
	}
	/* Centered texts in each section
	* --------------------------------------- */
	.section{
		text-align:center;
	}


	/* Overwriting styles for the navigation dots (to place it where we want)
	* --------------------------------------- */
	.fp-slidesNav.bottom{
		bottom: 25px;
	}


	/* Backgrounds will cover all the section
	* --------------------------------------- */
	.section{
  		background-size: cover;
	    height: 100vh;

	}
	.slide{
		background-size: cover;
		background-repeat:   no-repeat;
	    background-position: center center;  
	}

	/* Defining each section background and styles
	* --------------------------------------- */
	#section0{
	background-image: url(../imgs/bg17.jpg);
	/*padding: 6% 0 0 0; */
	}
	#section1{
    background-image: url(../imgs/bg15.jpg);
	/*padding: 6% 0 0 0; */
	}

	#section4{
		background-image: url(../imgs/bg6.jpg);
	/*padding: 6% 0 0 0; */
	}
	#section5{
		background-image: url(../imgs/Contatti.jpg);
	}

	#header, #footer{
		position:fixed;
		height: 20px;
		display:block;
		width: 100%;
		z-index:9;
		text-align:center;
		color: #f2f2f2;
		padding: 20px 0 0 0;
		font-size: 1em;
		font-family: 'Titillium Web', sans-serif;
		text-shadow: 1px 1px 3px #333;
	}

	#header{
		top:0px;
		text-align: left;
		margin-left: 20px;
	}
	#footer{
		bottom: 20px;
	}


 	/*Adding background for the slides
	* --------------------------------------- */
	#slide1{
		background-image: url(../imgs/bg26.jpg);
	}
	#slide2{
		background-image: url(../Portfolio/2-Calendar-folded.jpg);
	}
	#slide3{
		background-image: url(../Portfolio/3-Calendar-folded.jpg);
	}
	#slide4{
		background-image: url(../Portfolio/4-Blocco.jpg);
	}
	#slide5{
		background-image: url(../Portfolio/5-UncleSem.jpg);
	}
	#slide6{
		background-image: url(../Portfolio/6-Manuale-SLS.jpg);
	}
	#slide7{
		background-image: url(../Portfolio/7-Confa.jpg);
	}
	#slide8{
		background-image: url(../Portfolio/8-Banner.jpg);
	}
	#slide9{
		background-image: url(../Portfolio/9-Binder.jpg);
	}
	#slide10{
		background-image: url(../Portfolio/10-Certificato.jpg);
	}
	#slide11{
		background-image: url(../Portfolio/11-Scheda.jpg);
	}
	#slide12{
		background-image: url(../imgs/bg27.jpg);
	}
	/* Bottom menu
	* --------------------------------------- */
	#infoMenu li a {
		color: #fff;
	}
	
	#section2 h1{
		color: #AAA;
	}

	#section3 h1{
		color: #333;
	}

/*	img { height: 100%; width: auto;} */

	.S_imgwrap {
	  width: 100vw;
	  -webkit-shape-outside: url("../imgs/bg21.png");
			  shape-outside: url("../imgs/bg21.png");
	  -webkit-shape-image-threshold: 0.5;
			  shape-image-threshold: 0.5;
	  -webkit-shape-margin: 2%;
			  shape-margin: 2%;
	} 
	.E_imgwrap {
	  width: 100vw;
	  -webkit-shape-outside: url("../imgs/bg13.png");
			  shape-outside: url("../imgs/bg13.png");
	  -webkit-shape-image-threshold: 0.5;
			  shape-image-threshold: 0.5;
	  -webkit-shape-margin: 2%;
			  shape-margin: 2%;
	} 
	.C_imgwrap {
	  width: 100vw;
	  -webkit-shape-outside: url("../imgs/Contatti.png");
			  shape-outside: url("../imgs/Contatti.png");
	  -webkit-shape-image-threshold: 0.5;
			  shape-image-threshold: 0.5;
	  -webkit-shape-margin: 2%;
			  shape-margin: 2%;
	} 
	.center-div {
		margin:  auto;
		width: 50vw;
	}
.content-wrapper {
  height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  text-shadow: 1px 1px 3px #000;
  -webkit-flex-flow: column nowrap;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 1s cubic-bezier(0.22, 0.44, 0, 1);
  transition: all 1s cubic-bezier(0.22, 0.44, 0, 1);
}

.content-title {
  font-size: 12vmin;
  line-height: 1.4;
}
.content-home-title {
  font-size: 10vmin;
  line-height: 1.4;
}
.content-home-sub-title {
  font-size: 6vmin;
  line-height: 1.4;
}
.content-mid-title {
  font-size: 6vmin;
  line-height: 1.4;
  text-transform: uppercase;
}
.content-sub-title {
  font-size: 2vmax;
  line-height: 1.4;
}
.content-text {
  font-size:18px;
  line-height: 1.4;
}
.content-sub {
  font-size:13px;
  line-height: 1.2;
  padding-left: 40px;
  color: #111 !important;
}
/* -------------------------------- 

Primary style

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

body {
  font-size: 100%;
  font-family: "Open Sans", sans-serif;
  color: #445b7c;
  background-color: #445b7c;
}

a {
  color: #dc717d;
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

Main components 

-------------------------------- */
header {
  position: relative;
  height: 160px;
  line-height: 160px;
  text-align: center;
}
header h1 {
  font-size: 22px;
  font-size: 1.375rem;
  color: #ffffff;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (min-width: 768px) {
  header {
    height: 240px;
    line-height: 240px;
  }
  header h1 {
    font-size: 32px;
    font-size: 2rem;
  }
}

.cd-image-container {
  position: relative;
  width: 90%;
  max-width: 768px;
  margin: 0em auto;
}
.cd-image-container img {
  display: block;
}

.cd-image-label {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #ffffff;
  padding: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0.3s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0.3s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
}
.cd-image-label.is-hidden {
  visibility: hidden;
}
.is-visible .cd-image-label {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.cd-resize-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-resize-img img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.cd-resize-img .cd-image-label {
  right: auto;
  left: 0;
}
.is-visible .cd-resize-img {
  width: 50%;
  /* bounce in animation of the modified image */
  -webkit-animation: cd-bounce-in 0.7s;
  -moz-animation: cd-bounce-in 0.7s;
  animation: cd-bounce-in 0.7s;
}

@-webkit-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@-moz-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
.cd-handle {
  position: absolute;
  height: 44px;
  width: 44px;
  /* center the element */
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 50%;
  background: #dc717d url(../imgs/cd-arrows.svg) no-repeat center center;
  cursor: move;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) scale(0);
  -moz-transform: translate3d(0, 0, 0) scale(0);
  -ms-transform: translate3d(0, 0, 0) scale(0);
  -o-transform: translate3d(0, 0, 0) scale(0);
  transform: translate3d(0, 0, 0) scale(0);
}
.cd-handle.draggable {
  /* change background color when element is active */
  background-color: #445b7c;
}
.is-visible .cd-handle {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s;
}
