/*

Theme Name: Ex-Libris
Theme URI: 
Description: Plantilla con la apariencia de un libro de formato clásico: tapa fotorrealista, páginas con aspecto de hoja de papel antiguo, textos en letras con serif, claros, legibles y simples. Basado en el trabajo "Manifest", de Jim Barraud.
Version: 1.01
Author: Antonio Cruces Rodríguez
Author URI: http://web.me.com/acruces
Tags: simple, limpio, una columna, libro, clásico

*/

/* ============================================= */
/* === INICIALIZACIÓN DE TODOS LOS ELEMENTOS
/* ============================================= */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* ATENCIÓN: marcar los estilos cuando reciben el foco */
:focus {
	outline: 0;
}

/* ATENCIÓN: marcar las inserciones y borrados */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

/* ATENCIÓN: no olvidar que las tablas siguen necesitando el modificador "cellspacing=0" en la etiqueta de inicio */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ============================================= */
/* === ESTILOS GLOBALES
/* ============================================= */

body{
  background: #ffffff url(images/Creme_browserbg.jpg) repeat scroll top left; 
  margin: 0pt;
  font: 62.5% constantia, palatino, "times new roman";
  color: #333;
}

strong{
  font-weight: bold;
}

/* Enlaces */
a {
  text-decoration: none;
}

a:link,
a:visited{
  color: #9C8A6A;
  text-decoration: none;
}

a:hover {
  color: #3E372B;
  text-decoration: underline;
}

a:active{
  color: #3E372B;
}

/* Cabeceras */

h1{
  margin: 10px 0 20px;
  font-size: 3.3em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .05em;
  word-spacing: .2em;
}

h1 a{
  padding-right: 60px;
  margin-left: 60px;
  text-decoration: none;
}

h1 a:link,
h1 a:visited{
  color: #000;
}

h1 a:hover {
  text-decoration: underline;
}

h1 a:active{
  color: #000;
}

h2{
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 2.4em;
  font-weight: normal;
  color: #000;
  text-transform: uppercase;
}

h3{
  margin-bottom: 5px;
  font-size: 2.3em;
  font-weight: normal;
}

h3 a{
  text-decoration: none;
}

h3 a:link,
h3 a:visited{
  color: #333;
}

h3 a:hover {
  text-decoration: underline;
}

h3 a:active{
  /* DESACTIVADO: text-decoration: underline; */
}

h4{
  margin-bottom: 10px;
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
}

h5{
  position: relative;
  top: -35px;
  margin-bottom: 10px;
  /* DESACTIVADO: font-family: "helvetica neue", helvetica, arial; */
  font-size: 1.2em;
  color: #999;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  background: transparent; /* DESACTIVADO: #fff; */
}

/* Fechas y encabezamientos en páginas */
h5 abbr{
  display: inline-block;
  position: relative;
  margin: 0 auto;
  padding: 0 8px;
  background: #a0a0a0; /* DESACTIVADO: #fff; */
  color: #ffffff;
  padding-top: 2px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  top: 8px;
}

/* Elementos de formularios */
input[type=text],
textarea{
  border: 1px solid #ddd;
  padding: 3px;
  font-family: helvetica, arial, sans-serif;
  font-size: 12px;
  color: #666;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

input:focus,
textarea:focus{
  border-color: #999;
  color: #333;
}

input[type=submit]{
  padding: 3px 10px;
  color: #fff;
  font-weight: bold;
  background-color: #8EA7AA;
  background-image: url(images/button.png);
  background-repeat: repeat-x;
  background-position: left top;
  border-width: 1px;
  border-style: solid;
  border-color: #999;
  border-radius: 10px;
  -webkit-transition: border-color .2s ease-in, background-color .2s ease-in;
  -moz-border-radius: 12px;
  -webkit-border-radius: 10px;
  cursor: pointer;
}

input[type=submit]:hover,
input[type=submit]:focus{
  background-color: #697D80;
  border-color: #666;
}

/* ============================================= */
/* === ESTRUCTURA DEL DOCUMENTO
/* ============================================= */

#borderWrapper{
  margin: 20px auto 0px;
  padding-top: 0px;
  width: 650px;
  height: 150px;
  text-align: center;
  position: relative;
  background: transparent url(images/LayeredPaper_01_d.jpg);
  border: 0px solid #000000;
  padding: 10px;  
}

