﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	font-variant: common-ligatures oldstyle-nums;
	margin: 0;
	padding: 0;
}
body * {
	object-fit: contain;
	box-sizing: border-box;
	max-width: 100%;
}

/* Control partición silábica */
#titlepage p,
#copyright-page p,
#dedication p,
h1,
h2,
h3,
h4,
h5,
h6 {
	break-after: avoid;
	page-break-after: avoid;
	adobe-hyphenate: none;
	-ms-hyphens: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	-epub-hyphens: none;
	hyphens: none;
}
p, li, td, dt, dd {
	adobe-hyphenate: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-epub-hyphens: auto;
	hyphens: auto;
	/* before and after not in spec but iBooks support all three (-webkit-) */
	-ms-hyphenate-limit-lines: 3;
	-moz-hyphenate-limit-lines: 3;
	-webkit-hyphenate-limit-lines: 3;
	hyphenate-limit-lines: 3;
	/* No support except Trident (Windows) and Webkit (old deprecated syntax) */
	-ms-hyphenate-limit-chars: 6 3 2;
	-moz-hyphenate-limit-chars: 6 3 2;
	-webkit-hyphenate-limit-before: 3;
	-webkit-hyphenate-limit-after: 2;
	hyphenate-limit-chars: 6 3 2;
	/* No support except Trident (Windows) */
	-ms-hyphenate-limit-zone: 10%;
	-moz-hyphenate-limit-zone: 10%;
	-webkit-hyphenate-limit-zone: 10%;
	hyphenate-limit-zone: 10%;
	/* No support */
	-ms-hyphenate-limit-last: always;
	-moz-hyphenate-limit-last: always;
	-webkit-hyphenate-limit-last: always;
	hyphenate-limit-last: always;
	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;
	text-align: center;
	text-indent: 0;
}
#titlepage p {
	font-family: serif;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 1.25em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 1em;
}
#titlepage p.title {
	font-size: 2em;
	font-weight: normal;
	line-height: 1.2;
	margin: 0 0 0 0;
}
#titlepage p.subtitle {
	font-size: 1.1em;
	font-style: italic;
	font-weight: normal;
	margin: 1em 0;
}
#titlepage p.contrib {
	font-size: .9em;
	font-style: italic;
	margin: 2.5em 0 0 0;
}
#titlepage p.contrib span.name {
	display: block;
	font-size: .8em;
	font-style: normal;
}
#titlepage div.publisher {
	margin: 8em auto 0;
	text-align: center;
	width: 3rem;
}
#titlepage div.icon {
	margin: 4em auto 0;
	text-align: center;
	width: 2rem;
}

/* Créditos */
#copyright-page {
	margin: 4em 2em;
}
#copyright-page div + div {
	margin: 1em 0 0 0;
}
#copyright-page p {
	font-size: .8em;
	text-align: center;
	text-indent: 0;
}
#copyright-page div.contrib p {
	font-size: .7em;
}
#copyright-page div.identifiers p {
	font-size: .7em;
}

/* Índice */
#toc ol {
	font-style: normal;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
	text-align: left;
}
#toc li {
	font-style: normal;
	font-variant: common-ligatures oldstyle-nums;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
	text-align: left;
}
#toc li.ftm a,
#toc li.bkm a {
	font-style: italic;
}
#toc li.ftm + li.bdm,
#toc li.bdm + li.bkm {
	margin-top: 1.5em;
}
#toc li.bdm + li.bdm {
	margin-top: 0;
}
#toc li.ftm span.label {
	font-style: normal;
}
#toc li.part {
	margin: 1em 0;
	text-align: center;
}
#toc li.part span.label {
	display: block;
	font-size: .8em;
}
#toc li.part ol {
	margin: 1em 0;
}
#toc li a {
	font-weight: normal;
}
#toc li ol li {
	margin: 0 0 0 1em;
	text-indent: -1em;
}
#toc li ol {
	margin-left: 1em;
}
#toc li ol li a {
	font-weight: normal;
}
#toc li ol li ol {
	margin: 0 0 0 0;
}
#toc li ol li ol a {
	font-weight: normal;
	font-style: normal;
}
#toc a {
	color: #000001 !important;
	font-weight: normal;
}
#toc p {
	font-style: italic;
	margin: 1em 0;
}
#toc li {
	clear: both;
}
span.icon {
	float: left;
	padding-right: .5em;
}
span.icon img {
	width: 4.5em;
	vertical-align: middle;
}

