/** Menu
 **************************************************************** **/

.header { 
	position: relative; 
	z-index: 1000;
	box-shadow: 0 1px 8px 1px rgba(0,0,0,0.5); 
	behavior: url(/HT/CSS/css3pie.htc); }

#topBar {
	display:block;
	position:relative;
	background-color:#fff;
	min-height:30px;
	z-index:10;
}
#topBar a.logo {
	margin:15px 0;
	display:inline-block;
	min-height:50px;
}
body.boxed #topBar {
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
#topNav a.logo.onepage {
	display:inline-block;
	height:50px;
	overflow:hidden;
	margin-top:3px;
}
#topBar a.social {
	width:24px; height:24px;
	line-height:26px;
	font-size:16px;
}

#topNav {
	display:block;
	left:0; right:0; top:0;
	height: 78px;
	padding: 0px;
	border-bottom: 1px solid #eee;
	background:#f3f7f9; /*#f2f5fc;*/
	position:relative;
	z-index:10;
}

ul.nav { /*float: right;*/ }


#topNav .nav-pills>li>a, 
#topNav .nav-pills>li>a:focus,
#topNav .nav-pills>li.active>a, 
#topNav .nav-pills>li.active>a:focus {
	background-color:transparent;
}
#topNav div.navbar-collapse {
	padding:0;
}
#topNav ul.nav>li {
	width: 90px;
	height: 78px;
	position:relative;
	margin: 0 4px;
	padding: 0 3px;
	color: #999;
	
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	line-height:14px;
	text-align:center;
}

#topNav ul.nav>li>a:hover,
#topNav ul.nav>li.active>a{
	content:' ';
	color:#61a4d3
}

#topNav ul.nav>li a {
	color:#999;
	position: relative;
	padding-top: 4px;
	text-decoration: none;
	display:block;

	font-weight: bold;
	line-height: 1.2em;
}
#topNav ul.nav>li.mega-menu a strong {
	text-transform:uppercase;
}


#topNav ul.nav>li>a>span,
#topNav ul.nav>li span {
	display:block;
	color: #999;
	text-transform:capitalize;

	font-weight: bold;
	font-size: 1.09em;
	line-height: 1.1em;
}

#topNav ul.nav>li:hover a {
	color:#61a4d3;
}

/* submenu */
#topNav ul.dropdown-menu li.divider {
	margin:-1px 0 0 0;
	padding:0; border:0;
	border-bottom:rgba(0,0,0,0.2) 1px solid;
}
/*#topNav .nav li:hover>ul.dropdown-menu {*/


#topNav ul.dropdown-menu {
display: none;
opacity: 0;
top: 50px;
padding: 0;
z-index: 1000;
	text-align:left;
	margin-top:0;
	box-shadow:none;
	border:#eee 1px solid;
	border-top:0;
	list-style:none;
	background-color:transparent;
	box-shadow:rgba(0,0,0,0.2) 0 6px 12px;
	min-width:200px;

	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
			border-radius: 0;
}

#topNav ul.dropdown-menu div.menu-col {
	width: 220px;
}

#topNav ul.dropdown-menu li {
	position:relative;
	margin-left: 5px;
}
#topNav > ul.dropdown-menu>li a {
	margin:0;
	padding:10px 15px;
	font-weight:400;
	color:#555;
	font-size:12px;
	border-bottom:rgba(0,0,0,0.1) 1px solid;
}
#topNav ul.dropdown-menu>li a i.fa {
	margin-right:4px;
}
#topNav ul.dropdown-menu a.dropdown-toggle:after {
	content: "\f105";
	position: absolute;
	font-size: 15px;
	right: 10px;
	top: 9px;
	color:#999;
}

#topNav .dropdown-submenu > a:after {
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-left-color: #eaeaea;
	margin-top: 5px;
	margin-right: -10px;
}
#topNav .dropdown-submenu li:hover> a:after {
	color:#fff !important;
}
#topNav ul.dropdown-menu li:last-child>a {
	border-bottom:0;
	border-bottom:0;
}
.dropdown-menu>li:hover>a, 
.dropdown-menu>li:focus>a {
	color:#fff !important;
	background-color:#333;
}

/* sub-submenu */
#topNav ul.dropdown-menu>li:hover > ul.dropdown-menu {
	display:block;
	position:absolute;
	left:100%; top:0;
	padding:0; margin:0; 
	border-top:0 !important;
	border-bottom:0 !important;
	border-right:0 !important;

	border:#eaeaea 1px solid;

	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
			border-radius: 0;
}



#topNav ul.terzo_livello li {
	margin-left:25px;
}



