
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 62.2%;
	background: #fafcf6;
}

*{
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;
}

/************************************************/
/* 				Testo							*/
/************************************************/
h1{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0;
	padding: 2.0rem 0rem;
	font-size: 2.2rem;
	font-weight: 400;
	width: 100%;
	text-align: center;
	color: #222122;
	font-family: 'Pacifico', cursive;
}

span.corsivo{
	font-family: 'Pacifico', cursive;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font-family: 'Biryani', sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	color: #222222;
}

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

a:hover{
	text-decoration: underline;
	color: #fdeb50;
}
	
@media (max-width: 767px) {
	h1{
		font-size: 3.0rem;
	}
}
/************************************************/
/* 				Box principali					*/
/************************************************/
#container{
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 100%;
	top: 0;
	left: 0;
}

.contenitore, .contenitoreMenu{
	position: relative;
	max-width: 130rem;
	margin: 0 auto;
	padding: 0 5%;
}

@media (max-width: 1400px){
	.contenitore{
		max-width: 120rem;
	}
}

@media (max-width: 767px) {
	.contenitoreMenu{
		padding: 0;
	}
}

/************************************************/
/* 				Testata							*/
/************************************************/
#testata{
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 100;
}

#logo{
	position: absolute;
	top: 30%;
	width: 100%;
	height: 20%;
	left: 0;
	text-align: center;
	z-index: 80;
	z-index: 1000;
}

#logo img{
	height: 90%;
	max-height: 12rem;
	display: inline-block;
}

#logoTestata{
	position: absolute;
	top: 0;
	left: 0;
	width: 20%;
	height: 100%;
	text-align: center;
	visibility: hidden;
	padding-top: 0.6rem;
}

#logoTestata img{
	height: 80%;
	display: inline-block;
}

#boxTestata{
	position: absolute;
	top: 60%;
	left: 0;
	width: 100%;
	height: 40%;
	z-index: 1000;
	overflow: hidden;
}

.boxTestata{
	position: relative;
	float: left;
	width: 15%;
	margin: 0 5%;
	cursor: pointer;
}

#boxTestataInt{
	position: relative;
	max-width: 130rem;
	margin: 0 auto;
	padding: 0 5%;
}

.boxTestataImg{
	position: relative;
	width: 100%;
	background-repeat: no-repeat;
	background-size:100% 100%;
}

.boxTestataImg img{
	width: 100%;
	display: block;
}

.brand{
	background-image: url('../../img/ico_brand.png');
	transition: background-image 0.8s;
	-webkit-transition: background-image 0.8s;
}

.brand:hover, .brandH{
	background-image: url('../../img/ico_brand_over.png');
}

.communication{
	background-image: url('../../img/ico_communication.png');
	transition: background-image 0.8s;
	-webkit-transition: background-image 0.8s;
}

.communication:hover, .communicationH{
	background-image: url('../../img/ico_communication_over.png');
}

.web{
	background-image: url('../../img/ico_web.png');
	transition: background-image 0.8s;
	-webkit-transition: background-image 0.8s;
}

.web:hover, .webH{
	background-image: url('../../img/ico_web_over.png');
}

.social{
	background-image: url('../../img/ico_social.png');
	transition: background-image 0.8s;
	-webkit-transition: background-image 0.8s;
}

.social:hover, .socialH{
	background-image: url('../../img/ico_social_over.png');
}

@media (max-width: 767px){
	#logo{
		top: 25%;
		height: 13%;
	}
	
	#boxTestataInt{
		position: absolute;
		overflow: hidden;
		padding: 0 0%;
	}
	
	#boxTestata{
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		height: 50%;
		z-index: 1000;
		overflow: hidden;
	}
	
	.boxTestata{
		position: relative;
		float: left;
		width: 100%;
		margin: 0;
		cursor: pointer;
	}
	
	.boxTestataH{
		background: #fdeb50;
	}
	
	.boxTestata h1{
		font-size: 2rem;
	}
	
	.boxTestataImg{
		position: relative;
		width: 50%;
		margin: 0 auto;
		background-repeat: no-repeat;
		background-size:100% 100%;
	}
	
	#logoTestata{
		visibility: visible;
		width: 50%;
	}
}

