@charset "utf-8";
body {
	margin:0;
	padding:0;
	font-family:'Arial',san-serif;
	}
#container {
position:relative;	
	padding-top:50px;
		}
	

#container #header {
	position: fixed;
	margin-left: 50px;
	margin-top: 0px;
	width: 220px;
		-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s ;
	-o-transition: all 0.5s ;
	-ms-transition: all 0.5s ;
	transition: all 0.5s ;
	}
#header #nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#nav ul li {
}
#header h1{
	
	margin:0;
	padding:0;
	font-family:"Arial",sans-serif;
	font-size:0.7em;
	margin-bottom:20px;
	font-weight:normal;
	color:#666;
	text-transform:uppercase;
	}
	
#nav {
	position:relative;
	top:0;
	left:0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s ;
	-o-transition: all 0.5s ;
	-ms-transition: all 0.5s ;
	transition: all 0.5s ;	}

#nav ul li a {
	display:block;
	font-family: 'Arial',san-serif;
	color:#666;
	text-decoration:none;
	font-size:0.7em;
	margin-bottom:5px;
	text-transform:uppercase;
	
}

#nav ul li a:hover:after, #nav ul li a.selezionato:after{
content:" /";
	}


#content {
	max-width:2000;
	list-style:none;
	position:relative;
	margin:0;
	padding:0;
	/*	margin-left: 260px;
	*/
	padding-top: 0px;
font-size:70%	;
	margin-left:300px;
	margin-right:6%;
	
/*	display: content;
  grid-columns: auto 100px 1fr 2fr;
  grid-rows: 50px 5em auto;
	*/

	
}


#container #content .imgCont {
	cursor: url(../images/back/crocino.png),pointer;
	position:relative;
/*	width:100%;
*/	padding:0px;
	float:left;
margin-bottom:7px;
	margin-right:7px;
	opacity:1;
	}
#container #content .imgCont.nolink {
	cursor:default;
	}

#container #content .imgCont img{
	opacity:0;}
#container #content .imgCont h3 {
	position:absolute;
	top:45%;
	text-align:center;
	width:100%;
	font-weight:100;
	font-size:1.2em;
	text-transform:uppercase;	
	}
	
#container #content .imgCont h3	.subTitolo {
	display:block;
	font-size:0.6em;
	
	}

#container #content .imgCont img {
	width:100%;
height: auto;
}
#container #content .titoloImg {
	opacity:0;
		position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(255,255,255,0.9);
	text-align:center;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

#container #content .imgCont:hover > .titoloImg {
	opacity: 1;
} 


/*


.grid {
	max-width: 69em;
	list-style: none;
	margin: 30px auto;
	padding: 0;
}
*/
.grid li {
	display: block;
	float: left;
	padding: 0px;
	width: 47%;
	opacity: 1;
}

.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
	opacity: 1;
}

.grid li.shown img,
.no-js .grid li img,
.no-cssanimations .grid li img {
	opacity: 1!important;
}

.content li a,
.grid li img {
	outline: none;
	border: none;
	display: block;
	max-width: 100%;
}

/* Effect 1: opacity */
.grid.effect-1 li.animate  img{
	-webkit-animation: fadeIn 0.65s ease forwards;
	animation: fadeIn 0.65s ease forwards;
}
#topAr
{
	display:none;
	position:fixed;
	right:5px;
	bottom:5px;
	}
	#topAr img {
		width:24px;
		height:24px;

		}

@-webkit-keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

@keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

/* Effect 2: Move Up */
.content.effect-2 li.animate img{
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
	-webkit-animation: moveUp 0.65s ease forwards;
	animation: moveUp 0.65s ease forwards;
}

@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

/* Effect 3: Scale up */
.content.effect-3 li.animate img {
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: scaleUp 0.65s ease-in-out forwards;
	animation: scaleUp 0.65s ease-in-out forwards;
}

@-webkit-keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

/* Effect 4: fall perspective */
.content.effect-4 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.content.effect-4 li.animate img{
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	-webkit-animation: fallPerspective .8s ease-in-out forwards;
	animation: fallPerspective .8s ease-in-out forwards;
}

@-webkit-keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

/* Effect 5: fly (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.content.effect-5 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.content.effect-5 li.animate img{
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 50% 50% -300px;
	transform-origin: 50% 50% -300px;
	-webkit-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
	-webkit-animation: fly .8s ease-in-out forwards;
	animation: fly .8s ease-in-out forwards;
}

@-webkit-keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}

/* Effect 6: flip (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.content.effect-6 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.content.effect-6 li.animate img{
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 0% 0%;
	transform-origin: 0% 0%;
	-webkit-transform: rotateX(-80deg);
	transform: rotateX(-80deg);
	-webkit-animation: flip .8s ease-in-out forwards;
	animation: flip .8s ease-in-out forwards;
}

@-webkit-keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}

/* Effect 7: helix (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.content.effect-7 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.content.effect-7 li.animate img{
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	-webkit-animation: helix .8s ease-in-out forwards;
	animation: helix .8s ease-in-out forwards;
}

@-webkit-keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); opacity: 1; }
}

@keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; }
}

/* Effect 8:  */
.content.effect-8 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.content.effect-8 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: scale(0.4);
	transform: scale(0.4);
	-webkit-animation: popUp .8s ease-in forwards;
	animation: popUp .8s ease-in forwards;
}

@-webkit-keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}
#contMe {
	margin-left:300px;
	}
#contMe h2{
	margin:0;
	padding:0;
	font-family: 'Arial',san-serif;
	color: #666;
	font-size: 0.8em;
	font-weight:normal;

}
	#me {
	width:235px;
	float:left;
		}
	#contMe  p{ margin-top:14px;}
	#contMe p	, #clients li {
  font-family: 'Arial',san-serif;
  color: #666;
  font-size: 0.8em;
	line-height:1.3em;
	}
	#clients {
		float:left;
		margin-left:144px;}
	#clients ul 
	{list-style:none;
	margin:0;
	padding:0;
	margin-top:14px;
}


#clients a {
	text-decoration:none;
	color: #666;
	}

#clients a:hover {
	text-decoration:underline; }
/*
@media screen and (max-width: 900px) {
 .grid li {
		width: 50%;
	}
}
*/
@media screen and (max-width: 980px) {
 
		#clients {
		float:left;
		margin-left:0;}
}
*/
@media screen and (max-width: 800px) {
 .grid li {
		width: 94%;
	}
		#clients {
		float:left;
		margin-left:0;}
}

@media screen and (max-width: 480px) {
	#header {	background:rgba(255,255,255,0.80) ;
	height:30px;
	cursor:pointer;
}
	#nav {
		z-index:9000;
		left:0px;
		top:-600px;
		opacity:1;
	}#header:after { clear:both;}
#header.pippo:hover { height:auto;}
#header.pippo:hover >  #nav ,#header.pippo:focus >  #nav {
	left:0px;
	top:0;
opacity:1; 
}	
#content {
	margin-left:6%;
	margin-right:6%;
	
	}
	#container {
  position: relative;
  padding-top: 10;
}
#container #header {
	width:100%;
	z-index:10000;
	position: fixed	;
	margin-left: 6%;
	padding-top: 14px;
	top:0;

	}
.grid li {
	width: 100%;
	}
#contMe {
		float:left;
		margin-left:6%;
		}
}
