/* ================================================================ 
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 {border-right-width: 0px; width:820px; height:22px; position:absolute; top:157px;z-index:100; font-family:arial, sans-serif;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:821px; w\idth:820px;}
/* 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:99px;}
/* 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:102px;position:relative;text-align: center;}
/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:12px;text-decoration:none; color:#fff; width:90px; height:21px; border:0px solid #000; border-width:0px 0 0px 0px; padding-left: 5px; line-height:29px; font-weight:bold;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:102px; w\idth:91px;}




/* 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:20px;left:0; width:92px;border-top:1px solid #000;}
/* another hack for IE5.5 */
* html .menu ul ul {top:20px;t\op:26px;}



/* style the table so that it takes no part 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-color: white; color:#000; height:auto; line-height:1em; padding:5px 10px; width:110px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:161px;w\idth:150px;}

/* style the top menu */
li.documents{
border-top:5px solid #0099CC;
}

li.terrain{
border-top:5px solid #FFCC33;
}

li.carnets{
border-top:5px solid #99CC33;
}

li.publications{
border-top:5px solid #CC0000;
}

li.reseau{
border-top:5px solid #CC6633;
}

li.partenaires{
border-top:5px solid #009933;
}

li.contact{
border-top:5px solid #FFFF00;
}

/* style the top level hover */
a.documents:hover, .menu ul.documents a:hover{color:#000; background:#0099CC;}
a.terrain:hover,.menu ul.terrain a:hover{color:#000; background:#FFFF99;}
a.carnets:hover,.menu ul.carnets a:hover{color:#000; background:#99CC33;}
a.publications:hover,.menu ul.publications a:hover{color:#000; background:#CC0000;}
a.reseau:hover,.menu ul.reseau a:hover{color:#000; background:#CC6633;}
a.partenaires:hover,.menu ul.partenaires a:hover{color:#000; background:#009933;}

li.contact a{color:#FFFF33;}
a.contact:hover, .menu ul.contact a:hover{color:#000; background:#FFFF33;}

/* 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;}


.menu ul ul a.doubleborder{border-bottom: 5px solid #0066CC;}
.menu ul ul a.doubleborder:hover{color:orange;}