#borderBottomWrapper{
  margin: 0px auto 20px;
  padding-top: 0px;
  width: 650px;
  height: 120px;
  text-align: center;
  position: relative;
  background: transparent url(images/LayeredPaper_04_d.jpg);
  border: 0px solid #000000;
  padding: 10px;  
}

#coverWrapper{
  margin: 20px auto 20px;
  padding-top: 0px;
  width: 569px;
  height: 847px;
  text-align: center;
  position: relative;
  background: transparent url(images/bookcover.png);
  border: 0px solid #000000;
  padding: 10px;
  
}

#siteWrapper{
  margin: 0px auto 0px;
  padding-top: 0px;
  width: 650px;
  text-align: center;
  position: relative;
  background: transparent url(images/LayeredPaper_03-1.jpg);
  border: 0px solid #000000;
  padding: 10px;
  
}

#siteDescription{
  font-size: 1.7em;
  margin: 10px auto 60px;
  width: 600px;
  padding: 11px 0 13px;
  color: #999;
  font-style: italic;
}

/* ============================================= */
/* === SISTEMA PRINCIPAL DE NAVEGACIÓN
/* ============================================= */

#mainNav{
  margin-top: 10px;
  padding: 5px;
  /* DESACTIVADO: background: #FBFBFB; */
  /*border-top: 1px solid #c0c0c0;*/
  /*border-bottom: 1px solid #c0c0c0;*/
  
}

#mainNav ul{
  margin: 0 auto;
  width: 650px; /* DESACTIVADO: 45em; */
  text-align: center;
}

#mainNav li{
  display: inline;
  margin-right: 20px;
  font-size: 1.5em;
  text-transform: uppercase;
}

#mainNav li:last-child{
  margin-right: 0;
}

#mainNav a:link,
#mainNav a:visited{
  color: #999;
}

#mainNav a:hover,
#mainNav a:active{
  /*text-decoration: underline;*/
  color: #2E301C;
}

#mainNav .current_page_parent a:link,
#mainNav .current_page_parent a:visited,
#mainNav .current_page_item a:link,
#mainNav .current_page_item a:visited{
  font-weight: bold;
  color: #2A2D1A;
}

#mainNav .current_page_parent a:hover,
#mainNav .current_page_parent a:active,
#mainNav .current_page_item a:hover,
#mainNav .current_page_item a:active{
  color: #2E301C;
}

/* ============================================= */
/* === CUERPO DEL DOCUMENTO. CONTENIDO
/* ============================================= */

#coreContent{
  float: left;
  width: 650px;
  margin-top: 8px;
  /* DESACTIVADO:
  padding-left: 20px;
  padding-right: 80px;
  */
}

/* ============================================= */
/* === PÁGINAS Y NOTICIAS
/* ============================================= */

.postContent{
  position: relative;
}

.postContent h4{
  position: relative;
  top: 0;
  font-family: constantia, palatino, times new roman;
  font-size: 1.2em;
  color: #999;
  font-weight: normal;
  font-style: italic;
  border-bottom: none;
}

.postDate ~ .postContent{
  margin-top: -30px;
}

#coreContent p,
#coreContent li,
#coreContent dd{
  margin-bottom: 1.7em;
  font-size: 1.4em;
  line-height: 1.5em;
  color: #333;
  text-align: justify;
}

#coreContent p{
  text-align: justify;
}

#coreContent li{
  list-style: square;
  margin-left: 17px;
}

#coreContent dt{
  font-size: 1.3em;
  color: #333;
}

.entry-content{
  margin-top: 0px;
  text-align: left;
  padding: 20px;
}

.entry-content a:link,
.entry-content a:visited{
  text-decoration: underline;
}

.hentry{
  position: relative;
  padding-bottom: 37px;
  border-bottom: 1px dotted #ddd;
  margin-bottom: 30px;
}

#coreContent .postMeta{
  margin: 40px auto 0;
  font-size: 1.3em;
  color: #999;
}

#coreContent .postMeta div{
  margin-bottom: 5px;
}

