body {
	/* background: url("../img/background.jpg") no-repeat fixed center center / 100% auto rgba(0, 0, 0, 0); */
}
.pb-15{
	padding-bottom: 1.5em;/*MODIFICATO*/
}
#third-block-c .c-fit h4{
	font-size:20px; /*NUOVO*/
}
nav {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	position: absolute;
	top: 0;
	z-index: 500;
}

.top-nav {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.top-nav ul {
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 0;
	text-align: left;
	font-size: 100%;
}
.logo {
	margin: 0;
	text-align: center;
}
.top-nav a {
	color: #333;
	font-size: 0.9em;
	font-weight: 590;
}
.top-nav .logo a, .top-nav .logo.active-item a {
	font-size: 0.9em;
	font-weight: 500;
	line-height: 1em;
}
.top-nav .logo a strong {
	font-size: 0.9em;
	font-weight: 400;
}
.top-nav {
	text-align: center;
}
.top-nav li a:hover, .top-nav li.active-item a, .top-nav .logo.active-item a:hover {
	background: none repeat scroll 0 0 #888888;
	color: #fff;
}
.top-nav li.logo a, .top-nav li.logo.active-item a, .top-nav .logo {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
nav ul li ul li {
	text-align: left;
}
.top-nav ul ul {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.top-nav li ul li a {
	background: none repeat scroll 0 0 #dddddd;
	color: #333333;
}
#fourth-block h2 {
	color: #999;
}
#fourth-block p {
	color: #333;
}
#first-block, #second-block, #third-block, #fourth-block {
	text-align: center;
	padding: 1.5em 0;
}
#third-block-b, #third-block-c {
	/*text-align: center; MODIFICA*/
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 1.5em;
}
#carousel {
	background: #fff;
}
#first-block {
	background: #fff;
}
#second-block {
	background: none repeat scroll 0 0 rgba(50,50,50,0.5);
}
#third-block, #third-block-b, #third-block-c {
	background: #fff;
}
#fourth-block {
	background: rgba(255,255,255,1.00);
}
#footer-block {
	background: #333;
	padding: 1.2em;
	font-size: 1em;
	text-align:left;
	}
footer {
	background: none repeat scroll 0 0 #222;
	padding: 1.5em 0;
}
footer p, footer a:link, footer a:visited, footer a:hover {
	color: #fff;
}
footerlk {
	background: none repeat scroll 0 0 #666;
	padding: 2em 0;
}
footerlk p, footerlk a:link {
	color: #fff;
}
footerlk a:visited {
	color: #fff;
}
footerlk a:hover {
	color: #999999;
}
#first-block i {
	background: none repeat scroll 0 0 #2fcbe0;
	border-radius: 100px;
	color: #fff;
	display: block;
	line-height: 100px;
	margin: 0 auto;
	width: 100px;
}
section h2 {
	font-size: 2.2em;
	font-weight: 600;
	margin: 0;
/*	text-transform: uppercase; */
}
p.subtitile {
	color: #666;
	margin-top: 1em;
	margin-left: 0;
	margin-bottom: 2em;
	font-size: 0.9em;
	font-weight: 400;
}
section h3 {
	font-size: 1.6em;
	font-weight: 500;
	margin-top: 0.8em;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 1.2em;
	text-align: center; /*NUOVO - MODIFICATO*/
/*	text-transform: uppercase; */
}
section p {
	font-size: 0.8em;
}
section h1 {
	color: #fff;
	font-size: 2.2em;
	font-weight: 400;
/*	text-transform: uppercase; */
}
#second-block p {
	color: #fff;
}
a.button {
	background: none repeat scroll 0 0 #ededed;
	border: 0 none;
	border-radius: 5px;
	color: #000;
	font-size: 0.8em;
	font-weight: 600;
	padding: 0.625em;
	text-transform: uppercase;
}
#head {
	background: none repeat scroll 0 0 rgba(0, 30, 34, 0.85);
	padding: 9em 0 5em;
	text-align: center;
}
#content {
	background: none repeat scroll 0 0 #fff;
	padding: 5em 0;
	text-align: center;
	border-bottom: 1px solid #f0f0f0;
}
#content h2 {
	font-size: 1.5em;
	font-weight: 400;
	margin: 1em 0 0.3em;
	text-transform: none;
}
.content-block {
	background: none repeat scroll 0 0 rgb(0, 30, 34);
	padding: 2.5em;
}
.content-block h3 {
	color: #fff;
}
.content-block p {
	color: #fff;
}
#content.left-align {
	text-align: left;
}
#content.contact-page h2 {
	margin: 0 0 0.625em;
}
.contact-page p {
	font-size: 1em;
	font-style: normal;
}
.contact-page i {
	background: none repeat scroll 0 0 rgb(0, 30, 34);
	border-radius: 100px;
	display: inline-block;
	height: 35px;
	line-height: 35px;
	margin: 0.3125em 0.3125em 0.3125em 0;
	text-align: center;
	width: 35px;
}
form.customform button {
	background: none repeat scroll 0 0 #999;
	border-radius: 5px;
	transition: background 0.20s linear 0s;
	-o-transition: background 0.20s linear 0s;
	-ms-transition: background 0.20s linear 0s;
	-moz-transition: background 0.20s linear 0s;
	-webkit-transition: background 0.20s linear 0s;
}
form.customform button:hover {
	background: none repeat scroll 0 0 #444;
}
form.customform input, form.customform select, form.customform textarea {
	border-radius: 5px;
}
.social_lightgrey_icons	{
	background-color: #fff;
	border: 0 none rgba(220,220,220,1.00);
	text-align: center;
	max-width: 100%;
	padding-top: 0.5em ;
	padding-bottom: 0.5em;
}
.dida_lightgrey	{
	color: #999;
	display: inline-block;
	font-size: 0.8em;
	font-weight: 500;
	padding-bottom: 1em;
	vertical-align: super;
	line-height: 3em;
	
}
img.logo {
	display: block;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
}
#logo {
  background-image: url(../img/Logo_Luca_Moretto.png);
  background-size: 180px 180px;
  display: block;
  margin: 0 auto;
  text-indent: -9999px;
  width: 180px;
  height: 180px;
}
.logo_menu	{
	background-color: rgba(255,255,255,1);
	text-align: center;
	max-width: 100%;
	padding-top: 1em;
	padding-bottom: 0em;
	float: none;
}
#icons {
  padding: 0;
  margin: 0;
}
/* CAROUSEL MODIFICATO */
#carousel .text {
	position: absolute;
	top: 40%;
	z-index: 10;
}
.item {
	overflow: hidden;
	width: 100%;
}
.prev-arrow, .next-arrow {
	background: none repeat scroll 0 0 #666;
	cursor: pointer;
	float: left;
	height: 30px;
	line-height: 30px;
	margin-right: 1px;
	text-align: center;
	width: 30px;
}
#carousel .text h2 {
	background: none repeat scroll 0 0 rgba(150, 150, 150, 0.8);
	color: #fff;
	display: inline-block;
	font-size: 2em;
	font-weight: 300;
	margin: 1px 0;
	max-width: 600px;
	padding: 10px 20px;
	width: 100%;
}
#carousel .text p {
	background: none repeat scroll 0 0 rgba(50, 50, 50, 0.8);
	color: #fff;
	max-width: 600px;
	padding: 10px 20px;
	width: 100%;
}
.titolo {
position: relative; 
float: left;
left:0em; 
top:-400px; 
width:60%; 
height:auto; 
background-color: rgba(140,140,140,0.90); 
text-align: left;   
padding: 1em 1em 1em 1em;
}
.corpo {
position:relative; 
float: left;
left:0em; 
top:-395px; 
width:60%; 
height:auto; 
background-color: rgba(60,60,60,0.90); 
text-align: justify;  
padding: 1em 1em 1em 1em;
}	
	
