
/* AICR Pure CSS Drop Down Menu Document

Reworked by Christian Stauffer - c.stauffer@aicr.org 2010-02-08

================================================================ 
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_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {width:950px; height:40px; position:relative; z-index:100; font-family:verdana, sans-serif;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:951px; w\idth:950px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0 ;list-style-type:none; text-align:center;}
.menu ul ul {width:158px; text-align:left;}
/* 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:158px;position:relative; background: url("../images/structure/tab_orange.gif") top right no-repeat;
}
/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:0.9em;text-decoration:none; color:#fff; width:160px; height:39px; border:1px solid #fff; border-width:0 0 1px 1px; background:#8d74b5; line-height:normal; font-weight:bold; background: url("../images/structure/tab_orange.gif") top right no-repeat;
}



/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:158px; w\idth:145px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#8d74b5
 url("../images/structure/arrow.gif") no-repeat 145px center;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#E67A15 url("../images/structure/arrow_black.gif") no-repeat 145px center;}
.menu ul ul :hover > a.drop {background:#E67A15 url("../images/structure/arrow_black.gif") no-repeat 145px center;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#f2bc8a;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#b2ab9b;}


/* 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:39px;left:0; width:158px;border-top:1px solid #fff;}
/* another hack for IE5.5 */
* html .menu ul ul {top:39px;t\op:40px;}

/* position the third level flyout menu */
.menu ul ul ul{left:158px; top:-1px; width:158px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-158px;}

/* 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 {background:#8d74b5
; color:#fff; height:auto; line-height:normal; padding:5px 10px 5px 10px; width:137px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:158px;w\idth:157px;}

/* style the top level hover */
.menu a:hover {color:#fff; background-position: 100% -40px; }
.menu ul ul a:hover {color:#fff; background:#c1abe2;}



/* 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; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}


