*{
    margin: 0;
    padding: 0;
}
header, nav{
    display: block;
	font: bold 12px 'Dosis', sans-serif;
}

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
    background-color: rgba(0, 0, 0, 0.6);
    height:80px;
    position: relative;
    width: 100%;
    z-index: 10000;
}

/* El logo sera flotado a la izquierda */
#logo{
    background: url(../images/ecoconstrucciones_logo2.png) no-repeat 0 0;
    display: block;
    float: left;
    margin: 6px 5px 0;
    width: 200px;
    height: 57px;
    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: 14px;
    }
        
        /* 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 16px;
            }
            #menu li a:hover{
                background: rgba(0, 0, 0, 0.4);
				border-bottom: solid 5px #9ac129;/* verde eco */
                color: #fff;
            }
			#menu li.active,
			#menu li.active a {
  				color:#9ac129;
  				text-decoration:none;
  				cursor:default;
}
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background: url(../images/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;
}
    h2{
        font-size: 50px;
        font-weight: 600;
        text-transform: uppercase;
        color: #624c3f;
    }


/*  MEDIA QUERY  
*/
@media only screen and (max-width: 1200px) {      
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: black; 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 0; height: auto; line-height: normal; }
#menu li a:hover{background:#9ac129;/* verde eco */ border-bottom:none; color:black; }

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