/* Dedicatoria */
#dedication {
	margin-top: 5em;
}
#dedication p {
	font-size: .8em;
	text-align: center;
	text-indent: 0;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: inherit;
	font-size: 1.2em;
	font-style: normal;
	font-weight: 500;
	line-height: 1.5;
	margin: 3em 0 3em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h1 span.ordinal {
	display: block;
	font-variant: proportional-nums;
	font-size: 1em;
	margin-bottom: 1em;
}
h1 span.label {
	display: block;
	font-size: .75em;
	margin-bottom: 1em;
}
.chapter h1 {
	margin-bottom: 1em;
}
h2 {
	font-family: inherit;
	font-size: 1em;
	font-style: normal;
	font-weight: 500;
	line-height: 1.5;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h2 span.ordinal {
	display: block;
	font-variant: proportional-nums;
	font-size: 1em;
	margin-bottom: 1em;
}
h2.point {
	font-size: .8em;
	text-align: left;
}
h3 {
	font-family: serif;
	font-size: .8em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.5;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 span.ordinal {
	display: block;
	font-variant: common-ligatures lining-nums proportional-nums;
	margin-bottom: 1em;
}
h4 {
	font-family: inherit;
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	line-height: 1.5;
	margin: 2em 0 1em 0;
	padding: 0 ;
	text-align: left;
	text-indent: 0;
}
h5 {
	font-family: inherit;
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	line-height: 1.5;
	margin: 2em 0 1em 0;
	padding: 0 ;
	text-align: left;
	text-indent: 0;
}
h6 {
	font-family: inherit;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.5;
	margin: 1em 0 1em 0;
	padding: 0 ;
	text-align: left;
	text-indent: 0;
}

p {
	font-family: inherit;
	font-size: 1em;
	line-height: 1.5;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-style: normal;
	font-weight: bolder;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 2em;
	margin: 0;
}
hr.double {
	border: none !important;
	height: 2em;
	margin: 0;
}
hr.light {
	border: none !important;
	height: 1em;
	margin: 0;
}
hr.w30 {
	background: currentColor;
	height: 1px;
	margin: 3em auto;
	width: 7rem;
}
img {
	margin: 0;
	max-width: 100%;
	padding: 0;
}
q {
  font-style: italic;
}
q:before {
  content: "";
}
q:after {
  content: "";
}
sub,
sup {
  font-size: .7em;
}
strong {
	font-family: sans-serif;
}

/* Listas */
ol {
	margin: 1em 0;
	padding: 0 0 0 1.5em;
}
ul {
	margin: 1em 0 1em 1em;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
ul ul {
	list-style: circle;
	margin: 1em auto;
}
li p {
	font-size: 1em;
	margin: 0;
	text-indent: 1em;
}
li p + p {
	text-indent: 1em;
}
.none {
	margin: 0;
	list-style: none;
	padding: 0;
}
.lower-alpha {
	list-style: lower-alpha;
}
.lower-alpha-l1 {
	list-style: lower-alpha;
	margin-left: 1em;
}
.upper-alpha {
	list-style: upper-alpha;
}
.upper-roman {
	list-style: upper-roman;
}
.separated li {
	margin: 1em 0;
}

.fake {
	list-style: none;
	margin: 1em 0 1em 1em;
	padding: 0;
}
.fake li span.number {
	display: inline;
	float: left;
	margin: 0;
	page-break-after: avoid;
	text-align: left;
	width: 1em;
}
.fake li span.text {
	display: block;
	margin-left: 1.5em;
	text-indent: 0;
}
.fake li span.number + span.text {
	display: block;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-50 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-30 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 12em;
	max-width: 100%;
}
div.figure-75 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 20em;
	max-width: 100%;
}
div.icon {
	margin: 0;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: left;
	width: 6em;
	max-width: 100%;
}
img {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
}

div.figcaption {
	margin: 0;
}
div.figcaption p {
	font-family: sans-serif;
	font-size: .8em;
	text-align: left;
	text-indent: 0;
}
div.figcaption span.label {
	font-weight: bold;
	font-variant: common-ligatures oldstyle-nums;
}

/* Tablas */
table {
	border: 2px hidden;
	border-collapse: collapse;
	margin: 1em 0;
	table-layout: fixed;
	width: 100%;
}
th {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .25em 1em;
	width: 50%;
}
td {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .25em 1em;
	width: 50%;
}
table p {
	font-size: .8em;
	text-indent: 0;
}
th p {
	text-align: center;
}
table + p {
	text-indent: 0;
}

/* Seudoversalitas */
span.sc {
	font-size: 75%;
}

/* Estilos particulares */
blockquote {
	font-size: 1em;
	margin: 1em 0 1em 1em;
}
blockquote p,
blockquote li {
	font-size: .9em;
	font-style: normal;
	text-indent: 0;
}
blockquote li li {
	font-size: 1em;
}
blockquote p + p {
	text-indent: 1em;
}
blockquote.dialogue p + p {
	text-indent: 0;
}
blockquote + p {
	text-indent: 0;
}

/* Epígrafes */
div.epigraph {
	margin: 1em 2em 2em;
}
div.epigraph blockquote {
	margin: 0;
}
div.epigraph p {
	text-align: center;
	text-indent: 0;
}
div.epigraph + p {
	text-indent: 0;
}
div.epigraph p.attrib {
	font-size: .8em;
}
div.epigraph p.attrib span.name {
	font-size: .85em;
}

/* Francés */
blockquote.french p {
	margin-left: 1em;
	text-indent: -1em;
}
blockquote.french p.salutation {
	margin-bottom: 1em;
}
blockquote.french p.and {
	margin-left: 2em;
}

/* Standard */
blockquote.standard {
	margin: 1.5em;
}
blockquote.standard p {
	font-style: italic;
	text-align: center;
	text-indent: 0;
}

/* Anuncios */
blockquote.news {
	margin: 1em 0 1em 3em;
}
blockquote.news p {
	text-indent: 0;
}
blockquote.news p.type {
	margin-top: 1em;
}
blockquote.news p.desc {
	margin-left: 1em;
}

/* Card */
div.card p {
	margin-left: 1em;
	text-indent: -1em;
} 

/* Coverage */
p.coverage {
	break-after: avoid;
	page-break-after: avoid;
	font-size: .8em;
	margin: 1em 0;
	text-indent: 0;
}
p.coverage + p {
	text-indent: 0;
}

/* Señales */
blockquote.sign {
	margin: 1em;
}
blockquote.sign p {
	font-size: .8em;
	text-align: center;
	text-indent: 0;
}

/* Poemas */
blockquote.poem {
	margin-left: 4em;
}
blockquote.poem p.title {
	font-style: italic;
	margin-top: 1em;
	text-align: left;
	text-indent: 0;
}
blockquote.poem p.stanza {
	font-style: italic;
	margin-top: 1em;
	text-align: left;
	text-indent: 0;
}
blockquote.poem span.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}
blockquote.poem span.verse-l1 {
	display: block;
	margin-left: 2em;
	text-indent: -1em;
}

/* Firmas */
div.signature {
	margin-top: .5em;
	break-inside: avoid;
	page-break-inside: avoid;
}
div.signature p {
	font-size: 1em;
	text-align: right;
	text-indent: 0;
}
div.signature span.name {
	font-size: .8em;
}
div.signature p.data {
	font-style: italic;
}

/* Asteriscos */
p.asterisks {
	margin: 1.3em 0 1em 0;
	text-align: center;
	text-indent: 0;
}
p.asterisks + p {
	text-indent: 0;
}

/* Casos */
div.case {
	margin: 1.5em 0;
}
div.case p.bridgehead {
	break-after: avoid;
	page-break-after: avoid;
	font-weight: bold;
	margin: 1em 0;
	text-indent: 0;
}
div.case p.bridgehead + p {
	text-indent: 0;
}
div.case p.subcase {
	font-weight: bold;
	margin: 1em 0;
	text-indent: 0;
}
div.case p.subcase + p {
	text-indent: 0;
}
div.case p {
	font-family: sans-serif;
	font-size: .9em;
}
div.case li {
	font-family: sans-serif;
	font-size: .9em;
}
div.case p.salutation + p {
	text-indent: 0;
}
div.case p.signature {
	margin: 1em 1em 0 0;
	text-align: right;
}
div.case + p {
	text-indent: 0;
}

/* Otros */
p.attrib {
	margin: .5em 0 0 0;
	page-break-before: avoid;
	text-align: right;
	text-indent: 0;
}
p.center {
	text-align: center;
	text-indent: 0;
}
p.listhead {
	font-weight: bold;
	margin: 0;
	text-indent: 0;
}
p.listhead + p {
	text-indent: 0;
}
p.top1 {
	margin-top: 1em;
	text-indent: 1em;
}
span.underline {
	text-decoration: underline;
}

/* Estilos consecuentes */
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p,
hr + p,
ol + p,
div.figure + p,
div.figure-30 + p,
div.figure-50 + p,
div.figure-75 + p,
ul + p {
	text-indent: 0;
}
hr.light + p {
	text-indent: 1em;
}

/* BACKMATTER */

/* Bibliografía */
#bibliography ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#bibliography li {
	margin-left: 1em;
	text-indent: -1em;
}
#bibliography span.biblioauthor {
	font-size: .8em;
}

/* LOI */
#loi h2 {
	font-size: .8em;
	text-align: left;
}
#loi p {
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	line-height: 1;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnote {
	margin: .6em 0 0 0;
	page-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;
	line-height: 1.5;
	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 al pie */
#endnotes h2 {
	margin: 2em 0 1em 0;
	padding: 0;
	font-size: .8em;
	text-align: left;
}
div.endnote {
	margin: .6em 0 0 0;
	page-break-inside: avoid;
}
div.endnote p {
	font-size: .8em;
	margin: 0 0 0 2.5em;
	overflow: hidden;
	text-indent: 0;
}
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;
}