html {
	scroll-behavior: smooth;
	height: 100%;
}

body {
	font-family: "Work Sans", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	background-color: #F8F8F8;
	color: #00315F;
	padding: 0;
	margin: 0;
	width: 100%;
}

a:link, a:visited, a:active  {
	color: #00A27B;
	background-color: transparent;
	text-decoration: none;
	transition: 0.4s;
}

a:hover {
	color: #5FA0A9;
	background-color: transparent;
}

/*stile standard per tutte le sezioni*/
section{
	margin-top: 100px;
	padding-top: 50px;
	margin-bottom: -100px;
	border-bottom: 10px solid #2e737c;
	padding-bottom: 150px;
}

body >section:nth-child(odd) {
	background-color: #DBEBF2;
	text-shadow: 1px 1px 1px #FFF;
}

body >*:nth-child(2) {
	margin-top: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;	
	text-shadow: none;
}

section h2 {
	color: #00A27B;
	font-size: 38px;
}

section h3 {
	font-size: 28px;
}

section h4 {
	font-size: 22px;
	padding: 0;
	margin: 0;
}

section h5 {
	font-size: 18px;
}

section b {
	color: #00A27B;
}

/*stile base del NAV*/
#IlMenu {
	position: fixed;
	  top:0;
	  width:100%;
	  height: 70px;
	  transition: 0.4s;
	font-family: Handlee;;
	font-weight: normal;
	z-index: 9;
	overflow: visible;
  }
  
  .menu {
	background: url(../img/logomenub.png) no-repeat top left;
	background-size: contain;
	overflow: hidden;
	text-align: right;
	padding-top: 30px;
  }
  
  .menu .blocco {
	width: 400px;
	float: right;
  }
  
  .menu a {
	display: block;
	padding: 15px 0px;
	text-decoration: none;
	font-size: 32px;
	font-weight: bold;
	color: #ffffff;
	background-color: transparent;
	transition: 0.4s;
	margin-right: 12px;
	text-shadow: 1px 1px 1px #333333;
  }
  
  .menu a:hover {
	color: #5FA0A9;
  }
  
  .menu a.attivo {
	color: #5FA0A9;
  }
  
  .menu .icon {
	display: none;
	border-bottom: 0 !important;
	margin: 0px;
	padding: 0px;
  }
  
  /*stile menù a scroll della pagina*/
  .menu.scrolled {
	background-color: #F8F8F8;  background-image: url(../img/logomenu.png);
	overflow: hidden !important;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.57);
  }
  
  .menu.scrolled a:not(.icon) {
	display: inline;
  }
  
  .menu.scrolled a {
	text-shadow: 1px 1px 1px #FFF;
	color: #00315F;
	font-size: 28px;
  }
  
  .menu.scrolled .blocco, 
  .menu.responsive .blocco
  .menu.responsive.scrolled .blocco{
	width: 100%;
  }
  
  .menu.scrolled a{
	border-bottom: 20px solid #F8F8F8;
  }
  
  .menu.scrolled a.attivo, .menu.scrolled a:hover {
	color: #2e737c;
	border-bottom: solid 20px #2e737c;
  }
  
  /*Inizio codice per rendere il menù adatto ai diversi display*/
  .menu.responsive a {
	border-bottom: none !important;
  }
  
  @media screen and (max-width: 635px) {
	.menu {height: 50px !important;
	padding-top: 20px;
	}
  }
  
  @media screen and (max-width: 1118px) {
	.menu a:not(:first-child) {display: none !important;}
	.menu a:first-child, .menu.scrolled a:first-child {
	  margin-right: 70px; 
	  display: block;
	  margin-top: -12px;
	  color: #FFF;
	  border-bottom: 0px;
	  }
  
	.menu.scrolled a:first-child {
	  color: #00315F;
	}
	.menu a.icon {
	  float: right;
	  display: block !important;
	  position: fixed;
	  right: 20px;
	  top: 32px;
	  background-color: transparent;
	  box-shadow: none !important;
	  color: #FFF !important;
	  }
  
	.menu.scrolled a.icon, .menu.responsive a.icon {
	  color: #00315F !important;
	}
	.menu a {
	  font-size: 28px;
	}
  }
  
  @media screen and (max-width: 1118px) {
	.menu.responsive {
		position: relative; height: 250px !important; 
		background-color: #F8F8F8; 
		background-image: none;
		border-bottom: solid 5px #2e737c;
	  }
	.menu.responsive .blocco {
		width: 100%;
		float: none;
	  }
	.menu.responsive a.icon {
		float: right;
		display: block !important;
		position: fixed;
		right: 20px;
		top: 32px;
		background-color: transparent;
		box-shadow: none !important;
		padding: 0 !important
	  }
	.menu.responsive a{
		float: none;
		display: block !important;
		text-align: left;
		font-size: 24px ;
		font-weight: bold;
		border-bottom: 0;
		background-color: transparent;
		box-shadow: none !important;
		color: #00315F;
		text-shadow: 1px 1px 1px #FFF;
		padding: 10px;
	  }
	.menu.responsive a:hover{
		box-shadow: none !important;
		color: #2e737c;
	  }
  } 
  
  @media screen and (max-width: 635px) {
	.menu a.icon {
	  float: right;
	  display: block;
	  position: fixed;
	  right: 20px;
	  top: 18px !important;
	  font-size: 24px;
	}
  
	.menu a {display: none !important;}
  
	.menu.scrolled a:first-child {display: block !important; margin-top: -17px;}
	.menu.scrolled.responsive a:first-child {margin-top: -12px;}
  
	.menu.responsive a.icon {
	  float: right;
	  display: block;
	  position: fixed;
	  right: 20px;
	  top: 22px !important;
	}
  }
  
  @media screen and (max-width: 460px) {
	.menu a.icon {
	  font-size: 24px;
	  top: 18px !important;
	}
	.menu.scrolled a:first-child {
	  margin-top: -17px;
	}
  }

