nav ul {
    padding-left: 0px;
	margin-bottom: 0;
}

nav ul li{
    float: left;
    position: relative;
	padding-top: 10px;
	margin: 0 2px;
}

nav ul a
{
	float: left;
    text-decoration: none;
	position: relative;
    display: inline-block;
    padding: 20px 15px;
    color: #cdddeb;
    margin: 0;
    text-transform: uppercase;
}

nav>ul>li:nth-last-child(3)>a{
  -webkit-animation: menublink3 1s infinite;
  -moz-animation: menublink3 1s infinite;
  -o-animation: menublink3 1s infinite;
  animation: menublink3 1s infinite;
}

@-webkit-keyframes menublink3 {
  0%, 49% {
    background-color: #179a07;
  }
  50%, 100% {
    background-color: #247303;
  }
}

/*
nav>ul>li:nth-last-child(2)>a{
  -webkit-animation: menublink2 1s infinite;
  -moz-animation: menublink2 1s infinite;
  -o-animation: menublink2 1s infinite;
  animation: menublink2 1s infinite;
}

@-webkit-keyframes menublink2 {
  0%, 49% {
    background-color: #444444;
  }
  50%, 100% {
    background-color: #6d6d6d;
  }
}
*/

nav ul li:hover > a
{
    color: #fafafa;
}

*html nav ul li a:hover /* IE6 */
{
    color: #fafafa;
}

nav ul li:hover > ul{display: block;}

nav ul ul
{

    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 99999;
    background: #2c4958;
}

nav ul ul ul
{
    top: -27px;
    left: 118px;transition: 3s;
}

nav ul ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
}

nav ul ul li:last-child
{
}

nav ul ul a
{
    padding: 10px;
    height: 10px;
    height: auto;
    line-height: 1;
    display: block;
    float: none;
    text-transform: none;
	white-space: nowrap;
}

*html nav ul ul a /* IE6 */
{
    height: 10px;
}

*:first-child+html nav ul ul a /* IE7 */
{
    height: 10px;
}

nav ul ul a:hover
{
    background: #0186ba;

}

nav ul ul li:first-child > a
{

}

nav ul ul li:first-child > a:after
{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 8px solid #2c4958;
}

nav ul ul ul li:first-child a:after
{
    left: -8px;
    top: 0px;
    width: 0;
    height: 0;
    border-left: 0;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    border-right: 8px solid #ffffff;
}

nav ul ul li:first-child a:hover:after
{
    border-bottom-color:#b22222;
}

nav ul ul ul li:first-child a:hover:after
{
    border-right-color: #b22222;
    border-bottom-color: transparent;
}


nav ul ul li:last-child > a
{

}

/* Clear floated elements */
nav ul:after
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html nav ul             { zoom: 1; } /* IE6 */
*:first-child+html nav ul { zoom: 1; } /* IE7 */