/* Menu Styling (colors,images,fonts)
---------------------------------- */


#horizontalNav {
	background: #000000;
    border-radius: 10px;
}


.menu ul a.selected,
.menu ul a.selected:hover
{
	color: #cc0000;

}


/* style the links for the top level */
.menu a, .menu a:link, .menu a:visited
{
    font-size:14px;
    font-weight: normal;
    text-decoration:none;
	text-transform:uppercase;
	color:#ffffff;
    }

.menu ul {
}

/* style the sub level links */
.menu ul ul a:link, .menu ul ul a:visited
{
	color: #FFF;
	font-weight: normal;
	text-transform: none;
	font-size: 12px;
    }


* html .menu a:hover
{
    color: #cc0000;
	background:#eee;
}

ul.menu :hover > a {
    color:#FDF8E5;
	/*background: url("/core/images/ui/bg-nav-hover.png") repeat-x top left;*/
}

.menu ul :hover > a:link,
.menu ul :hover > a:visited {
    background: #555;
    color: #FFF;
}

* html .menu ul ul a:hover { color: #cc0000; background:#ddd; }
.menu ul li:hover { position:relative;}
.menu ul ul li:hover { position:relative;}

.menu ul ul :hover > a { color: #FFF; }

/*.menu ul ul ul a, .menu ul ul ul a:visited { background: #f9af63; color: #6e0404;}

* html .menu ul ul ul a:hover { background:#fbc792;}

.menu ul ul ul :hover > a { background:#fbc792;}

.menu ul ul ul ul a:hover { background:#f9af63;}

.menu ul ul ul ul a, .menu ul ul ul ul a:visited { background:#fbc792;}
	*/


/* ================================= */

#horizontalNav { clear: both; }

.menu { position: relative; z-index: 5000; }

ul.menu
{
    padding:0;
    list-style-type:none;
 /*   height:28px; */
}

/* style the sub-level lists */
ul.menu ul
{
    width:216px;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
ul.menu li
{
	list-style-type: none;
    float:left;
    margin-left: -1px;
	/*border-right:1px solid #999;*/
}

    ul.menu li:first-child {
        margin-left: 0;
    }

        ul.menu li:first-child a {
            background: none;
            border-bottom-left-radius: 8px;
            border-top-left-radius: 8px;
            padding-left: 19px;
        }

            ul.menu li:first-child a:hover {
                /*background: url("/core/images/ui/bg-nav-hover.png") repeat-x top left;*/
            }

/* style the sub level list items */
ul.menu ul li
{
    display:block;
    width:216px;
    height:auto;
	border:none;
	padding:0;
	line-height:22px;
	background:none;
}

/* style the links for the top level */

.menu a, .menu a:visited
{
    background: url("/core/images/ui/bg-nav.png") no-repeat left center;
    display:block;
    line-height: 31px;
    height: 31px;
    float:left;
/*    height:20px;*/
	padding: 0 19px 0 20px;
/*	line-height: 28px;*/
}


/* style the sub level links */
ul.menu ul li {
    margin-left: 0;
}

ul.menu ul a:link, ul.menu ul a:visited
{
    background: #444444;
    border-top: 1px solid #777;
    display:block;
    padding: 5px 10px;
	text-transform:none;
    height: auto;
    line-height: 20px;
	font-size: 14px;
	float:none;
}

    ul.menu ul li:first-child a {
        border-bottom-left-radius: 0;
        border-top: none;
        border-top-left-radius: 0;
        padding: 5px 10px;
    }

ul.menu ul a:hover, ul.menu ul li a:first-child:hover {
	color:#fff;
    background-color: #555;
}


/** html .menu ul ul a, * html .menu ul ul a:visited  {width:14em; w\idth:12em;}*/


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
    position:absolute;
    left:1px;
    top:0;
    width:0;
    height:0;
    font-size:12px;
    z-index:-1;
}

* html .menu a:hover { position:relative; z-index:100; }

.menu li:hover { position:relative; }

* html ul.menu ul a:hover { position:relative; z-index:5110; }

ul.menu ul li:hover { position:relative; }

* html ul.menu ul ul a:hover { position:relative; z-index:5120; }

ul.menu ul ul ul a:hover { position:relative; z-index:5130; }


/* hide the sub levels and give them a positon absolute so that they take up no room */
ul.menu ul {
    visibility:hidden;
    position:absolute;
    height:0;
    top: 31px;
    left:0;
    width:216px;
	box-shadow: 1px 4px 3px rgba(0, 0, 0, 0.3);
}

/* position the third level flyout menu */
ul.menu ul ul
{
    left:216px;
    top:0;
   /* width:185px;*/
   background-image:none;
   background-color:#ddd;

}
ul.menu ul ul a:hover{
	background:#eee;
}

ul.menu ul ul ul{background:#eee;}

ul.menu ul ul ul a:hover{
	background:#ddd;
}

/* make the second level visible when hover on first level list OR link */
ul.menu :hover ul
{
    visibility:visible;
    height:auto;
}

/* keep the third level hidden when you hover on first level list OR link */

ul.menu :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */

ul.menu :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */

ul.menu :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */

ul.menu :hover ul :hover ul :hover ul {visibility:visible;}
