/*Reset and HTML5 Stuff */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,hr {margin:0; padding:0;}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }

body{
    background: white;
    font-family: 'PT Sans', sans-serif;
}

/* Nuestro nav con id #menu lo flotaremos a la derecha*/
#menu{
    float: right;
    margin: 20px 20px 0 0;
}   

    /* Quitamos estilos por defecto de el tag UL */
    #menu ul{
        list-style: none;
        font-size: 14px;
        z-index: 999;
    }
        
        /* Centramos y ponemos los textos en mayuscula */
        #menu li{
           display: block;
           float: left;
           text-transform: uppercase;
           text-align: center;
           z-index: 999;
        }
            
            /* Damos estilo a nuestros enlaces */
            #menu li a{
                display: block;
                color: #D1782D;
                text-decoration: none;
                height: 60px;
                line-height: 60px;
                padding: 0 26px;
                
            }
            #menu li a:hover{
                background-color: #D1782D;
                color: white;
            }

            #menu li a.activado{
                background-color: #D1782D;
                color: white;
                cursor: none;
            }
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background: url(../images/nav.png) no-repeat center center;
        float: right;
        width: 60px;
        height: 60px;
        position: absolute;
        right: 0;
        top:0;
        opacity: .6;
    }   
        /* Agregaremos esta clase a #nav-mobile, cuando el menu mobile haya sido desplegado */
        #nav-mobile.nav-active{
            opacity: 1;
        }


/*
    MEDIA QUERY
*/

@media only screen and (max-width: 768px) {
        
    /* mostramos #nav-mobile */
    #nav-mobile{ display: block; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        margin: 6px 20px 0 0;
    }
        /* Convertimos nuestra lista de enlaces en un menÃƒÂº horizontal */
        #menu ul{
            -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
            -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
            box-shadow: 0 1px 2px rgba(0,0,0,.5);
            max-height: 0;
            overflow: hidden;
            margin: 80px 0 0 0;
        }
            /* estilos para los LI del menu */
            #menu li{
                background-color: #D1782D;
                border-bottom: 1px solid #282b30;
                float: none;
                color: white;
            }

            /* Quitamos el borde del ultimo item del menÃƒÂº */
            #menu li:last-child{ border-bottom: 0;}
                #menu li a{
                    padding: 15px 0;
                    height: auto;
                    line-height: normal;
                    color: white;
                }
                #menu li a:hover{
                   background-color: white;
                    color: #D1782D;
                }

        /* Agregamos una animaciÃƒÂ³n al despligue del menÃƒÂº */
        #menu ul.open-menu{
            max-height: 400px;
            -webkit-transition: max-height .4s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
        }
}
