

@import url(http://fonts.googleapis.com/css?family=Roboto);

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

/************************************************/
/* 				Testo							*/
/************************************************/
h1{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 1.0rem 0rem;
	font-size: 1.8rem;
	font-weight: bold;
	color: #2f251e;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font: normal normal normal 1.8rem roboto, Geneva, sans-serif;
	color: #222222;
}

a{
	text-decoration: none;
	color: #604c3f;
}

a:hover{
	text-decoration: underline;
	color: #604c3f;
}

img{
	border:0;
	padding:0 .5rem;
	}

/************************************************/
/* 				Box principali					*/
/************************************************/
#container{
	position: relative;
	min-height: 30%;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

#contenitore{
	position:relative;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 7rem;
}

.contenitore{
	position: relative;
	max-width: 96.0rem;
	margin: 0 auto;
	padding: 0 2.0rem;
}

@media (max-width: 767px) {
	.contenitore{
		position: relative;
		max-width: 96%;
		margin: 0 auto;
		padding: 0 2%;
	}
}
/************************************************/
/* 				Testata							*/
/************************************************/
#testata{
	position: absolute;
	width: 100%;
	height: 20.0rem;
	z-index: 100;
}

#logo{
	position: absolute;
	width: 100%;
	height: 10.0rem;
	bottom: 0rem;
	left: 10%;
	text-align: left;
	z-index: 80;
}

#logo img{
	height: 100%;
}

#velinaLogo{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 10rem;
	background: #ffffff;
	opacity: 0.4;
	z-index: 0;
}

#banner{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 70%;
	overflow: hidden;
}

#corpo{
	position: relative;
	width: 100%;
	font-size: 1.6rem;
	line-height: 2.4rem;
}

#testo{
	width: 70%;
	float: right;
}

#laterale{
	position: relative;
	width: 25%;
	float: left;
}

#sidebar{
	width: 100%;
	margin-top: 3.0rem;
}

/* primo livello*/
#sidebar > ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.6rem;
}

#sidebar > ul > li{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px; 
	text-align: left;
	border-bottom: 0.1rem dotted #444444;
}

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

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

/* secondo livello*/
#sidebar li ul{
	position: relative;
	top: 0px;
	right: 0px;
	width: 80%;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.2rem;
}

#social{
	position: relative;
	width: 100%;
	height: 3.0rem;
	padding-top: 2.0rem;
}

#social img{
	height: 100%;
}

@media (max-width: 767px){
	#logo{
		height: 10rem;
		text-align: center;
		left: 4%;
	}
	
	#testo{
		width: 96%;
		float: none;
		margin: 0 auto;
	}
	
	#velinaLogo{
		height: 10rem;
	}
	
	#laterale{
		width: 100%;
		float: none;
	}
}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: relative;
	float: right;
	width: 100%;
	height: 5.0rem;
	z-index: 101;
}

#nav{
}

#nav > a{
    display: none;
}

#nav li{
    position: relative;
}
 
/* primo livello*/
#nav > ul{
	position: relative;
	top: 0px;
	right: 0px;
	margin: 0 auto; 
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	font-size: 1.6rem;
	text-shadow: 1px 1px 1px #000000;
}

#nav > ul > li{
	position: relative;
	float: left;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px; 
	text-align: center;
	width: 16.6%;
}

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

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

/* 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;
}

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

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

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

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

@media only screen and ( max-width: 767px){
	#velinaMenu{
		height: 5.0rem;
	}

	#menu{
		position: relative;
		width: 100%;
		top: 1.0rem;
		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;
        right: 0;
		z-index: 100;
		background-color: #ffffff;
		top: 5.6rem;
		z-index: 100;
		border-radius: 0.5rem; 
		text-shadow: 0px 0px 0px #ffffff;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-bottom: 1px solid #444444;
	}
	
	#nav > ul > li a{
		color: #2f251e;
	}
	
	#nav > ul > li a:hover{
		color: #2f251e;
	}
	
    /*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%; 
	}

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

.tastoMenu{
	position: relative;
	float: right;
	margin: 0rem 1%;
	width: 4.0rem;
	height: 4.0rem;
	background-color: #ffffff;
	border-radius: 0.4rem;
	padding: 0.5rem;
}

.tastoMenu:hover{
/*
	background-color: #c0a583;
*/
}

.lineeMenu{
	position: relative;
	border-radius: 0.4rem;
	width: 100%;
	margin: 0.5rem 0;
	background-color: #2f251e;
	height: 0.6rem;
}

/************************************************/
/* 				Galleria						*/
/************************************************/
#galleria{
	position:relative;
	width: 100%;
	margin-top: 3.0rem;
}

.foto{
	position: relative;
	float: left;
	width: 27.5%;
	padding: 0.5rem 1%;
	margin: 1.0rem 1.5%;
	border: 0.1rem solid #cccccc;
}

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

@media (max-width: 319px){
	.foto{
		position: relative;
		float: left;
		width: 44%;
		padding: 0.5rem 1%;
		margin: 1.0rem 1.5%;
	}
}
/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	text-align: center;
	background: #ffffff;
	font-size: 1.0rem;
	border-top: 0.2rem dotted #008481;
	height: 4rem;
}

#fineCentro{
	position: relative;	
	max-width: 120.0rem;
	margin: 1rem auto;
}

#istituzionali, #partner{
	position: relative;
	float: left;
	/*width: 48%;
	height: 45%;*/
	top: 5%;
}

#istituzionali{
	text-align: right;
	padding-right: 2%;
}

#partner{
	text-align: left;
	padding-left: 2%;
}

#istituzionali img, #partner img{
	height: 5.5rem;
}

@media (max-width: 767px){
	#istituzionali, #partner{
		position: relative;
		float: none;
		width: 100%;
		text-align: center;
		padding: 0;
	}
	
	#istituzionali img, #partner img{
		height: 3.5rem;
	}

	#fine{
		font-size: 1.2rem;
	}
}

@media (max-width: 319px){
	#istituzionali img, #partner img{
		height: 3rem;
	}
}


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

.visible-mob{
	display: none;
}
.hidden-mob{
color: #333333;
}
@media (max-width: 767px){
	.visible-mob{
		display: block;
	}
	
	.hidden-mob{
		display: none;
	}
	
html, body {

	font-size: 50%;
}

}