﻿/** BASE **/

/* Márgenes */
body {
	font-family: Minion, serif;
	font-size: 1em;
	margin: 0;
	padding: 0 20px;
}
body * {
	line-height: 1.5;
	max-width: 100%;
	box-sizing: border-box;
}

/* Fuentes */
@font-face {
	font-family: HelveticaNeue-CondensedBold;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/HelveticaNeue-CondensedBlack-10.ttf');
}

/* Control partición silábica */
#titlepage p,
#dedication p,
h1,
h2,
h3,
h4 {
	page-break-after: avoid;
	hyphens: auto;
	adobe-hyphenate: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-epub-hyphens: auto;
}
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 {
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}

/* Portadilla */
#titlepage {
	break-inside: avoid;
	page-break-inside: avoid;
	padding-top: 2em;
}
#titlepage p.title {
	font-family: inherit;
	font-size: 1.7em;
	font-style: normal;
	font-weight: bold;
	line-height: inherit;
	margin: 2em 0 0 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.subtitle {
	font-family: inherit;
	font-size: 1.7em;
	font-style: normal;
	font-weight: normal;
	line-height: inherit;
	margin: 0 0 1em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-family: inherit;
	font-size: 1.8em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author span.name {
	border-top: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	padding: .1em 0 .2em 0;
}
#titlepage p.publisher {
	margin: 7em auto 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
	width: 12em;
}

/* 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;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
}
#summary p {
	margin: 0;
	text-align: justify;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	text-indent: 1em;
}

/* Índice */
#toc ol {
	list-style-type: none !important;
	margin: 1em 0;
	padding: 0;
}
#toc li {
	font-size: 1em;
	margin: 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 {
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* Dedicatoria */
#dedication {
	margin: 5em 0 0 0;
}
#dedication p {
	font-style: normal;
	text-align: right;
	text-indent: 0;
}

/* BODYMATTER */
div.chapter {
	break-before: always;
	page-break-before: always;
	padding-top: 1em;
}

/* Estilos generales */
h1 {
	font-family: HelveticaNeue-CondensedBold;
	font-size: 2.5em;
	font-style: normal;
	font-weight: bold;
	margin: 1em auto;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h2 {
	font-family: HelveticaNeue-CondensedBold;
	font-size: 2.2em;
	line-height: 1.1;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 2em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

a {
	font-family: inherit;
	font-weight: bold;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
i cite {
	font-style: normal;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: .5em;
	margin: .75em 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 1em;
	padding: 0 0 0 1.25em;
}
ul {
	list-style: disc;
	margin: 1em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}
.lower-alpha {
	list-style: lower-alpha;
	margin-left: 1em;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin: 1em 0 1em 1em;
	padding: 0;
}
ul.none li {
	margin: 0;
}

dt {
	font-family: sans-serif;
	font-size: .9em;
	font-weight: bold;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
}
dd {
	font-family: serif;
	font-size: 1em;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-align: left;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-30 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	max-width: 30%;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	max-width: 50%;
}
div.figure-75 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	max-width: 75%;
}
div.figure img {
	max-height: 80%;
	text-align: center;
}
div.figure-50 img {
	max-height: 80%;
	text-align: center;
}
div.icon {
	margin: 1em auto;
	width: 3em;
	page-break-after: avoid;
}
div.icon + * {
	page-break-before: avoid;
	text-indent: 0;
}
div.qr {
	margin: 0;
	margin-left: auto;
	width: 5em;
}

p.credit {
	font-family: sans-serif;
	font-size: .7em;
	text-align: right;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}
span.underline {
	text-decoration: underline;
}
span.line-through {
	text-decoration: line-through;
}

/* Firmas */
div.signature {
	break-inside: avoid;
	page-break-inside: avoid;
	margin: 1em 0;
}
div.signature p {
	font-size: .9em;
	font-style: italic;
	font-weight: normal;
	margin: 0;
	text-align: right;
}
div.signature p.name {
	font-family: inherit;
}

/* Citas de bloque */
blockquote {
	margin: 1.5em 3em;
}
blockquote p {
	font-size: 1.2em;
	text-align: center;
	text-indent: 0;
}
p.attrib {
	font-size: .9em;
	text-align: right;
	text-indent: 0;
}
div.epigraph {
	break-inside: avoid;
	page-break-inside: avoid;
	margin-top: 2.5em;
}

/* Poemas */
p.stanza {
	margin: 1em 0;
}
span.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* Asteriscos */
p.asterisks {
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
p.asterisks + p {
	text-indent: 0;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}
a.noteref img {
	font-size: .7em;
	vertical-align: top;
	width: 1em;
}

/* Notas | Notas al pie */
div.footnote {
	margin: .6em 0 0 0;
	break-after: always;
	page-break-after: always;
	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: top;
	width: 1em;
}
div.footnote a.noteback + p {
	page-break-before: avoid;
}

/* Notas | Notas finales */
div.rearnotes h2 {
	font-size: 1em;
	font-family: inherit;
	font-weight: bold;
	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 1.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: 1.25em;
}
div.rearnote a.noteback + p {
	page-break-before: avoid;
}

/* Propios */
#introduction h1 {
	color: #005d86;
}
div.intro {
	margin: 1em 5em 2em 0;
}
div.intro p {
	font-family: sans-serif;
	font-weight: bold;
	text-indent: 0;
}

div.chapter {
	page-break-before: always;
	padding-top: 1em;
}
div.card {
	margin: 1.25em 0;
}

p.ordinal {
	font-family: HelveticaNeue-CondensedBold;
	font-size: 2.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1;
}
p.name {
	font-family: HelveticaNeue-CondensedBold;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
}
p.region {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
}

#p01 h1,
#p01 h2,
#p01 p.ordinal,
#p01 p.name,
#p01 p.region {
	color: #89cccf;
}

#p02 h1,
#p02 h2,
#p02 p.ordinal,
#p02 p.name,
#p02 p.region {
	color: #c1dba6;
}

#p03 h1,
#p03 h2,
#p03 p.ordinal,
#p03 p.name,
#p03 p.region {
	color: #f3d27d;
}

#p04 h1,
#p04 h2,
#p04 p.ordinal,
#p04 p.name,
#p04 p.region {
	color: #946396;
}

#p05 h1,
#p05 h2,
#p05 p.ordinal,
#p05 p.name,
#p05 p.region {
	color: #ecad72;
}

#p06 h1,
#p06 h2,
#p06 p.ordinal,
#p06 p.name,
#p06 p.region {
	color: #4d5d87;
}

#p07 h1,
#p07 h2,
#p07 p.ordinal,
#p07 p.name,
#p07 p.region {
	color: #9bceb8;
}

#p08 h1,
#p08 h2,
#p08 p.ordinal,
#p08 p.name,
#p08 p.region {
	color: #ee9471;
}

#p09 h1,
#p09 h2,
#p09 p.ordinal,
#p09 p.name,
#p09 p.region {
	color: #e1cc91;
}

#p10 h1,
#p10 h2,
#p10 p.ordinal,
#p10 p.name,
#p10 p.region {
	color: #9a5679;
}