.nav { 
    font-size: 15px!important;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500!important;
}
/*
.nav ul {
    margin: 0;
    padding: 0;
}

.nav li {
    display: inline-block;
    padding: 0 15px;
    text-transform: uppercase;
}

.nav a {
    color: rgba(0,0,0,0.6); 
}

.nav a:hover {
    color: rgba(0,0,0,0.9); 
}
*/

#menu, #menu ul {
    margin: 0;
    font-size: 15px!important;
    font-weight: 500!important;
    padding: 0;
    list-style: none;
}

#menu {
    max-width: 1060px;
    margin: 0 auto!important;
    float: right;
}

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

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
}

#menu li {
    float: left;
    font-size: 14px!important;
    font-weight: 500!important;
    position: relative;
}

#menu a {
    float: left;
    padding: 0px 6px;
    line-height: 129px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
}

#menu li:hover > a {
    color: #ffffff;
    background: url(../img/menuhover.png) no-repeat bottom center;
}

#menu ul li:hover > a {
    background: #2b2e34;
    color: #ffffff;
    text-shadow:1px 1px 0px rgba(0,0,0,0.4);
}

*html #menu li a:hover { /* IE6 only */
    color: rgba(0,0,0,0.9); 
}

#menu ul {
    margin: 25px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 131px;
    left: 0;
    z-index: 500;    
    background: #fec500;
    -webkit-box-shadow:  0px 3px 6px 0px rgba(0, 0, 0, 0.23)!important;
    box-shadow:  0px 3px 6px 0px rgba(0, 0, 0, 0.23)!important;
    transition: all .2s ease-in-out;  
}

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

#menu ul ul {
    top: 0;
    left: 100%;
    margin: 0 0 0 25px;
    _margin: 0; /*IE6 only*/   
}

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

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

#menu ul a {    
    padding: 14px;
    width: 230px;
    _height: 10px; /*IE6 only*/
    display: block;
    color: rgba(255,255,255,1);
    text-shadow:1px 1px 0px rgba(0,0,0,0.4);
    white-space: nowrap;
    float: none;
    line-height: normal!important;
    text-transform: uppercase;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

#menu ul a:hover {
    background: #2b2e34;
    color: #ffffff;
    text-shadow:1px 1px 0px rgba(0,0,0,0.4);
}

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

#menu ul ul li:first-child > a {
    border-top: none!important;
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
}

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

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

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

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



#menu-trigger { /* Hide it initially */
    display: none;
}
@media screen and (max-width: 1120px){
#menu li{
    font-size: 12px!important;}}

@media screen and (max-width: 800px) {

    #menu-wrap {
        position: relative;
    }

    #menu-wrap * {
        box-sizing: border-box;
    }

    #menu-trigger {
        display: block; /* Show it now */
        height: 40px;
        font-size: 18px;
        margin: 20px 0;
        line-height: 40px;
        cursor: pointer;        
        padding: 0 0 0 15px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.8);
        background: #2c2f36;
    }

    #menu {
        margin: 0; padding: 0px;
        position: absolute;
        top: 40px;
        width: 100%;
        z-index: 20;
        display: none;
        box-shadow: none;
        background: #2c2f34;  
    }

    #menu:after {
        content: '';
        position: absolute;
        left: 25px;
        top: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fec500;
    }   

    #menu ul {
        position: static;
        visibility: visible;
        opacity: 1;
        margin: 0;
        background: none!important;
        box-shadow: none;               
    }

    #menu ul ul {
        margin: 0 0 0 20px !important;
        box-shadow: none;       
    }

    #menu li {
        position: static;
        display: block;
        float: none;
        border: 0;
        margin: 0px;
        box-shadow: none;           
    }

    #menu ul li{
        margin-left: 20px;
        box-shadow: none;       
    }

    #menu a {
        display: block;
        padding: 10px 15px;
        line-height: normal!important;
        float: none;
        color: rgba(255,255,255,1);
        text-shadow:1px 1px 0px rgba(0,0,0,0.4);
        background: none!important;
    }

    #menu li:first-child a {
        border-top: 2px solid #fec500;
    }

    #menu a:hover{
        background: #fec500!important;
        color: rgba(255,255,255,1);
        text-shadow:1px 1px 0px rgba(0,0,0,1);
    }   

    #menu ul a {
        display: block;
        padding: 15px;
        float: none;
        color: rgba(255,255,255,1);
        text-shadow:1px 1px 0px rgba(0,0,0,0.4);    
        width: auto;        
    }

    #menu ul li:first-child a {
        border-top: none;
    }

    #menu ul a:hover{
        background: #fec500!important;
        color: rgba(255,255,255,1);
        text-shadow:1px 1px 0px rgba(0,0,0,1);
    }

    #menu ul li:first-child a:after,
    #menu ul ul li:first-child a:after {
        border: 0;
    }       

}

@media screen and (min-width: 800px) {
    #menu {
        display: block !important;
    }
}   

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

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