/************************************************/
/* 				Home 							*/
/************************************************/
#fasciaHome{
	position: relative;
	width: 100%;
	background: #fdeb50;
	margin: 10rem 0; 
}

#eva{
	position: absolute;
	bottom: -4rem;
	left: 0;
	width: 0%;
	height: 100%;
}

#eva img{
	position: absolute;
	bottom: 0rem;
	left: 0rem;
	width: 80%;
}

#ludo{
	position: absolute;
	top: -4rem;
	right: 0;
	width: 0%;
	height: 100%;
}

#ludo img{
	position: absolute;
	top: 0rem;
	right: 0rem;
	width: 80%;
}

#intro{
	position: relative;
	width: 40%;
	margin: 0 auto;
	padding: 4rem 5%;
	text-align: center;
}

#anteprimaLavori{
	position: relative;
	margin: 3rem 0;
}

#_lavori{
	padding: 1rem 0;
}

.anteprima{
	position: relative;
	float: left;
	width: 20%;
	margin: 2rem 2.5%;
	border: 0.2rem solid #dad9d4;
}

.anteprima img{
	width: 100%;
	display: block;
}

.anteprimaTesto{
	position: absolute;
	top: 2.5%;
	left: 2.5%;
	width: 95%;
	height: 95%;
	background-repeat: no-repeat;
	background-size:100% 100%;
	background-image: url('../../img/ico_works.png');
	color: #222122;
	font-size: 1.6rem;
	line-height: 2.2rem;
	text-align: center;
	opacity: 0;
	padding: 0 2%;

}

.spazio{
	position: relative;
	width: 100%;
	height: 33%;
}

@media (max-width: 767px){
	#evaMob{
		position: relative;
		float: left;
		top: 0rem;
		left: 0;
		width: 50%;
		height: 20rem;
	}

	#evaMob img{
		position: absolute;
		bottom: 0rem;
		left: 0rem;
		width: 0%;
	}

	#ludoMob{
		position: relative;
		float: right;
		top: 0rem;
		right: 0;
		width: 50%;
		height: 20rem;
	}

	#ludoMob img{
		position: absolute;
		top: 0rem;
		right: 0rem;
		width: 0%;
	}
	
	#intro{
		position: relative;
		width: 100%;
		margin: 0 auto;
		padding: 2rem 0%;
		text-align: center;
	}
	
	.anteprima{
		float: left;
		width: 46%;
		margin: 1rem 2%;
	}
}

/************************************************/
/* 				Dettaglio						*/
/************************************************/
#dettaglioTitolo{
	position: relative;
	max-width: 60rem;
	margin: 2rem auto;
	font-family: 'Pacifico', cursive;
	font-size: 2.6rem;
	padding: 0 2%;
}

#fasciaFoto, #fasciaGalleria{
	position: relative;
	width: 100%;
	padding: 0 5%;
}

#dettaglioFoto{
	position: relative;
	max-width: 60rem;
	margin: 0 auto;
	border: 0.4rem solid #dddad0;
	z-index: 100;
}

#dettaglioFoto img{
	width: 100%;
	display: block;
}

#grigioBottom{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8rem;
	background: #e6e3d9;
}

#grigio{
	position: relative;
	width: 100%;
	background: #e6e3d9;
	padding: 0 5%;
}

#dettaglioInfo{
	position: relative;
	max-width: 60rem;
	margin: 0 auto;
	z-index: 100;
	padding: 4rem 0;
}

.dettaglioInfo{
	position: relative;
	float: left;
	width: 50%;
}

.dettaglioInfo a, .dettaglioInfo a:hover{
	color: #222122;
	text-decoration: underline;
}

#grigioTop{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6rem;
	background: #e6e3d9;
}

#dettaglioGalleria{
	position: relative;
	max-width: 60rem;
	margin: 0 auto;
	z-index: 100;
}

.fotoGalleria{
	position: relative;
	float: left;
	width: 28%;
	margin: 1rem 2.5%;
	border: 0.4rem solid #dddad0;
}

