#subMenu {
	z-index: 3001!important;
}
#subMenu div.togglesubmenu {
	text-transform: uppercase;
	color: #FFFFFF;
	display: block;
	position: absolute;
	left: calc(100% - 1.95rem);
	top: 2.6rem;
	transform: rotate(90deg);
	padding: 0rem 2rem 0rem 0.625rem;
	line-height: 2.5rem;
	font-size: 1.1rem;
	width: 4rem;
	cursor: pointer;
}
#subMenu.chiuso div.togglesubmenu {
	background: url("../../images/pubblico/submenu_apri.svg") no-repeat;
	background-position: calc(100% - 0.25rem) center;
	background-size: 1.4rem auto;
	background-color: #FF0000;
}
#subMenu.aperto div.togglesubmenu {
	background: url("../../images/pubblico/submenu_chiudi.svg") no-repeat;
	background-position: calc(100% - 0.25rem) center;
	background-size: 1.4rem auto;
	background-color: #FF0000;
}
#subMenu h3  {
	text-transform: uppercase;
	color: #FF0000;
	margin: 0.3125rem 0.625rem;
	padding: 0.3125rem 0;
	display: inline-block;
	width: auto;
}
#subMenu ul {
	margin: 0.3125rem 0.625rem;
	padding: 0.3125rem 0;
	list-style-type: none;
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	flex-flow:column nowrap;
}
#subMenu ul ul {
	margin: 0.3125rem 0;
}
#subMenu ul ul ul {
	background: #F9F9F9;
}
#subMenu ul li a {
	text-decoration: none;
	color: #000;
}
#subMenu ul li a {
	font-size: 1.1rem;
	background-color: #EEEEEE;
	padding: 0.15rem 1.6rem 0.15rem 0.25rem;
	width: 15rem;
	display: inline-block;
}
#subMenu ul li ul li a {
	font-size: 1rem;
	background: none;
	background: url("../../images/pubblico/ul_li_li_submenu.svg") no-repeat;
	background-size: auto 0.625rem;
	background-position: 0.4125rem center;
	padding: 0.15rem 0.25rem 0.15rem 1.5rem;
}

#subMenu ul li ul li.selected > a {
	background: url("../../images/pubblico/ul_li_li_li_submenu.svg") no-repeat;
	background-size: auto 0.625rem;
	background-position: 0.4125rem center;
	color: #FF0000;
	font-weight: 700;
}
#subMenu ul li ul li ul li a {
	font-size: 0.9rem;
}

#subMenu ul li ul li ul li ul li a {
	font-size: 0.8rem;
}
#subMenu > ul > li > a { /* aggiunto da matteo */
	font-weight: bold;
}



aside#subMenu {
	width: auto;
	padding: 0 15px 0 0;
	margin: 0 0 0 0;
	border: 1px solid #EEE;
	position: fixed;
	left: 0;
	top: 15rem;
	background: #FFFFFF;
	z-index: 2900;
	max-height: calc(100vh - 15rem);
	height: auto;
	transition: width ease-in-out 300ms;
}
aside#subMenu.aperto {
	width: 19rem;
}
aside#subMenu.chiuso {
	width: 0;
	padding: 0 0 0 0;
}
#subMenuContainer {
	max-height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	display: block;
	position: static;
	top: 3rem;
	left: 0;
	width: 100%;
	max-height: calc(100vh - 18rem);
	height: auto;
	padding: 0 15px 0 0;
}
aside#subMenu ul {
}
aside#subMenu ul ul {
}
#subMenuContainer > ul > li > a {
	margin: 0.1rem 0;
}
#subMenu ul ul.ultimo {
	display: none;
}
/* Smartphones ----------- */
@media only screen and (max-width : 1200px) {
aside#subMenu {
}
}
/* ipad desktop ----------- */
@media only screen and (min-width : 1201px) {

/* parte aggiunta da matteo */
/*#subMenu li ul.ultimo li{ 
	height: 0 !important;
	overflow: hidden;
}
#subMenu ul.ultimo:hover li{
	height: unset!important;
}
#subMenu li:hover > ul.ultimo li{
	height: unset!important;
} */
}