/* search */
#topNav form.search {
	float:right;
	max-width:180px;
	margin:12px 0 0 0;
	padding:0;
}
#topNav form.search {
	position:relative;
}
#topNav form.search input {
	padding:6px 26px 6px 6px;
	height:auto; width:100%;
	font-size:13px;
	position:relative;
	z-index:0;

	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
			border-radius: 0;
}
#topNav form.search button {
	position:absolute;
	top:10px; right:10px;
	color:#ccc;
	z-index:1;
}





/* mobile */
#topNav button.btn-mobile {
	display:none;
}
	#topNav button.btn-mobile {
		color:#fff;
		display: none;
		background:#333;
		padding:6px 10px;
		margin-top:8px;
		margin-bottom:3px;

		-webkit-border-radius: 0;
		   -moz-border-radius: 0;
				border-radius: 0;
	}	
	#topNav button.btn-mobile i {
		padding:0; margin:0;
		font-size:21px;
	}

  ul.navbar-right  li{
	margin: 0 8px;	
}
  ul.navbar-right > li a{
	height:auto;
  }
  
  .navbar-nav.navbar-right:last-child{
  	margin-right:7px;
  }

/** Mega Menu
 **************************************************************** **/
#topNav ul.nav>li.mega-menu {
	position:inherit;
	z-index: 10000;
}
#topNav ul.nav>li.mega-menu p {
	margin:0; padding:10px 10px 0 10px;
	font-size:13px;
}

#topNav ul.nav>li.mega-menu div {
	display:table;
}
#topNav ul.nav>li.mega-menu div div {
	border-left: 1px solid #9ec3dc;
	border-right: 1px solid #fff;
	margin-left:-1px;
	display: table-cell;
	float:none;
	vertical-align: top;
}
#topNav ul.nav>li.mega-menu div div:first-child {
	border-left: none;
}
#topNav ul.nav>li.mega-menu div div:last-child {
	border-right: none;
}

#topNav ul.nav>li.mega-menu div div div { border-left: none; border-right: none; margin:0 8px; }

#topNav ul.nav>li.mega-menu>ul {
	border:none;
	box-shadow:none;
}

#topNav ul.nav>li.mega-menu>ul ul {
	margin:0 !important;
	margin-left: 8px;
	padding:0 !important;
	list-style:none;
}

#topNav ul.nav>li.mega-menu h3 {
	font-size:18px;
	line-height:18px;
	margin:10px 10px 20px 10px; padding:0;
}
#topNav ul.nav>li.mega-menu>ul li>a:first-letter {
text-transform:uppercase;
}

#topNav ul.nav>li.mega-menu>ul li>span{
	color: #999;
    padding: 6px 10px;
    font-size: 0.85em;
    text-transform:none;
}

#topNav ul.nav>li.mega-menu>ul li>a {
         border-bottom:0;
         padding: 6px 10px;
         color: #666;
         font-size: 0.85em;
         text-transform:none;
}

#topNav ul.nav>li.mega-menu>ul li.active>a,
#topNav ul.nav>li.mega-menu>ul li:hover>a {
	color:#fff;
	background: url(/HT/images/nGrafica/sprite.png) -176px -253px no-repeat;
}
#topNav ul.nav>li.mega-menu>ul li.divider {
	border:0;
	border:rgba(0,0,0,0.01) 1px solid;
	margin:10px 0;
}

.navbar{
	margin:0;
	border:none;
	position: relative;
    z-index: 9999999999;
}



/** Secondary Main Menu
	Top Bar / Shop Cart
 **************************************************************** **/
#barMain {
	float:right;
	margin-top:6px;
	font-size:12px;
}

#barMain .nav>li>a {
	padding:5px 10px;
}
#barMain .nav>li>a:hover, 
#barMain .nav>li>a:focus {
	background-color:rgba(0,0,0,0.03);
}

/* cart */
#barMain .nav>li.quick-cart {
	background-color:#F8F8F8;
	margin-left:10px;
}
#topBar.styleBackgroundColor .nav>li.quick-cart {
	background-color:rgba(0,0,0,0.1) !important;
}
#topBar.styleBackgroundColor .nav>li.quick-cart.open>a {
	color:#000;
}
#topBar.styleBackgroundColor .nav>li.quick-cart p {
	color:#000;
}
#barMain .nav>li.quick-cart>.dropdown-menu {
	border:0; margin:0;
	background-color:#F0F0F0;
	width:250px;
}
#barMain .nav>li.quick-cart .quick-cart-content {
	padding:10px 10px 0 10px;
}
#barMain .nav>li.quick-cart p {
	margin:0; padding:10px 10px 0 10px;
	font-size:13px;
}
#barMain .nav>li.quick-cart a.quick-cart-item {
	clear: both;
	display: block;
	padding: 10px 8px;
	font-size: 13px;
	line-height: 16px;
	min-height: 60px;
	text-decoration: none;
	border-bottom: rgba(0,0,0,0.1) 1px solid;
	background: rgba(0,0,0,0.05);
}
#barMain .nav>li.quick-cart a.quick-cart-item,
#barMain .nav>li.quick-cart a.quick-cart-item a {
	color:#999 !important;
}
#barMain .nav>li.quick-cart a.quick-cart-item:hover {
	background: rgba(0,0,0,0.08);
}
#barMain .nav>li.quick-cart .cart-footer {
	margin-top:10px;
}