.fotoGalleriaEv{
	border: 0.4rem solid #fdeb50;
}

.fotoGalleria img{
	width: 100%;
	display: block;
	cursor: pointer;
}

#bannerNavPosition{
	position: absolute;
	left: 0%;
	width: 100%;
	bottom: 1.0rem;
	height: 2.5rem;
	z-index: 200;
	text-align: center;
}

span.linkFoto{
	display: inline-block;
	border-radius: 2.2rem;
	width: 1.2rem;
	height: 1.2rem;
	background: #ffffff;
	border: 0.1rem solid #ffffff;
	margin: 0rem 0.5rem;
	cursor: pointer;
	box-shadow: 0.4rem 0.4rem 0.8rem #000000;
}

span.linkFotoEv{
	background: #fdeb50;
	border: 0.1rem solid #fdeb50;
	border-radius: 2.2rem;
	margin: 0rem 0.5rem;
}

@media (max-width: 767px){
	.dettaglioInfo{
		position: relative;
		float: none;
		width: 100%;
		padding: 1rem 0;
	}
	
	#grigioTop{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 4rem;
		background: #e6e3d9;
	}
}
/************************************************/
/* 				Pagine interne					*/
/************************************************/
#corpo{
	position: relative;
	padding: 0;
	/*border: 0.1rem solid red;*/
}

/************************************************/
/* 				Briciole						*/
/************************************************/
#briciole{
	position: relative;
	background: #222122;
	color: #ffffff;
	font-family: 'Pacifico', cursive;
	padding: 1rem 0;
	font-size: 1.6rem;
}

#briciole a{
	color: #ffffff;
	text-decoration: none;
}

#briciole a:hover{
	color: #fdeb50;
	text-decoration: underline;
}

@media (max-width: 767px){
	#briciole{
		font-size: 1.2rem;
	}
}

/************************************************/
/* 				MenuText						*/
/************************************************/
#testataGiallo{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 15%;
	max-height: 20rem;
	z-index: 2000;
	background: #fdeb50;
}
	
@media (max-width: 1400px){
	#testataGiallo{

	}
}

@media (max-width: 767px){
	#testataGiallo{
		position: relative;
		height: auto;
	}
}

#menu{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

#menuIn{
	position: relative;
	float: right;
	top: 0;
	left: 0;
	width: 80%;
}

#nav{
}

#nav > a{
    display: none;
}

#nav li{
    position: relative;
}
 
/* primo livello*/
#nav > ul{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto; 
	padding: 0;
	list-style-type: none;
	font-size: 1.4rem;
	font-weight: 300;
}

#nav > ul > li{
	position: relative;
	float: left;
	top: 0;
	left: 0;
	margin: 0; 
	text-align: center;
	width: 25%;
	transition: background 0.4s;
	text-transform: uppercase;
	font-weight: 600;
}

#nav > ul > li a{
	display: block;
	text-decoration: none;
	padding: 0.4rem 0 2rem 0; 
	color: #000000;
}

#nav > ul > li a:hover{
	text-decoration:none;
	color: #000000;
}

#nav > ul > li .sottolineato {
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    width: 100%;
    height: 1rem;
	background-size: auto 100%;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.4s, background-position 0.4s; 
	background-image: url('pallino.png');
}

#nav > ul > li:hover .sottolineato {
	opacity: 1;
	background-position: 50% 50%;
}

#nav > ul > li:hover:after .sottolineato {
	opacity: 0;
	background-position: 100% 50%;
}

#nav > ul > li .corrente {
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    width: 100%;
    height: 1rem;
	background-size: auto 100%;
	background-repeat: no-repeat;
	opacity: 1;
	transition: opacity 0.4s, background-position 0.4s; 
	background-image: url('pallino.png');
	background-position: 50% 50%;
}

/* secondo livello*/
#nav li ul{
	display: none;
	position: relative;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	/*width: 200%;
	left: -50%;*/
	border-radius: 0.4rem;
	overflow: hidden;
	font-size: 1.4rem;
}

 #nav li:hover ul{
    display: block;
	z-index: 100;
}

#nav > ul ul > li{
	position: relative;
	width: 100%;
	z-index: 11;
}

