/* Main menu */
#top-header{
	height: 0px;
	width:100%;
	margin:auto;
}

#app-header{
	height: 1px;
	width: 150px;
	margin-left: 500px;
	/*color:#ffdb61;*/
	color:white;
}

#customer-header{
	text-align:right;
}

#main-header{
	width: 95%;
	height: 25px;
	/*margin:auto;*/
}

#navMenu
{
	height: 25px;
	float: left;
	display: inline-block;
}

#navUserMenu
{
	float:right;
	
}

#navUserMenu a ,
#navUserMenu span
{
	padding: 0px 0px 0px 40px;
	color: #ffdb61;
	text-align: right;
	font: bold 10px/17px Arial, Helvetica;
	text-decoration: none;
}

#menu
{
	width: 100%;
	list-style: none;  
	margin: 0;
	padding: 10px 0 0 0;
}

#menu li
{
	float: left;
	padding: 0px 0px 10px 0px;
	position: relative;
	line-height: 0;
}

#menu a 
{
	float: left;
	height: 25px;
	padding: 0 20px;
	color: #ffffff;
	/* text-transform: uppercase; */
	font: bold 12px/8px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#menu li:hover > a
{
	color: #FFFFFF;
}

html #menu li a:hover /* IE6 */
{
	color: #FFFFFF;
}

#menu li:hover > ul
{
	display: block;
}

/* Sub-menu */

#menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 9999;    
    background: #002868;
    background: -moz-linear-gradient(#002868, #002868);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #002868),color-stop(1, #002868));
    background: -webkit-linear-gradient(#002868, #002868);    
    background: -o-linear-gradient(#002868, #002868);	
    background: -ms-linear-gradient(#002868, #002868);	
    background: linear-gradient(#002868, #002868);
    -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul ul
{
  top: 0;
  left: 150px;
}

#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #002868, 0 2px 0 #FFFFFF;
    -webkit-box-shadow: 0 1px 0 #002868, 0 2px 0 #FFFFFF;
    box-shadow: 0 1px 0 #002868, 0 2px 0 #FFFFFF;
}

#menu ul li:last-child
{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

#menu ul a
{    
    padding: 10px;
	height: 10px;
	width: 130px;
	height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
	text-transform: none;
	border-top: 1px solid #002868;
}

html #menu ul a /* IE6 */
{    
	height: 10px;
}

:first-child+html #menu ul a /* IE7 */
{    
	height: 10px;
}

#menu ul a:hover
{
	background: #778aa9;
	border-top: 1px solid #ffffff;
	/*
    
	background: linear-gradient(#002868, #004ac2);
    background: -moz-linear-gradient(#002868, #004ac2);	
	background: -webkit-gradient(linear, left top, left bottom, from(#002868), to(#004ac2));
	background: -webkit-linear-gradient(#002868, #004ac2);
	background: -o-linear-gradient(#002868, #004ac2);
	background: -ms-linear-gradient(#002868, #004ac2);
	background: linear-gradient(#002868, #004ac2);
	*/
}

#menu ul li:first-child > a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child > a:after
{
	/* TRIANGOLO */
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #002868;
}

#menu ul ul li:first-child a:after
{
	/* TRIANGOLO */
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #ffffff;
}

#menu ul li:first-child a:hover:after
{
	/* TRIANGOLO */
    border-bottom-color:#FFFFFF; 
}

#menu ul ul li:first-child a:hover:after
{
    border-right-color:#FFFFFF;
    border-bottom-color: transparent; 	
}


#menu ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after 
{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

/* MENU A TENDINA CON AZIONI SULLE LISTE*/
#nav {
    margin:0;
    padding:0;
    list-style:none;
    list-style-type: none;
    width: 100%;
    text-align: center;
}   
 
#nav li {
    float:left;
    display:block;
    width:100%;
    position:relative;
    margin:0 1px;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
     transition: all 0.1s ease-in-out;
}
#nav li.first {
   /*-moz-border-radius:5px 0 0 5px;
    -webkit-border-radius:5px 0 0 5px;
    border-radius:5px 0 0 5px;*/
    }
#nav li.last {
        -webkit-border-radius:0 5px 5px 0;
    -moz-border-radius:0 5px 5px 0;
        border-radius:0 5px 5px 0;
    }
#nav li li.last {
        -webkit-border-radius:0 0 5px 5px;
    -moz-border-radius:0 0 5px 5px;
        border-radius:0 0 5px 5px;
    }
#nav li a {
    font-weight:700;
    height:23px;
    text-decoration:none;
    color:#FFFFFF;
    margin: 0px;
    display: block;
    width: 100%;
    height: 100%;
}
#navMenuList li a {
    padding-top:8px;
    padding-bottom:8px;
}
#nav ul li a {
    padding-top:8px;
    padding-bottom:8px;
}
#nav li a:hover {
    color:#002868 !important;
}
#nav li li:hover {
	
    /*SPOSTA IL MENU 
    -webkit-transform: translate(+20px,0);*/
    background-color:#002868;
    }
