/* General styles for all menus */
#header .cbp-spmenu { background-color:#FFF; position: fixed; z-index: 999; }
#header .cbp-spmenu ul, #header .cbp-spmenu ul li { list-style: none; padding: 0; margin: 0; line-height: 19px; width: 100%; float: left; position: relative; }
#header .cbp-spmenu nav > ul { padding-top: 60px; }
#header .cbp-spmenu ul li { border-top: 1px solid #444; }
#header .cbp-spmenu ul li ul.sub-menu { left: -500px; position: fixed; width:480px; max-width:90%; height: 100%; overflow: auto; text-align: left; top: 0; z-index: 9999; background-color: #fcfcfc; padding-top: 60px; display:inline-block }
/*#header .cbp-spmenu ul li ul li { border-bottom: none; border-top: 1px solid  #000; }*/
#header .cbp-spmenu ul li.down > a { display: none; }
#header .cbp-spmenu ul ul { margin: 0; width: 100%; }
#header .cbp-spmenu a { color:#000; font-family:"Poppins"; font-size:11px; padding: 10px 20px; text-transform: uppercase; position: relative; cursor: pointer; float: left; text-decoration: none; width: 100%; box-sizing: border-box; letter-spacing: 1px; }
/*#header .cbp-spmenu nav > ul > li:hover a { color: #C1C1C1; }
#header .cbp-spmenu nav > ul > li > ul > li:hover a { color: #000; }*/

#header .cbp-spmenu li li a { padding: 10px 20px; }
#header nav.cbp-spmenu > nav ul li.menu-item-has-children .morelink, #header nav.cbp-spmenu > nav ul li.mega_menu_indirizzi .morelink { height: 100%; position: absolute; right: 0; top: 0; width: 100%; z-index: 21; }
#header nav.cbp-spmenu > nav ul li.menu-item-has-children .morelink .fa, #header nav.cbp-spmenu > nav ul li.mega_menu_indirizzi .morelink .fa { float: right; top: 0; position: relative }
#header nav.cbp-spmenu > nav ul li.menu-item-has-children .morelink > a, #header nav.cbp-spmenu > nav ul li.mega_menu_indirizzi .morelink > a { border: 0 none; font-size: 25px; }
/* Orientation-dependent styles for the content of the menu */

#header .cbp-spmenu-vertical { height: 100vh !important; overflow: auto; text-align: left; top: 0; width:480px; max-width:90%; z-index: 9999999; }
/* Vertical menu that slides from the left or right */

.cbp-spmenu-left { left: -500px; }
.cbp-spmenu-right { right: -500px; border-left:1px solid #000 }
.cbp-spmenu-left.cbp-spmenu-open { left: 0px; }
.cbp-spmenu-right.cbp-spmenu-open { right: 0px; }
/* Horizontal menu that slides from the top or bottom */

.cbp-spmenu-top { top: -150px; }
.cbp-spmenu-bottom { bottom: -150px; }
.cbp-spmenu-top.cbp-spmenu-open { top: 0px; }
.cbp-spmenu-bottom.cbp-spmenu-open { bottom: 0px; }
/* Push classes applied to the body */

.cbp-spmenu-push { overflow-x: hidden; position: relative; left: 0; }
.cbp-spmenu-push-toright { left: 240px; }
.cbp-spmenu-push-toleft { left: -240px; }
/* Transitions */

#header .cbp-spmenu, #header .cbp-spmenu-push { -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease; }
#header #cbp-spmenu-s1 > button#closemenu_mobile, #header nav ul ul.sub-menu span.toback { position: absolute; top: 0; left: 0; }
#header nav ul ul.sub-menu span.toback a { padding: 20px; font-size: 10px; font-weight:700; color: #444;}
#header #cbp-spmenu-s1 > button#closemenu_mobile {
	color: #000;
	font-size: 10px;
	font-weight: 700;
	padding: 10px 20px;
	text-transform: uppercase;
	cursor: pointer;
	float: left;
	text-decoration: none;
	width: 100%;
	box-sizing: border-box;
	letter-spacing: 1px;
	background-color: transparent;
	border: 0;
	text-align: left;
	/* cursor: pointer; */
	z-index: 2;
}
#header .cbp-spmenu > nav > ul > li.evidenziato > a {  background-color:#eee; }
#header .cbp-spmenu > nav > ul > li.evidenziato .morelink .fa {  }
#header .cbp-spmenu .mega_menu_indirizzi .inside-megamenu { margin-bottom:40px;}
#header .cbp-spmenu .mega_menu_indirizzi .title_block_submenu {
	text-transform: uppercase;
	background-color: #ec7e23;
	color: #FFF !important;
	padding: 8px 20px;
	font-size: 12px;
	letter-spacing: 1px;
	font-weight: 600;
}