﻿div.MainFooterFrameMenuLink {
	background-repeat: no-repeat;
}
/* style the outer div to give it width */
.upmenu {
width:53px;
font-size:11px;
}

/* remove all the bullets, borders and padding from the default list styling */
.upmenu ul
{
float: left;
width:25px;
padding:0;
margin:0;
list-style-type:none;
list-style-image:none;
text-align: left;
}

.upmenu ul ul
{
width:25px;
left:-5px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.upmenu li
{
float:left;
width:100px;
position:relative;
height: 17px;
}

/* style the links for the top level */
.upmenu a, .upmenu a:visited
{
display:block;
font-size: 11px;
text-decoration:none;
color: #006394;
}

.upmenu ul ul a, .upmenu ul  ul a:visited
{
display:block;
font-size: 11px;
text-decoration:none;
color: #006394;
width:100px;
height:15px;
background: #DDEEFE;
padding-left:5px;
line-height:15px;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html .upmenu a, * html .upmenu a:visited
{
width:100px;
}

/* style the second level background */
.upmenu ul ul a.drop, .upmenu ul ul a.drop:visited
{
background:#DDEEFE;
}

/* style the second level hover */
.upmenu ul ul a.drop:hover
{
background:#FFFFFF;
}

.upmenu ul ul :hover > a.drop
{
background:#FFFFFF;
}

/* style the third level background */
.upmenu ul ul ul a, .upmenu ul ul ul a:visited
{
background: #DDEEFE;
}

/* style the third level hover */
.upmenu ul ul ul a:hover
{
background: #FFFFFF;
}

. upmenu ul ul ul :hover > a
{
background: #FFFFFF;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.upmenu table {border-collapse:collapse; border:0; position:absolute; left:0; bottom:-1px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.upmenu ul ul
{
visibility:hidden;
position:absolute;
bottom:16px;
width:120px;
border: 1px #006394 solid;
}

* html .menu ul ul
{
bottom:10px;
}

/* position the third level flyout menu */
.upmenu ul ul ul
{
left:-122px;
bottom:0px;
margin-bottom:-1px;
}

/* position the third level flyout menu for a left flyout */
.upmenu ul ul ul.left
{
left:-130px;
}


/* style the second level links */
.upmenu ul ul a, .upmenu ul ul a:visited
{
background: #DDEEFE;
color:#006394;
height:auto;
line-height:1em;
padding:3px 5px;
width:110px;
/* yet another hack for IE5.5 */
}

* html .upmenu ul ul a
{
font-size: 11px;
width:100px;
}


/* style the top level hover */
.upmenu a:hover
{
background:transparent !important;
}
.upmenu ul ul a:hover
{
color:#006394;
font-size: 11px;
background:#FFFFFF !important;
}

.upmenu :hover > a
{
color:#006394;
font-size: 11px;
}

.upmenu ul ul :hover > a
{
background:#FFFFFF;
}

/* make the second level visible when hover on first level list OR link */
.upmenu ul :hover ul
{
visibility:visible;
height:auto;
}

/* keep the third level hidden when you hover on first level list OR link */
.upmenu ul :hover ul ul
{
display:none;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.upmenu ul :hover ul :hover ul ul
{
display:none;
}

/* make the third level visible when you hover over second level list OR link */
.upmenu ul :hover ul :hover ul
{
display:block;
bottom:0;
}

/* make the fourth level visible when you hover over third level list OR link */
.upmenu ul :hover ul :hover ul :hover ul
{
display:block;
bottom:0;
}