/*Schermata principale*/
#header {
	width: 100%;
	height: 700px;
	margin: 0 auto;
	display: block;
	padding-top: 80px;
	background: url("../img/imgheader.jpg") no-repeat top center; 
	background-size: cover;
	border-bottom: solid 10px #2e737c;
}

#header .descr {
	font-size: 44px;
	font-family: Handlee;
	padding: 1% 5%;
	max-width: 800px;
	text-align: center;
	display: block;
	margin: 300px auto -20px auto;
	color: #FFF;
	transition: 0.4s;
}


#header a.appr {
	font-family: "Corinthia", serif;
	font-size: 120px;
	text-align: center;
	margin: auto;
	display: block;
	max-width: 800px;
	color: #FFF;
	background: url(../img/evv.png) no-repeat bottom center;
	background-size: contain;
	padding-bottom: 50px;
	text-shadow: 1px 1px 1px #333333;
}

#header a:hover.appr {
 	color: #5FA0A9;
	background-image: url(../img/evvhover.png);
}

@media screen and (max-width: 880px) {
	#header .descr {
		font-size: 38px;
		margin: 260px 2% 0 2%;
	}
	#header a.appr {
		font-size: 64px;
		margin: auto;
		max-width: 400px;
		padding-bottom: 20px;
	}
}

#container {
	overflow:auto;
}

/*Parte introduttiva*/
.guida {
	width: 35%;
	margin: 5% 10% 5% 5%;
	display: block;
	float: left;
}

.guida:first-child {
	width: 35%;
	margin: 5% 5% 5% 10%;
}

@media screen and (max-width: 830px) {
	.guida {
		width: 70% !important;
		margin: 200px 15% !important;
		display: block;
		float: none;
	}
}

.guida h2 {
	color: #00A27B;
	font-size: 38px;
	display: block;
}

.guida p {
	font-size: 24px;
}


