/* Clearfix */
.clear:before, .clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

a#pull {
    display: none;
}
nav {
    height: 40px;
    width: 90%;
    background: #FFF;
    position: relative;
	margin:0 auto;
	border-left:#2a61d6 thin solid;
	border-right:#2a61d6 thin solid;
	font-family: 'Happy Monkey'; 
/*    border-bottom: solid 1px #DDD;*/
}

nav ul {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 40px;
}

nav li {
    display: inline;
    float: left;
}

nav a {
    color: #FFF;
    display: inline-block;
    /*width: 100px;*/
	width:auto;
    text-align: center;
    line-height: 40px;
}

nav li a {
    border-right: 1px solid #FFF;
}

nav li:last-child a {
    border-right: 0;
}

nav a:hover, nav a:active {
    background-color: #FFFFFF;
}
.menu-fijo {
	width: 100%;
	position: fixed;
	top: 0;
	z-index:9999;
	box-shadow:0px 4px 3px rgba(0,0,0,.5);
}
@media only screen and (max-width : 700px) {
    nav {
        border-bottom: #2a61d6 thin solid;
        height: auto;
		width: 99%;
    }

    nav ul {
        display: none;
        height: auto;
        width: 99%;
    }

    nav li {
        width: 50%;
        float: left;
        position: relative;
    }

    nav a {
        text-align: left;
        width: 99%;
        text-indent: 5px;
		padding-top:10px;
    }

    nav a#pull {
        display: block;
        background-color: #FFF;
        width: 99%;
        position: relative;
    }

    nav a#pull:after {
        content:"";
        background: url('../imagenes/cabecera.png') no-repeat;
        width: 300px;
        /*height: 30px;*/
        display: inline-block;
        position: absolute;
		text-align:center;
        left: 105px;
        top: 10px;
    }
	.menu-fijo {
		position: fixed;
		top: 0;
		z-index:9999;
		box-shadow:0px 4px 3px rgba(0,0,0,.5);
	}
	#fir{
		display:none;
	}
}