﻿/** BASE **/

/* Márgenes */
@page {
	margin: .5em;
}
body {
	margin: 0;
	padding: 0;
}

/* Sin fuentes integradas */

/* Control partición silábica */
h1, h2, #titlepage p, #dedication p, #epigraph p {
	page-break-after: avoid;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
}
p {
	hyphenate-before: 3;
	-webkit-hyphenate-before: 3;
	hyphenate-after: 3;
	-webkit-hyphenate-after: 3;
	hyphenate-lines: 2;
	-webkit-hyphenate-lines: 2;
	orphans: 2;
	widows: 2;
}

/** FRONTMATTER **/

/* Cubierta */
.cover {
	margin: 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
img.cover {
	height: 100%;
}

/* Portada */
#titlepage {
	page-break-inside: avoid;
	text-align: center;
}
#titlepage p {
	text-align: center;
	text-indent: 0;
}
#titlepage p.title { 
	font-family: Athelas, Georgia, Times, Palatino, serif;
	font-size: 2em;
	font-weight: bold;
	margin-top: 2em;
}
#titlepage p.subtitle { 
	font-family: Athelas, Georgia, Times, Palatino, serif;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	margin: 1em 0 5em 0;
}
#titlepage p.author {
	font-family: Athelas, Georgia, Times, Palatino, serif;
	font-size: 1.05em;
	font-weight: normal;
	margin-top: 0;
	text-align: right;
}
#titlepage p.serie {
	font-size: 1em;
	font-style: italic;
	margin-top: 5em;
}
#titlepage p.date {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin-top: 2em;
}
#titlepage p.date {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin-top: 1em;
}

/* Créditos */
#copyright-page {
	margin-top: 4em;
}
#copyright-page div {
	margin-top: 1em;
}
#copyright-page p {
	font-family: sans-serif;
	font-size: .8em;
	text-align: left;
	text-indent: 0;
}
#copyright-page div.publisher {
	margin-top: 1.25em;
}
#copyright-page div.legal-notice {
	margin-top: 1.25em;
}
#copyright-page div.legal-notice p {
	font-style: normal;
	margin-right: 2.5em;
	text-align: justify;
}

/* Índice */
#toc h1 {
	text-align: center;
}
#toc ol {
	list-style: none;
	margin: 2em 0 0 0;
}
#toc ol li ol {
	list-style: none;
	margin: 0 0 0 0;
}
#toc li {
	margin: 1em 0 0 0;
	text-indent: 0;
}
#toc li ol li {
	margin: .2em 0 0 1em;
	text-indent: -1em;
}

/* Dedicatoria */
#dedication {
	margin-top: 4em;
}
#dedication p {
	font-style: italic;
	text-align: right;
}
#dedication p.signature {
	font-style: normal;
	margin-bottom: 1.5em;
}

/* Epígrafe */
#epigraph {
	margin: 4em 0 0 0;
}
#epigraph blockquote,
.epigraph blockquote {
	margin: 0 0 .25em 0;
}
#epigraph div {
	margin: 1.5em 0;
}
#epigraph blockquote p {
	font-style: italic;
	font-weight: normal;
	text-align: right;
	text-indent: 0;
}
#epigraph p.attrib {
	margin-top: 1em;
	text-align: right;
	text-indent: 0;
}

/* Agradecimientos */
#acknowledgments h1 {
	margin-bottom: 1em;
}

/** BODYMATTER **/

/* Principales elementos */
h1 {
	font-family: Athelas, Georgia, Times, Palatino, serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 2.5em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h1 span.label {
	display: block;
	padding-bottom: 1em;
}
h1 span.title {
	font-size: 125%;
}
h2 {
	font-family: Athelas, Georgia, Times, Palatino, serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.5em;
	margin: 1.2em 0 1.5em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
p {
	font-family: Athelas, Georgia, Times, Palatino, serif;
	font-size: .8em;
	line-height: 1.5;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-style: normal;
	font-weight: bolder;
	text-decoration: none;
}
abbr { 
	border: 0;
	font-style: normal;
}
cite {
	font-style: italic;
	display: inline;
}
hr {
	background-color: none;
	border: none;
	height: 1px;
	margin: 2em 0 0 0;
}
img {
	margin: 0;
	max-width: 100%;
	padding: 0;
}
q {
	font-style: italic;
}
q:before { 
	content: ""
}
q:after {
	content: ""
}

/* Estilos particulares */
div.signature {
	margin-top: 2em;
}
div.signature p {
	font-style: normal;
	margin: 0;
	text-align: right;
	text-indent: 0;
}

/* Poemas */
blockquote p {
	font-style: italic;
	text-indent: 0;
}

div.poem {
	page-break-before: always;
	padding-top: 1.5em;
}
div.poem p.title {
	font-size: 1.2em;
	font-style: italic;
	font-weight: bold;
	margin-bottom: 1em;
	text-indent: 0;
}
p.stanza {
	font-style: italic;
	text-align: left;
	text-indent: 0;
}
p.stanza + p.stanza {
  margin-top: 1em;
}
span.verse {
	display: block;
	font-weight: normal;
	margin-left: 1.5em;
	text-indent: -1.5em;
}

/* Dedicatorias de poema */
div.poem div.dedication {
	margin-bottom: 2em;
}
div.poem div.dedication p {
	font-style: italic;
	text-align: right;
	text-indent: 0;
}

/* Epígrafes */
div.epigraph {
	margin: 2em 0;
}
div.epigraph p {
	font-style: normal;
	text-align: center;
	text-indent: 0;
}
div.epigraph p.title {
	font-style: italic;
	font-weight: bold;
	margin-bottom: 1em;
}
div.epigraph p.signature {
	font-style: italic;
	text-align: right;
	margin-top: 1em;
}

/* Seudoversalitas con función normativa */
.sc {
	font-size: 80%;
}

/* Estilos consecuentes */
h1 + p {
	text-indent: 0;
}

/** Notas **/
a.noteref {
	font-size: .7em;
	line-height: 1;
	vertical-align: super;
}
div.footnote {
	margin: 1em 0;
}
div.footnote a.noteback {
	clear: left;
	float: left;
	font-size: .9em;
	line-height: 1.5;
	margin: 0 0 0 0;
	padding: 0;
	text-align: right;
	width: 2.25em;
}
div.footnote p{
	margin: 0 0 0 3em;
	text-indent: 0;
}

/** Bibliografías **/
ul.bibliography,
#bibliography ul {
	margin: 1em 0;
	padding: 0;
}
ul.bibliography li,
#bibliography li {
	list-style-type: none;
	margin-top: 0;
	margin-left: 1em;
	text-indent: -1em;
}
#bibliography p {
	margin: 1em 0;
	text-indent: 0;
}