/* ================================================================
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/flyout_4level.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.
=================================================================== */
#AboutMenu,
#ServicesMenu,
#SolutionsMenu,
#ClientsMenu,
#ContactMenu{
height:auto;
}

/* remove all the bullets, borders and padding from the default list styling */
#AboutMenu ul,
#ServicesMenu ul,
#SolutionsMenu ul,
#ClientsMenu ul,
#ContactMenu ul{
position:relative;
z-index:500;
padding:20px 0px 0px 0px;
margin:0;
list-style-type:none;
}

/* style the list items */
#AboutMenu li,
#ServicesMenu li,
#SolutionsMenu li,
#ClientsMenu li,
#ContactMenu li{
padding:0px 0px 0px 0px; background:transparent url(../pub/images/submenubg.jpg) top left no-repeat;
margin:0px 0px 0px 0px;
height:auto;

display:block;
/* for IE7 */
float:left;
}

#AboutMenu li.sub,
#ServicesMenu li.sub,
#SolutionsMenu li.sub,
#ClientsMenu li.sub,
#ContactMenu li.sub {background:transparent /*url(sub.gif)*/ no-repeat right center;}

/* get rid of the table */
#AboutMenu table, 
#ServicesMenu table, 
#SolutionsMenu table, 
#ClientsMenu table, 
#ContactMenu table{position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
#AboutMenu a, #AboutMenu a:visited, 
#ServicesMenu a, #ServicesMenu a:visited, 
#SolutionsMenu a, #SolutionsMenu a:visited, 
#ClientsMenu a, #ClientsMenu a:visited, 
#ContactMenu a, #ContactMenu a:visited {
display:block;
text-decoration:none;
padding:0px 0px 10px 10px;
height:auto;
line-height:1.5em;
width:175px;
color:#666;
text-indent:5px;
border:none;
font-size:1.3em;
}
#AboutMenu a.current, 
#ServicesMenu a.current, 
#SolutionsMenu a.current, 
#ClientsMenu a.current, 
#ContactMenu a.current{
color:#666;
background:transparent;
}
/* hack for IE5.5 */
* html #AboutMenu a, * html #AboutMenu a:visited, 
* html #ServicesMenu a, * html #ServicesMenu a:visited,
* html #SolutionsMenu a, * html #SolutionsMenu a:visited,
* html #ClientsMenu a, * html #ClientsMenu a:visited,
* html #ContactMenu a, * html #ContactMenu a:visited  {width:165px; w\idth:164px;}

/* style the link hover */
* html #AboutMenu a:hover, 
* html #ServicesMenu a:hover, 
* html #SolutionsMenu a:hover, 
* html #ClientsMenu a:hover, 
* html #ContactMenu a:hover {color:#919EA6; background:transparent; position:relative;}

#AboutMenu li:hover, 
#SolutionsMenu li:hover, 
#ServicesMenu li:hover, 
#ContactMenu li:hover, 
#ClientsMenu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
#AboutMenu a:active, #AboutMenu a:focus, 
#ServicesMenu a:active, #ServicesMenu a:focus, 
#SolutionsMenu a:active, #SolutionsMenu a:focus, 
#ClientsMenu a:active, #ClientsMenu a:focus, 
#ContactMenu a:active, #ContactMenu a:focus {color:#919EA6; background:transparent;}




/* retain the hover colors for each sublevel IE7 and Firefox etc */
#AboutMenu li:hover > a {color:#919EA6; background:transparent;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#AboutMenu li ul {
visibility:hidden;
position:absolute;
top:-30px;
/* set up the overlap (minus the overrun) */
left:100px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url(pub/images/dot.gif);
}

/* for browsers that understand this is all you need for the flyouts */
#AboutMenu li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
#AboutMenu ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#AboutMenu ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
#AboutMenu ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
#AboutMenu ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
#AboutMenu ul a:hover ul a:hover ul{
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
#AboutMenu ul a:hover ul a:hover ul a:hover ul {
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
#AboutMenu ul a:hover ul a:hover ul a:hover ul a:hover ul {
visibility:visible;
}



