﻿.nav
{
    display: inline-block;
    width: 100%;
    height: 50px;
    /*background-color: rgb(156, 200, 242);*/
    background-image: url("../img/nav/top_menu_background.png");
    margin-top: 7px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding: 0px;
    /*z-index:1000;*/
    position: relative;
    box-shadow: 0px 5px 5px #888888;
    list-style: none;
}

.nav li
{
    float: left;
    margin: 0px 0px 0px 10px;
    list-style: none;
    height: 50px;
    cursor: pointer;
}

.nav li a
{
    float: left;
    margin: 15px 0px;
    text-decoration:none;
    font-size: 1.1em;
    color: white;
    padding-left: 12px;
    padding-right: 12px;
    height: 50px;
}
  
.nav .DropDownMenu
{
    display: none;
}

.nav .DropDownMenu ul
{
    position: absolute;
    padding: 0px;
    margin-top: 50px;
    list-style: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 3px 5px 5px rgba(75,75,100,.5);
    z-index: 9000;
}

.nav .DropDownMenu ul li
{
    /*Need both of these here for compatibility with older IE*/
    background-color: rgb(80,130,178);
    background-color: rgba(90,140,188,.90);
    margin: 0px;
    height: 37px;
    text-align: left;
    vertical-align: middle;
    float: none;
}

.nav .DropDownMenu ul li:first-child
{
    padding-top: 15px;
}

.nav .DropDownMenu ul li:last-child
{
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    /*Need both of these here for compatibility with older IE*/
    border: 1px solid rgb(80,130,178);
    border: 1px solid rgba(90,140,188,.80);
}

.nav .DropDownMenu ul li a
{
    white-space: nowrap;
    height: 20px;
    vertical-align: middle;
    text-align: left;
    margin: 0px;
    color: white;
    width: 100%;
}

.nav li:hover .DropDownMenu
{ 
    display: block;
}

.nav li:hover a
{ 
    color: yellow;
    text-decoration:none;
}

.nav li:hover .DropDownMenu ul li a
{ 
	color: white;
    text-decoration:none;
}

.nav li:hover .DropDownMenu ul li a:hover
{ 
	color: yellow;
    text-decoration:none;
}