#coreContent .postMeta a:link,
#coreContent .postMeta a:visited{
  color: #666;
}

#coreContent .postMeta a:hover,
#coreContent .postMeta a:active{
  color: #666;
}

#coreContent .postMeta span{
  text-transform: uppercase;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
  color: #333;
  border: none;
  padding: 0;
  font-family: constantia, palatino, times new roman;
  font-weight: bold;
  margin: 0 0 5px;
  font-style: normal;
  position: static;
}

.entry-content h1{
  font-size: 2em;
  letter-spacing: 0;
}

.entry-content h2{
  font-size: 1.8em;
}

.entry-content h3{
  font-size: 1.6em;
}

.entry-content h4,
.entry-content h5,
.entry-content h6{
  font-size: 1.4em;
}

.entry-content strong{
  color: #000;
}

.entry-content pre{
  color: #666;
  font-size: 1.5em;
  line-height: 18px;
  margin-bottom: 15px;
}

.entry-content ul,
.entry-content ol{
  margin: 0 0 20px 15px;
}

.entry-content ol li{
  list-style-type: decimal !important;
}

.entry-content li{
  margin-bottom: 5px !important;
}

.entry-content dt{
  font-family: helvetica, arial, sans-serif;
  font-weight: bolder;
  font-variant: small-caps;
}

.entry-content dd {
  padding-left: 25px;
}

.entry-content blockquote{
  font-size: 1.4em;
  font-style: italic;
  line-height: 1.5em;
  color: #7D7D7D;
  margin: 0 20px 20px;
  padding-left: 10px;
  border-left: 3px solid #ccc;
}

#coreContent .entry-content blockquote p{
  font-size: 1.1em;
  line-height: 1.3em;
  color: #7D7D7D;
}

.entry-content .alignleft{
  float: left;
  margin: 4px 10px 10px 0;
  border: 0px #a9a9a9 solid;
}

.entry-content .alignright{
  float: right;
  margin: 4px 0 10px 10px;
}

.entry-content .wp-caption.alignnone{
  margin-bottom: 15px;
}

#coreContent .entry-content p.wp-caption-text{
  font-size: 1.1em;
  font-style: italic;
  color: #666;
  margin-bottom: 0;
}

.hentry img{
  margin: 0 auto;
  border: 1px solid #ccc;
}


/* ============================================= */
/* === PÁGINA INDIVIDUAL ("SINGLE")
/* ============================================= */

.single h3{
  margin-top: 30px;
  margin-bottom: 5px;
}

.single h5{
  position: static;
  font-family: "helvetica neue", helvetica, arial;
  font-size: 1.2em;
  color: #999;
  font-weight: normal;
  border-bottom: none;
  background: #fff;
}

.single.hentry{
  border-top: 1px solid #efefef;
  margin-top: -50px;
  border-bottom: none;
  padding-bottom: 0;
}

#coreContent .single .postMeta{
  margin: 20px 0 0;
  padding-top: 0;
  padding-bottom: 17px;
  text-align: left;
}

/* ============================================= */
/* === PÁGINA DE ENLACES
/* ============================================= */

#coreContent .entry-content #linkList{
  margin-left: 0;
}

#coreContent .entry-content #linkList li{
  list-style-type: none;
  margin-left: 0;
}

#coreContent .entry-content #linkList li li{
  font-size: .9em;
  list-style-type: square;
  margin-bottom: 20px !important;
  margin-left: 15px;
}

#coreContent .entry-content #linkList ul{
  margin: 10px 0 40px;
}

/* ============================================= */
/* === COMENTARIOS
/* ============================================= */

.commentEntry{
  padding: 25px 0;
  border-bottom: 1px solid #ccc;
}

#coreContent .commentEntry p{
  color: #666;
}

.avatar{
  float: left;
  margin-top: 4px;
}

.commentContent{
  float: left;
  width: 415px;
  margin-left: 22px;
}

.commentMeta{
  color: #333;
  font-size: 1.1em;
  text-align: left;
}

.commentMeta a:link,
.commentMeta a:visited{
  font-weight: bold;
}

