﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	font-size: 1em;
	margin: 0;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	object-fit: contain;
	line-height: 1.5;
	max-width: 100%;
}

/* Fuentes */
@font-face {
	font-family: Druk;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/DrukBold.otf');
}
@font-face {
	font-family: Druk;
	font-style: italic;
	font-weight: bold;
	src: url('../fonts/Druk-BoldItalic.otf');
}
@font-face {
	font-family: Druk;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/DrukMedium.otf');
}
@font-face {
	font-family: Gotham;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/Gotham-Bold.ttf');
}
@font-face {
	font-family: Gotham;
	font-style: italic;
	font-weight: bold;
	src: url('../fonts/Gotham-BoldItalic.ttf');
}
@font-face {
	font-family: Gotham;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/Gotham-Book.ttf');
}
@font-face {
	font-family: Gotham;
	font-style: italic;
	font-weight: normal;
	src: url('../fonts/Gotham-BookItalic.ttf');
}
@font-face {
	font-family: GothamHTF;
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/GothamHTF-Black.otf');
}
@font-face {
	font-family: GothamHTF;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/GothamHTF-Bold.otf');
}
@font-face {
	font-family: GothamHTF;
	font-style: italic;
	font-weight: bold;
	src: url('../fonts/GothamHTF-BoldItalic.otf');
}
@font-face {
	font-family: GothamHTF;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/GothamHTF-Book.otf');
}
@font-face {
	font-family: GothamHTF;
	font-style: italic;
	font-weight: normal;
	src: url('../fonts/GothamHTF-BookItalic.otf');
}
@font-face {
	font-family: GothamHTF;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/GothamHTF-Light.otf');
}
@font-face {
	font-family: GothamHTF;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/GothamHTF-Medium.otf');
}

/* 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;
	-epub-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 {
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}

/* Portadilla */
#titlepage {
	break-inside: avoid;
}
#titlepage p {
	font-family: sans-serif;
	line-height: 1.2;
}
#titlepage p.title {
	color: #eb878c;
	font-family: Druk;
	font-size: 6em;
	font-style: normal;
	font-weight: bold;
	line-height: .8;
	margin: 0 0 0 0;
	padding: 0 0 .3em 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title span {
	display: block;
	line-height: 1;
}
#titlepage p.author {	
	font-style: normal;
	font-weight: normal;
	font-size: 1.5em;
	margin: 2em 0 1.2em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.subtitle {
	font-style: normal;
	font-weight: normal;
	font-size: 1.25em;
	margin: .5em 0 1em;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.publisher {
	margin: 5em auto 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
	width: 4em;
}
#titlepage div.figure {
	margin: 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.figure {
	margin: 1em 0;
	width: 8em;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	border: 0;
	color: black;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em;
	padding: 0;
	text-align: center;
}
#summary p {
	font-size: .9em;
	margin: 0;
	text-align: justify;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	margin-top: 0;
	text-indent: 1em;
}
#summary hr + p {
	text-indent: 0;
}

/* Índice */
#toc h1 {
	border: 0;
	color: black;
	font-family: serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em;
	padding: 0;
	text-align: center;
}
#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;
	text-decoration: none !important;
}

/* Dedicatoria */
#dedication {
	margin: 5em 1em 0;
}
#dedication p {
	font-style: italic;
	margin: 1em 0;
	text-align: right;
	text-indent: 0;
}

