/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

body {
	background: #cccccc;
	font-size:18px;
	line-height:30px;
	color: #grey;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
	font-family: 'Open Sans', sans-serif;
	}


a {
	text-decoration:none;color:grey

}

a:hover{
	color:#930

}


h1 {
font-size:30px;
text-align: left;
color: #930;
}


h2  {
color: #333333;
text-align:left;
font-weight: lighter;
font-size:24px;
line-height:35px;

}

h3  {
color: #930;
text-align: center;
font-weight: lighter;
font-size:22px;
}


h4 {
font-size:40px;
text-align: center;
font-weight: lighter;
color: #ffffff;
line-height:45px;
}


h5 {
font-size:40px;
text-align: center;
font-weight: lighter;
color: #ffffff;
}


h6 {
font-size:20px;
text-align: center;
font-weight: lighter;
color: #930;
}

p {
color: #666666;
text-align: center;
font-weight: lighter;
font-size:18px;
line-height:30px;

}

.p {
color: #666666;
text-align: center;
font-weight: lighter;
font-size:18px;
line-height:20px;
}

.p2 {
color: #666666;
text-align: center;
font-weight: lighter;
font-size:12px;
line-height:20px;
}


span {
color: #ffffff;
text-align: center;
font-weight: lighter;
font-size:16px;
line-height: 22px;
}

.image1 {
  border-radius: 5%;
}


#Layer1 {
	position:absolute;
   opacity: 0.7;
   width:715px;
	height:225px;
	left: 240px;
	top: 225px;
	background: #333333;
	font-size: 30px;
}


.button1 {
 display: inline-block;
 text-align: center;
 white-space: nowrap;
 color: #FFF5F2;
 text-decoration: none;
 line-height: 1.2;
 font-weight: normal;
 font-family: sans-serif;
 font-size: 18px;
 background-color: #993300;
 border-radius: 4px;
 padding: 10px 20px;
 border: 1px solid #FFFFFF;
 cursor: pointer;
}
.button1:hover {
 background-color: #FFFFFF;
 border-color: #930;
}
.button1 > strong {
 font-size: 24px;
}



.fa {
  padding: 20px;
  font-size: 20px;
  width: 20px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #cccccc;
  color:#000000;
}

.fa-instagram {
  background:#cccccc;
  color: #000000;
}

.fa-youtube {
  background: #cccccc;
  color:#000000;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #930; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}



/* tabella con due colori*/

.tabella1 {
background: linear-gradient(90deg, rgba(233,233,237,1) 14%, rgba(203,176,163,1) 100%);
color: #333333;
text-align: center;
font-weight: lighter;
font-size:16px;
line-height: 18px;

}



/* Menu. */

body {
	 background: #ffffff;
	font-size:18px;
	line-height: 30px;
	color: #grey;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
	font-family: 'Open Sans', sans-serif;
	}



#container {
	margin: 0 auto;
	max-width: 890px;
}


.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	  position: fixed;
	margin:0;
	padding: 0;
	background-color: #cccccc;
	  width: 100%;
  z-index: 99;
	
}

#logo {
	display: block;
	padding: 0 30px;
	float: left;
	font-size:20px;
	line-height: 60px;
	color: #930;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #cccccc;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 20px;	
	color:#333333;
	font-size:17px;
	text-decoration:none;
}


nav ul li ul li:hover { background: #999999; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #999999; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }



/* Style the buttons */


/* Style the active class (and buttons on mouse-over) */
.active, .btn:hover {
  background-color: #666;
  color: white;
}


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	#logo {
		display: block;
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #254441;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #000000;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #212121; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}





