@import url(http://www.google.com/cse/api/branding.css);
#search {width:360px; top:10px; float:right; text-align:right;}

.menu {width:auto; height:35px; position:relative; z-index:100; background-color:#000; font-family:arial;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:auto; width:auto;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:auto;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:auto;position:relative;}
.menu ul ul li {bottom:1px;}
/* style the links for the top level */
.menu a, .menu a:visited, .menu a:hover {display:block; font-size:11px; text-decoration:none; color:#fff; width:auto; height:35px; background:#000; padding-left:10px; padding-right:10px; line-height:35px;}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:auto; width:auto;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#444;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#444;}
.menu ul ul :hover > a.drop {background:#444;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:35px;left:0; width:auto; }
/* another hack for IE5.5 */
* html .menu ul ul {top:35px;top:36px;}


/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited, .menu ul ul a:hover{background:#444; color:#FFF; height:auto; line-height:1em; padding:5px 10px; width:128px; font-size:10px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;width:128px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#000; background:#51A5DB;}
.menu :hover > a, .menu ul ul :hover > a {color:#000; background:#51A5DB;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }

