/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want!
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.

If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.

Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).

*/
.rightheader { height:100px; position:relative;}
.menu { 
	position:absolute;
	bottom:0px; 
	right:20px;
}
.menu .ulmenu {
	margin-left:5px;
	margin-bottom:28px;
	padding:0px;
}
/* HORIZONTAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.ulmenu, .ulmenu  ul {
/* filter:alpha(opacity=90);
 -moz-opacity:.90;
 opacity:.90;*/
 margin:0 auto;
	padding:0;
	list-style-type:none;
}


/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.ulmenu ul {
 display: none;
 position: absolute;
 top: 25px;
 left: 0px;
 width: 120px;
}

/* Second and third etc. level submenus - position across from parent instead */
.ulmenu ul ul {
 top: 3px; 
 margin-top: 0;
 left: 120px;
}

.ulmenu ul li a {
	text-align:left;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.ulmenu li {
 margin:0;
 float: left;
 display: block;
 position: relative;
 border-right:1px solid white;
}

.ulmenu li li, .ulmenu li li li, .ulmenu li li li li { border-right-width:0px; }

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.ulmenu ul li {
 float: none;
 margin: 0;
 margin-bottom: -1px;
 background-color:#2d446f;
}

.ulmenu ul, .ulmenu ul ul, .ulmenu ul ul ul { border-width:0px; }

.ulmenu ul li ul li{
 background-color:#394b6a;
}

.ulmenu ul li ul li ul li {
 background-color:#2e3d56;
}

.ulmenu ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.ulmenu a {
 display: block;
 text-decoration:none;
 padding-left:7px;
 padding-right:7px;
 display:block;
 text-transform:uppercase;
 font-size:10px;
 font-weight:bold;
}

.ulmenu ul a { line-height:20px; }

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.ulmenu ul a:hover, .ulmenu ul a.highlighted:hover, .ulmenu ul a:focus {
 color: #FFF;
 background-color: #385b81;
}
.ulmenu ul a.highlighted {
 color: #FFF;
 background-color: #385b81;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .ulmenu a#xyz {
      background-image: url(out.gif);
    }
    .ulmenu a#xyz:hover, .ulmenu a.highlighted#xyz, .ulmenu a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.ulmenu a .subind {
 display: none;
}
.ulmenu ul a .subind {
 display: block;
 float: right;
 margin-right:-10px;
 line-height:15px;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.ulmenu a {
 float: left;
}
.ulmenu ul a {
 float: none;
}
/* \*/
.ulmenu a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .ulmenu ul li {
 float: left;
 width: 100%;
}

* html .ulmenu ul li {
 float: left;
 height: 1%;
}
* html .ulmenu ul a {
 height: 1%;
}
/* End Hacks */
