* {
margin:0px;
padding:0px;
}


body, textarea, select, input, h1,h2,h3,h4, p, a, li {
font:11px Verdana, arial, helvetica, sans-serif ;
line-height: 1.4em;
}

img {
border:none;
}

a{
	text-decoration:none;
	color:#9E6C00;/*9E6800*/
}

a:hover{
	text-decoration:underline;
}

ul{list-style:none;}

abbr, acronym, .help {
  border-bottom: 1px dotted #666;
  cursor: help;
  }



/*
--------------------------------------------------------------*/

body {
background: #DFD5B9;
/*background: #F4EEDD url(/img/bg_body.jpg) repeat-x;*/
}

#container{
float:left;
width:100%;
}

#header{
background: #242424 url(/img/header_bg.jpg) repeat-x;
height: 70px;
}

#header2{
width:678px;
margin:0 auto;
}

#nav{
position:relative;
background: #C0B394;
width:100%;
height:22px;
border-bottom: 1px solid #AA9E83;
}

#banner{
position:relative;
background: #DFD5B9 url(/img/bg_banner.jpg)  repeat-x;
width:100%;
height:80px;
border-bottom: 1px solid #D0C7AE;
}

	#contacto #banner{display:none;}

#banner2{
width:678px;
margin:0 auto;
}

#content{
width:100%;
background: #F4EEDD;
overflow:hidden;
}

#content2{
width:678px;
margin: 0 auto;
/*background: #F4EEDD url(/img/bg_content.gif) repeat-x;*/
}

#main {
	float:left;
	width: 578px;
	margin-top: 30px;
	margin-bottom: 30px;
	min-height:400px;
}

	#home #main,.list #main {
		width: 678px;
	}


#sidebar {	display:none;
	float:left;
	width: 200px;
	margin-left: 30px;
	margin-top: 30px;
}


#footer {
	clear:both;
	background-color: #DFD5B9;
	height:20px;
	padding-top:5px;

}

#footer2 {
width:678px;
margin: 0  auto;
}

/*HEADER-------------------------------------------------*/


#top{
	clear:both;
	font-size:1px;
	height:1px;
	background-color: #DE7D14;
}

#logo{
	float:left;
	width:290px;
}



#logo a{
	display:block;
	width: 290px;
	height: 39px;
	margin-top:17px;
	text-decoration: none;
	text-indent: -9999px;
	background: url(/img/logoB.gif) no-repeat;

}

#login{
	float:right;
	width:300px;
	text-align:right;
	padding-top:30px;
	color:#fff;
}

#login fieldset{
	border:none;
}

#login label, #nav_buscador input{
	font-size:11px;
}
#login label{
	color:#fff;
}
#login input.text{
	width:60px;
	border:1px solid #fff;
}


#login input.boton{
	/*background-color: #E9832D;
	border:1px solid #E9832D;*/
	border:none;
	background: url(/img/boton-p.gif) no-repeat;
	color:#fff;
	width: 60px;
	height: 17px;
	cursor:pointer;
}


/*BANNER-------------------------------------------------*/

#buscador{
	padding-top:20px;
}


#buscador fieldset{
	border:none;
}

#buscador label, #buscador input{
}


#buscador label{
	color:#302E28;
}


#buscador input.text{
	width:225px;
	padding:2px;
}



#buscador input.boton{
	/*background-color: #E9832D;
	border:1px solid #E9832D;*/
	border:none;
	background: url(/img/boton.gif) 0px 0px no-repeat;
	color:#fff;
	width: 80px;
	height: 22px;
	font-size:12px;
	cursor:pointer;


}


#buscador #opcion1-1{
	margin-top:5px;
}

#buscador #opcion1-1{
	margin-left:5px;
}

#buscador #opcion1-2,#buscador #opcion1-3{
	margin-left:15px;
}


/*-------------------------------------------------*/

#nav ul {
width:678px;
margin:0 auto;
} 

#nav ul li{
display:inline;
} 

#nav ul li a{
display:block;
float:right;
line-height:19px;
margin-left:15px;
color:#302E28;
text-decoration: none;
} 

#nav ul li a:hover{
border-bottom:3px solid #E9832D;
} 

#nav ul li a span.tecla{
text-decoration: underline;
text-transform: uppercase;
} 

#nav ul li a span.minuscula{
text-transform: lowercase;
} 

#nav ul li a span.mayuscula{
text-transform: uppercase;
} 

/*MAIN-------------------------------------------------*/

#main h1, #main p {
}

#main h1 {
font-size:24px;
font-family: georgia, serif;
margin-bottom:1em;
border-left:8px solid #F69000;
padding-left:0.5em;
}

	#home #main h1 {
	border:none;
	}


#main h2 {
clear:both;
font-size:1.2em;
font-weight: bold;
margin-bottom:1em;
}

#main p {
	color:#333;
	margin-bottom:1em;
	text-align: justify;
}

#main ul {
	margin-bottom:1em;
}


#main li{
	padding:1em;
}

#main li.par{
	background-color: #F7F5EE;
}

#main p.titulo,#main p.autor,#main p.fuente  {
	margin-bottom:0;
}

#main p.titulo a{
font-weight:bold;
}

#main p.autor a,#main p.fuente a  {
	color:#000;
}

#main p.autor a:hover,#main p.fuente a:hover  {
	text-decoration: underline;
}

#main p.pdf{
background-color: #F7F5EE;
padding:12px;
}

#main p.pdf a{
background: url(/img/pdf.gif) no-repeat 0 6px;
padding: 8px 0 8px 24px;
font-weight:bold;

}

