@charset "utf-8";
/* CSS for menu */
#menubar {
  position:relative;
  z-index:600;
  background:#1E6BAC url("img/hd_menu_fill.png") repeat-x; 
  height: 29px;
  /* width:100%; */
  width:900px;
  margin: 0 auto;
}

#centeredMenu {
   margin:0;
   margin-left:-20px;
   padding:0;
   /* border-bottom:1px solid #000; black line below menu */
   width:100%;
   font-family: Arial, sans-serif; /* Menu font */
   font-size:14px; /* Menu text size */
   position:relative;
   z-index:600; /* This makes the dropdown menus appear above the page content below */
}

/* Top menu items */
#centeredMenu ul {
   margin:0;
   padding:0;
   list-style:none;
   float:right;
   white-space: nowrap;
   position:relative;
   z-index:1000;
   right:50%;
   line-height:24px;
}
#centeredMenu ul li {
   margin:0 0 0 12px;
   padding:0;
   float:left;
   position:relative;
   top:0px;
   text-align:center;
   vertical-align: bottom;
   z-index:6000;
   left:50%;
}

#centeredMenu ul li a {
 display: inline-block;
 }

#centeredMenu ul li a {
   display: block;
   margin:0;
   padding: 2px 16px 3px;
   font-size:14px;
   text-decoration:none;
   color: white;
   position:relative;
   z-index:1000;
   /*z-index:2000;
    border-right:2px solid #EEF;*/
}

#centeredMenu ul li.active a {
   color:#fff;
   background:#000;
}
#centeredMenu ul li a:hover {
   background: #00254D; /* Top menu items background colour */
   color:#fff;
   /* border-bottom:1px solid #03f; */
}
#centeredMenu ul li:hover a,
#centeredMenu ul li.ie6hover a { /* This line is required for IE 6 and below */
   background:#00254D; /* Top menu items background colour */
   color:#fff;
   /* border-bottom: 1px solid #00254D;*/
}

/* Submenu items */
#centeredMenu ul ul {
   display:none; /* Sub menus are hiden by default */
   position:absolute;
   top:29px;
   left:0;
   /* white-space: normal;*/
   white-space: nowrap;
   right:auto; /* resets the right:50% on the parent ul */
   /* width:15em; /* width of the drop-down menus */
}

/* Flip the last submenu so it stays within the page */
#centeredMenu ul ul.last {
   left:auto; /* reset left:0; value */
   right:0; /* Set right value instead */
}


#centeredMenu ul ul li {
   text-align:left;
   left:0; /* resets the left:50% on the parent li */
   margin:0;  /* Reset the 1px margin from the top menu */
   clear:left;
   width:100%;
}


#centeredMenu ul ul li a,
#centeredMenu ul li.active li a,
#centeredMenu ul li:hover ul li a,
#centeredMenu ul li.ie6hover ul li a { /* This line is required for IE 6 and below */
   font-size:14px;
   font-weight:normal; /* resets the bold set for the top level menu items */
   background:#D8D8DC;
   color:#445;
   border-bottom:1px solid #9AB; /* sub menu item horizontal lines */
   border-right:1px solid #9AB;
   border-left:1px solid #9AB;
    /*border-right:1px solid #667; /* sub menu item horizontal lines */
   /* border-left:1px solid #F6F6F8;  sub menu item horizontal lines */
}
#centeredMenu ul ul li a:hover,
#centeredMenu ul li.active ul li a:hover,
#centeredMenu ul li:hover ul li a:hover,
#centeredMenu ul li.ie6hover ul li a:hover { /* This line is required for IE 6 and below */
   background:#00254D; /* Sub menu items background colour */
   color:#fff;
}

/* Make the sub menus appear on hover */
#centeredMenu ul li:hover ul,
#centeredMenu ul li.ie6hover ul { /* This line is required for IE 6 and below */
   /* display:block; Show the sub menus */
   display: inline-block;
}
