
/* RESPONSIVE MENU inizio */
#flag{
	width:100%;
	height:35px;
	background-color: rgba(255,255,255,1);
	position: relative;
	z-index: 999;
	padding-top:10px;
	}
#flag ul{
	/*width:225px; bandiere al completo*/ 
	width:90px;
	height:25px;
	margin-left:auto;
	margin-right:auto;
	}
#flag ul li{
	float: left;
	margin-left:10px;
	margin-right:10px;}
#flag img:hover{opacity: 1;}
#flag img{
	opacity: 0.3;
}
#flag img.active{opacity:1;}

#nav {
	background-color: rgba(255,255,255,1);
	position: relative;
	z-index: 999;
	margin-bottom: 10px;
	width: 100%;
	border-bottom: 2px #97815B solid;
}

#nav #logo {
	margin-left: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 130px;
	float: left;
	position: absolute;
	margin-left: -65px;
	left: 50%;
}

#nav #hamburger{
	height: 40px;
	width: 40px;
	float: right;
	margin-top: 20px;
	margin-right: 18px;
}

#nav ul li a{
	text-decoration: none;
	color: rgba(130,130,130,1);
	height: 60px;
	display: block;
	line-height: 60px;
	padding: 0 28px;
	font-family: lato;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	text-transform: uppercase;
}
#nav ul li a:hover{
	color: #97815B;
	/*background-color: rgba(175,131,27,0.8);*/
	background-color: rgba(245,245,245,1);
	/*transition: all 0.4s ease-in-out;
	-moz-transition: all 0.3s;*/
	border-bottom: 2px solid #97815B;
}
#nav ul li a.active{
	color: #97815B;
	background-color: rgba(250,250,250,1);
}
/*  DESKTOP large  */
@media only screen and (min-width:1220px){
	#nav{
		height:145px;
	}
	#nav #logo {
	margin-top: 15px;
	}
	#nav #hamburger{
		display:none;
	}
	
	#content_nav{
	width: 916px;
	position: relative;
	left: 50%;
	margin-left: -458px;
	/*border-top:1px solid rgba(245,245,245,1);*/
	top: 105px;
		}
	#nav ul {
	/*position:absolute;
	right:0px;
	margin-right:30px;*/
	}
	#nav ul li {
		float:left;
	}
	#nav ul li.mobile-only {
		display:none;
	}
	#nav ul li a{
	color:rgba(153,153,153,1);
	height: 40px;
	line-height: 40px;
}
}
/*  DESKTOP  */
@media only screen and (min-width:1024px) and (max-width:1220px){
	#nav{
		height:145px;
	}
	#nav #logo {
	margin-top: 15px;
	}
	
	#nav #hamburger{
		display:none;
	}
	#content_nav{
		width:916px;
		position:relative;
		left:50%;
		margin-left:-458px;
		/*border-top:1px solid rgba(245,245,245,1);*/
		top:105px;
		}
		
	#nav ul li {
		float:left;
	}
	#nav ul li.mobile-only {
		display:none;
	}
	#nav ul li a{
	color:rgba(153,153,153,1);
	height: 40px;
	line-height: 40px;
}
}
/*  tablet  */
@media only screen and (min-width:768px) and (max-width:1023px){

	#nav #menu {
	width: 100%;
	height: 80px;
}
	#nav #logo {
	width: 98px;
	height:60px;
	}
	#nav #logo img{
	width: 98px;
	height:60px;
	}

	#nav ul{
		display:none;	
	}
	#nav ul li a{
	border-bottom: 1px solid rgba(174,157,127,1);
	}
}
/* smartphone-tablet */ 
@media screen and (min-width:480px) and (max-width:767px){

	#nav #menu {
	width: 100%;
	height: 80px;
}
	#nav #logo {
	width: 98px;
	height:60px;
	}
	#nav #logo img{
	width: 98px;
	height:60px;
	}
	#nav ul{
		display:none;	
	}
	#nav ul li a{
		border-bottom: 1px solid rgba(174,157,127,1);
	}
}
/*  smartphone  */
@media only screen and (max-width:479px){
	#nav{

		/*padding-left:10px;
		padding-right:10px;*/
	}
	#nav #menu {
	width: 100%;
	height: 80px;
}
	#nav #logo {
	width: 98px;
	height:60px;
	}
	#nav #logo img{
	width: 98px;
	height:60px;
	}
	#nav ul{
		display:none;	
	}
	#nav ul li a{
		border-bottom: 1px solid rgba(174,157,127,1);
	}
}
