/*=========================================*/
div#home {
	position:relative;
	float:left;
}

/* remove all the bullets, borders and padding from the default list styling */
div#home ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
div#home li {
	width:210px;
}

/* style the links for the top level */
div#home a, div#home a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	color:#fff;
	height:20px;
	border:1px solid #fff;
	border-width:1px 0 0 0;
	background:#5282E3;
	line-height:19px;
	text-align: right;
	padding: 0 10px 0 0;
}

div#home a:hover {
	color:#fff; 
	background:#ffb200;
}

/*=========================================*/
.menu {
	width:550px;
	float:right;
	font-size:11px;
	position:relative;
	z-index: 100;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	width:110px;
	float:left;
	position:relative;
	text-align: center;
}

.menu ul ul ul li {
	width: 220px;
	text-align: left;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none; 
	color:#fff; 
	height:20px; 
	border:1px solid #fff; 
	border-width:1px 0 0 1px; 
	background:#5282E3;
	line-height:19px;
}
/* 	padding-left: 10px; */
/* 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:21px;
	left:0; 
}

/* position the third level flyout menu */
.menu ul ul ul{
	left:110px; 
	top:0;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-120px;
}

/* 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;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#5282E3; 
	color:#000; 
	height:auto; 
	line-height:1em; 
	padding:5px 10px; 
}

/* style the top level hover */
.menu a:hover { 	color:#fff; 	background:#003399; }
.menu :hover > a { 	color:#fff;	background:#003399; }

/* style the second level hover */
.menu ul ul a:hover{ 	color:#fff; 	background:#4c5154; }
.menu ul ul :hover > a { color:#fff;	background:#4c5154; }

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#5282E3;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background:#ffb200;
}

/* 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;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden;
}

/* keep the four level hidden when you hover on first level list OR link */
.menu ul :hover ul ul ul {
	visibility:hidden;
}

/* keep the four level hidden when you hover on second level list OR link */
.menu ul :hover 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;
}

/* make the four level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
	/*visibility:visible;*/
}
/*=========================================*/