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

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

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

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

h3{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 2rem 0;
	padding: 1.0rem 1.0rem;
	font-size: 1.6rem;
	font-style: italic;
	border-left: 0.4rem solid #2851a5;
}

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

a{
	text-decoration: none;
	color: #2851a5;
}

a:hover{
	text-decoration: underline;
	color: #4e76b8;
}

img{
	border:0;
	padding:0 .5rem;
	}
	
@media (max-width: 767px) {
	h1{
		font-size: 3.0rem;
	}
}
/************************************************/
/* 				Box principali					*/
/************************************************/
#container{
	position: relative;
	min-height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

#contenitore{
	position:relative;
	width: 100%;
	margin: 0 auto;
}

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

@media (max-width: 767px) {
	.contenitore{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 8%;
	}
}
/************************************************/
/* 				Testata							*/
/************************************************/
#testata{
	position:relative;
	width: 100%;
	z-index: 2000;
	background: rgba(0, 81, 158, 0.4);
}

#banner #testata{
	background: rgba(0, 81, 158, 1);
}

.contenitoreTestata{
	position: relative;
	max-width: 120rem;
	margin: 0 auto;
	padding: 0 0%;
}

#logo{
	position: relative;
	width: 20%;
	float: left;
	bottom: 0rem;
	z-index: 80;
	padding: 1rem 0;
}

#logo img{
	height: 10rem;
}

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

#bannerAfter{
	position:absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 199;
}

#bannerIn{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 50vh;
	overflow: hidden;
}

#testoBanner{
	position:absolute;
	bottom: 15%;
	right: 0;
	height: 20%; 
	z-index: 1000;
	opacity: 0;
	text-align: center;
}

#testoBanner a, #testoBanner a:hover{
	text-decoration: none;
}

#testoBanner h1{
	position: relative;
	left: 0;
	top: 0;
	padding: 0 25% 1rem 25%;
	margin: 0;	
	color: #ffffff;
	font-size: 4rem;
}

#lineaBanner{
	position:relative;
	border-bottom: 0.2rem solid #ffffff;
	width: 10%;
	margin: 0 45% 1rem 45%;
}

#descrizione{
	position: relative;
	margin: 0 auto;
	text-align: center;
	width: 50%;
	color: #ffffff;
}

#velinaBanner{
	position:absolute;
	width: 100%;
	height: 100%;
	background: #222222;
	opacity: 0.4;
	z-index: 200;
}

/************************************************/
/* 				Video							*/
/************************************************/
video#videoBackground { 
    position: absolute;
    top:50%;
    left: 50%;
    width: 100%;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover; 
	overflow: hidden;
}

@media only screen and ( max-width: 767px){
	video#videoBackground { 
		width: auto;
		height: 100%;
		display: none;
	}
}

/************************************************/
/* 				Corpo							*/
/************************************************/
#corpo{
	position: relative;
	width: 100%;
	font-size: 1.6rem;
	line-height: 2.4rem;
	padding: 4rem 0;
}

#testo{
	width: 75%;
	float: right;
	margin-top: 2.0rem;
}

#sidebar{
	width: 20%;
	float: left;
	margin-top: 2.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: #2851a5;
}

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

/* 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%;
	padding: 1rem 0;
	font-size: 1.8rem;
	text-align: center;
	margin-top: 2rem;
}

#social i{
	padding: 0 1rem;
}

#social a{
	color: #2851a5;
	text-decoration: none;
}

#social a:hover{
	color: #4e76b8;
	text-decoration: none;
}

@media (max-width: 767px){
	#logo{
		height: 8.0rem;
		text-align: center;
	}
	
	#testo{
		width: 100%;
		float: none;
	}

	#corpo{
		font-size: 1.6rem;
		line-height: 2.2rem;
	}	
}
/************************************************/
/* 				MenuText						*/
/************************************************/
#menu{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 80%;
	z-index: 101;
}

#nav{
}

#nav > a{
    display: none;
}

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

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

#nav > ul > li:hover{
}

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

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

/* secondo livello*/
#nav li ul{
	display: none;
	position: absolute;
	top: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
	font-size: 1.4rem;
	background: #444444;
}

 #nav li:hover ul{
    display: block;
}

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

#nav > ul ul > li:hover{
	background: #ffffff;
}

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

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

@media only screen and ( max-width: 767px){
	#menu{
		position: relative;
		width: 100%;
		top: 1.0rem;
		height: 3.0rem;
	}

    #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;
		background: #2851a5;
		top: 5rem;
		font-size: 1.8rem;
    }
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
		border-bottom: 1px solid #4e76b8;
		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: #ffffff;
	}
	
	#nav > ul > li a:hover{
		color: #ffffff;
	}
	
    /*second level */
	#nav li ul{
		position: relative;
		text-align: left;
	}
	
	#nav li:hover ul{
		display: block;
	}

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

	#nav > ul ul > li a{
		display: block;
		text-align: left;
		padding: 0.8rem 5%;
		border-top: 1px solid #4e76b8;
		color: #ffffff;
	}

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

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

.tastoMenu:hover{
	color: #ffffff;
}

/************************************************/
/* 				Galleria						*/
/************************************************/
.fotoVelina{
	padding-top: 10%;
}

.fotoExt{
	width: 23%;
}

/************************************************/
/* 				Mappa							*/
/************************************************/
#mappaGoogle{
	position:relative;
	width: 100%;
	height: 30rem;
}

@media (max-width: 319px){
	#mappaGoogle{
		position:relative;
		width: 100%;
		height: 40rem;
	}
}

/************************************************/
/* 				Vincitori						*/
/************************************************/
.sezione{
	position: relative:
	width: 100%;
	margin: 2rem 0;
	padding: 0 0 0.6rem 0;
	font-size: 2rem;
	border-bottom: 0.4rem solid #444444;
}

.boxPremio{
	position: relative;
	float: left;
	width: 30%;
	margin: 2rem 1.5%;
}

.boxPremioMotivazione{
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.9);
	color: #222222;
	z-index: 200;
	opacity: 0;
	overflow: auto;
}

.boxPremioImg{
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.boxPremioImg img{
	width: 100%;
	margin: 0;
	padding: 0;
	display: inline-block;
}

.boxPremioPosizione{
	position: absolute;
	width: 60%;
	height: 4rem;
	border-top-right-radius: 4rem;
	border-bottom-right-radius: 4rem;
	left: 0rem;
	bottom: 1rem;
	z-index: 100;
	background: rgba(0, 0, 0, 0.4);
	color: #ffffff;
	font-size: 1.6rem;
	padding: 1rem 0 0 2rem;
}

.boxPremioAutore{
	position: relative;
	width: 100%;
	padding: 0.4rem 0.8rem;
	border-left: 0.4rem solid #444444;
}

.boxPremioTitolo{
	position: relative;
	width: 100%;
	padding: 0.4rem 0.8rem;
	font-weight: bold;
	border-left: 0.4rem solid #444444;
}

.boxMenzione{
	position: relarive;
	width: 100%;
	margin: 3rem 1.5%;
	padding: 0.4rem 1rem;
	border-left: 0.4rem solid #444444;
}

@media (max-width: 767px){
	.boxPremio{
		float: none;
		width: 100%;
		margin: 3rem 0%;
	}
}

/************************************************/
/* 				Fine news						*/
/************************************************/
.fineNews{
	position: relative;
	width: 100%;
	background: #444444;
	padding: 2rem 0;
}

.news{
	position: relative;
	float: left;
	text-align: left;
	font-weight: bold;
}

a .news,a:hover .news{
	color: #ffffff;
	text-decoration: none;
}

.boxNews25{
	width: 20%;
	margin: 4rem 2.5%;
}

.boxNews33{
	width: 30%;
	margin: 4rem 1.5%;
}

.news img{
	width: 100%;
	diaplay: block;
	margin: 0;
	padding: 0;
	z-index: 0;
}

.newsVelina{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #444444;
	opacity: 0.4;
	z-index: 10;
}

.newsData{
	position: absolute;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 15%;
	font-size: 1.8rem;
	z-index: 20;
}

.newsTitolo{
	position: absolute;
	top: 25%;
	left: 5%;
	width: 90%;
	height: 70%;
	font-size: 2.4rem;
	z-index: 20;
}

#news{
	position: relative;
	width: 100%;
	text-align: left;
}

#news img{
	width: 100%;
	diaplay: block;
	margin: 0;
	padding: 0;
}

#newsData{
	position: relative;
	font-style: italic;
}

@media (max-width: 767px){
	.news{
		float: none;
		width: 90%;
		margin: 4rem 5%;
	}
}

/************************************************/
/* 				Fine							*/
/************************************************/
#fine{
	position: absolute;
	width: 100%;
	bottom: 0rem;
	background: #ffffff;
	font-size: 1.4rem;
}

#fineCentro{
	margin: 5rem auto;
}

@media (max-width: 767px){
}

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

.visible-mob{
	display: none;
}

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