/* Start of CMSMS style sheet 'JPC menyCSS' */
/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */
div#toppmeny {
   font-size: 10px;
   color: #000;
   text-align: right;
   margin-right: 30px;
   padding-top: 7px;
}
div#toppmeny a {
   text-decoration: none;
   color: #000;
}
div#toppmeny a:hover {
   text-decoration: underline;
   background: transparent;
}
/* The wrapper determines the width of the menu elements */
#menuwrapper { 
   width: 100%; 
   margin-left: 22px;
   margin-top: 5px;
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   width: 210px; 
   margin-left: -1px;
   border-bottom: 3px solid #d0e0f0;
}
#primary-nav ul { 
   position: absolute; 
   top: 0; 
   left: 100%; 
   display: none; 
}
#primary-nav li { 
   margin-bottom: -1px; 
   position: relative; 
}
/* Unless you know what you do, do not touch this */ 
#primary-nav-under, #primary-nav-under ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   width: 210px; 
   margin-left: -1px;
   border-bottom: 3px solid #d0e0f0;
}
#primary-nav-under ul { 
   position: absolute; 
   top: 0; 
   left: 100%; 
   display: none; 
}
#primary-nav-under li { 
   margin-bottom: -1px; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   border-top: 2px solid #d0e0f0; 
   /* border-bottom: 2px solid #d0e0f0; */
   display: block; 
   margin: 0px; 
   padding: 2px 10px 3px; 
   text-decoration: none; 
   background: transparent; 
   min-height: 1em; /* Fixes IE7 whitespace bug*/ 
   font-size: 10px;
   font-weight: bold;
   color: #ffffff;
}
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #3c7fc1; 
   min-height:1em; /* Fixes IE7 bug*/
   width: 210px;
}
/* Styling the basic apperance of the menu elements */
#primary-nav-under a { 
   border-top: 2px solid #d0e0f0; 
   /* border-bottom: 2px solid #d0e0f0; */ 
   display: block; 
   margin: 0px; 
   padding: 2px 10px 3px; 
   text-decoration: none; 
   background: transparent; 
   min-height: 1em; /* Fixes IE7 whitespace bug*/ 
   font-size: 10px;
   font-weight: bold;
   color: #000000;
}
#primary-nav-under li, #primary-nav-under li.menuparent { 
   background-color: #FFFFFF; 
   min-height:1em; /* Fixes IE7 bug*/
   width: 210px;
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { 
   background-color: #d0e0f0; 
}
#primary-nav li.menuactive a { 
   color: #000;
}
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav-under li.menuactive { 
   background-color: #d0e0f0; 
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent, 
#primary-nav li.menuparent:hover, 
#primary-nav li.menuparenth { 
   background-image: url(''); 
   background-position: center right; 
   background-repeat: no-repeat; 
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav-under li.menuparent, 
#primary-nav-under li.menuparent:hover, 
#primary-nav-under li.menuparenth { 
   background-image: url(''); 
   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: #d0e0f0;
   color: #000000;
}
/* Styling the apperance of menu items on hover */
#primary-nav-under li:hover, 
#primary-nav-under li.menuh, 
#primary-nav-under li.menuparenth, 
#primary-nav-under li.menuactiveh { 
   background-color: #d0e0f0;
   color: #000000;
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#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; 
}
#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; 
}
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#primary-nav-under ul, 
#primary-nav-under li:hover ul, 
#primary-nav-under li:hover ul ul, 
#primary-nav-under li.menuparenth ul, 
#primary-nav-under li.menuparenth ul ul { 
   display: none; 
}
#primary-nav-under li:hover ul, 
#primary-nav-under ul li:hover ul, 
#primary-nav-under ul ul li:hover ul, 
#primary-nav-under li.menuparenth ul, 
#primary-nav-under ul li.menuparenth ul, 
#primary-nav-under ul ul li.menuparenth ul { 
   display: block; 
}

/* IE Hack, will cause the css to not validate */

#primary-nav li, #primary-nav li.menuparenth { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; }


/* section header */
#primary-nav li.sectionheader {
   border-left: 1px solid #006699; 
   border-top: 1px solid #006699; 
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0.5em;
   background-color: #fff;
   margin: 0;
   width: 100%;
}


/* separator */
#primary-nav li hr.separator {
   display:block;
   height: 0.5em;
   color: #abb0b6;
   background-color: #abb0b6;
   width: 100%;
   border:0;
   margin:0;
   padding:0;   
   border-top: 1px solid #006699;
   border-right: 1px solid #006699;
}

/* End of 'JPC menyCSS' */