/** Responsive Top Nav
 **************************************************************** 
*@media only screen and (max-width: 0px) {
*	#topNav ul.nav>li a {
*		/*padding: 15px 20px;*/
*	}
*}
*
**/

@media only screen and (max-width: 0) {
/*
	.navbar-collapse {
		max-height:100%;
	}
	#topNav .container {
		padding:0;
		margin:0;
	}

 	#topNav button.btn-mobile {
		display:block;
		float:right;
		margin-right:15px;
	}
	
	#topNav form.search {
		float:left;
		margin-top:10px;
		margin-left:15px;
		margin-bottom:0;
	}

	#topNav nav.nav-main {
		background-color:#fff;
	}
	#topNav div.nav-main-collapse,
	#topNav div.nav-main-collapse.in {
		width: 100%;
		margin:50px 0 0 0;
	}
	#topNav div.nav-main-collapse {
		float: none;
		overflow-x:hidden;
	}
	
	#topNav div.nav-main-collapse.collapse {
		display: none !important;
	}
	#topNav div.nav-main-collapse.in {
		display: block !important;
	}
	#topNav div.nav-main-collapse {
		position: relative;
	}


	#topMain>li>a>span {
		display:none !important;
	}
	
	#topMain li {
		display:block !important;
		float:none;
		text-align:left;

		-webkit-border-radius: 0;
		   -moz-border-radius: 0;
				border-radius: 0;
	}
	#topMain>li>a {
		text-align:left;
		border:0;
		border-bottom:rgba(0,0,0,0.1) 1px solid;

		-webkit-border-radius: 0;
		   -moz-border-radius: 0;
				border-radius: 0;
	}
	#topMain>li:hover,
	#topMain>li:hover>a {
		border-top:0 !important;
	}

	#topNav ul.nav>li>a:after {
		content: "\f107";
		font-family: FontAwesome;
		position: absolute;
		font-size: 14px;
		right: 20px;
		top: 15px;
		color:#999;
	}
*/
	/* submenu */
	/*
	#topMain ul.dropdown-menu {
		position: static;
		clear: both;
		float: none;
		display: none !important;
		border-left:0 !important;

		-webkit-box-shadow: none;
		   -moz-box-shadow: none;
				box-shadow: none;
	}

	#topNav nav.nav-main li.resp-active > ul.dropdown-menu {
		display: block !important;
		margin-left:30px;
		margin-right:30px;
		padding:20px 0;
		border-right:0;
	}
	#topNav nav.nav-main li.resp-active > ul.dropdown-menu li {
		border-left:0;
	}

	#topNav ul.nav>li:hover>a:before, 
	#topNav ul.nav>li.active>a:before {
		background-color:transparent;
	}

	#topNav ul.dropdown-menu>li:hover > ul.dropdown-menu {
		position:static;
	}
*/
	/* mega menu */
	/*
	#topNav ul.nav>li.mega-menu>ul.dropdown-menu>li {
		padding:0; margin:0 30px 0 0;
		border:0;

		-webkit-box-shadow: none;
		   -moz-box-shadow: none;
				box-shadow: none;	
	}
	#topNav ul.nav>li.mega-menu h3 {
		margin-left:8px;
	}
	#topNav ul.nav>li.mega-menu>ul li>a {
		border-bottom: rgba(0,0,0,0.1) 1px solid;
	}
	#topNav ul.nav>li.mega-menu div,
	#topNav ul.nav>li.mega-menu div div {
		border:0; margin-bottom:30px;
		display:block;
		width:100%;
	}
	#topNav ul.nav>li.mega-menu div div:last-child {
		margin-bottom:0;
	}
	*/
}



@media only screen and (max-width: 1199) {

	#topNav form.search {
		margin-left:4px;
	}
 	#topNav button.btn-mobile {
		margin-right:4px;
	}

	#topBar a.logo {
		display:block;
		text-align:center;
		margin:6px 0;
		float:none;
	}

	.hide_mobile {
		display:none;
	}
}

