/* Start of CMSMS style sheet 'RIIMH nav' */
/********************
MENU VERTICAL
*********************/
#menu_vert {
   padding-left: 0;
   margin-left: 1em;
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;

}

#menu_vert ul ul li {
   border: none;
   padding: 0.3em 0.5em 0.3em 2.8em;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.8em 0.5em 0.8em 1.5em; /* some air for it */
   color: #D394FE; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat 0.5em center; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
   outline: none; /* prevent FF from showing border */
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 1em;
   padding: 0.5em 0.5em 0.5em 1em;
   background-position: 0 center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: #E6FD1C;
   color: #9F95FE;
   font-weight: bold;
}
div#menu_vert a.activeparent:hover {
   background-color: #E6FD1C;
  color: #9F95FE;
   font-weight: bold;
   
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   background: url(images/cms/arrow-down.gif) no-repeat 0.4em center; 
   background-color: #D394FE;
   color: #fff;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #D394FE;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   background: url(images/cms/arrow-right-active.gif) no-repeat 0.4em center;
   background-color: #D394FE;
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   
   color: #fff;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}


/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 90%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #9F95FE;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/arrow-right-active.gif) no-repeat 2.7em center; 
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}

/********************
MENU HORIZONTAL
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
   background: #A79CFC url(uploads/images/template/menu_horizbg.jpg) repeat-y top left;  /* background color for the entire menu row */
   width: 100%;
   margin: 0 auto;
   padding: 0;
   height: 35px;
}


/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0 0 0 1px;
   padding: 0;
   height: 35px;
   overflow: hidden;
}


/* menu list items */
div#menu_horiz li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0 ;
   padding: 0;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 14px;
   text-transform: lowercase;
   text-align: center;
   height: 35px;
   overflow: hidden;
   width: 116px;
   background: transparent url(uploads/images/template/menuBtnDivider.jpg) no-repeat center right;
 }


/* the links, that is each list item */
div#menu_horiz a {
   margin: 0 ;
   padding: 0 ;
   outline: none;
   text-decoration: none;
   color: #FFF;
   display: block; /* IE has problems with this, fixed above */
   float: left;
   overflow: hidden;
   height: 35px;
   width: 116px;
   background: transparent url(uploads/images/template/menubuttons.gif) no-repeat scroll bottom left;
}


/* hover state for links */
div#menu_horiz li a:hover {
    font-weight: bold;
   color: #9F95FE;
   margin: 0:
   padding: 0;
   overflow: hidden;
   height: 35px;
   width: 116px;
   background: transparent url(uploads/images/template/menubuttons.gif) no-repeat center left;
}
div#menu_horiz a.activeparent:hover {
   color: #9F95FE;
   padding: 0 ;
   margin: 0:
   padding: 0;
   overflow: hidden;
   height: 35px;
   width: 116px;
   background: transparent url(uploads/images/template/menubuttons.gif) no-repeat bottom left;

}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
   color: #fff;
   margin: 0:
   padding: 0;
   overflow: hidden;
   height: 35px;
   background: transparent url(uploads/images/template/menubuttons.gif) no-repeat ;


}

div#menu_horiz h3 {
   margin: 0;
   padding: 0;
   overflow: hidden;
   height: 35px;
   background-image: url(uploads/images/template/menubuttons.gif);
   background-repeat: no-repeat;
   text-decoration: none; /* no underline for links */
   color: #fff;
   display: block; /* IE has problems with this, fixed above */
   font-size: 16px; 
   width: 116px;                      
}

div#menu_horiz h3 span, div#menu_horiz a span {
    display: block;
    line-height: 25px;
    padding: 5px 0;

}

/* End of 'RIIMH nav' */

