﻿/*-------------------------------------------------------------------------------------
	
	1.	Menu
		1.1		Top menu
		1.2		Menu
		1.2.a	Tematiche
	
-------------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------*/
/*	1.1	Top menu
/*-----------------------------------------------------------------------------------*/
.toggleTopMenu {display:none;}
ul.top-menu {
	position:relative;
	margin: 0 0 30px 0;
	background-image: url(/images/horisontal-dots.png);
	background-repeat: repeat-x;
	background-position: left bottom;
	height:30px;
	padding-top: 10px;
	padding-bottom: 10px;
}
ul.top-menu li {
	line-height: 30px;
	border-right: 1px solid #e1e1e1;
	padding-right: 10px;
	padding-left: 10px;
	float: left;
	position: relative;
}
ul.top-menu li:first-child {
	padding-left: 0px;
}
ul.top-menu ul li:last-child {
	border-bottom: none;
}
ul.top-menu ul li {
	line-height: 30px;
	border-bottom: 1px #e1e1e1 solid;
	border-right: none;
	padding: 0;
	float: left;
	position: relative;
}
ul.top-menu ul li a{
	padding-left: 10px;
	padding-right: 10px;
}
ul.top-menu li:last-child {
	border-right:none;
	margin-right: 0px;
}
ul.top-menu a, ul.top-menu ul li a {color: #acacac;}
ul.top-menu a {
	display: block;
	position: relative;
	color: #acacac;
}
ul.top-menu li a:hover, ul.top-menu ul li a:hover {color: #252525;}
ul.top-menu li a:hover {
	color: #252525;
}
ul.top-menu li:hover {
	visibility: inherit;
}
ul.top-menu ul {
	position: absolute;
	top: -999em;
	margin: 0px;
	background-color: #fff;
	border: 1px #e1e1e1 solid;
}
ul.top-menu ul a {
	color: #252525;
	border-right: none;
}
ul.top-menu ul li {
	width: 100%;
}
ul.top-menu li:hover ul, ul.top-menu li.sfHover ul {
	left: 0;
	top: 30px; /* match top ul list item height */
	z-index: 99;
}
ul.top-menu li:hover li ul, ul.top-menu li.sfHover li ul {
	top: -999em;
}
ul.top-menu li li:hover ul, ul.top-menu li li.sfHover ul {
	left: 50px; /* match ul width */
	top: 0;
}
ul.top-menu li li:hover li ul, ul.top-menu li li.sfHover li ul {
	top: -999em;
}
ul.top-menu li li li:hover ul, ul.top-menu li li li.sfHover ul {
	left: 10em; /* match ul width */
	top: 0;
}
ul.top-menu a.sf-with-ul {
	padding-right: 10px;
	min-width: 1px;
}

ul.top-menu .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: 0px;
	height: 0;
	width: 0;
	border: 3px solid transparent;
	border-top-color: #acacac !important;
}
/*-----------------------------------------------------------------------------------*/
/*	1.2	Menu
/*-----------------------------------------------------------------------------------*/
.mobileMenu {
	display: none;
}
#menu {
	margin: 0 0 30px 0;
	padding: 0;
	line-height: 1.0;
	list-style: none;
	height: 50px;
	background-color: #252525;
	border-bottom-width:3px;
	border-bottom-style:solid;
}
#menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
#menu a {
	font-size: 16px;
	color: #FFF;
	line-height: 50px;
	padding: 0 15px;
	height: 50px;
	text-transform:uppercase;
	-webkit-transition: background-color .15s ease, color .15s ease, opacity .15s ease-in-out;
	-moz-transition: background-color .15s ease, color .15s ease, opacity .15s ease-in-out;
	-ms-transition: background-color .15s ease, color .15s ease, opacity .15s ease-in-out;
	-o-transition: background-color .15s ease, color .15s ease, opacity .15s ease-in-out;
	transition: background-color .15s ease, color .15s ease, opacity .15s ease-in-out;
	display: block;
	position: relative;
	border-right:1px solid #323232;
}
#menu i {
	color: #fff;
	font-family: 'FontAwesome';
	font-weight: normal;
	font-style: normal;
}
#menu ul {
	position: absolute;
	top: -999em;
	margin: 0px;
	background-color: #fff;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #e1e1e1;
	border-right-color: #e1e1e1;
	border-left-color: #e1e1e1;
}
#menu ul a {
	font-size: 13px;
	line-height: 35px;
	height: 35px;
	color: #252525;
	background-color: #FFF;
	border-bottom: 1px solid #e1e1e1;
	border-right: none;
}

#menu a:hover {
	color: #fff;
	text-decoration: none;
}

/* NEW STYLES */
#menu ul a:hover,
#menu ul li.sfHover a,
#menu ul li.current-cat a,
#menu ul li.current_page_item a,
#menu ul li.current-menu-item a {
	color: #252525;
	background-color: #F5F5F5;
}
#menu ul li {
	width: 100%;
}
#menu li {
	float: left;
	position: relative;
	margin: 0px;
	padding: 0px;
}
#menu li:hover {
	visibility: inherit;
}
#menu li:hover ul, #menu li.sfHover ul {
	left: 0;
	top: 50px; /* match top ul list item height */
	z-index: 99;
}
#menu li:hover li ul, #menu li.sfHover li ul {
	top: -999em;
}
#menu li li:hover ul, #menu li li.sfHover ul {
	left: 150px; /* match ul width */
	top: 0;
}
#menu li li:hover li ul, #menu li li.sfHover li ul {
	top: -999em;
}
#menu li li li:hover ul, #menu li li li.sfHover ul {
	left: 10em; /* match ul width */
	top: 0;
}
#menu a.sf-with-ul {
	padding-right: 2.25em;
	min-width: 1px;
}
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-top-color: #fff;
	border-top-color: rgba(255,255,255,0.5);
}
.sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: #fff;
}
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #000;
	border-left-color: rgba(0,0,0,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: #000;
}

/*-----------------------------------------------------------------------------------*/
/*	1.2.a	Tematiche
/*-----------------------------------------------------------------------------------*/
.tematiche-title {
	margin-bottom: 10px;
	clear:both;
	border-bottom: 3px solid;
	background-position: left bottom;
}
.tematiche-title h4 {
	display: inline-block;
	text-transform:uppercase;
	font-size: 14px;
	font-weight: 400;
}
.tematiche-title span {
	font-size: 12px;
	position:absolute;
	right:0px;
	text-align:right;
}
.tematiche-title span a{
	color:#acacac;
}
.tematiche-title span a:hover {
	color:#252525;
}