﻿/*

    Title:          Menu.css
    Author:         Gary Hodge
    Date:           040209

    Synopsis:       attribute and html style
    
    last Mod:       050209 GH

*/


/* Centred dyanmic width UL menu - IE hack in menu control */


#top_nav ul
{
    text-align: center;
    margin: 5px 0 5px 0;
}

#top_nav li 
{
    display: inline;
    margin-left:-2px;
}

#top_nav li a
{
    padding: 5px 0 4px 10px;
    text-decoration: none;
    background: #aabbd9;
    color: #004990;
}

#top_nav li a:hover
{
    background: #ffa;
}

#top_nav li a span
{
    padding: 5px 10px 4px 0;
    background: #aabbd9;
    text-align: right;
}

#top_nav li a:hover span
{
    background: #fff;
}

#top_nav h2
{
    font-weight: normal!important;
    font-size:1em!important;
    display: inline;
    color: #004990!important;
    padding: 0!important;
    margin: 0!important;
}

#top_nav .current
{
    background: #fff;
}


.navigation
{
    margin:0 auto;
    padding:0;
    width:940px;
    text-align:center;
    float:left;
}


#navigation ul
{
    list-style-type:none;
    padding:0;
    margin:0;
}

#footer
{
    text-align: center;
}


#footer ul
{
    width: 940px;
    list-style-type:none;
    margin:0 auto;
}



#navigation li
{
    position:relative;
    z-index:100;
    text-align:center;
    float:left!important;
    margin-right:1px;
    padding: 5px 10px 0 10px;
    background:#aabbd9;
    height: 20px;
}

#navigation li:hover
{
    background:#fff;
}

/*#footer li
{
    position:relative;
    z-index:100;
    margin-right:10px;
    text-align:center;
    float:left!important;
}*/

#footer li
{
    /*position:relative;
    z-index:100;*/
    margin-right:40px;
    text-align:left;
    float:left!important;
}

#navigation a, #navigation a:visited
{
    display:block;
    padding:0;
    text-decoration:none!important;
    margin-right:30px;
    border-bottom:0; 
}

#footer a, #footer a:visited, #footer a:link
{
    display:inline;
    padding:0;
    text-decoration:none!important;
    margin-right:30px;
    border-bottom:0; 
}

#footer a:hover
{
    text-decoration:underline!important;
}

#footer_headings a:active, #footer_headings a:visited, #footer_headings a:link
{
    
    padding:0;
    text-decoration:none!important;
    margin:0;
    border-bottom:0; 
    text-align: left;
    font-size: 11px;
    color: #000!important;
}

#footer_headings a:hover
{
    text-decoration:underline!important;
}

#footer_headings_about a:active, #footer_headings_about a:visited, #footer_headings_about a:link
{
    
    padding:0;
    text-decoration:none!important;
    margin:0;
    border-bottom:0; 
    text-align: left;
    font-size: 11px;
    color: #000!important;
}

#footer_headings_about a:hover
{
    text-decoration:underline!important;
}

#navigation ul a:hover ul
{
    visibility:visible;
}

#navigation li a:hover
{
    visibility:visible;
}

#navigation h2
{
    font-style:normal;
    font-weight:normal;
    margin:0;
    padding:0;
    font-size:12px;
}

.footer_nav
{
    margin: 0 auto;
    float: none;
    width: 940px;
   
}


/* strip out existing formatting */

.top_nav
{
    width: 940px;
    margin: 0 0 0 0;
    /**margin: 0 0 0 -40px;*/
    background: #aabbd9 url(/Images/g.gif) no-repeat;
    padding-top: 1px;
    padding-bottom: 0px!important;
    height: 25px!important;
    
}


.top_nav ul
{
    list-style-type:none;
    padding:0;
    margin:0;
}

.top_nav li
{
    float: left;
    position: relative;
    z-index: 100;
    /*border-right: 1px solid #ffffff;*/
    background-image: url(/Images/ClientSpecific/pipe.gif);
    background-position: right;
    background-repeat: no-repeat;
}

/* table for IE6 */
.top_nav table
{
    /*position:absolute;*/
    border-collapse:collapse;
    z-index:80;
    left:-1px;
    top:22px;
}

/* link style */
.top_nav a, .top_nav :visited
{
    display:block;
    padding: 4px 15px 4px 15px;
    color:#003770;
    background:#AABBD9;
    margin-right:1px;
    text-align:left;
    text-decoration: none!important;
}

.submenu_link
{
    display:block!important;
    text-align:right!important;
}

/* style the links hover */
.top_nav :hover
{
    color:#004990!important;
    text-decoration: none;
    background:#fff;
}

/* hide the sub level links */
.top_nav ul ul
{
    visibility:hidden;
    position:absolute;
    width:190px;
    padding-top: 5px;
}

.top_nav ul li ul li
{
    width: 190px;
    height: 30px;
    line-height: 2.5em;
    float: left;
    text-align: left;
}

.dropdown_link
{
    padding: 0 0 0 15px!important;
    height: 29px!important;
    border-bottom: 1px solid #fff!important;
}

/* make the sub level visible on hover list or link */
.top_nav ul li:hover ul,
.top_nav ul a:hover ul
{
    visibility:visible;
}

#menu_adjuster
{
    height: 25px;
    background: transparent;
    
}