/* Font */
@font-face {
    font-family: 'FuturaMedium';
    src: url('futura-webfont.eot');
    src: url('futura-webfont.eot?#iefix') format('embedded-opentype'),
         url('futura-webfont.woff') format('woff'),
         url('futura-webfont.ttf') format('truetype'),
         url('futura-webfont.svg#FuturaMedium') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'UFOCleanRomanRegular';
    src: url('ufospecial-webfont.eot');
    src: url('ufospecial-webfont.eot?#iefix') format('embedded-opentype'),
         url('ufospecial-webfont.woff') format('woff'),
         url('ufospecial-webfont.ttf') format('truetype'),
         url('ufospecial-webfont.svg#UFOCleanRomanRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Main */

#menu
{ width: 100%; margin: 0; padding: 5px 0 9px 10px; color: lime; font-size: 20px; font-family: UFOCleanRomanRegular, "trebuchet ms"; text-decoration: none; text-transform: uppercase; list-style: none; border: solid 1px #3f3; background: #111; b vertical-align: middle; border-radius: 10px;  }

#menu li
{
        float: left;
        padding: 0 0 0;
        position: relative;
}

#menu a
{ float: left; height: 20px; padding: 0 8px; color: lime; font-family: UFOCleanRomanRegular, "trebuchet ms"; text-decoration: none; text-transform: uppercase; text-shadow: 0 1px 0 #000; }

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

#menu li:hover > ul
{
        display: block;
}

/* Sub-menu */

#menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 99999;
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);
    background: -o-linear-gradient(#444, #111);
    background: -ms-linear-gradient(#444, #111);
    background: #444;
    border-radius: 0px 0px 5px 5px; 
}

#menu ul ul
{
  top: 0;
  left: 100%;
}

#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}
#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child
{
    box-shadow: none;
}

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

#menu ul a:hover
{ color: #fff; background: #0186ba; background: -moz-linear-gradient(#04acec,  #0186ba); background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)); background: -webkit-linear-gradient(#04acec,  #0186ba); background: -o-linear-gradient(#04acec,  #0186ba); background: -ms-linear-gradient(#04acec,  #0186ba); background: #00f; }

#menu ul li:first-child a
{
    border-radius: 5px 5px 0 0;
}
/* little triangle 
#menu ul li:first-child a:after
{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 12px;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid transparent;
}

#menu ul li:first-child a:hover:after
{
    border-bottom-color: transparent;
}
*/
/*    border-bottom-color: #04acec; */

#menu ul ul li:first-child a:after
{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #444;
}


#menu ul ul li:first-child a:hover:after
{
    border-right-color: #04acec; 
    border-bottom-color: transparent; 	
}

#menu ul li:last-child a
{
    border-radius: 0 0 5px 5px;
}

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