/* ================================================================ 
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_drop2.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.
=================================================================== */
/* style the outer div to give it width */
.drivecms_menu {
	width:auto;
	font-size:12px;
	font-weight: bold;
}
/* remove all the bullets, borders and padding from the default list styling */
.drivecms_menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.drivecms_menu ul ul {
width:150px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.drivecms_menu li {
float:left;
width:150px;
position:relative;
}
/* style the links for the top level */
.drivecms_menu a, .drivecms_menu a:visited {
	display:block;
	text-decoration:none;
	color:#fff;
	width:139px;
	background:#206d7f;
	padding-left:10px;
	line-height:29px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #a7acaf;
	border-bottom-color: #206d7f;
	border-left-color: #a7acaf;
	border-top-width: 1px;
	border-top-color: #206d7f;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .drivecms_menu a, * html .drivecms_menu a:visited {
width:150px;
w\idth:139px;
}

/* style the second level background */
.drivecms_menu ul ul a.drop, .drivecms_menu ul ul a.drop:visited {
background:#0d4250;
}
/* style the second level hover */
.drivecms_menu ul ul a.drop:hover{
background:#c9ba65;
}
.drivecms_menu ul ul :hover > a.drop {
background:#c9ba65;
}
/* style the third level background */
.drivecms_menu ul ul ul a, .drivecms_menu ul ul ul a:visited {
background:#e2dfa8;
}
/* style the third level hover */
.drivecms_menu ul ul ul a:hover {
background:#b2ab9b;
}
.drivecms_menu ul ul ul :hover > a {
background:#b2ab9b;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.drivecms_menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:31px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html .drivecms_menu ul ul {
top:30px;
t\op:31px;
}

/* position the third level flyout menu */
.drivecms_menu ul ul ul{
left:150px; 
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
.drivecms_menu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.drivecms_menu table {position:absolute; top:0; left:0;}

/* style the second level links */
* html .drivecms_menu ul ul a{
width:150px;
w\idth:129px;
}


/* style the top level hover */
.drivecms_menu a:hover, .menu ul ul a:hover{
color:#fff; 
background:#0d4250;
}
.drivecms_menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#0d4250;
}

/* make the second level visible when hover on first level list OR link */
.drivecms_menu ul li:hover ul,
.drivecms_menu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.drivecms_menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.drivecms_menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.drivecms_menu ul :hover ul :hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.drivecms_menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}