#menu_content {
    max-width:1280px;
    padding:0;
    margin:0 auto;
}

.menu_active {
    background: #069;
    background: -moz-linear-gradient(#108EB2, #069);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#108EB2), to(#069));
    background: -webkit-linear-gradient(#108EB2, #069);
    background: -o-linear-gradient(#108EB2, #069);
    background: -ms-linear-gradient(#108EB2, #069);
    background: linear-gradient(#108EB2, #069);
    box-shadow: inset 0 0 3px rgba(0, 102, 153, 0.80);
}

/* Main menu */

#menu, #menu ul {
    max-width:1280px;
    background: #001926;
    background: -moz-linear-gradient(#001f2f, #001926);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#001f2f), to(#001926));
    background: -webkit-linear-gradient(#001f2f, #001926);
    background: -o-linear-gradient(#001f2f, #001926);
    background: -ms-linear-gradient(#001f2f, #001926);
    background: linear-gradient(#001f2f, #001926);
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    margin:0 auto;
    padding:0 5px 5px 5px;
    list-style: none;
}

#menu {
    padding:0;
    margin: 0 auto;
}

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

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}

#menu li {
    float: left;
    border-left: 1px dotted rgba(0, 102, 153, 0.80);
    position: relative;
    padding:0;
}

#menu li:first-child {
    border-left: 0;
}

#menu a {
    float: left;
    background-color:transparent;
    height:20px;
    line-height:20px;
    text-align:center;
    font-size:10px;
    font-weight:bold;
    vertical-align:middle;
    text-transform:uppercase;
    color:#FFF;
    padding:5px 20px 5px 20px;
    text-shadow: 0 0 2px #000;
}

#menu li:hover > a {
    background: #069;
    background: -moz-linear-gradient(#108EB2, #069);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#108EB2), to(#069));
    background: -webkit-linear-gradient(#108EB2, #069);
    background: -o-linear-gradient(#108EB2, #069);
    background: -ms-linear-gradient(#108EB2, #069);
    background: linear-gradient(#108EB2, #069);
    text-decoration: none;
    color:#FFF;
}

*html #menu li a:hover { /* IE6 only */
    color: #000;
    text-decoration: none;
}

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

/* Sub-menu */

#menu ul {
    margin: 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 31px;
    left:-18px;
    z-index: 99999;
    background: transparent;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

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

#menu ul ul {
    top: 0;
    left: 145px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
}

#menu ul li {
    float: none;
    display: block;
    border-bottom:1px solid rgba(0, 102, 153, 0.80);
    border-left:1px solid rgba(0, 102, 153, 0.80);
    border-right:1px solid rgba(0, 102, 153, 0.80);
    _line-height: 0; /*IE6 only*/
    box-shadow: none;
}

#menu ul li:last-child {
    box-shadow: none;
    border-bottom:1px solid rgba(0, 102, 153, 0.80);
    border-right:1px solid rgba(0, 102, 153, 0.80);
}

#menu ul li:first-child {
    box-shadow: none;
    border-top:1px solid rgba(0, 102, 153, 0.80);
    border-left:1px solid rgba(0, 102, 153, 0.80);
}

#menu ul a {
    background: #069;
    background: -moz-linear-gradient(#108EB2, #069);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#108EB2), to(#069));
    background: -webkit-linear-gradient(#108EB2, #069);
    background: -o-linear-gradient(#108EB2, #069);
    background: -ms-linear-gradient(#108EB2, #069);
    background: linear-gradient(#108EB2, #069);
    padding: 3px 10px 3px 15px;
    width: 125px;
    _height: 10px; /*IE6 only*/
    display: block;
    float: none;
    text-align:left;
    text-transform: capitalize;
    font-size: 11px;
}

#menu ul a:hover {
    background: #001926;
    background: -moz-linear-gradient(#001f2f, #001926);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#001f2f), to(#001926));
    background: -webkit-linear-gradient(#001f2f, #001926);
    background: -o-linear-gradient(#001f2f, #001926);
    background: -ms-linear-gradient(#001f2f, #001926);
    background: linear-gradient(#001f2f, #001926);
    text-decoration: none;
    color:#FFF;
}

#menu ul li:first-child > a {
}

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

#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 #FFF;
}

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

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

#menu ul li:last-child > a {
    border-bottom:0;
}

#menu-trigger { /* Hide it initially */
    display:none;
}

/* iPad */
.no-transition {
    transition: none;
    opacity: 1;
    visibility: visible;
    display: none;
}

#menu li:hover > .no-transition {
    display: block;
}