﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	margin: 0;
	padding: 0 20px;
}

@font-face {
	font-family: GentiumPlus-R;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/GentiumPlus-R.ttf');
}
span.phonem {
	font-family: GentiumPlus-R;
}

/* Control partición silábica */
#titlepage p,
#dedication p,
h1,
h2,
h3,
h4 {
	page-break-after: avoid;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
}
p, li, td, dt, dd {
	-webkit-hyphenate-limit-before: 3;
	-webkit-hyphenate-limit-after: 1;
	-webkit-hyphenate-limit-lines: 2;
	orphans: 2;
	widows: 2;
}

/** FRONTMATTER **/

/* Cubierta */
.cover {
	margin: 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
img.cover {
	height: 100%;
}

/* Portadilla */
#titlepage {
	break-inside: avoid;
	page-break-inside: avoid;
}
#titlepage * {
	text-align: center;
	text-indent: 0;
}
#titlepage p.title {
	font-family: serif;
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 0 0 1.5em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 1.5em;
	font-style: normal;
	font-weight: normal;
	margin: 4em 0 2em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.contrib {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 5em 0 2em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage div.publisher {
	margin-top: 7em;
}
#titlepage div.publisher img {
	width: 8em;
}
#titlepage div.sello {
	margin-top: 2.5em;
}
#titlepage div.sello img {
	width: 3em;
}

/* Créditos */
#copyright-page {
	margin: 4em 2em 0 0;
}
#copyright-page div + div {
	margin: 1em 0 0 0;
}
#copyright-page p {
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}
#copyright-page p img {
	height: 2em;
	vertical-align: text-bottom;
}

/* Índice */
#toc {
	display: none;
}
#toc ol {
	list-style-type: none !important;
	margin: 1em 0;
	padding: 0;
}
#toc li {
	font-size: 1em;
	margin: .75em 0;
	padding: 0;
	text-align: left;
}
#toc li ol {
	margin: 0 0 0 1em;
}
#toc li li {
	margin: 0;
}
#toc li span.label {
	display: block;
}
#toc li span.title {
	font-weight: bold;
}
#toc a {
	color: #000;
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* Sinopsis */
#summary * {
	color: #000;
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.2em;
	text-align: center;
}

/* BODYMATTER */

div.subchapter {
	break-before: always;
	page-break-before: always;
	padding-top: 5em;
}
div.notice {
	break-before: always;
	page-break-before: always;
	padding-top: 5em;
}
div.header {
	break-after: always;
	page-break-after: always;
}
div.header img {
	max-width: 35%;
}
p.title {
	margin: 5em 0 2em 0;
	text-align: center;
	text-indent: 0;
}
p.title span.ordinal {
	display: block;
	margin-bottom: 1em;
}
p.title span.subtitle {
	display: block;
	font-size: .9em;
}
p.title + p {
	text-indent: 0;
}

