
.sw_s1_inner_menu {
	position: relative;
	z-index: 634;
}

/* remove all the bullets, borders and padding from the default list styling */
.sw_s1_inner_menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	z-index: 635;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.sw_s1_inner_menu li {
	padding: 0;
	margin: 0;
	float: left;
	position: relative;
	border: 1px solid transparent;
	min-height:16px;
}

/* style the links for the top level */
.sw_s1_inner_menu a {
	display: block;
/*	text-decoration: none;	*/
	padding: 0 5px;
	margin: 0;
}

.sw_s1_inner_menu ul a:hover {
	text-decoration: none;
}

.sw_s1_inner_menu ul li:hover {
	background-color: #f7faff;
	border-right: 1px solid #cddff8;
	border-bottom: 1px solid #cddff8;
	border-left: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.sw_s1_inner_menu ul ul {
	visibility: hidden;
	position: absolute;
	padding: 0;
	margin: 0;
	top: 17px;
	left: 0; 
	z-index: 637;

	background: #f7faff;
	border-right: 1px solid #cddff8;
	border-bottom: 1px solid #cddff8;
	border-left: 1px solid #ffffff;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.sw_s1_inner_menu table {
	position: absolute;
	padding: 0;
	margin: 0;
	top: 0;
	left: 0;
	z-index: 635;
}

.sw_s1_inner_menu  ul ul li {
	float: none;
	display: block;
	min-width: 50px;
	border-top: 1px solid #ffffff;
	padding: 0;
	margin: 0;
}

.sw_s1_inner_menu  ul ul li:hover {
	border: 1px solid transparent;
	border-top: 1px solid #ffffff;
}

/* style the second level links */
.sw_s1_inner_menu ul ul a, .sw_s1_inner_menu ul ul a:visited {
	display: block;
	width: 100%;
	min-width: 42px;
	padding: 4px;
	margin: 0;
}

/* style the top level hover */
.sw_s1_inner_menu a:hover {
	
}

.sw_s1_inner_menu :hover > a {
	
}

.sw_s1_inner_menu ul ul a:hover {

}

.sw_s1_inner_menu ul ul :hover > a {

}

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

/* make the third level visible when you hover over second level list OR link */
.sw_s1_inner_menu ul :hover ul :hover ul{ 
	visibility: visible;
}
