* {
	padding:0;
	margin:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {

	font-family: Helvetica;
    font-size: 1em;
    letter-spacing: 2px;
    font-weight: lighter;
	color: #000;
}

.menu_bar {
	display:none;
}

header {
	width: 100%;
	margin: 1em 0 0 0 ;
	/*background:#f2f2f2; /**/
}


.encabezado{
	margin: 0 auto;  /* CENTRA AL ELEMENTO*/
	max-width: 800px;
	/* border: thin dashed #be2b21; */
	text-align: center;
	/*background: #ff0000;  /*------------- R O J O -----------*/
} 

.nombre {
    /*background: #fff; /*COLOR FONDO LOGO O NOMBRE*/
    display: inline-block;
    min-width: 30%;
    text-align: left;
    vertical-align: middle;
    height: 60px;
    padding: 20px;
    /*background: #0000ff;   /*------------- A Z U L -----------*/
}

h1 {
	font-size: 0.9em;
    font-weight: normal; /**/
    letter-spacing: 2.5px;
    padding: 0;
}

h1 a {
	text-decoration: none;
	color: #981a1a;
}

h2 {
    font-size: 1em;
    font-weight: normal; /**/
    letter-spacing: 0.1em;
    color: #981a1a;
    padding-bottom: .5em;
}
h3 {
    font-size: 0.9em;
    font-weight: lighter; /**/
    letter-spacing: 0.1em;
    color: #656565;
}



a {
	color: #828282; /*color de los links*/
    text-decoration: none;       
}

a:hover {
   color: #ff0000; /**/       
}

h1 a:hover {
   color: #ff0000; /**/       
}


header nav {
	
	z-index:1000;
	max-width: 1000px;  /* */

	min-width: 55%;
    display: inline-block; 
    vertical-align: middle;
    text-align: right;  /**/
    /*float: right; /* */
    /* border: thin dashed #be2b21; */
    height: 50px;   /* altura del NAV */
    /*background:#00ff00;   /*------------- V E R D E -----------*/
    /*margin: 0; /**/

}

/* --------------------------------------------------------------------------- */


header nav ul {
	list-style:none;
}

header nav ul li {
	display:inline-block;
	position: relative;  /* ------ afecta a todos los botones--------- */
	text-align: left;
	/* border: thin dashed #be2b21; */ 
	/* font-size: 0.9em; /*   ------    TAMAÑO LETRAS LINKS MENU  ----------  */
	letter-spacing: 2.5px;
	padding: 0 0.8em 0.3em 0.8em;
	border-bottom: 1px solid rgba(0,0,0,0); /**/
	margin: 15px 0 0 0;
}

header nav ul li:hover {
	/*background:#DBDBDB; /*HOVER DE LOS LINKS*/
	border-bottom: 1px solid rgba(255,0,0,1); /**/
}

header nav ul li a {
	color:#656565;   /* gris oscuro textos */
	display:block;
	text-decoration:none;
	/*margin: 10px 0 0 0; /*   PADDING DE LOS LINKS */
}

header nav ul li a span {
	margin-right:10px;
}


/* -------------------------------------------------- */




/* ------------------------    CUERPO     -------------------------- */

.textos {
	padding: 1em;
	border-bottom: 1px solid rgba(230,230,230,1); /*-----*/
} 


.textos:hover {
	background: #f2f2f2;
} 

section#contenedor {
    background: #f5f5f5; /**/
    border-radius: 0.5em;
    margin: 3em auto;
    max-width: 800px;
    min-width: 330px;
    min-height: 400px;
    text-align:left;  
}


section#encabezado, section#galeria{
	/*background: #fff; /*f9f2fa - edcef1*/
	border-radius: 0.5em;

}
section#encabezado {
    padding: 1em; 
}
section#galeria {
    padding: 1em 0;
    text-align: center;
}


section#galeria img {
    max-width: 600px;
    width: 100%;
    height: auto;
}


article{
    padding: 1em 4em 2em 4em; 
    text-align : left;
    letter-spacing:1px;
    line-height:1.5em;
}

article p{
	padding: 0;
}

.curriculum {
	/*text-indent: -4em; /**/
	/*padding: 0 2em 0 5.5em;*/
	line-height: 1.4em; /**/
}

.curriculum p{
	/*padding: 0 0 1.4em 3em;  /*¿por que agregar el último em????*/
	/*line-height: 2em; /**/
}

.curriculum p strong{
	padding: 0 1em 0 0; /**/
	/*line-height: 2em; /**/
}


.titulo_cv{
	text-transform: uppercase; /**/
	font-weight: bolder;
	letter-spacing: 0.2em;
	font-size: 0.9em;
	margin: 0.5em 0;
}

.titulo_txt{
	/*text-transform: uppercase; /**/
	font-weight: bolder;
	margin: 2em 0 1em 0;
}


.ficha {

	color: #828282; 
	margin: 1em 2em;
	letter-spacing:0.8px;
	font-size: 0.9em;
}

/* -------------------------------------------------- */


header nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:10px;
	margin-right:0px;
}

@media screen and (max-width: 600px) {
	
	/*
	.menu_bar span {
		float: right;
		font-size: 40px;
	} */

	.menu_bar {
		display:block;
		background:#666;
	}

	.menu_bar .bt-menu {
		display: block;
		padding: 10px;
		color: #fff;
		overflow: hidden;
		font-size: 1.3em;
		/*font-weight: bold; /**/
		text-decoration: none;
		border-bottom: 2px solid rgba(255,255,255,1); /* LINEA ABAJO DEL MENU*/

	}

	.nombre {
	    margin: 0 0 20px 0;
	    padding: 10px;
	    line-height: 1.6em;
	}

	header nav {
		width: 100%;
		/*height: calc(100% - 80px);*/
		min-height: 600px;
		position: fixed;
		right:100%;
		margin: 0;
		overflow: scroll;
		border-bottom: 0px solid rgba(0,255,255,1); /*-----*/
		background:#eee; /* Colorea el fondo de los botones del menú*/
	}

	header nav ul li {
		display: block;
		padding: 0 0.8em 1em 0.8em;
		text-align: center;
		font-size: 1.2em;
	}



	header nav ul li a {
		display: block;
		margin-left: 30px;  /* MARGEN DE LOS ELEMENTOS PADRE*/
		color: #000; /* pintar las letras de los links del menú*/

	}


	h1 {
		font-size: 1.1em;
	    letter-spacing: 3.5px;
	    text-align: center;
	}

	article{
    	padding: 1em 2em 2em 2em; 
	}

	.submenu {
		border-bottom: 1px solid rgba(255,255,255,1); /*-----*/
	} 

	.curriculum {
		text-indent: -4em; /**/
		padding: 0 2em 0 3.5em;
		line-height: 1.4em; /**/
	}

}
