*{
    margin: 0;
    padding: 0;
}

header, nav{
    display: block;
}

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
    background: #000000;
    height:60px;
    position: relative;
    width: 100%;
    z-index: 2
}

/*.logo{ max-width:226px; max-height:193px; width:100%; height: auto;}*/

/*#imagen{
	width:100%;
	height:auto;
	background-color:#FFF;
	padding:0px 0px 0px 20px; text-align:left;
}
	
/* El logo sera flotado a la izquierda */
/*#logo{
    background: url(logo.png) no-repeat 0 0;
    display: block;
    float: left;
    margin: 6px 10px 0;
    width: 82px;
    height: 46px;
    text-indent: -9999px
}*/

/* Nuestro nav con id #menu lo flotaremos a la derecha*/
#menu{float: left;
padding-left: 35px;}   

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

    }   
        /* Agregaremos esta clase a #nav-mobile, cuando el menu mobile haya sido desplegado */
        #nav-mobile.nav-active{
            opacity: 1;
        }

/* Content */
#content{
    width: 80%;
    margin: 60px 10%;
    text-align: center;
    overflow: hidden;
}


/*
    MEDIA QUERY
*/

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

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        padding-top: 60px;
		padding-left: 0px;
    }
        /* 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: #2a2a2a;
                border-bottom: 1px solid #ffffff;
                float: none;
            }

            /* Quitamos el borde del ultimo item del menú */
            #menu li:last-child{ border-bottom: 0;}
                #menu li a{
                    padding: 15px 15px;
                    height: auto;
                    line-height: normal;
                }
                #menu li a:hover{background:#960000}

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



a{ font-family: 'Alegreya Sans', sans-serif; color:#00344E;; text-align:left; font-style:normal;}