/* Epígrafe */
#epigraph {
	margin-top: 6em;
}
div.epigraph {
	margin: 1em 0 1em 5em;
	padding-right: 0;
}
div.epigraph blockquote {
	margin: 0;
}
div.epigraph blockquote p {
	font-style: italic;
	font-size: .9em;
	text-align: right;
}
div.epigraph p.attrib {
	font-size: .85em;
	margin-left: 4em;
	margin-bottom: 1em;
	text-align: right;
}
div.epigraph + p {
	text-indent: 1em;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	border-bottom: 1px solid #eb878c;
	color: #eb878c;
	font-family: Druk;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1;
	margin: 3em 0 1.5em 0;
	padding-bottom: .2em;
	text-align: left;
	text-indent: 0;
}
.part h1 {
	border-bottom: 0;
}
h1 span.label {
	display: block;
	font-family: GothamHTF;
	font-size: .5em;
	font-style: normal;
	font-weight: 500;
	margin-bottom: .5em;
}
h1 span.title {
	display: block;
	line-height: 1;
	font-size: 1.7em;
}
h2 {
	border-bottom: 1px solid #eb878c;
	font-family: Druk;
	font-size: 3em;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	margin: 1em 0 1em 0;
	padding-bottom: .2em;
	text-align: left;
	text-indent: 0;
}
h2 span.label {
	display: block;
	font-family: GothamHTF;
	font-size: .3em;
	font-style: 200;
	font-weight: normal;
	page-break-after: avoid;
}
h2 span.title {
	color: #eb878c;
	line-height: 1;
}
h2 span.title i {
	line-height: 1;
}
h3 {
	font-family: Druk;
	font-size: 1.6em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1.2em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h4 {
	font-family: GothamHTF;
	font-size: .9em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.2em 0 .5em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h5 {
	font-family: GothamHTF;
	font-size: .9em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
	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;
	height: .5em;
	margin: .25em 0;
}
hr + p {
	text-indent: 0;
}
hr.light + p {
	text-indent: 1em;
}
img {
	margin: 0;
	max-height: 80%;
	max-width: 100%;
	padding: 0;
}
img.full {
	max-height: 100%;
}
q {
	font-style: italic;
}
q i {
	font-style: normal;
}
q:before {
	content: "";
}
q:after {
	content: "";
}
sub,
sup {
	font-size: .7em;
}
sup {
	vertical-align: top;
}

/* Listas */
ol {
	margin: 1em 0 1em 0;
	padding: 0 0 0 2.25em;
}
ul {
	list-style: disc;
	margin: 1em 0 1em 1em;
	padding: 0 0 0 1.25em;
}
ul ul {
	list-style: circle;
}
ul.fake ul.fake {
	margin-top: .5em;
	margin-bottom: .5em;
	margin-left: 2em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 0;
	text-indent: 1em;
}
.lower-alpha {
	list-style: lower-alpha;
	margin-left: 1em;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
ul.none li {
	font-family: inherit;
	font-style: normal;
	font-weight: 200;
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;	
}
ul.none-l1 {
	list-style: none;
	margin: 1em 0 2em 1em;
	padding: 0;
}
ul.none-l1 li {
	font-family: inherit;
	font-style: normal;
	font-weight: 200;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;	
}

p.listhead {
	break-after: avoid;
	page-break-after: avoid;
	margin: 1em 0 0 0;
	text-indent: 0;
}
p.listhead + ul {
	margin-top: 0;
}
.fake {
	list-style: none;
	margin: 1em 0 1em 1em;
	padding: 0;
}
.fake li span.symbol {
	color: #eb878c;
	display: inline;
	float: left;
	clear: left;
	font-family: inherit;
	font-style: normal;
	font-weight: bold;
	line-height: 1.5;
	margin: 0;
	page-break-after: avoid;
	text-align: left;
	width: 1em;
}
.fake li span.symbol + span.text {
	margin-top: .2em;
	page-break-before: avoid;
}
.fake li span.number {
	display: inline;
	float: left;
	clear: left;
	font-family: inherit;
	font-style: normal;
	font-weight: normal;
	line-height: 1.5;
	margin: 0;
	page-break-after: avoid;
	text-align: left;
	width: 1em;
}
.fake li span.number + span.text {
	margin-top: .2em;
	page-break-before: avoid;
}
.fake li span.text {
	display: block;
	margin-left: 1.5em;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	text-align: center;
	width: 100%;
}
div.figure-75 {
	margin: 1em auto;
	text-align: center;
	width: 75%;
}
div.figure-75-l {
	margin: 1em auto 1em 0;
	text-align: center;
	width: 75%;
}
div.figure-75-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 75%;
}
div.figure-50 {
	margin: 1em auto;
	text-align: center;
	width: 50%;
}
div.figure-50-l {
	margin: 1em 0;
	text-align: center;
	width: 14em;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 14em;
}
div.figure-30 {
	margin: 1em auto;
	break-after: avoid;
	page-break-after: avoid;
	text-align: center;
	width: 30%;
}
div.figure-30-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 10em;
}
div.figure-30-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 10em;
}
div.figure-20-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 20%;
}
div.figure-20-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 7em;
}
div.figure-10 {
	margin: 1em auto;
	text-align: center;
	width: 10%;
}
div.figure-10-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 5em;
}
div.figure-10-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 5em;
}

div.figure-for-1 {
	line-height: 1;
	margin: 1em auto;
	text-align: center;
	height: 1.8em;
}
div.figure-for-2 {
	line-height: 1;
	margin: 1em auto;
	text-align: center;
	height: 3em;
}
div.figure-for-2-left {
	line-height: 1;
	margin: 0;
	text-align: left;
	text-indent: 1em;
	height: 3em;
}
div.figure-for-25 {
	line-height: 1;
	margin: 1em auto;
	text-align: center;
	height: 3.75em;
}
div.figure-for-3 {
	line-height: 1;
	margin: 1em auto;
	text-align: center;
	height: 4.5em;
}
div.figure-for-35 {
	line-height: 1;
	margin: 1em auto;
	text-align: center;
	height: 5.2em;
}
div.figure-for-4 {
	line-height: 1;
	margin: 1em auto;
	text-align: center;
	height: 6em;
}

