/* Main */

.topnav2 {
    height:1.0rem;
    list-style: none;  
    position: relative;
    float: right;
}

#topnav2 li {
    float: left;
    padding: 0 0 0 0;
    position: relative;
    font-size: 0.9rem;
}

#topnav2 a {
    float: left;
    color: #999;
    text-transform: uppercase;
    font: bold .9rem Arial, Helvetica;
    text-decoration: none;
    text-shadow: 2px 2px 4px #000;
}

#topnav2 li:hover > a {
    color: #fafafa;
}

#topnav2 li:hover > ul {
    display: block;
}

/* Sub-topnav */
#topnav2 ul {
    list-style: none;
    margin-top: -2px;
    margin-right: -4px;
    padding: 0;    
    display: none;
    position: absolute;
    top: 34px;
    right: 2px;
    z-index: 99999;    
    background-color: #444;   
    background-image: linear-gradient(#444, #111);    
    border-radius: 5px;
}

#topnav2 ul li {
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    box-shadow: 0 1px 0 #111111, 
                0 2px 0 #777777;
}

#topnav2 ul li:last-child { 
    box-shadow: none;    
}

#topnav2 ul a {    
    padding: .8em;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}


#topnav2 ul a:hover {
    background-color: #0186ba;
    background-image: linear-gradient(#04acec, #0186ba);
}

#topnav2 ul li:first-child a {
    border-radius: 5px 5px 0 0;
}

#topnav2 ul li:first-child a:after {
    content: '  ';
    position: absolute;
    right: 10px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#topnav2 ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

#topnav2 ul li:last-child a {
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */


