/*HEADER*/

.header {
	position: relative;
	width:100%;
	margin-bottom: 200px;
	z-index: 10;
}

.homepage .header {
	position: absolute;
	top: 0;
	left: 0;
	margin-bottom: 0;
}

a.logo {
    display: inline-block;
    position: relative;
}

a.logo img {
	width:350px;
}

.navigation {
    display: block;
    position: relative;
	padding-top: 40px;
	z-index: 1;
}

.navigation.nav_lang {
	position: absolute;
	top:0;
	right:15px;
	z-index: 2;
}

.navigation.nav_contatti {
	position: absolute;
	top:0;
	left:15px;
	z-index: 3;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation ul li {
    display: inline-block;
	position: relative;
    padding: 0;
    vertical-align: middle;
	margin-left: -5px;
}

.navigation ul li::after {
	content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    margin: 0 15px;
    vertical-align: middle;
    background-color: #ccc;
    transform: rotate(45deg);
}

.navigation ul li:last-of-type::after {
	display: none;
}

a.nav_a_main {
    position: relative;
	display: inline-block;
	font-family: 'Taviraj', serif;
	color:#ccc;
	font-size:11px;
	line-height: 11px;
	font-weight: 500;
	letter-spacing: 0;
}

a.nav_a_main span {
	display: inline-block;
	position: relative;
}

a.nav_a_main span.icon_link {
	width:20px;
	height: 15px;
	margin-right: 5px;
}

a.nav_a_main span.icon_link img {
	max-width: 100%;
	max-height: 100%;
}

a.nav_a_main span.text_link::after {
	content: "";
    display: block;
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: #ccc;
	transform: scale(0,1);
	transition: all 0.3s;
	transform-origin: center;
}

a.nav_a_main:hover span.text_link::after {
	transform: scale(1,1);
}

a.nav_a_main.active span.text_link::after{
	transform: scale(1,1);
}

a.nav_a_main:hover {
	color:#ccc;
}

/*END HEADER*/



/* MENU MOBILE */

.hamburger {
    position: relative;
    width: 38px;
    height: 38px;
    margin: 0 auto;
    margin-top: 15px;
    cursor: pointer;
    display: none;
    z-index: 1001;
    background-color: #1e1e1e;
    border-radius: 2px;
}

.hamburgericon {
	position: absolute;
	width: 15px;
    height: 12px;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	cursor: pointer;
}

.hamburger span {
	position: absolute;
	width: 100%;
	height: 1px;
	border: none;
	top: 0;
	left: 0;
	background: #fff;
	cursor: pointer;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.hamburger span.middle {
	top: 50%;
    margin-top: -1px;
}

.hamburger span.bottom {
	top: auto;
    bottom: 1px;
	width: 80%;
}

.openMenu .hamburger .top {
	-webkit-transform: translateY(5px) translateX(0) rotate(45deg);
	transform: translateY(5px) translateX(0) rotate(45deg);
	left:0;
}

.openMenu .hamburger .middle {
	opacity: 0;
}

.openMenu .hamburger .bottom {
	-webkit-transform: translateY(-5px) translateX(0) rotate(-45deg);
	transform: translateY(-5px) translateX(0) rotate(-45deg);
	left:0;
	width: 100%;
}

.nav_mobile  {
	display: none;
	width: 80%;
    position: absolute;
    z-index: 1002;
    top: 65px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 20px 20px;
    padding-top: 10px;
    background-color: #161616;
    border: 1px solid #666;
}


.nav_mobile li {
    display: block;
	width:100%;
	border-bottom: 1px solid #666;
	transition: all 0.3s;
	margin: 0;
	margin-bottom: 5px;
    color: #666;
	text-align: center;
}

.nav_mobile li:first-of-type {
	margin-top: 5px;
}

.nav_mobile a {
	position: relative;
    display: inline-block;
    font-family: 'Taviraj', serif;
    color: #bf8b5e;
    font-size: 11px;
    line-height: 11px;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin: 0;
}

.nav_mobile a:hover {
    color: #bf8b5e;
}



.nav_mobile li.active a {
    text-decoration: none;
    color: #fff;
}

.openMenu .nav_mobile  {
	display: block;
}

/* END MENU MOBILE */





