/* Main menu settings */

#horizontal-menu-wrapper ul {
   list-style:none;
width: 800px;
margin: 0px 0px 0px 0px;
padding: 0px;
display: block;
text-align:center;
margin-top:-36px;
float:right;
}

#horizontal-menu-wrapper ul li{
}

#centeredmenu {
   clear:both;
   margin:0;
   padding:0;
   width:100%;
   font-family:Verdana, Geneva, sans-serif; /* Menu font */
   font-size:90%; /* Menu text size */
   z-index:1000; /* This makes the dropdown menus appear above the page content below */
   position:relative;
   height:40px;
background-color:red;
width:800px;
}

/* Top menu items */
#centeredmenu ul {
   list-style:none;
width: 800px;
margin: 0px 0px 0px 0px;
padding: 0px;
display: block;
text-align:center;
float:right;
}
#centeredmenu ul li {
   margin:0px;
   padding:0;
   position:relative;
   overflow:hidden;
   float:left;
}
#centeredmenu ul li a {
font-family:verdana, arial, helvetica, sans-serif;;
font-size: 14px;
list-style-type: none;
width: auto;
display: block;
padding: .7em 1.3em 0.4em 1.5em;
color:#fff;
text-decoration: none; 
}
#centeredmenu ul li.active a {
list-style-type: none;
width: auto;
display: block;
color:#0053A6;
}
#centeredmenu ul li a:hover {
list-style-type: none;
width: auto;
display: block;
color:#0053A6;
}
#centeredmenu ul li:hover a,
#centeredmenu ul li.hover a { /* This line is required for IE 6 and below */
  color:#0053A6;
}

#centeredmenu li a#here {
color:#0053A6;
}

/* Submenu items */
#centeredmenu ul ul {
   display:none; /* Sub menus are hiden by default */
   position:absolute;
   top:2.5em;
   left:0;
   right:auto; /*resets the right:50% on the parent ul */
   width:auto; /* width of the drop-down menus */
	  padding-right:5px;
}
#centeredmenu ul ul li {
   left:auto;  /*resets the left:50% on the parent li */
   margin:0; /* Reset the 1px margin from the top menu */
   clear:left;
   width:100%;
   color:#000;
   text-align:left; 
   padding-right:5px;
   border-bottom:1px solid #444; /* sub menu item horizontal lines */
   	  border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
background:url(../images/button-background-repeater.jpg) repeat-x;
}
#centeredmenu ul ul li a,
#centeredmenu ul li.active li a,
#centeredmenu ul li:hover ul li a,
#centeredmenu ul li.hover ul li a { /* This line is required for IE 6 and below */
   font-size:.8em;
   font-weight:normal; /* resets the bold set for the top level menu items */
   line-height:1.3em; /* overwrite line-height value from top menu */
   border-right: 0px;
   background:none;
   text-align:left;
   padding-top:5px;
}
#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.hover ul li a:hover { /* This line is required for IE 6 and below */
   background:url(../images/btn-hover.png) left center no-repeat; /* Top menu items background colour */
}

/* 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 */
}

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