.cbp-hrmenu {
	width: 100%;
	margin-top: 0px;/*modif->margin-top: 2em;*/
	border-bottom: 4px solid #ff393c; /*modif->#47a3da  */
	font-size: 17px;/*agg*/
}

/* general ul style */
.cbp-hrmenu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/* first level ul style */
.cbp-hrmenu > ul,
.cbp-hrmenu .cbp-hrsub-inner {
	width: 90%;
	max-width: 70em;
	margin: 0 auto;
	padding: 0 1.875em;
}

.cbp-hrmenu > ul > li {
	display: inline-block;
}

/*aggiunta*/.mta1 {
	text-align:right !important;
}

/*aggiunta*/.mta2 {
	text-align:left !important;
}

.cbp-hrmenu > ul > li > a {
	font-weight: 400;
	padding:25px 18px 15px 18px; /*modif*/
	color: #8f97a2;/*modif 8f97a2 */
	display: inline-block;
}

/*aggiunta*/.cbp-hrmenu > ul > li > h6 > a {
	font-weight: 400;
    font-size: 17px;
    padding: 25px 18px 15px 18px;
    color: #8f97a2;/*modif 8f97a2*/
}

/*aggiunta*/.actualpage {
	font-weight: 700 !important;
    border-top: 4px solid #ff393c;
    padding-top: 21px !important;
}

.h4menu {
	color:#000000 !important;
}

.cbp-hrmenu > ul > li > a:hover, .cbp-hrmenu > ul > li > h6 > a:hover {
	color: #ff393c; /* #ff393c*/
}

.cbp-hrmenu > ul > li.cbp-hropen a,
.cbp-hrmenu > ul > li.cbp-hropen > a:hover {
	color: #000000;
	background: #ff393c;
}

/*aggiunta*/.h4menu:hover, .mta2 a:hover {
	opacity:0.8;
}

/* sub-menu */
.cbp-hrmenu .cbp-hrsub {
	display: none;
	position: absolute;
	background: #ff393c;
	width: 100%;
	left: 0;
}

/* Gestione Green Menu Big -----------------------------------  */
.h4menu.green {
	color:#588e76 !important;
}


.cbp-hrmenu > ul > li.green > a {
	font-weight: 400;
	font-size: 19px;
	padding:25px 18px 15px 18px;
	color: #588e76;/*modif 8f97a2 */
	display: inline-block;
}

/*aggiunta*/.cbp-hrmenu > ul > li.green > h6 > a {
	font-weight: 400;
    font-size: 17px;
    padding: 25px 18px 15px 18px;
    color: #588e76;/*modif 8f97a2*/
}

/*aggiunta*/.actualpage.green {
	font-weight: 700 !important;
    border-top: 4px solid #affdc3;
    padding-top: 21px !important;
}

.cbp-hrmenu > ul > li.green > a:hover, .cbp-hrmenu > ul > li.green > h6 > a:hover {
	color: #affdc3; /* #ff393c*/
}

.cbp-hrmenu > ul > li.green.cbp-hropen a,
.cbp-hrmenu > ul > li.green.cbp-hropen > a:hover {
	color: #588e76;
	background: #affdc3;
}

/* sub-menu */
.cbp-hrmenu .cbp-hrsub.green {
	display: none;
	position: absolute;
	background: #affdc3;
	width: 100%;
	left: 0;
}

.cbp-hropen .cbp-hrsub.green {
	display: block;
	padding-bottom: 20px;
	z-index: 1500; /*aggiunta*/
}

.cbp-hrmenu .cbp-hrsub-inner.green > div {
	width: 50%;
	float: left;
	padding: 0 2em 0;
}

.cbp-hrmenu .cbp-hrsub-inner.green:before,
.cbp-hrmenu .cbp-hrsub-inner.green:after {
	content: " ";
	display: table;
}

.cbp-hrmenu .cbp-hrsub-inner.green:after {
	clear: both;
}

