/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert,  {
   margin-left: 1px;
   margin-right: 1px;
   baxground-color:#fff
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   width: 100%;
   float:left;
   padding:5px 0 6px;
   border-bottom:1px dotted #bbb;
   background-image:url(images/menu_vert_bg.gif); background-position: left bottom;
   background-repeat:repeat-x;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul, #meta_menu ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul li { font-weight:bold }
#menu_horiz{background-color:#fff}
#primary-nav ul, #menu_horiz ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li, #menu_horiz li, #meta_menu li { 
   margin-left: -1px;
   float: left; 
   font-weight:normal; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a, #menu_horiz a, #header #meta_menu a { 
   display: block; 
   margin: 0px; 
   padding: 2px 7px; 
   text-decoration: none;
   color: #E50088;
}
#primary-nav a:hover, #menu_horiz a:hover, #header #meta_menu a:hover{
  /*color: #0286E3;*/
  text-decoration:underline;
   
}
/*
#primary-nav li a, #menu_horiz li a, , #header #meta_menu a { 
   border-right: 1px solid #C0C0C0;
   border-left: 1px solid #C0C0C0;
}
#primary-nav li li a { 
   border: 1px solid #C0C0C0;
}
	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #E50088; 
}
*/
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   color: #0286E3; 
   
}
#primary-nav li.menuactive a{ 
   color: #fff; 
   background-color:#E50088;
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   /*background-color: #E89CCF;*/ 
   color:white;
}



/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}

/*  menu_orizzontale  */
/*
#menu_horiz { padding-bottom:2em; }
#menu_horiz ul ul { list-style:none }
#menu_horiz ul ul li {  margin-bottom:0.3em; font-size:.95em}
#menu_horiz ul ul li a {  text-decoration:none; font-weight:normal; background: #fff url('images/cms/arrow_side.gif') no-repeat left center; padding-left:10px; 
}
#menu_horiz ul ul li.currentpage h3 {  text-decoration:none; font-weight:normal; padding-left:10px; font-size:1em; margin:0 
}

#menu_horiz ul ul li a:hover {  text-decoration:underline; }
*/

#menu_vert_2{margin-left:0px; margin-top:0px; float:left; padding:5px 0; width:100%; background-image:url(images/menu_vert_2_bg.gif); background-position: left top; background-repeat:repeat-x;
*position:relative; *top:-2px;
}
#menu_vert_2 ul li{display:inline; list-style:none; float:left}
#menu_vert_2 ul li a{ display:block; color:#0286E3; text-decoration:none; padding:2px 7px }
#menu_vert_2 ul li a:hover{ text-decoration:underline }
#menu_vert_2 ul li.currentpage h3, #meta_menu ul li.currentpage h3 { display:block; background-color:#E50088; color:#fff; font-weight:normal; font-size:1em; margin:0; padding: 2px 7px; }
#menu_vert, #menu_vert_2 { margin-left:0px; margin-bottom:2px; }

/* End of 'Navigation: CSSMenu - Horizontal' */