/*stile standard per il testo in ogni sezione*/
.testuale {
	margin: 0 10%;
	font-size: 22px;
}

.testuale h1, .testuale h2 {
	margin-top: 100px;
	font-size: 32px;
}

.testuale p {
	margin-bottom: 50px;
	text-align: justify;
}

.testuale a {
	font-weight: bold;
}

.testuale .fonte {
	font-size: 14px;
	font-weight: bold;
	display: block;
}

.testuale p .fonte {
	margin-top: 30px;
}

.testuale .descrittivo {
	margin: 0;
	padding: 0 0 30px 0;
}

@media screen and (max-width: 500px) {
	.testuale p {
		text-align: left;
	}

}

/*Stile footer/contatti*/
#contatti {
	background: #5a9e9a;
	padding-bottom: 40px;
}

#footer {
	padding-top: 50px;
	font-size: 16px;
	color: #FFF;
	margin-bottom: 80px;
}

#footer h2 {
	color: #00315F;
	text-shadow: 1px 1px 0 #23c3b5;
	margin: 30px 10% 0;

}

#footer h5 {
	margin: 0 0 20px 0;
	font-size: 24px;
}

.maps, .contatti, .social  {
	margin: 30px 10% 30px 42%;
	width: 48%;
}

.contatti {
	margin-top: 50px;
}

.maps iframe {
	width: 100%;
	height: 300px;
	margin-top: 20px;
}
.form {
	width: 30%;
	margin-left: 10%;
	margin-top: -600px;
	height: 600px;
 }
 
.oppure {
	display: none;
}

.cont a, .maps a {
	color: #FFF;
	margin: 7px 0;
	display: block;
	transition: 0.4s;
	font-weight: bold;
	transition: 0.4s;
	font-size: 20px;
}

.cont a:hover, .maps a:hover {
	color: #00315F;
}

.cont a span, .maps a span, .social a span {
	background-color: #fff;
	height: 35px;
	width: 35px;
	border-radius: 35px;
	display: inline-block;
	text-align: center;
	transition: 0.4s;
}

.cont a:hover span, .maps a:hover span, .social a:hover span {
	background-color: #00315F;
}

.cont a i, .maps a i, .social a i {
	text-align: center;
    vertical-align: middle;
	line-height: 1.8;
	font-size: 20px;
	color: #5a9e9a;
	transition: 0.4s;
}

.cont a:hover i, .maps a:hover i, .social a:hover i {
	font-size: 20px;
	color: #FFF;
}
.cont a {
	display: inline-block;
	padding-right: 40px;
} 

@media screen and (max-width: 990px) {
	.maps iframe, .indirizzo ,.cont, .form {
		width: 100%;
		margin: 0 0 20px 0;
	}
	.contatti {
		margin: 30px 10%;
	}
	.maps, .contatti, .social {
		margin: 30px 10%;
		width: 80%
	}
	.cont {
		margin-left: 0 !important;
	}

    .social h5 {
		display: inline-block;
		padding-right: 5px;
		margin: 0;
	}
	.oppure {
		display: inline-block;
		padding-top: 40px;
		padding-left: 0;
		max-width: 100%;
	}
}

/*stile bottoni*/
button {
	box-shadow: 3px 7px 14px -2px #1a9187;
	background: linear-gradient(to bottom, #fcf4e0 5%, #dbebf2 100%);
	background-color: #fcf4e0;
	border-radius: 8px;
	border: 2px solid #bbdddb;
	display: block;
	margin: auto;
	cursor: pointer;
	color: #00315f;
	font-size: 24px;
	padding: 15px 30px;
	margin-top: 40px;
	text-decoration: none;
	font-weight: bold;
}

button:hover {
	background: linear-gradient(to bottom, #dbebf2 5%, #fcf4e0 100%);
	background-color: #dbebf2;
}

button:active {
	position: relative;
	top: 1px;
}


/*bottone approfondimento percorsi di studio */
#altro {
	display: none;
}