/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop5.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/*
  adapted for use with dropdown-menu.php menu generator by
  Ken True - Saratoga-Weather.org - 9-Aug-2007                      
                                                                    */
/* style the outer div to give it width */
.dropdownmenu {font-size:0.8em;padding-bottom:0px;margin-left: 0px;}

/* remove all the bullets, borders and padding from the default list styling */
.dropdownmenu ul {padding:0;margin:0;list-style-type:none; height:29px; background: black url(http://www.aber.ac.uk/cymru-llydaw/cy/images/indentbg_firebrick.gif) center center repeat-x;
  position: relative; z-index: 10;} /* added to fix menu-over-buoy-map issue */

/* style the sub-level lists */
.dropdownmenu ul ul {width:15em;left: 100%; top:100%;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.dropdownmenu ul li {float:left;height:1.5em;line-height:1.5em;}

/* style the sub level list items */
.dropdownmenu ul ul li {display:block;width:12em;height:auto; line-height:1em;}

/* style the links for the top level */
.dropdownmenu a, .dropdownmenu a:visited {display:block;float:left;height:100%;font-size:1em;text-decoration:none;color:#FFFFFF; background: black url(http://www.aber.ac.uk/cymru-llydaw/cy/images/indentbg_firebrick.gif) center center repeat-x;font-weight: bold;padding:5px 11px; border-right:1px solid #2a0404;}

/* .dropdownmenu ul li a:visited{
background: black url(http://www.aber.ac.uk/cymru-llydaw/cy/images/indentbg_firebrick.gif) center center repeat-x;
color: white;
} */

/* style the top menu hover */
.dropdownmenu ul a:hover, .indentmenu ul .current{
color: white !important; /*text color of selected and active item*/
padding-top: 6px; /*shift text down 1px for selected and active item*/
padding-bottom: 4px; /*shift text down 1px for selected and active item*/
background: black url(http://www.aber.ac.uk/cymru-llydaw/cy/images/indentbg2_firebrick.gif) center center repeat-x !important;
}

/* style the top menu links */
.dropdownmenu ul a, .dropdownmenu ul a:visited {display:block;float:none; background: black url(http://www.aber.ac.uk/cymru-llydaw/cy/images/indentbg_firebrick.gif) center center repeat-x; color:#ffffff;}
 * html .dropdownmenu ul a, * html .dropdownmenu ul a:visited  {background: black url(http://www.aber.ac.uk/cymru-llydaw/cy/images/indentbg_firebrick.gif) center center repeat-x; color:#ffffff;}

/* style the sub level links */
.dropdownmenu ul ul a, .dropdownmenu ul ul a:visited {display:block;float:none; background:#d4d8bd; color:#000000;width:12em;height:100%;line-height:1em; padding:0.25em 1em; border-right: 0px;}
* html .dropdownmenu ul ul a, * html .dropdownmenu ul ul a:visited  {width:14em; w\idth:12em;}

/* style the table so that it takes no part in the layout - required for IE to work */
.dropdownmenu table {position:absolute; left:1px; top:0; width:0; height:0; font-size:1em; z-index:-1;}

/* style the third level background */
.dropdownmenu ul ul ul a, .dropdownmenu ul ul ul a:visited {background:#b4be9c;}
/* style the fourth level background */
.dropdownmenu ul ul ul ul a, .dropdownmenu ul ul ul ul a:visited {background:#d4d8bd;}
/* style the sub level 1 background */
.dropdownmenu ul :hover a.sub1 {background:#d4d8bd;}
/* style the sub level 2 background */
.dropdownmenu ul ul :hover a.sub2 {background:#b4be9c;}

/* style the level hovers */
/* first */
* html .dropdownmenu a:hover {color:#000000;background:#d4d8bd;}
.dropdownmenu li:hover {position:relative;}
/* .dropdownmenu :hover > a {color:#0000FF;background:#d4d8bd;} */
/* second */
* html .dropdownmenu ul ul a:hover{color:#0000FF;background:#d4d8bd; position:relative; z-index:110;}
.dropdownmenu ul ul li:hover {position:relative;}
.dropdownmenu ul ul :hover > a {color:#0000FF;background:#b4be9c;}
/* third */
* html .dropdownmenu ul ul ul a:hover {background:#b4be9c; position:relative; z-index:120;}
.dropdownmenu ul ul ul :hover > a {color:#0000FF;background:#c4ceac;}
/* fourth */
.dropdownmenu ul ul ul ul a:hover {background:#b4be9c; position:relative; z-index:130;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.dropdownmenu ul ul {visibility:hidden;position:absolute;height:0;top:29px;left:0;width:14em;}

/* position the third level flyout menu */
.dropdownmenu ul ul ul{left:12em;top:0;width:14em;}


/* make the second level visible when hover on first level list OR link */
.dropdownmenu ul :hover ul{visibility:visible; height:auto; padding-bottom:3em; 
  background:transparent url(http://www.aber.ac.uk/cymru-llydaw/cy/images/trans.gif);}
/* keep the third level hidden when you hover on first level list OR link */
.dropdownmenu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.dropdownmenu ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.dropdownmenu ul :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */
.dropdownmenu ul :hover ul :hover ul :hover ul {visibility:visible;}
/* end of wx-menu.css */
</style>
<!--[if lte IE 6]>
<style type="text/css">
.dropdownmenu ul ul {left:-1px; margin-left:-1px;}
.dropdownmenu ul ul ul.left {margin-left:1px;}
</style>
<![endif]-->
<!-- end of dropdown-menu.php CSS definition -->

