/************************************************************************************
RESET CSS
*************************************************************************************/
* {
	margin: 0;
	padding: 0;
}

body {
	font: .99em/150% Arial, Helvetica, sans-serif;
	margin-left: 5%;
	margin-right: 5%;
}

figure.post-imagen img {
		float: left;
		margin: 5px;
		max-width: 260px;
}

h1, h2, h3, h4, h5, h6 {
	color: #5499C7;
	line-height: 1.4em;
	margin: 20px 0 .4em;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}

.textoSombreado{
	text-shadow: -2px -2px 2px rgba(146, 224, 150, 5);
}
  .tooltip {
    display: inline;
    position: relative;
  }
  .tooltip:hover:after {
    bottom: 26px;
    content: attr(title); /* este es el texto que será mostrado */
    left: 20%;
    position: absolute;
    z-index: 98;
    /* el formato gráfico */
    background: rgba(255,255,255, 0.2); /* el color de fondo */
    border-radius: 5px;
    color: #FFF; /* el color del texto */
    font-family: Georgia;
    font-size: 12px;
    padding: 5px 15px;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
    width: 150px;
  }
  .tooltip:hover:before {
    bottom: 20px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 99;
    /* el triángulo inferior */
    border: solid;
    border-color: rgba(255,255,255, 0.2) transparent;
    border-width: 6px 6px 0 6px;
  }
.encabezado{
	background-color: #fff;
	bottom: 0; 
	height:130px;
	position:fixed; 
	top:0; 
	width: 90%; 
	z-index:1000;
}

/* NEW CLEARFIX */
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* Otras tres implementaciones adicionales */
.clear:before, .clear:after {
    content: "\0020";
    display: table;
    height: 0;
    overflow: hidden;
}
.clear:after {
    clear: both;
}
.clear {
    *zoom: 1;
}

a#pull {
    display: none;
}

nav {
	    position: fixed;
		top:0;
	    bottom: 0;
	    right: 0;
		width: 100%;
/*		background: #6a6a6a url(nav-bar-bg.png) repeat-x;*/
	/* Degradacion */
		background: -webkit-gradient(linear, left top, left bottom, from(#154360), to(#D6EAF8));/*#D6EAF8*/
		background: -moz-linear-gradient(top,  #154360,  #D6EAF8);
		background: linear-gradient(-90deg, #154360, #D6EAF8);

	/* Esquinas redondeadas */
			-webkit-border-radius: 8px;
			-moz-border-radius: 8px;
			border-radius: 8px;
	/* Sombra de la caja */
			-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
			-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
			box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
		    border-bottom: solid 1px #DDD;
	}

.barra-nav{

	/* Degradacion */
		background: #6a6a6a url(nav-bar-bg.png) repeat-x;
		background: -webkit-gradient(linear, left top, left bottom, from(#154360), to(#D6EAF8));/*#D6EAF8*/
		background: -moz-linear-gradient(top,  #154360,  #D6EAF8);
		background: linear-gradient(-90deg, #154360, #D6EAF8);

	/* Esquinas redondeadas */
			-webkit-border-radius: 8px;
			-moz-border-radius: 8px;
			border-radius: 8px;

	/* Sombra de la caja */
			-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
			-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
			box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);

		height: 40px;
		margin: 0;
		padding: 0;
		position: relative;
		font: .79em/150% Arial, Helvetica, sans-serif;
		z-index: 100;
	}

.barra-footer{

	/* Degradacion */
		background: -webkit-gradient(linear, left top, left bottom, from(#154360), to(#D6EAF8));/*#D6EAF8*/
		background: -moz-linear-gradient(top,  #154360,  #D6EAF8);
		background: linear-gradient(-90deg, #154360, #D6EAF8);

	/* Esquinas redondeadas */
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
		border-radius: 8px;

	/* Sombra de la caja */
		-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
		-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
		box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);

		height: 40px;
		margin: 5px;
		padding-top: 10px;
		position: relative;
		z-index: 100;
	}

nav ul {
    padding: 0;
    margin: 0 auto;
    width: 780px; /* Define la cantidad de pixel de la ul */
    height: 40px;
}

nav li {
    display: inline;
    float: left;
}

nav a {
    color: #FFF;
    display: inline-block;
    width: 90px;
    text-align: center;
    line-height: 40px;
}

nav li a {
    border-right: 1px solid #576979;
	text-decoration: none;}

nav li:last-child a {
    border-right: 0;
}
nav li:first-child-child a {
    border-right: 5;
}
nav a:hover, nav a:active {
    background-color: #FF5733;
}

@media only screen and (max-width : 500px) {
    nav {
        border-bottom: 0;
        height: auto;
    }

    nav ul {
        display: none;
        height: auto;
        width: 100%;
    }

    nav li {
        width: 10%;
        float: left;
        position: relative;
    }

    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }

    nav a#pull {
        display: block;
/*        background-color: #666;*/
		background: #154360 /*#6a6a6a*/ url(nav-bar-bg.png) repeat-x;
		background: -webkit-gradient(linear, left top, left bottom, from(#154360), to(#D6EAF8));/*#D6EAF8*/
		background: -moz-linear-gradient(top,  #154360,  #D6EAF8);
		background: linear-gradient(-90deg, #154360, #D6EAF8);

	/* Esquinas redondeadas */
			-webkit-border-radius: 8px;
			-moz-border-radius: 8px;
			border-radius: 8px;

	/* Sombra de la caja */
			-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
			-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
			box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
        width: 100%;
        position: relative;
    }

    nav a#pull:after {
        background: url('nav-icon.png') no-repeat;
        content:"";
        display: inline-block;
        height: 30px;
        position: absolute;
        right: 15px;
        top: 10px;
        width: 30px;
    }
}