.cbp-hrmenu .cbp-hrsub-inner.green > div a {
	line-height: 2em;
}

.cbp-hrsub.green h4 {
	color: #afdefa;
	padding: 30px 0 10px 0;
	margin: 0;
	font-size: 160%;
	font-weight: 300;
}

/* Fine Gestione Green --------------------------- */

.cbp-hropen .cbp-hrsub {
	display: block;
	padding-bottom: 20px;
	z-index: 1500; /*aggiunta*/
}

.cbp-hrmenu .cbp-hrsub-inner > div {
	width: 50%;
	float: left;
	padding: 0 2em 0;
}

.cbp-hrmenu .cbp-hrsub-inner:before,
.cbp-hrmenu .cbp-hrsub-inner:after {
	content: " ";
	display: table;
}

.cbp-hrmenu .cbp-hrsub-inner:after {
	clear: both;
}

.cbp-hrmenu .cbp-hrsub-inner > div a {
	line-height: 2em;
}

.cbp-hrsub h4 {
	color: #afdefa;
	padding: 30px 0 10px 0;
	margin: 0;
	font-size: 160%;
	font-weight: 300;
}

/* Examples for media queries */
@media all and (max-width: 1199px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
	/*aggiunta*/.actualpage {
		padding-top: 29px !important;
	}
		/*aggiunta*/.actualpage.green {
			padding-top: 29px !important;
		}
	
	/*aggiunta*/h6 {
		margin:0;
	}
	.cbp-hrmenu > ul > li > a, .cbp-hrmenu > ul > li > h6 > a { 
		display: block;
		padding: 25px 7px 15px 7px;
	}
}
@media all and (max-width: 991px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
	.cbp-hrmenu {
		border: none;
/* 	    background-color: #ff393c; */
		background-color: #acb6c3;
	}

	.cbp-hrmenu > ul,
	.cbp-hrmenu .cbp-hrsub-inner {
		width: 100%;
		padding: 0;
	}

	.cbp-hrmenu .cbp-hrsub-inner {
		padding: 0 2em;
		font-size: 75%;
	}

	.cbp-hrmenu > ul > li {
		display: block;
/* 		border-bottom: 4px solid #ff393c; */
	}

	.cbp-hrmenu > ul > li > a, .cbp-hrmenu > ul > li > h6 > a { 
		display: block;
    	padding: 8px 3em;
		color: #283645; /*#802e2e;*/
	}
	
	/*aggiunta*/.cbp-hrmenu > ul > li > a:hover, .cbp-hrmenu > ul > li > h6 > a:hover { 
		color: #acb6c3;
	}
	
	h6 {
		margin:0;
	}
	
	.actualpage {
		border-top:none;
		padding: 8px 3em !important;
	}

	.cbp-hrmenu .cbp-hrsub { 
		position: relative;
	}

	.mta1 {
		text-align: left !important;
	}
	
	.cbp-hrsub h4 {
	padding: 0px 0 10px 0;
	}


	/* Gestione Green Menu small -----------------------------------  */
	.actualpage.green {
		border-top:none;
		padding: 8px 3em !important;
	}
	.cbp-hrmenu > ul > li.green.cbp-hropen a,
	.cbp-hrmenu > ul > li.green.cbp-hropen > a:hover {
		color: #588e76;
		background: #affdc3;
	}
	
	/* Gestione Green Menu  small FINE --------------------------------*/
	.libg1 {
    background-color: #ff393c;
	}

	.libg2 {
		background-color: #da2f2f !important;
	}

	.libg3 {
		background-color: #11ce1b !important;
	}

	.libg4 {
		background-color: #affdc3 !important;
	}

	.libg5 {
		background-color: #ddd9d9;
	}
	
}
@media all and (max-width: 767px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) { 
	.cbp-hrmenu .cbp-hrsub-inner > div {
		width: 100%;
		float: none;
		padding: 0 3em !important;
	}
}