/* Beginning general settings */

body {	
	background-image:url('images/background.png');
	background-color:#E7E6E6;	
}

/* End general settings */

/* Beginning box settings */


#box {
	width:960px;	
	margin:10px auto 10px auto;	
	padding:0px;
	position:relative;
	border:solid white 1px;
	background-color:#FFF;
	-moz-box-shadow: 0 0 5px 5px #888;
	-webkit-box-shadow: 0 0 5px 5px#888;
	box-shadow: 0 0 5px 5px #888;
}

/* End box settings */

/* Beginning top line settings */

#wide_line {
	margin:15px 15px 0px 15px;
	padding:0px;
	height:20px;	
	background-color:#D0CECE;
	border:none;	
}

/* End top line settings */

/* Beginning header settings */

#header {
	margin:0px 0px 40px 0px;
	padding:0px 0px 0px 10px;		
	width:72%;
	float:left;
	height:auto;
}

#header p {
	font-family:Calibri, sans-serif;
	margin:0px 0px 0px 5px;
	font-size:60px;	
}

#header ul {	
	padding:0px;
	margin:0px 0px 0px 5px;	
}

#header ul li {
	display:inline;
	font-family:Calibri, sans-serif;
	color:#808080;
	margin:0px;
	font-size:26px;
}

#header ul li a {
	text-decoration:none;
	color:#808080;
}

#header ul li a:hover {
	color:#292F85;
	box-shadow:0 4px 2px -2px #808080;
	-moz-box-shadow:0 4px 2px -2px #808080;
	-webkit-box-shadow:0 4px 2px -2px #808080;
	position:relative;
	top:-1px;
}

/* End header settings */

/* Beginning foto settings */

#foto {
	float:right;
	width:auto;
	position:relative;
	left:-11px;
	top:5px;
}

#lateral {
	float:right;
	width:auto;
	position:absolute;
	left:720px;
	top:380px;
}

/* End header settings */

/* Beginning content settings */

#content {
	clear:left;
	width:72%;		
}

p {
	font-family:Arial, Helvetica, sans-serif;
	color:#6F6E6E;
	font-size:16px;
	margin-left:15px;
	text-align:justify;
}

#content p {
	font-family:Arial, Helvetica, sans-serif;
	color:#6F6E6E;
	font-size:23px;
	margin-left:15px;
	text-align:justify;
}

#content p a, p a {
	text-decoration:none;
	color:#A32E2E;		
}

/* End content settings */

/* Begin cv table settings */

.cv {
	border:none;
	margin:0px 5px 10px 15px;
	text-align:left;	
}

.cv tr th, .cv tr td {
			
}

.cv tr th {
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
	margin:0px 0px 5px 10px;
	color:#373737;
}

.cv tr td {
	font-family:Arial, Helvetica, sans-serif;
	color:#6F6E6E;
	font-size:18px;
	margin-left:10px;
	text-align:justify;	
}

.cv tr td a {
	text-decoration:none;
	color:#A32E2E;
}

.tag {
	width:170px;
}

#per_det tr .tag {
	color:#5B5B5B;	
}

.date {
	width:170px;	
}

.date, .description {
	padding-bottom:10px;
	padding-top:0px;
	vertical-align:text-top;
}

#residence, #fecha {
	text-align:left;	
}

/* End cv table settings */

/* Begin language settings */

.es_img {
	display: block;
	width: 24px;
	height: 14px;
	background: url('images/es.png') bottom;
	text-indent: -99999px;
	position:absolute;
	top:17px;
	left:915px;
	border:solid #5C5C5C 1px;
}
.es_img:hover {
	background-position: 0 0;
}

.en_img {
	display: block;
	width: 24px;
	height: 14px;
	background: url('images/en.png') bottom;
	text-indent: -99999px;
	position:absolute;
	top:17px;
	left:915px;
	border:solid #5C5C5C 1px;
}
.en_img:hover {
	background-position: 0 0;
}

/* End language settings */

/* Begin footer settings */

#footer {
	width:960px;	
	margin:0px auto 0px auto;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#6F6E6E;
	clear:both;
}

#footer table, td {
	border:none;	
}

.rounded {
	padding-left:2px;
	padding-right:3px;
	padding-bottom:2px;
	border:solid #CCC 1px;
	border-radius:5px;
	background-color:white;	
}

.rounded a {
	text-decoration:none;	
	color:#6F6E6E;	
}

/* End footer settings */

/* Begin random quotes settings */

.random_quotes {
	width:75%;	
	position:absolute;
	left:35px;
	top:300px;
}

.random_quotes p {
	margin:0px;
	padding:0px;	
}

.quote {
	font-family:Arial, Helvetica, sans-serif;
	color:#5B5B5B;
}

.quote_sign {
	font-family:Arial, Helvetica, sans-serif;
	color:black;
	font-weight:bold;	
}

.by {
	margin-top:10px;
	font-family:Arial, Helvetica, sans-serif;
	text-align:right;
	font-style:italic;	
}

/* Begin random twitter settings */

#twitter2 {
	position:relative;
	top:50px;
}

/* End random twitter settings */

/* Begin work settings */

#work_list td {
	font-family:Arial, Helvetica, sans-serif;
	color:#6F6E6E;
	font-size:20px;
	margin-left:15px;
	padding-left:10px;
	text-align:justify;
	
}

#work_list td a {
	text-decoration:none;
	color:#A32E2E;		
}

.work_year {
	/*color:#A32E2E;*/
	font-weight:bold;
	font-size:23px;
}



/* End random twitter settings */

/* Begin table_teaching settings */

#table_teaching td {
	border:solid 1px black;
	/*border-radius:5px;*/
	padding:10px;
	text-align:center;
	background-color:#f5f3f3;
	
}

#table_teaching {
	font-family:Arial, Helvetica, sans-serif;
	color:#6F6E6E;
	font-size:15px;
	margin-left:15px;
}

#table_teaching a {
	text-decoration:none;
	color:#A32E2E;		
}

#table_teaching th {
	text-align:center;
}

/* End table_teaching settings */

/* Begin asignaturas settings */

.asignatura td {
	border:solid 1px black;
	/*border-radius:5px;*/
	padding:10px;
	padding-right:5px;
	margin-right:5px;
	vertical-align:top;
	width:49%;
	
	
}

.asignatura {
	font-family:Arial, Helvetica, sans-serif;
	color:#6F6E6E;
	font-size:15px;
	margin-left:15px;
	text-align:left;
	margin-bottom:25px;
}

.asignatura_info td {
	border:none;
	padding:0px;
	margin:0px;
}

#mic td, #aut td, #aut2 td {
	border:none;
	padding:3px;
	margin:0px;
}

.asignatura_mat td {
	border:none;
	margin:0px;
}

.asignatura_info th {
	vertical-align:top;	
	width:25%;
	text-align:right;
}

.asignatura a, .asignatura_info a {
	text-decoration:none;
	color:#A32E2E;
}
/* End asignaturas settings */