﻿.main_menu_clear
{
    clear: both;
}
/* remove the list style */
#MainMenu
{
    margin: 0;
    padding: 0;
    list-style: none;
}

/* make the LI display inline */
/* it's position relative so that position absolute */
/* can be used in submenu */
#MainMenu li
{
    float: left;
    display: block;
    background: #ccc;
    position: relative;
    z-index: 500;
    margin: 0 5px;
    width: 143px;
    height: 33px;
}

/* this is the parent menu */
#MainMenu li a
{
    display: block;
    padding: 0px 0px 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
    font-weight: bold;
    height: 33px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    color: #333;
}

#MainMenu li a:hover
{
    color: #fff;
}

/* you can make a different style for default selected value */
#MainMenu a.selected
{
    color: #f00;
}

/* submenu, it's hidden by default */
#MainMenu ul
{
    border-style: none solid solid solid;
    border-width: 1px;
    border-color: #e1e0e0;
    position: absolute;
    left: 0;
    display: none;
    margin: 20 0 0 0px;
    padding: 0;
    list-style: none; /* #e1e0e0; */
    width: 143px;
    background-color: White;
}

#MainMenu ul li
{
    float: left;
    border-top: 1px solid #fff;
    background-color: #FFFFFF;
    width: 143px;
    margin: 0px 0px 0px 0px;
    border-top-style: dotted;
    border-bottom-style: none;
    border-top-width: 1px;
    border-top-color: #99bccf;
    text-align: left;
}

/* display block will make the link fill the whole area of LI */
#MainMenu ul a
{
    display: block;
    height: 15px;
    padding: 8px 0px 0px 8px;
    color: #005886;
    width: 135px;
    height: 25px;
    text-align: left;
}

#MainMenu ul a:hover
{
    color: #f37121;
    background-color: #FFF9F2;
    font-weight: bold;
}

/* fix ie6 small issue */
/* we should always avoid using hack like this */
/* should put it into separate file : ) */
*html #MainMenu ul
{
    margin: 0 0 0 -2px;
}


