﻿.header{  height:50px; background:#333; z-index:10; position:relative}

nav{
    display: block;
}
#menu {
	display:none;
}
/* El logo sera flotado a la izquierda */
#logo{
    background: url(/wps/wcm/myconnect/agentes/0e189255-7a99-47cd-b486-b76fa04cc51d/MetLife.png?MOD=AJPERES) no-repeat 0 0; background-size:contain;
    display: block;
    float: left;
    margin: 6px 10px;
    width: 171px;
    height: 38px;
}

/* 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;
    }
        
        /* Centramos y ponemos los textos en mayuscula */
        #menu li{
           float: left;
           text-transform: uppercase;
           text-align: center;
        }
            
            /* Damos estilo a nuestros enlaces */
            #menu li a{
                display: block;
                color: #FFF;
				font-weight:bold;
                text-decoration: none;
                height: 50px;
				margin-top:-13px;
                line-height: 50px;
                padding:0 15px;
            }
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background: url(/wps/wcm/myconnect/agentes/e125bcd6-3f11-49b5-8b18-097b6fda45d6/nav.png?MOD=AJPERES&attachment=true&id=1456934221792) no-repeat center center;
        float: right;
        width: 50px;
        height: 50px;
        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;
			background: url(/wps/wcm/myconnect/agentes/30fd11fa-6bb5-47c1-9434-dd588d0612f5/close.png?MOD=AJPERES&attachment=true&id=1456934425726) no-repeat center center;
        }


/*
    MEDIA QUERY
*/

@media only screen and (max-width: 680px) {
    #srch {
	margin: 10px 10px 0 10px;
	}
    /* mostramos #nav-mobile */
    #nav-mobile{ display: block; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        padding-top: 34px;
    }
        /* Convertimos nuestra lista de enlaces en un menú horizontal */
        #menu ul{
            max-height: 0;
            overflow: hidden;
			-webkit-transition: max-height .4s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
			
        }
            /* estilos para los LI del menu */
            #menu li{
                background: #333;
                float: none;
				height:40px;
				
					border-bottom:1px solid #000;
            }

            /* Quitamos el borde del ultimo item del menú */
            #menu li:last-child{ border-bottom: 0;}
                #menu li a{
                    padding: 10px;
                    height: auto;
					margin-top:0px;
                    line-height: normal;
                }
                #menu li a:hover{background:#444}

        /* Agregamos una animación al despligue del menú */
        #menu ul.open-menu{
            max-height: 600px;
            -webkit-transition: max-height 1s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
        }
}


