/*---CSS RESET---*/

#menu, #menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*---/CSS RESET---*/

#menu {
    width: 980px;
    margin: 0;
    background: #4794e1; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(images/dropdownMenu-bg.png) repeat-x;
    border-radius: 5px;
    box-shadow: #4793e0 0 1px 0 inset, #3e7ebf -1px 0 0 inset, #34679b 0 -1px 0 inset, #3e7ebf 1px 0 0 inset, #90c2f0 0 2px 0 inset, #62a3e4 -2px 0 0 inset, #5885b3 0 -2px 0 inset, #62a3e4 2px 0 0 inset, rgba(0,0,0,0.1) 0 2px 0 ;
    -moz-box-shadow: #4793e0 0 1px 0 inset, #3e7ebf -1px 0 0 inset, #34679b 0 -1px 0 inset, #3e7ebf 1px 0 0 inset, #90c2f0 0 2px 0 inset, #62a3e4 -2px 0 0 inset, #5885b3 0 -2px 0 inset, #62a3e4 2px 0 0 inset, rgba(0,0,0,0.1) 0 2px 0 ;
    -webkit-box-shadow: #4793e0 0 1px 0 inset, #3e7ebf -1px 0 0 inset, #34679b 0 -1px 0 inset, #3e7ebf 1px 0 0 inset, #90c2f0 0 2px 0 inset, #62a3e4 -2px 0 0 inset, #5885b3 0 -2px 0 inset, #62a3e4 2px 0 0 inset, rgba(0,0,0,0.1) 0 2px 0 ;
    -webkit-font-smoothing:antialiased;
 
}

/*---CLEAR FLOATS---*/

#menu:before,
#menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}

/*---/CLEAR FLOATS---*/

/*---LIST ELEMENTS---*/

#menu li {
    float: left;
    border-right: 1px dotted #316498;
    position: relative;
}

#menu a {
    float: left;
    padding: 12px 11px;
    color: #FFFFFF;
    font: bold 14px Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #336699;
    outline: none;
}

#menu li:hover > a {
    color: #ffbf24;
}

#menu > li:last-child{
    border: none;
}

*html #menu li a:hover { /* IE6 only */
    color: #ffbf24;
}

/*---/LIST ELEMENTS---*/

/*---SUBMENUS---*/

#menu ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 200;

    background: #4794e1; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: -moz-linear-gradient(top,  #4794e1 35%, #3e89d5 50%, #336699 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(35%,#4794e1), color-stop(50%,#3e89d5), color-stop(100%,#336699)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4794e1 35%,#3e89d5 50%,#336699 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4794e1 35%,#3e89d5 50%,#336699 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4794e1 35%,#3e89d5 50%,#336699 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #4794e1 35%,#3e89d5 50%,#336699 100%); /* W3C */
    

    box-shadow: #4793e0 0 1px 0 inset, #3e7ebf -1px 0 0 inset, #34679b 0 -1px 0 inset, #3e7ebf 1px 0 0 inset, #90c2f0 0 2px 0 inset, #62a3e4 -2px 0 0 inset, #5885b3 0 -2px 0 inset, #62a3e4 2px 0 0 inset ;

    border-radius: 3px;
    transition: all .2s ease-in-out;  
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out; 
}

#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

#menu ul ul {
    top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: #4793e0 0 1px 0 inset, #3e7ebf -1px 0 0 inset, #34679b 0 -1px 0 inset, #3e7ebf 1px 0 0 inset, #90c2f0 0 2px 0 inset, #62a3e4 -2px 0 0 inset, #5885b3 0 -2px 0 inset, #62a3e4 2px 0 0 inset ;		
}

#menu ul li {
    float: none;
    display: block;
    border:0;
    _line-height: 0; /*IE6 only*/
    border-bottom: 1px dotted #316498;
}

#menu ul li:last-child {   
    border-bottom: none;
}

#menu ul a {    
    padding: 10px;
    width: 130px;
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: normal;
    float: none;
    text-transform: none;
    font-size: 12px;
}

#menu ul a:hover {
    background-color: #ff9900;
    color: #FFFFFF;
    text-shadow: none;
}

#menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #FFFFFF;
}

#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;	
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #FFFFFF;
}



#menu ul li:last-child > a {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/*---/SUBMENUS---*/