#carousel .owl-theme .owl-controls {
	background: none repeat scroll 0 0 rgba(200, 200, 200, 0);
	bottom: 0;
	margin: 0;
	padding: 0.85em 0;
	position: absolute;
	width: 100%;
}
.owl-theme .owl-controls .owl-page span {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: 3px solid rgba(200, 200, 200, 0.6);
	height: 18px;
	margin: 0 0.3125em;
	opacity: 1;
	width: 18px;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
	background: none repeat scroll 0 0 #999;
}
.myIframe {
	position: relative;
	padding-bottom: 65.25%;
	padding-top: 30px;
	height: 0;
	overflow: auto; 
	-webkit-overflow-scrolling:touch; //<<--- THIS IS THE KEY 
	border: solid black 1px;
} 
.myIframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
} 

/* MODIFICATO: margin passa da "0.15em" a "0.5em 0.5em" per creare spazio tra le icone dei social */
#icons > li {
  display: inline-block;
  max-width:  2.0em;
  margin: 0.5em 0.5em;
}
#map-block iframe {
	display: block;
}
@media screen and (max-width: 768px) {
  body {
  	background: none repeat scroll 0 0 rgb(0, 30, 34);
  }
  nav {
  	background: none repeat scroll 0 0 rgb(0, 30, 34);
  	line-height: 1em;
  	position: relative;
  }
  .top-nav {
  	text-align: left;
  }
  .top-nav li {
  	line-height: 3em;
  }
  .top-nav .logo {
  	padding: 1.25em;
  }
  .carousel-text h2 {
  	font-size: 1.3em;
  }
  .carousel-text p {
  	font-size: 1em;
  }
  ul.top-ul {
  	padding: 0;
  }
  ul.top-ul.right {
  	float: none;
  }
  footer {
  text-align: center;
  }
  footer .right {
  float: none;
  }
  single-item {
    width: 40%;
}
.my-gallery {
  width: 100%;
  float: left;
  }
.my-gallery img {
  width: 100%;
  height: auto;
  }

/* MODIFICATO: eliminati margine e larghezza per generare l'effetto di centratura delle thumb della
gallery (a questo scopo sono necessarie anche le ultime due regole in responsee.css) */
.my-gallery figure {
  display: block;
  float: left;
  /*margin: 0 20px 20px 0;
  width: 10em;*/
}
.my-gallery figcaption {
  display: none;
}
.titolo {
position: relative; 
left:0em; 
top:-20px; 
width:100%; 
height:auto; 
background-color: rgba(140,140,140,0.80); 
text-align: left;  
padding: 1em 1em 1em 1em;
}
.corpo {
position:relative; 
left:0em; 
top:-5px; 
width:100%; 
height:auto; 
background-color: rgba(80,80,80,0.80); 
text-align: justify;  
padding: 1em 1em 1em 1em;
}	

}

/* AGGIUNTE */
/* Gestisce il margine delle icone dei social per larghezze inferiori ai 500px */
@media screen and (max-width: 500px) {
	#icons > li {
		margin: 0.25em;
	}
	.titolo {
position: relative; 
left:0em; 
top:-8px; 
width:100%; 
height:auto; 
background-color: rgba(140,140,140,0.80); 
text-align: left;  
padding: 1em 1em 1em 1em;
}
.corpo {
position:relative; 
left:0em; 
top:-2px; 
width:100%; 
height:auto; 
background-color: rgba(80,80,80,0.80); 
text-align: justify;  
padding: 1em 1em 1em 1em;
}	
}
/*nuovo*/
#comunicati{
	list-style-type: none;
}
#comunicati li{
	margin-bottom:15px;
}
/* Sovrascrive una regola in template-style.css che genera una riga grigia/nera sotto il carosello a questa larghezza */
@media screen and (max-width: 768px) {
	body {
		background-color: transparent;
	}
}