#main ul.icono li{list-style:square;margin-left:20px;padding-left:0px;}

#main .raya{
font-size:1px;
margin: 12px 0;
border-top:1px solid #D0C7AE;
}

/*socialmedia: facebook, twitter... */ 

#socialmedia{
height:20px;
margin: 0 0 1.5em;
}

#facebook-button{
display:inline;
}

#facebook-button iframe{
border:none; 
overflow:hidden; 
width:90px; 
height:21px;
}

.twitter-share-button{
position:relative;
top:-1px;
}

.tuenti-button{
position:relative;
top:1px;
left:18px;
}


/*tablas--------------------------------------------------------*/

	/*INICIO TABLA */

	table
	{	width:96%;
	margin: 0 10px 20px;
		border-left:1px solid #999;
		border-top:1px solid #999;
		border-spacing:0px;/*por seguridad, ponerlo para eliminar el cellspacing en Mozilla. IE no lo soporta*/
		border-collapse:collapse;
	}

	table th
	{
		border-right:1px solid #999;
		border-bottom:1px solid #999;
		background: url(/img/th-back.gif) top left no-repeat;
		padding:0.2em 1em;
		border-spacing:0;
		vertical-align:top;
		white-space:nowrap;
		line-height:normal;
		color:#333;
		text-align:left;
	}

	table tr
	{
		margin:0;
		padding:0;
		border-spacing:0;
	}

	table td
	{
		border-right:1px solid #999;
		border-bottom:1px solid #999;
		margin:0 1em;/*?*/
		padding:0.2em 1em;
		border-spacing:0;
		vertical-align:top;
	}


	/*FIN TABLA */



/*cuadros, en index.php,*/

#main #bq50-1{
	float:left;
	margin-right:30px;
	width:320px;
}

#main #bq50-2{
	float:left;
	width:320px;

}


#main .cuadro{
	/*background-color: #DFD5B9;*/
	background: url(/img/bg_cuadro_contop2.jpg) no-repeat;
	padding: 0px 25px 20px; 
	width:270px;
}

#main .cuadro_bot{
	/*background-color: #DFD5B9;*/
	background:transparent url(/img/bg_cuadro_bot2.gif) no-repeat;
	height:5px;
	width:320px;
	margin-bottom:30px;
}

#main .cuadro_tit{
color:#fff;
font-size: 13px;
font-weight: bold;
height:30px;
line-height:30px;
margin-bottom:10px;


}

#main .cuadro li{
padding: 0 0 0.2em 0;
}

#main .cuadro li a{
background: url(/img/icon_broche.gif) 0 3px no-repeat;
padding-left:20px;
}


/*index.php,*/

	#home #main h1 {
		display:block;
		width: 242px;
		height: 45px;
		text-indent: -9999px;
		background: url(/img/h1_home.gif) no-repeat;

	}



/*autor*/

#main p.instit  {
}

/*articulo*/

#main #fotop  {
	float:left;
	margin: 0 20px 20px 0;

}

#main p.resumen  {
clear:both;
}

/*buscador.doc, nube etiquetas*/

#main a.nube{
margin-right:8px;
} 

/*CNT-------------------------------------------------*/

#contacto #main fieldset{
	width:400px;
	padding:20px;
	margin-bottom:2em;
}

#contacto #main legend{
	font-weight:bold;
	padding:0 2px;
	color:#000;
}

#contacto #main label{
	display:block;
	float:left;
	width:150px;
	margin-right:10px;
	text-align:right;
}

#contacto #main input{
	display:block;
	margin-left:160px;
	margin-bottom:1em;

}

#contacto #main input.textoculto{
	border:none;
	padding-top:2px;
	background-color: #F4EEDD;
	font-weight: bold;
}

#contacto #main select{
	display:block;
	margin-left:160px;
	margin-bottom:1em;

}

#contacto #main textarea{
	display:block;
	width:200px;
	height:100px;
	margin-left:160px;
	margin-bottom:1em;

}

#contacto #main #materias div{
	margin-left:140px;
	clear:both;

}

#contacto #main #materias label.alerta{
margin-bottom:1em;
}

#contacto #main #materias select{
	display:block;
	clear:both;
	margin-left:0px;
	height:100px;
}

#contacto #main #materias .check{
/*	display:block;
	float:left;
	margin-left:0px;
*/
}

#contacto #main #materias label{
/*
	display:block;
		width:200px;

	padding:0px;
	margin-left:10px;
	margin-bottom:1em;
	text-align:left;
*/
}

/*registro*/

#main .alerta {
background: #ffc url(/adm/img/exclamation.gif) 1em 1em no-repeat ;
border: 1px solid #AAAA93;
padding: 1em 1em 1em 40px;
margin: 1em 0;
margin-bottom:1em;
}

#main .exito {
background: #ffc url(/adm/img/accept.gif) 1em 1em no-repeat ;
border: 1px solid #AAAA93;
padding: 1em 1em 1em 40px;
margin: 1em 0;
margin-bottom:1em;
}

/*-------------------------------------------------*/

#sidebar h4{
background-color: #ccc;
padding:3px;
margin-bottom:0.5em;
}

#sidebar ul{
}

#sidebar ul li{
background-color: #aaa;
border-bottom:1px solid #000;
}

#sidebar ul li a{
display:block;
padding: 4px 10px;
background-color: #f00;
height:1%; /* IE WIN */
}

/*-------------------------------------------------*/

#footer2 p {
color: #fff;
font-size:9px;

}

#footer2 p a{
font-size:9px;
color: #E9832D;
}

#xhtml{float:right;}


