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

#menu_vert {
   margin: 0 1px;
   /*margin-left: 1px;*/
   /*margin-right: 1px;*/
}

#menu-right {
   border-right: 1px solid #358;
   margin-right: -1px;
   height: 1.8em;
   float: right;
}

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

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #ddd;
   border-width: 1px 0 1px 0;
   border-style: solid dotted solid solid;
   border-color: #358;
   width: 100%;
}

/* 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 { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#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 { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #358;
   font-weight: bold;
}
#primary-nav li a { 
   border-right: 1px solid #68a;
   border-left: 1px solid #68a;
}
#primary-nav li li a { 
   border: 1px solid #358;
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #cde;
}

/* Styling the basic appearance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #4f6fa8; 
}
#primary-nav li.menuactive a {
   color: #fff;
}
#primary-nav li.menuactive li a {
   color: #358;
}
#primary-nav li.menuactive li a.menuactive {
   color: #fff;
}


/* 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: #eda;
}


/* 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%; 
}
/* End of 'Navigation: CSSMenu - Horizontal' */

/* Start of CMSMS style sheet 'Nifty Corners' */
/*Nifty Corners Cube CSS by Alessandro Fulciniti

The following classes are added dinamically by javascript,

and their use should be avoided in the markup */



b.niftycorners,b.niftyfill{display:block}

b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;

    overflow:hidden;border-style:solid;border-width: 0 1px}

/*normal*/

b.r1{margin: 0 3px;border-width: 0 2px}

b.r2{margin: 0 2px}

b.r3{margin: 0 1px}

b.r4{height: 2px}

b.rb1{margin: 0 8px;border-width:0 2px}

b.rb2{margin: 0 6px;border-width:0 2px}

b.rb3{margin: 0 5px}

b.rb4{margin: 0 4px}

b.rb5{margin: 0 3px}

b.rb6{margin: 0 2px}

b.rb7{margin: 0 1px;height:2px}

b.rb8{margin: 0;height:2px}

b.rs1{margin: 0 1px}

/*transparent inside*/

b.t1{border-width: 0 5px}

b.t2{border-width: 0 3px}

b.t3{border-width: 0 2px}

b.t4{height: 2px}

b.tb1{border-width: 0 10px}

b.tb2{border-width: 0 8px}

b.tb3{border-width: 0 6px}

b.tb4{border-width: 0 5px}

b.tb5{border-width: 0 4px}

b.tb6{border-width: 0 3px}

b.tb7{border-width: 0 2px;height:2px}

b.tb8{border-width: 0 1px;height:2px}

b.ts1{border-width: 0 2px}
/* End of 'Nifty Corners' */