#nav > ul ul > li a{
	display: block;
	text-align: center;
	padding: 0.8rem 0rem; 
	color: #;
}

#nav > ul ul > li a:hover{
	text-decoration:none;
	color: #;
}

@media only screen and ( max-width: 767px){
	#menu{
		position: relative;
		float: right;
		width: 50%;
		margin: 0.8rem 0;
		height: 3.0rem;
		z-index: 100;
	}
	
	#menuIn{
		position: relative;
		float: right;
		width: 50%;
		margin: 0.8rem 0;
		height: 3.0rem;
		z-index: 100;
	}

    #nav{
        position: relative;
    }
    
	#nav > a{
    }
	
	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type
	{
		display: block;
	}
	
    /* first level */
 
    #nav > ul{
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        left: -100%;
		width: 200%;
		background-color: #fdeb50;
		top: 3rem;
		z-index: 100;
		font-size: 1.8rem;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-bottom: 1px solid #444444;
		paddin: 1.4rem 0;
		background: rgba(0,0,0, 0);
	}
	
	#nav > ul > li:hover{
		background: rgba(0,0,0, 0);
	}
	
	#nav > ul > li a{
		color: #;
	}
	
	#nav > ul > li a:hover{
		color: #;
	}
	
    /*second level */
	#nav li ul{
		position: relative;
		text-align: left;
	}
	
	#nav li:hover ul{
		display: block;
		z-index: 100;
	}

	#nav > ul ul > li{
		position: relative;
		width: 100%;
		border: 0;
	}

	#nav > ul ul > li a{
		display: block;
		text-align: left;
		padding: 0.6rem 2%; 
		color: #;
	}

	#nav > ul ul > li a:hover{
		text-decoration:none;
		color: #;
	}
	
}

.tastoMenu{
	position: relative;
	float: right;
	margin: 0rem 5%;
	background-color: #;
	border-radius: 4rem;
	padding: 0.6rem 1rem;
	color: #222122;
	line-height: 0;
}

.tastoMenu:hover{
	color: #222122;
}

/************************************************/
/* 				Galleria						*/
/************************************************/
#galleria{
	position:relative;
}

.foto{
	position: relative;
	float: left;
	width: 18%;
	border: 0.1rem solid #;
	padding: 0.4rem;
	margin: 1.0rem 1%;
}

.foto:hover{
	border: 0.1rem solid #;
}

.foto img{
	padding: 0;
	margin: 0;
	width: 100%;
	display: block;
}

@media (max-width: 767px){
	.foto{
		position: relative;
		float: left;
		width: 30%;
		padding: 0.5rem;
		margin: 1.0rem 1.5%;
	}
}

@media (max-width: 319px){
	.foto{
		position: relative;
		float: left;
		width: 46%;
		padding: 0.5rem;
		margin: 1.0rem 2%;
	}
}

/************************************************/
/* 				Chi siamo						*/
/************************************************/
.boxChisiamo{
	position: relative;
	float: left;
	width: 33.3%;
	padding: 0 4%;
	text-align: center;
}

.boxChisiamo img{
	width: 80%;
	margin: 1rem 10%;
}

@media (max-width: 767px){
	.boxChisiamo{
		position: relative;
		float: none;
		width: 100%;
		margin: 2rem 0;
		padding: 0 0%;
	}
}
/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: relative;
	width: 100%;
	text-align: center;
	padding: 4rem 0;
	color: #ffffff;
	background: #222122;
}

.boxFine{
	position: relative;
	float: left;
	width: 30%;
	margin: 0 1.5%;
}

.boxFine img{
	dispaly: block;
}

@media (max-width: 767px){
	.boxFine{
		position: relative;
		float: none;
		width: 100%;
		margin: 2rem 0%;
	}
}

@media (max-width: 319px){

}


/************************************************/
/* 				Utilità							*/
/************************************************/
.vuoto {
	clear:both;
}

.visible-mob{
	display: none;
}
.hidden-mob{
}
@media (max-width: 767px){
	.visible-mob{
		display: block;
	}
	
	.hidden-mob{
		display: none;
	}
}