.nocomments{
  font-size: 1.2em;
  padding: 25px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/* Formulario de comentarios */

fieldset{
  background: #F6F6F6;
  padding: 0 0 10px;
  vertical-align: top;
}

legend{
  position: relative;
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  text-align: left;
  margin: 0;
  padding: 0 0 4px 0;
}

legend span{
  position: relative;
  top: -15px;
  display: block;
  width: 650px;
  background-color: #fff;
  text-align: center;
}

#comments h4,
legend span{
  border-top: 1px solid #ccc;
  border-bottom: 1px dotted #ccc;
  padding: .5em 0 .7em;
  font-weight: bold;
  text-align: left;
}

legend span{
  text-align: center;
}

.leaveComment{
  margin-top: 14px;
  padding-bottom: 19px;
}

.commentForm{
  font-size: 1.1em;
  text-align: left;
  text-transform: uppercase;
  margin: 0 10px;
}

.commentForm em{
  text-transform: lowercase;
  font-style: italic;
  color: #999;
  font-size: 1em;
}

.commentForm input[type=text]{
  display: block;
  margin-bottom: 15px;
  width: 480px;
  font-size: 1.4em;
}

.commentForm textarea{
  width: 480px;
  max-width: 480px; /* Restricción de capacidad de reescalado en navegadores basados en WebKit (OSX) */
  height: 100px;
  font-size: 1.4em;
}

.commentForm input[type=submit]{
  float: right;
  margin-top: 8px;
}

/* ============================================= */
/* === NAVEGACIÓN PAGINADA
/* ============================================= */

.pageNav{
  margin-top: 40px;
}

.pageNav a:link,
.pageNav a:visited {
  display: inline-block;
  color: #fff;
  font-family: helvetica, arial, sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #666; /* transparent; /* DESACTIVADO: #666; */
  background-image: url(images/button.png);
  background-repeat: repeat-x;
  background-position: left top;
  padding: 3px 10px;
  border-width: 1px;
  border-style: solid;
  border-color: #575757;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -webkit-transition: border-color .2s ease-in, background-color .2s ease-in;
}

.pageNav a:hover,
.pageNav a:active {
  text-decoration: none;
  background-color: #3F3F3F;
  border-color: #232323;
}

.pageNav .prev,
.pageNav .next{
  display: inline;
}

.pageNav .prev{
  margin-right: 2px;
}

.pageNav .next{
  margin-left: 2px;
}

/* ============================================= */
/* === HEMEROTECA ("ARCHIVOS")
/* ============================================= */

#archives{
  margin-top: -50px;
}

h2.archiveTitle{
  margin: -30px 0 70px;
  color: #666;
}

h2.archiveTitle strong{
  color: #000;
}

#archives h3,
#coreContent li h3{
  font-family: constantia, palatino, times new roman;
  font-size: 1.6em;
  text-align: left;
  color: #333;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0 0 5px;
  border-bottom: 1px solid #ccc;
}

#coreContent li h3{
  font-size: 1.2em;
}

#archives label{
  font-family: constantia, palatino, times new roman;
  font-size: 1.4em;
  color: #333;
  font-weight: normal;
  text-transform: uppercase;
}

#archives #date{
  float: left;
  width: 150px;
}

#archives #categoryTags{
  float: left;
  width: 320px;
  margin-left: 30px;
}

#archives ul{
  margin: 5px 0 60px;
  text-align: left;
}

#archives ul li{
  display: inline-block;
  margin: 0 5px 5px 0;
  color: #999;
  font-size: 1.3em;
  line-height: 1.5em;
  white-space: nowrap;
}

#archives li a{
  margin-right: 5px;
}

#archives #date ul li{
  display: block;
  list-style-type: none;
  margin: 0 10px 0 0;
}

.tagArchives li{
  float: left;
  margin-right: 10px;
}

.categories li{
  margin-bottom: 5px;
  font-size: 2.3em;
}

/* ============================================= */
/* === NOTICIAS MÁS RECIENTES (EN PÁGINA 404)
/* ============================================= */

#recentPosts{
  border-top: 2px solid #ccc;
}

#recentPosts li{
  list-style: none;
  margin: 0;
  padding: 5px;
  border-bottom: 1px solid #ccc;
}