/* Estilos generales */
h1 {
	font-family: serif;
	font-size: 1.25em;
	font-style: normal;
	font-weight: normal;
	margin: 4em 0 1.5em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
div.chapter h1 {
	margin-bottom: 2.5em;
}
h1 span.subtitle {
	display: block;
	font-size: .8em;
}
h2 {
	font-family: serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 4em 0 1.5em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h2 span.subtitle {
	display: block;
	margin-top: 1em;
}
h3 {
	font-family: serif;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 3em 0 1.5em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h3 span.ordinal {
	display: block;
}
h3 span.subtitle {
	display: block;
}
h4 {
	font-family: serif;
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-weight: bold;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0 1em 2em;
}
blockquote p {
	font-size: .9em;
	font-style: normal;
	text-indent: 0;
}
blockquote p.sect {
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}
blockquote p.sect + p {
	text-indent: 0;
}
blockquote p + p {
	text-indent: 1em;
}
i cite {
	font-style: normal;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: .25em 0;
}
hr + p {
	text-indent: 0;
}
hr.light + p {
	text-indent: 1em;
}
img {
	margin: 0;
	max-width: 100%;
	padding: 0;
}
q {
	font-style: italic;
}
q i {
	font-style: normal;
}
q:before {
	content: "";
}
q:after {
	content: "";
}
sub,
sup {
	font-size: .7em;
}

/* Listas */
ol {
	margin: 1em 0 1em 0;
	padding: 0 0 0 2.5em;
}
ul {
	margin: 1em 0 1em 0;
	padding: 0 0 0 2.25em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	font-size: 1em;
	text-indent: 0;
}
.lower-alpha {
	list-style: lower-alpha;
}
.upper-alpha {
	list-style: upper-alpha;
}
.upper-roman {
	list-style: upper-roman;
	margin-left: 1em;
}
ul.none {
	list-style: none;
	margin: 1em 0 1em 1em;
	padding: 0;
}
ul.french {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}

/* Figuras y captions */
div.figure {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
}
div.figure img.noborder {
	border: 0;
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
}
div.figure img.w30 {
	width: 30%;
}
div.figure img.w50 {
	width: 50%;
}
div.figure div.figcaption p {
	font-family: serif;
	font-size: 1em;
	font-style: normal;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	margin-top: .25em;
	page-break-before: avoid;
	text-align: center;
	text-indent: 0;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	margin: 1em 0;
}
div.signature p {
	font-style: italic;
	text-align: right;
}

/* Poemas */
div.poem {
	break-before: always;
	page-break-before: always;
	padding-top: 5em;
}
.poem p.title {
	font-style: italic;
}
p.stanza {
	margin: 1em 0;
	text-indent: 0;
}
span.voice {
	display: block;
	float: left;
	font-style: italic;
	text-align: right;
	width: 5em;
}
span.voice + span.number {
	display: block;
	float: left;
	margin-left: 3em;
	width: 2em;
	text-align: left;
}
span.number {
	display: block;
	float: left;
	margin-left: 7.85em;
	width: 2em;
	text-align: left;
}
div.poem span.verse {
	display: block;
	margin-left: 11em;
	text-align: left;
	text-indent: -1em;
}
p.acotation {
	display: block;
	float: right;
	font-size: .8em;
	font-style: italic;
	text-align: left;
	width: 6em;
	text-indent: 0;
}
span.line {
	display: block;
	float: right;
	text-align: right;
	width: 3em;
	text-indent: 0;
}
span.verse {
	display: block;
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;
}
span.verse-c {
	display: block;
	text-align: center;
}
blockquote.poem5 {
	margin-top: 3em;
	margin-left: 5em;
}
blockquote.poem5 span.voice {
	display: block;
	float: left;
	font-style: italic;
	text-align: left;
	width: 5em;
	margin-left: -5em;
}
blockquote.poem-center {
	margin: 1em 0;
}
blockquote.poem-center p.stanza {
	text-align: center;
}
blockquote.poem-center span.verse {
	text-align: center;
}


/* Comentarios */
div.refs {
	margin: 1em 0;
}
div.refs span.ref-number {
	margin: 0 0 0 0;
}
div.refs p.ref {
	margin-top: 1em;
	margin-left: 1em;
	text-indent: -1em;
}
div.refs p {
	margin-left: 1em;
	text-align: justify;
	text-indent: 1em;
}
div.refs blockquote p {
	text-indent: 0;
}
div.refs blockquote p + p {
	text-indent: 1em;
}
div.refs blockquote.french p {
	margin-left: 2em;
	text-indent: -1em;
}
div.refs p.continue {
	text-indent: 0;
}

/* Otros estilos */
p.asterism {
	margin: .7em 0 .3em 0;
	text-align: center;
	text-indent: 0;
}
div.asterism {
	margin: 1em 0 1.5em 0;
	text-align: center;
	text-indent: 0;
}
div.asterism img {
	width: 4em;
}
div.asterism img.long {
	width: 10em;
}
p.point {
	font-style: italic;
	margin: 1em 0 0 0;
	break-after: avoid;
	page-break-after: avoid;
	text-indent: 0;
}
p.point + p {
	text-indent: 0;
}
p.continue {
	text-indent: 0;
}
span.underline {
	text-decoration: underline;
}

/* Tablas */
table {
	border: none;
	border-collapse: collapse;
	margin: 1em auto;
	width: 100%;
}
table p {
	text-align: left;
	text-indent: 0;
}
th {
	border: 0;
	border-collapse: collapse;
	padding: .25em;
}
th p {
	font-style: italic;
	text-decoration: underline;
}
td {
	border: 0;
	border-collapse: collapse;
	margin: 1em auto;
	padding: .25em;
}

/* Listas de definición */
dl {
	margin: 1em 0 1em 1em;
}
dt {
	clear: left;
	float: left;
	margin: 0;
	text-align: left;
}
dd {
	display: block;
	padding-left: .5em;
	text-align: left;
}
div.legend p {
	margin: 0;
	text-indent: 0;
}
div.legend dl {
	margin: 0 0 0 1em;
}

/* Diccionario */
h3.letter {
	font-style: normal;
	font-weight: bold;
	text-align: center;
}
p.dictionary-entry {
	margin-left: 1em;
	text-indent: -1em;
}

/* Condicionales */
h1 + p,
h2 + p,
h3 + p,
h4 + p {
	text-indent: 0;
}

/* Bibliografía */
.bibliography h2 {
	font-size: 1em;
	font-weight: normal;
	margin: 2em 0 1em 0;
	text-align: left;
}
.bibliography ul {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
.bibliography li {
	margin: 0 0 0 1em;
	text-align: left;
	text-indent: -1em;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnote {
	margin: .6em 0 0 0;
	page-break-inside: avoid;
}
div.footnote p {
	font-size: .8em;
	margin: 0 0 0 2.5em;
	overflow: hidden;
	text-indent: 0;
}
div.footnote a.noteback {
	display: inline;
	float: left;
	clear: left;
	font-size: .8em;
	font-style: normal;
	margin: 0;
	padding: 0 .25em 0 0;
	page-break-after: avoid;
	text-align: right;
	vertical-align: inherit;
	width: 2em;
}
div.footnote a.noteback + p {
	page-break-before: avoid;
}

/* Notas | Notas finales */
div.rearnotes h2 {
	font-size: 1em;
	font-weight: normal;
	margin: 2em 0 1em 0;
	text-align: left;
}
div.rearnote {
	margin: .6em 0 0 0;
	page-break-inside: avoid;
}
div.rearnote p {
	font-size: .8em;
	margin: 0 0 0 2.5em;
	overflow: hidden;
	text-indent: 0;
}
div.rearnote a.noteback {
	display: inline;
	float: left;
	clear: left;
	font-size: .8em;
	font-style: normal;
	margin: 0;
	padding: 0 .25em 0 0;
	page-break-after: avoid;
	text-align: right;
	vertical-align: inherit;
	width: 2em;
}
div.rearnote a.noteback + p {
	page-break-before: avoid;
}