*{
    margin: 0;
    padding: 0;
}

header, nav{
    display: block;
}

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
    background: #00495E;
    height:83px;
    position: relative;
    width: 100%;
    z-index: 2;
	display: inline-block;
	
	/* height: 200px;*/
    background: -webkit-linear-gradient(#00495E, #2293a5, #00495E); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#0C889B, #006777, #014559); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#0C889B, #006777, #014559); /* For Firefox 3.6 to 15 */
      background: linear-gradient(#0C889B, #006777, #014559); /* Standard syntax (must be last) */
}

/*.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: 0px;}   

    /* 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{
           /*text-transform: uppercase;*/
		   display:inline-block;
           text-align: center;
		     border-bottom: solid 1px #FFF;
        }
            
            /* Damos estilo a nuestros enlaces */
            #menu li a{
                  display: block;
  				  color: #fff;
				  text-decoration: none;
				  line-height: 40px;
				  padding: 0px 28px;
				  font-size: 15px;}
				  
            #menu li a:hover{
                background: #013349;
                color: #FFF;
            }
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background: url(../imagenes/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;
        }

/* 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: #006777;
                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:#013349;}

        /* Agregamos una animación al despligue del menú */
        #menu ul.open-menu{
            max-height: 700px;
            -webkit-transition: max-height .4s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
        }
		
		header{
    background: #00495E;
    height:60px;
    position: relative;
    width: 100%;
    z-index: 2
}
}



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