@charset "UTF-8";

/*	NAV	*/
nav {
	
	float: right;
	width: 100%;
	height: 70px;
	-webkit-box-sizing: border-box;
	/* Safari/Chrome, altri WebKit */
	-moz-box-sizing: border-box;
	/* Firefox, altri Gecko */
	box-sizing: border-box;
	/* Opera/IE 8+ */
	display: block;
	-webkit-transition: height 5000ms ease 300ms;
	-moz-transition: height 5000ms ease 300ms;
	-ms-transition: height 5000ms ease 300ms;
	-o-transition: height 5000ms ease 300ms;
	transition: height 5000ms ease 300ms;
}

nav ul {	
	float: right;
	display: block;
	height: 70px;	
}

nav ul li {	
	float: left;	
}

nav ul li a {
	display: block;
	text-decoration: none;
	color: rgba(0,0,0,1);
	text-transform: uppercase;
	margin-left: 5px;
	margin-right: 5px;
	line-height: 20px;
	padding: 5px;
	line-height: 60px;
	
}

nav ul li a:hover    {
	color: rgba(255,255,255,1);
	background-color: rgba(81,81,81,1);
	border-bottom: 1px solid rgba(0,0,0,1);
}

.mobile-only .attivo   {
	background-color: rgba(112,92,79,1);
	color: rgba(255,255,255,1);
}


/*Nasconde il checkbox ed il label*/
nav > input,
nav > label {
  display: none;
}

nav > label {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: url(../img/hamburger.png) no-repeat center center;
}




/*	SOCIAL	*/


a#tripadvisor {
	content: url(../img/social/social_tripadvisor.png);
	background-size: 25px 20px;
}

a#fb {
	content: url(../img/social/social_fb.png);
	background-size: 25px 20px;
}

a#instagram {
	content: url(../img/social/social_instagram.png);
	background-size: 25px 20px;
}

a#language_en {
	content: url(../img/social/language_en.png);
	background-size: 25px 20px;
}

a#language_it {
	content: url(../img/social/language_it.png);
	background-size: 25px 20px;
}



@media only screen and (min-width: 1232px) {
/* -------- DESKTOP --------- */	
nav {
	width: 84%;
	background-color: rgba(233,231,227,1);
	box-sizing: border-box;
}

nav ul {
	width: 100%;
}

nav ul li a   {
	font-size: 15px;
	margin-left: 10px;
	margin-right: 10px;
}

#social_mobile, .mobile-only  {	display: none;	}

nav #social {
	width: 16%;
	float: right;
	padding-left: 20px;
	padding-right: 10px;
	height: 60px;
	line-height: 65px;
}

nav #social a {
	width: 20px;
	height: 15px;
	display: inline-block;
	margin-top: 5px;
	
}


nav #social .slash {
	width: 15px;
	height: 25px;
	margin-top: -10px;
}

#social .double_slash {
	width: 22px;
	height: 25px;
	margin-top: -10px;
}

}

@media only screen and (min-width: 1024px) and (max-width: 1231px) {
/* -------- DESKTOP_SMALL --------- */	
nav {
	width: 85.8%;
	background-color: rgba(233,231,227,1);
	box-sizing: border-box;
}

nav ul {
	width: 100%;
}

nav ul li a   {
	font-size: 12px;
	margin-left: 8px;
	margin-right: 8px;
}

#social_mobile, .mobile-only  {	display: none;	}

nav #social {
	width: 19.8%;
	float: right;
	padding-left: 10px;
	padding-right: 5px;
	height: 60px;
	line-height: 65px;
}

nav #social a {
	width: 20px;
	height: 15px;
	display: inline-block;
	margin-top: 5px;	
}


nav #social .slash {
	width: 15px;
	height: 25px;
	margin-top: -10px;
}

#social .double_slash {
	width: 22px;
	height: 25px;
	margin-top: -10px;
}

}

@media only screen and (min-width: 769px) and (max-width: 1023px) { 
/* -------- DESKTOP_SMALL --------- */

nav {
	height: 0px;
}

nav #social {
	display: none;
}

nav ul { display: none;	}

nav > label {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 10000000;
	display: inline-block;
	color: rgba(255,255,255,1);
	padding: 0;
	line-height: 40px;
	width: 40px;
	height: 40px;
}
nav > ul {
	height: 0px;
	opacity: 0px; /* supporto crossbrowser */
	clear: both;
	text-transform: uppercase;
	width: 100%;
	position: absolute;
	z-index: 1000;
}

nav > input:checked + ul {
	opacity: 1;
	height: auto;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 10;
	width: 100%;
	display: block;
	-webkit-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
	
}

nav ul li {
	float: none;
	width:100%;
	height:40px;
}


nav ul li a {
	background-color: rgba(255,255,255,1); 
	height:40px;	
	line-height:40px;
	-webkit-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
	margin: 0px;
	padding: 0px 0px 0px 20px;
	border: 1px solid rgba(0,0,0,1);
}

nav ul li a:hover{
	color: rgba(255,255,255,1);
	background-color: rgba(81,81,81,1);
}

#social_mobile {
	width: 100%;
	height: 100%;
	background-color: rgba(177,0,36,1);
}

#social_mobile a {
	background-color: rgba(177,0,36,1);
}

#social_mobile a img {
	height: 30px;
	width: 40px;
	margin-top: 5px;
}

#social_mobile a:hover {
	background-color:  rgba(81,81,81,1);
}
	
#social {
	display: none;
}

	
}
@media only screen and (max-width: 768px) {  
/* -------- TABLET & SMARTPHONE--------- */

nav #social {
	display: none;
}

nav {
	height: 0px;
}

nav ul { display: none; width: 100%; }

nav > label {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 10000000;
	display: inline-block;
	color: rgba(255,255,255,1);
	padding: 0;
	width: 40px;
	height: 40px;
}
nav > ul {
	height: 0px;
	opacity: 0px; /* supporto crossbrowser */
	clear: both;
	text-transform: uppercase;
	width: 100%;
	position: absolute;
	z-index: 1000;
}

nav > input:checked + ul {
	opacity: 1;
	height: auto;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 10;
	width: 100%;
	display: block;
	-webkit-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
	
}

nav ul li {
	float: none;
	width:100%;
	height:40px;
}


nav ul li a {
	background-color: rgba(255,255,255,1); 
	height:40px;	
	line-height:40px;
	-webkit-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
	margin: 0px;
	padding: 0px 0px 0px 20px;
	border: 1px solid rgba(0,0,0,1);
}

nav ul li a:hover{
	color: rgba(255,255,255,1);
	background-color:  rgba(81,81,81,1);
}

#social_mobile {
	width: 100%;
	height: 100%;
	background-color: rgba(177,0,36,1);
}

#social_mobile a {
	background-color: rgba(177,0,36,1);
}

#social_mobile a img {
	height: 22px;
	width: 30px;
	margin-top: 10px;

}
#social_mobile a:hover {
	background-color:  rgba(81,81,81,1);
}
	
#social {
	display: none;
}

}