div.figcaption p {
	font-size: .8em;
	font-style: normal;
	font-weight: normal;
	text-align: left;
	text-indent: 0;
}
div.figcaption span.label {
	color: #eb878c;
	font-family: inherit;
	font-weight: bold;
}

div.icon {
	margin: 1em auto;
	text-align: center;
	width: 4em;
	max-width: 100%;
}
div.icon-3 {
	margin: 1em 0;
	text-align: center;
	width: 4em;
	max-width: 100%;
}
div.icon-small {
	margin: 1em auto;
	text-align: center;
	width: 2em;
	max-width: 100%;
}
div.icon img {
	max-height: 80%;
	text-align: center;
	width: auto;
}

div.separator {
	margin: 0;
	break-before: always;
	page-break-before: always;
	break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.separator img {
	max-height: 100%;
	text-align: center;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	break-inside: avoid;
	margin: 1em 0;
}
div.signature p {
	font-family: inherit;
	margin: 0;
	text-align: right;
	text-indent: 0;
}
div.signature span.name {
	font-weight: bold;
}

/* Citas de bloque */
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: .9em;
	text-indent: 1em;
}
blockquote p + p {
	text-indent: 1em;
}

/* Poemas */
.poem {
	margin: 1em 3em;
}
.stanza {
	font-style: italic;
	margin: 1em 0;
	text-indent: 0;
}
.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* Otros */
p.first {
	text-indent: 0;
}

/* Bibliografía */
#bibliography ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#bibliography li {
	margin-left: 0;
	text-indent: 1em;
}
#bibliography li + li {
	margin-top: .5em;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnotes h2 {
	margin: 2em 0 1em 0;
}
div.footnote {
	margin: .6em 0 0 0;
	break-inside: avoid;
}
div.footnote + div.footnote {
	break-before: always;
	page-break-before: always;
}
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.endnotes h2 {
	margin: 2em 0 1em 0;
}
div.endnote {
	margin: .6em 0 0 0;
	break-inside: avoid;
}
div.endnote + div.endnote {
	break-before: always;
	page-break-before: always;
}
div.endnote p {
	font-size: .8em;
	margin: 0 0 0 2.5em;
	overflow: hidden;
	text-indent: 0;
}
div.endnote p + p {
	margin-top: 1em;
}
div.endnote 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.endnote a.noteback + p {
	page-break-before: avoid;
}
div.endnote + h2 {
	page-break-before: always;
	padding-top: 1em;
}
div.endnote + h3 {
	page-break-before: always;
	padding-top: 1em;
}

/* Tablas */
table {
	border: 0;
	border-collapse: collapse;
	margin: 1.5em auto;
	text-align: center;
	width: 100%;
}
table.fixed {
	table-layout: fixed;
}
table.vmid * {
	vertical-align: middle;
}
table p {
	font-family: GothamHTF;
	font-size: .8em;
}
th {
	border-top: 1px solid #eb878c;
	border-bottom: 1px solid #eb878c;
	border-collapse: collapse;
	padding: .2em;
}
th p {
	font-family: GothamHTF;
	color: #eb878c;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
td {
	border-top: 1px solid #eb878c;
	border-bottom: 1px solid #eb878c;
	border-collapse: collapse;
	padding: .2em;
	vertical-align: top;
}
td p {
	margin: 0;
	text-align: center;
	text-indent: 0;
}
p.scope {
	color: #eb878c;
	
}
th.empty {
	border-left: 2px hidden;
	border-top: 2px hidden;
}
table ul {
	margin-top: .2em;
	margin-bottom: .2em;
}
table li {
	font-family: inherit;
	font-size: .8em;
	text-align: left;
}
table p.center {
	text-align: center;
}
table p.right {
	text-align: right;
}

/* Propios */
p.caption {
	font-family: GothamHTF;
	font-size: .9em;
	font-weight: bold;
	text-align: center;
	text-indent: 0;
	margin: 2em 0 0 0;
	page-break-after: avoid;
}
span.pink {
	font-weight: bold;
}
div.box {
	border-top: 1px solid #eb878c;
	border-bottom: 1px solid #eb878c;
	margin: 1em 0;
	padding: .2em 0;
}
div.box p {
	font-family: GothamHTF;
	font-size: .9em;
	margin: 1em 0;
	text-indent: 0;
}
div.box li {
	font-family: GothamHTF;
	font-size: .9em;
}
div.box p.title {
	font-weight: bold;
	text-align: center;
	text-indent: 0;
}
div.box p.title span.label {
	font-weight: 900;
}
span.underline {
	text-decoration: underline;
}
#bibliography h2 {
	border: 0;
	font-family: GothamHTF;
	font-size: .9em;
	font-weight: 500;
	margin-bottom: 0;
}