#recentPosts a{
  float: left;
}

#recentPosts .postDate{
  float: right;
}

/* ============================================= */
/* === RESULTADOS DE LAS BÚSQUEDAS
/* ============================================= */

#coreContent.searchresults{
  margin-top: -35px;
}

.searchresults .postMeta{
  text-align: left;
}

.searchpanel{
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
  margin: 0 0 40px;
  padding: 10px 0;
}

.searchpanel input[type=text]{
  width: 250px;
  font-size: 1.7em;
}

.searchpanel input[type=submit]{
  font-weight: normal;
  -webkit-border-radius: 12px;
  -moz-border-radius: 16px;
  background-position: left 5px;
  font-size: 1.4em;
  
}

/* ============================================= */
/* === PIE
/* ============================================= */

#footer{
  width: 650px;
  margin: 40px auto 0;
  padding: 20px 0 35px 0;
  border-top: 4px double #ccc;
  color: #666;
  text-align: center;
}

.footerContent{
  width: 650px;
  margin: 20px auto 0;
  clear: left;
}

#footer p{
  line-height: 1.4em;
  font-size: 12px;
}

#footer #search{
  margin: 15px 0 30px;
}

#footer h5{
  position: relative;
  top: 0;
  margin-bottom: 8px;
  font-family: constantia, palatino, times new roman;
  font-size: 1.3em;
  color: #666;
  font-weight: normal;
  text-transform: uppercase;
  border-bottom: none;
}

#footer .elsewhere{
  margin-bottom: 30px;
}

#footer .elsewhere li{
  display: inline;
  padding: 0 8px 0 0;
  margin: 0 5px 0 0;
  border-right: 1px dotted #ccc;
  font-size: 1.2em;
}

#footer .elsewhere li.last{
  padding: 0;
  margin: 0;
  border-right: none;
}

#footer #search input[type=text]{
  font-size: 1.4em;
  border-color: #ccc;
}

#footer #search input[type=text]:focus{
  border-color: #999;
}

/* ============================================= */
/* === ANUNCIOS ("ADS") DE GOOGLE
/* ============================================= */

.googleAd{
  margin-bottom: 40px;
  padding-top: 40px;
  border-top: 1px dotted #ccc;
}

/* ============================================= */
/* === EDICIÓN (PARA ADMINISTRACIÓN)
/* ============================================= */

.loggedin a:link,
.loggedin a:visited,
a.post-edit-link:link,
a.post-edit-link:visited,
a.comment-edit-link:link,
a.comment-edit-link:visited{
  color: #f00;
  font-weight: bold;
  text-decoration: underline;
}

#coreContent p.loggedin{
  display: inline-block;
  margin-bottom: 35px;
  padding: 10px;
  background: #efefef;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

/* ============================================= */
/* === ELEMENTOS FLOTANTES: "AUTOLIMPIEZA"
/* ============================================= */

#siteWrapper:after,
.post:after,
.commentEntry:after,
.commentForm:after,
#footer .elsewhere:after,
#metaContent .metaExtend:after,
#mainNav:after,
#mainNav ul:after,
#archives ul:after,
#coreContent .postMeta:after,
#recentPosts li:after{
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

/* ============================================= */
/* === OTROS ESTILOS
/* ============================================= */

.capitalLetter
{
   float:left;
   color:black;
   /* DESACTIVADO: background:white; */
   border:1px solid #c0c0c0;
   font-size:80px;
   line-height:60px;
   padding:10px;
   font-family:times;
   margin-right: 10px;
}

#linkList {
	font-size:12px;
	line-height: 1;
	margin-bottom: 0px;
}

.alphabetLetter {
  /*display: inline-block;*/
  /*position: relative;*/
  text-align: center;
  font-size: 35px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  /*background: #000000;*/
  color: #aa3333;
  text-transform: uppercase;
}

.alphabetList {
  text-align: center;
  font-size: 18px;
  color: #aa3333;
}

.alphabetList a:link, a:visited, a:active {
  text-decoration: none;
}

.exlibris {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 22px;
}

.imageSearchResults {
  height: 110px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 14px;
}

#translation_bar {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#translation_bar img {
  padding-left: 10px;
}