#nav a.selected {
    color:red;
}
#nav ul {
    position:absolute;
    right:0;
    display:none;
    margin:0 0 0 -1px;
    padding:0;
    list-style:none;
    border-left: 2px solid #002868;
    border-right: 2px solid #002868;
    border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    z-index:1;
}

#nav ul li {
    /*width:100px;*/
    width:140px;
    float:left;
	/*mette il rigino di separazione ai sottomenu */
    /*border-top:1px solid #fff;*/
    border-top:1px solid #002868;
    /*background:#eff5fe;*/
    background:#FFFFFF;
    display:block;
    height:auto;
    text-align:center;
    font-weight:700;
    padding: 0px;
}
#nav ul a {
    
    color:#002868;
}
#nav ul a:hover {
    
	color:#FFFFFF !important;
}

#nav ul .InactiveLiMenu{
	color: #7d7d7d;
    padding: 3px;
    padding-right: 6px;
    padding-left: 6px;
    background-color: #cabfbf;
    border-color: #545252;
}

#nav ul .InactiveLiMenu:hover{
	
}


table {
	overflow:visible!important;
}

/* MENU SPECIFICO DI PAGINA, CON FUNZIONALITA' NELLA SEZIONE*/
#navMenuPage {
	list-style-type: none;
	margin: 0;
    padding: 0;
    float: right;
    margin-top: 4px;
    margin-bottom: 4px;
}

#navMenuPage li {
    float: left;
    padding: 3px;
    padding-left: 6px;
    padding-right: 6px;
    height: auto;
    text-align: center;
    margin-right: 10px;
    background-color: #002868;
    color:#ffffff;
    border-radius: 8px;
    border: 2px solid;
    border-color: #002868;
    
}

#navMenuPage .InactiveLiMenu{
	color: #5e5e5e;
    background-color: #cacaca;
    border-color: #5e5e5e;
}

#navMenuPage li:first-child {
	    
	
}

#navMenuPage li:hover {
  	background-color:#778aa9;  	
}


#navMenuPage li a {
    /*
    text-decoration: none;
    color:#FFFFFF;
    font-weight: bold;
    display: block; 
    padding: 3px;
    
    
    padding-right: 6px;
    padding-left: 6px;
    border: 1px solid #002868;
    */
    
}

#navMenuPage li a:hover {
  	border-color: #FFFFFF;
}


#navMenuPage .InactiveLiMenu:hover{
	background-color: #a7a4ca;
	
}

#nav ul .InactiveLiMenu{
	color: #494779;
    padding: 3px;
    padding-right: 6px;
    padding-left: 6px;
    background-color: #cabfbf;
    border-color: #545252;
}

#nav ul .InactiveLiMenu:hover{
	background-color: #cabfbf !important;
	border: 1px solid #cabfbf;
	color: #494779 !important;
}
