*{
    margin: 0;
    padding: 0;
}

header, nav{
    display: block;
}

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
    background: #FFF;
    height:108px;
    position:fixed;
    width: 100%;
    z-index: 999;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.52);
-moz-box-shadow:    0px 3px 5px 0px rgba(50, 50, 50, 0.52);
box-shadow:         0px 3px 5px 0px rgba(50, 50, 50, 0.52);
}

/* El logo sera flotado a la izquierda */
#logo{
    background:url(../img/LOGO%202-01.png) no-repeat;
    display: block;
    float: left;
    margin: 15px 20px 0;
    width: 658px;
    height: 66px;
    text-indent: -9999px
}

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

    /* Quitamos estilos por defecto de el tag UL */
    #menu ul{
        list-style: none;
        font-size: 20px;
    }
        
        /* Centramos y ponemos los textos en mayuscula */
        #menu li{
           display: block;
           float: left;
      
           text-align: center;
        }
            
            /* Damos estilo a nuestros enlaces */
            #menu li a{
                display: block;
                color: #15317D;
                text-decoration: none;
                height: 60px;
                line-height: 100px;
                padding: 0 26px;
            }
            #menu li a:hover{
                
                 color: #15317D;
            }
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background:url(../img/nav.png) no-repeat center center;
        float: right;
        width: 60px;
        height: 60px;
        position: absolute;
        right: 0;
        top:0;
        opacity: 1;

    }   
        /* 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: 360px) {
	#logo{
    background:url(../img/LOGO%202-01.png);
    display: block;
    float: left;
    margin: 15px 20px 0;
    width: 216px;
    height: 66px;
    text-indent: -9999px
}
}
@media only screen and (max-width: 800px) {
        
    
    /* mostramos #nav-mobile */
    #nav-mobile{ display: block; margin-top:22px; margin-right:10px; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        padding-top: 100px;
    }
        /* 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;
        }
            /* estilos para los LI del menu */
            #menu li{
                background: #799901;
                border-bottom: 1px solid #799901;
                float: none;
            }

            /* 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;
                }
                #menu li a:hover{background:#799901;}

        /* 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;
        }
}


