/* Horizontal WAI Navigation Menu
 *
 * Copyright © 2010 W3C® (MIT, ERCIM, Keio). All Rights Reserved.
 * See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
 *
 * Author: Shadi Abou-Zahra
 * Contributors: Bert Bos, Shawn Henry, Andrew Arch
 */

/* flatten list into a horizontal bar */
#hMenu { margin-top: 2em; text-align: center; }
#hMenu ul { list-style: none; margin: 0; padding: 0; }
#hMenu li { float: left; min-width: 10em; border: solid 1px #036; border-bottom: solid 2px #036; border-right: solid 2px #036; }
#hMenu div { margin: 0; padding: 0.5em; background: #ffffff; color: #000000; background: #fffaf5; font-weight: bold; }
#hMenu a { margin: 0; padding: 0.5em; display: block; text-decoration: none; color: #036; background: #eff5fb; font-weight: normal; }
#hMenu a:hover, hMenu a:focus, hMenu a:visited { text-decoration: underline; color: #036; background: #eff5fb; }

/* HACK: 'overflow: hidden' makes the height include floats, except in IE6 */
#hMenu ul { height: 1px; } /* For WinIE6 */
#hMenu>ul { height: auto; overflow: hidden; } /* The standard way */

/* table display gives the list items equal heights and avoids double-borders between them */
#hMenu { display: table; border-collapse: collapse; }
#hMenu ul { display: table-row; }
#hMenu ul>li { display: table-cell; }

/* HACK: hide 'float: none' from MacIE and IE6 */
#hMenu ul>li { /*\*/ float: none; /**/ }

/* HACK: add 'float: left' for IE7 */
#hMenu ul>li {  *float: left; }

