*{
    margin: 0;
    padding: 0;
}

/* para quitar
body{
    background: #f4efe5;
    font: bold 14px 'Open Sans', sans-serif;
}
header, nav{
    display: block;
	
}
*/

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
	background-color:#202228; /* AZUL ANTERIOR #142b3b; */
    /* background: rgba(0,76,158,1);
background: -moz-linear-gradient(45deg, rgba(0,76,158,1) 0%, rgba(31,123,194,1) 73%, rgba(31,123,194,1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(0,76,158,1)), color-stop(73%, rgba(31,123,194,1)), color-stop(100%, rgba(31,123,194,1)));
background: -webkit-linear-gradient(45deg, rgba(0,76,158,1) 0%, rgba(31,123,194,1) 73%, rgba(31,123,194,1) 100%);
background: -o-linear-gradient(45deg, rgba(0,76,158,1) 0%, rgba(31,123,194,1) 73%, rgba(31,123,194,1) 100%);
background: -ms-linear-gradient(45deg, rgba(0,76,158,1) 0%, rgba(31,123,194,1) 73%, rgba(31,123,194,1) 100%);
background: linear-gradient(45deg, rgba(0,76,158,1) 0%, rgba(31,123,194,1) 73%, rgba(31,123,194,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004c9e', endColorstr='#1f7bc2', GradientType=1 ); */
    height:80px;
    position:fixed;
    width: 100%;
    z-index: 2;
	top:0;
	font: bold 14px 'Open Sans', sans-serif;


	
	border-bottom:solid;
	border-bottom-color:#E0E0E0;
}

/* El logo sera flotado a la izquierda */
#logo{
    background:url(../images/Logo.png) no-repeat 0 0;
     display: block;
    float: left;
    margin: 6px 10px 0px 70px;
    width: 70px;
    height: 63px;
    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: 12px;
    }
        
        /* 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: 80px;
                line-height: 80px;
                padding: 0 26px;
            }
            #menu li a:hover{
                background: #ff6600;
                color: #FAFAFA;
            }
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background:url(../images/nav.png) no-repeat center center;
        float: right;
        width: 80px;
        height: 80px;
        position: absolute;
        right: 0;
        top:0;
        opacity: .8;

    }   
        /* 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) {
        
    h2{font-size: 40px;}
    
    /* mostramos #nav-mobile */
    #nav-mobile{ display: block; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        padding-top: 80px;
    }
        /* 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: #33363b;
                border-bottom: 1px solid #282b30;
                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;
					text-align:left;
                }
                #menu li a:hover{background:#ff6600}

        /* 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;
        }
}


