/* Start of CMSMS style sheet 'menu-sg' */
#sgmenuwrapper {
  margin: 0 auto;
}

#sgmenumain {
   position: relative;
   z-index: 1;
   margin-left: 1px;
   margin-right: 1px;
   width: 550px; 
   height: 54px;
   background: #fff url(images/bg_nav.jpg)  top left no-repeat;
}

/* The wrapper clears the floating elements of the menu */

  /* Fix for Opera 8 */
   .clearb { clear: both; }
   #sgmenuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   width: 100%;
}


#sgprimary-nav li ul {
   position: absolute;
   margin: 0 0 0 -2px;
   padding: 4px 0;
   z-index: 10;
  width: 160px; 
  height: auto;
  background: transparent url(images/bg_subnav.gif) bottom left  no-repeat;
}

#sgprimary-nav, #sgprimary-nav ul { 
   list-style: none; 
   margin: -20px 0 0 70px;
   padding: 0px; 
}
#sgprimary-nav ul { 
   position: absolute; 
   bottom: auto;
   display: none; 
}
	
#sgprimary-nav li { 
   position: relative;
   margin-left: -1px;
   margin-top: 2px;
   float: left; 
   border-right: 1px solid #fff;
   border-left: 1px solid #fff;
   /*height: 39px;*/  }


/* Styling the basic appearance of the menu elements */
#sgprimary-nav a { 
   display: block; 
   margin: 0px; 
   text-decoration: none; 
   /*color: #F9FE86; background: #8EAD67;*/
}
#sgprimary-nav li a { 
   padding:10px 10px 13px 10px; 
   color: #F9FE86; background: #8EAD67;
}

#sgprimary-nav li a:hover { 
   background: #F9FF85;  color: #004B8D;
}
   

#sgprimary-nav li.sgmenuparent li { 
   background-color: transparent; color: #004b8d;
}

#primary-nav li.sgmenuparent li a { 
   background-color: transparent; color: #004b8d;
   padding: 4px 10px;
}
/* Styling the basic appearance of the active page elements (shows what page in the menu is being displayed) */

#sgprimary-nav li.sgmenuactive  { 
   color: #004B8D; background: #F9FF85; 
}
#sgprimary-nav a.sgmenuactive {
   color: #004B8D; background: #F9FF85; /*transparent*/; 
}

#sgprimary-nav li li.sgmenuactive, #sgprimary-nav li li a.sgmenuactive { 
  color: #004b8d; background: transparent;
  text-decoration: underline;
}

/* Styling the basic appearance of the menuparents - here styled the same on hover (fixes IE bug) */
#sgprimary-nav ul li.sgmenuparent, 
#sgprimary-nav ul li.sgmenuparent:hover, 
#sgprimary-nav ul li.sgmenuparenth { 
background-color: transparent
}


/* Styling the appearance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.sgmenuparenth,  { 
  color: #004B8D;  background: transparent;

}

/* Styling the appearance of menu items on hover */

#primary-nav li li a:hover, 
#primary-nav li li.sgmenuh, 
#primary-nav li li.sgmenuparenth, 
#primary-nav li li.sgmenuactiveh { 
  color: #004b8d; background: transparent;
  text-decoration: underline;

}


/* IE Hacks */
#sgprimary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
/* End of 'menu-sg' */

