/*
'************************************************
'* $HeadURL: http://svn/svn/WoodardCurran/WebCms/trunk/WebCmsSolution/Src/Webroot/includes/css/horizontal_flexmenu.css $
'* $LastChangedBy: neil $
'* $LastChangedRevision: 169 $
'* $LastChangedDate: 2007-11-01 15:52:07 -0400 (Thu, 01 Nov 2007) $
'************************************************
'************************************************
'* Copyright 2007, Woodard & Curran
'************************************************
*/
/* ================================================================ 
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-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.horizontal_flexmenu {
  width:650px; 
  font-size:12px;
  position:relative;
  margin: 0px 0px 4px 0px;
  z-index:100;
}
/* remove all the bullets, borders and padding from the default list styling */
.horizontal_flexmenu ul {
  padding:0;
  margin:0;
  list-style-type:none;
  text-align: left;
}
.horizontal_flexmenu ul ul {
  width:120px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.horizontal_flexmenu li {
float:left;
width:130px;
position:relative;
text-align: center;
font-weight: bold;
}
.horizontal_flexmenu li.longer {
float:left;
width:130px;
position:relative;
text-align: center;
font-weight: bold;
}
/* style the links for the top level */
.horizontal_flexmenu a, .horizontal_flexmenu a:visited {
  display:block;
  font-size:12px;
  text-decoration:none; 
  color:#fff; 
  width:129px; 
  height:30px; 
  border: solid 1px #ffffff; 
  border-width: 0 0 0 2px; 
  background:#6B9478; 
  padding:0px 0px 0px 0px;  
  line-height:29px;
}
.horizontal_flexmenu a.home, .horizontal_flexmenu a.home:visited {
  display:block;
  font-size:12px;
  text-decoration:none; 
  color:#fff; 
  width:130px; 
  height:30px; 
  background:#6B9478; 
  border: solid 1px #ffffff; 
  border-width: 0 0 0 0px;  
  line-height:29px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .horizontal_flexmenu a, * html .horizontal_flexmenu a:visited {
  width:128px;
  font-size:12px;
}

/* style the second level background */
.horizontal_flexmenu ul ul a.drop, .horizontal_flexmenu ul ul a.drop:visited {
  background:#d4d8bd url(../../graphics/drop.gif) bottom right no-repeat;
  font-size:12px;
}
/* style the second level hover */
.horizontal_flexmenu ul ul a.drop:hover{
  background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
  font-size:12px;
}
.horizontal_flexmenu ul ul :hover > a.drop {
  background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
  font-size:12px;
}
/* style the third level background */
.horizontal_flexmenu ul ul ul a, .horizontal_flexmenu ul ul ul a:visited {
  background:#d4d8bd;
  font-size:12px;
}
/* style the third level hover */
.horizontal_flexmenu ul ul ul a:hover {
  background:#3F6B94;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.horizontal_flexmenu ul ul {
  visibility:hidden;
  position:absolute;
  height:0;
  top:30px;
  left:0px; 
  width:120px;
  font-size:12px;
}
/* another hack for IE5.5 */
* html .horizontal_flexmenu ul ul {
  top:30px;
}

/* position the third level flyout menu */
.horizontal_flexmenu ul ul ul{
left:172px; 
top:0;
width:120px;
}
/* position the third level flyout menu for a left flyout */
.horizontal_flexmenu ul ul ul.left {
  left:-150px;
  font-size:12px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.horizontal_flexmenu table 
{
  position:absolute; 
  top:0; 
  left:0;
  padding: 0px;
  margin: 0px;
}

/* style the second level links */
.horizontal_flexmenu ul ul a, .horizontal_flexmenu ul ul a:visited {
  background:#d4d8bd; 
  color:#000; 
  height:auto; 
  line-height:1em; 
  padding:5px 10px; 
  width:150px;
  text-align: left;
  font-size:12px;
}

/* yet another hack for IE5.5 */
* html .horizontal_flexmenu ul ul a
{
  width:150px;
  font-size:12px;
}


/* style the top level hover */
.horizontal_flexmenu a:hover, .horizontal_flexmenu ul ul a:hover{
  color:#fff; 
  background:#3F6B94;
  font-size:12px;
}
.horizontal_flexmenu :hover > a, .horizontal_flexmenu ul ul :hover > a {
  color:#fff;
  background:#3F6B94;
  font-size:12px;
}

/* make the second level visible when hover on first level list OR link */
.horizontal_flexmenu ul li:hover ul,
.horizontal_flexmenu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.horizontal_flexmenu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.horizontal_flexmenu ul :hover ul :hover ul{ 
visibility:visible;
}
