﻿/** BASE **/

/* Márgenes */
body {
	font-family: Archer, 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: Fixture;
	src:url('../fonts/Fixture-CondensedMedium.ttf');
}
@font-face {
	font-family: FuturaND-Medium;
	font-style: normal;
	src:url('../fonts/FuturaND-Medium.ttf');
}
@font-face {
	font-family: FuturaND-Medium;
	font-style: italic;
	src:url('../fonts/FuturaND-MediumItalic.otf');
}
@font-face {
	font-family: FuturaNDBook;
	src:url('../fonts/FuturaNDBook.ttf');
}
@font-face {
	font-family: FuturaNDBook;
	font-style: italic;
	src:url('../fonts/FuturaNDBook-Oblique.ttf');
}
@font-face {
	font-family: FuturaNDDemibold;
	src:url('../fonts/FuturaNDDemibold.ttf');
}
@font-face {
	font-family: FuturaNDLight;
	src:url('../fonts/FuturaNDLight.ttf');
}
@font-face {
	font-family: Archer;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/Archer-Book-Pro.otf');
}
@font-face {
	font-family: Archer;
	font-style: italic;
	font-weight: normal;
	src:url('../fonts/Archer-BookItal-Pro.otf');
}
@font-face {
	font-family: Archer;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/Archer-Semibold-Pro.otf');
}
@font-face {
	font-family: Archer;
	font-style: italic;
	font-weight: bold;
	src:url('../fonts/Archer-SembdItal-Pro.otf');
}

/* 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: FuturaND-Medium;
	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: FuturaNDBook;
	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: Fixture;
	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: FuturaND-Medium;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 1em auto;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h1 span.sec {
	display: block;
	font-size: .3em;
	padding: 1em 0;
	font-family: FuturaNDDemibold;
}
h1 span.subtitle {
	display: block;
	font-size: .3em;
	margin-top: 3em;
}
.chapter h1 {
	border: 10px double currentColor;
	border-radius: 1em;
	-webkit-border-radius: 1em;
	font-family: FuturaNDBook;
	font-size: 2em;
	padding: .5em;
	margin: 1em auto;
	width: 7em;
	page-break-after: always;
}
h1 span.ordinal {
	display: block;
	font-family: FuturaND-Medium;
	font-size: 1.8em;
}
h1 span.title {
	display: block;
	border-top: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	font-family: FuturaNDDemibold;
	font-size: .6em;
	padding: .25em 0 0 0;
}

div.header {
	margin-top: 4em;
}
div.header h2 {
	font-size: 1.3em;
}
div.header p.intro {
	font-weight: bold;
}
div.header div.figure img {
	height: 70vh;
	max-height: 70%;
}

h2 {
	font-family: FuturaND-Medium;
	font-size: 1.8em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h2 span.ordinal {
	display: block;
	font-family: FuturaND-Medium;
	font-size: 1.3em;
}
h2 span.subtitle {
	display: block;
	font-family: FuturaNDLight;
	font-size: .8em;
	margin-top: .3em;
}
h2 span.place {
	font-family: FuturaNDLight;
}
p.intro {
	font-family: Archer;
	font-size: 1.1em;
	font-weight: bold;
	margin: 2.5em auto;
	text-align: center;
	text-indent: 0;
}
p.intro + p {
	text-indent: 0;
}

.backmatter h1 {
	font-family: FuturaNDBook;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 {
	font-family: FuturaND-Medium;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 span.ordinal {
	font-family: FuturaND-Medium;
	display: block;
	font-size: 2em;
}
h3 span.subtitle {
	font-family: FuturaNDBook;
	display: block;
	font-size: .85em;
	padding-bottom: 1em;
}
h4 {
	font-family: FuturaNDLight;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h5 {
	font-family: FuturaNDBook;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h1 + p,
h1 + div.figure + p,
h2 + p,
h3 + p,
h4 + p,
table + p {
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}

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-l {
	margin: 1em 0;
	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;
}

div.figcaption {
	border-top: 1px solid currentColor;
	margin: 0 0 2em 0;
	padding: .2em 0;
}
div.card div.figcaption p,
div.figcaption p {
	font-family: FuturaNDLight;
	font-size: .7em;
	text-indent: 0;
}
div.card div.figcaption p.credit,
div.figcaption p.credit {
	font-size: .5em;
	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: 1em;
	font-weight: normal;
	margin: 0;
	text-align: right;
}
div.signature p.name {
	font-family: FuturaND-Medium;
}

/* 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;
}

/* Agradecimientos */
#acknowledgments h1 {
	font-family: FuturaNDBook;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

/* Sobre el autor */
#about-author h1 {
	font-family: FuturaNDBook;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
#about-author p {
	margin: 0;
	text-indent: 0;
}
#about-author p + p {
	text-indent: 1em;
}
#about-author p.uri {
	text-indent: 0;
}

/* Propios */
p.subtitle {
	font-family: FuturaNDLight;
	text-align: center;
	text-indent: 0;
	margin: 0 0 1em 0;
}
h2 img {
	width: 1em;
	vertical-align: baseline;
}
div.card {
	page-break-before: always;
	padding-top: 1em;
}
blockquote.story {
	margin: 1em;
}
blockquote.story p {
	font-size: .9em;
	text-align: left;
	text-indent: 0;
}

img.inline {
	width: 1em;
	vertical-align: baseline;
}
