﻿/** BASE **/

/* Márgenes */
body {
	font-family: Georgia, serif;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}
body * {
	font-family: inherit;
	line-height: inherit;
}

/* Fuentes integradas */
@font-face {
	font-family: Lucida;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/Lucida.ttf');
}

/* Control partición silábica */
#titlepage p,
#copyright-page 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%;
}

/* Portada */
#titlepage {
	page-break-inside: avoid;
}
#titlepage p.title {
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
	margin: 1.5em 0 .3em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.subtitle {
	font-size: 1.25em;
	font-weight: normal;
	margin: 1.5em 0 4em 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 1.25em;
	font-weight: normal;
	margin: 2em 0 4em 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.trl {
	font-size: 1em;
	font-weight: normal;
	margin: 2em 0 5em 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.ebook {
	text-align: center;
}
#titlepage p.ebook img {
	width: 3em;
}
#titlepage p.publisher {
	text-align: center;
}
#titlepage p.publisher img {
	width: 8em;
}

/* Portadilla */
#halftitlepage {
	page-break-inside: avoid;
	margin-top: 4em;
}
#halftitlepage p.title {
	font-size: 1.25em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 1em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#halftitlepage p.subtitle {
	font-size: .85em;
	font-weight: normal;
	margin: 1em 0 1em 0;
	text-align: center;
	text-indent: 0;
}
#halftitlepage p.author {
	font-size: 1em;
	font-weight: normal;
	margin: 1em 0 1em 0;
	text-align: center;
	text-indent: 0;
}

/* Acerca de */
#about-work * {
	font-family: sans-serif;
}
#about-work p.bridgehead {
	margin: 1em 0 0 0;
	text-align: left;
}
#about-work p {
	margin: 1em 0;
	text-indent: 0;
}
#about-work p.title {
	font-size: 1.5em;
	font-weight: bold;
	margin: 0;
	text-align: left;
}
#about-work p.subtitle {
	color: #7a797a;
	font-size: 1.25em;
	font-weight: bold;
	margin: 0;
	text-align: left;
}
#about-work p.author {
	font-size: 1.25em;
	font-weight: normal;
	margin: 0 0 2em 0;
	text-align: left;
}
#about-work p.desc {
	font-size: .8em;
	margin: 2em 0 3em 0;
}
#about-work div.authorship,
#about-work div.work,
#about-work div.author + div.author {
	margin: 2em 0 0 0;
}
#about-work p.bridgehead {
	font-family: inherit;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	page-break-after: avoid;
}
#about-work b {
	font-family: inherit;
	font-weight: bold;
}
#about-work div.quote {
	margin: 1em 0;
	break-inside: avoid;
	page-break-inside: avoid;
}
#about-work div.quote blockquote {
	margin: 0;
}
#about-work div.quote blockquote p {
	margin: 0;
	font-size: 1em;
	text-indent: 0;
}
#about-work blockquote.highlight p {
	margin: 0;
	text-align: center;
}
#about-work blockquote p + p {
	text-indent: 0;
}
#about-work div.work p.attrib {
	margin: 0;
	text-indent: 0;
}
#about-work div.contact p {
	margin: 0;
	text-indent: 0;
}
#about-work div.authorship p.web {
	margin: 0;
	text-indent: 0;
}

/* 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 div.legal-notice p {
	font-size: .7em;
}
#copyright-page div.support p.image {
	width: 7em;
}

/* Índice */
#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;
}

/* Epígrafe */
#epigraph {
	margin: 5em 1em 0;
	padding: 0;
}
#epigraph div.figure {
	margin: 0;
	padding: 0;
}
#epigraph blockquote {
	margin: .5em 0;
}
#epigraph div.quote {
	margin: 2em 0;
}
#epigraph p {
	text-align: center;
	text-indent: 0;
}
#epigraph p.attrib {
	font-size: .9em;
}

/* Dedicatoria */
#dedication {
	margin-top: 5em;
}
#dedication p {
	text-align: right;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-size: 1.25em;
	font-style: normal;
	font-weight: normal;
	margin: 4em 0 2em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h1 span.ordinal {
	display: block;
	margin-bottom: 1em;
}
h1 span.label {
	display: block;
	font-size: .8em;
	font-weight: bold;
	margin-bottom: 1em;
}
h1 span.title {
	display: block;
}
h1 span.subtitle {
	display: block;
	font-size: .8em;
	font-style: italic;
	margin-top: 2em;
}
h1 + p,
h2 + p {
	text-indent: 0;
}
h2 {
	font-size: 1.3em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 1em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h2 span.ordinal {
	display: block;
	margin-bottom: 1em;
}
h2 span.title {
	display: block;
}
p {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: .9em;
}
i cite {
	font-style: normal;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: .5em 0;
}
img {
	margin: 0;
	max-height: 100%;
	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 {
	list-style: disc;
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.5em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	font-size: 1em;
}
.lower-alpha {
	list-style: lower-alpha;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul + p {
	text-indent: 0;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	text-align: center;
	width: 100%;
}
div.figure-75 {
	margin: 1em auto;
	text-align: center;
	width: 25em;
	max-width: 100%;
}
div.ornato {
	margin: 1em auto 0;
	text-align: center;
	width: 6em;
}
div.figure div.figcaption p {
	font-family: inherit;
	font-size: .8em;
	font-style: normal;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	margin-top: .25em;
	page-break-before: avoid;
	text-align: left;
	text-indent: 0;
}

/* Seudoversalitas */
abbr.acronym,
span.sc {
	font-size: 80%;
}

/* Firmas */
div.signature {
	margin: 1em 0;
}
div.signature p {
	text-align: right;
}
div.signature span.name {
	font-weight: bold;
}

/* Otros estilos */
p.asterisks {
	color: #9d9d9c;
	margin: 1.5em 0;
	text-align: center;
	text-indent: 0;
}
span.dropcap {
	font-family: Lucida;
	font-size: 2em;
	line-height: 1.2;
}
span.underline {
	text-decoration: underline;
}

/* Localizaciones */
p.coverage {
	font-style: italic;
	font-weight: bold;
	text-align: left;
	text-indent: 0;
}
p.coverage + p {
	text-indent: 0;
}

/* Poemas */
blockquote.poem {
	margin: 1em 0 1em 2em;
}
p.stanza {
	font-style: normal;
	font-weight: normal;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
span.verse {
	display: block;
	margin-left: 0;
	text-indent: 0;
}

/* Otros */
p.first {
	text-indent: 0;
}
p.signature {
	margin-bottom: 1em;
	text-align: right;
}

blockquote.fragment p {
	text-indent: 0;
}

div.aside {
	break-before: always;
	page-break-before: always;
	padding-top: 4em;
}
div.aside p.title {
	font-size: 1.3em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 1em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
div.aside p.title + p {
	text-indent: 0;
}

blockquote.letter p.salutation {
	margin-bottom: 1em;
}


/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	line-height: 1.2;
	vertical-align: super;
}

/* 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;
}