﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	margin: 0;
	padding: 0 20px;
}

/* Control partición silábica */
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%;
}

/* 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;
}

/* Portada */
#titlepage {
	margin: 2em 0 0 0;
	text-align: center;
}
#titlepage p {
	font-family: sans-serif;
	font-weight: bold;
	text-align: center;
	text-indent: 0;
}
#titlepage div.title {
	margin: 0 auto;
	width: 20em;
	max-width: 100%;
}
#titlepage p.author,
#titlepage p.contrib {
	margin-top: 1.5em;
}
#titlepage p.publisher {
	margin: 5em 0 0 0;
	width: 5em;
}

/* Sinopsis */
#summary * {
	color: #000;
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.2em;
	text-align: center;
}
#summary p {
	text-indent: 0;
}

/* Índice */
#toc {
	display: none;
}
#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 li a {
	color: #000;
	font-weight: bold;
	page-break-inside: avoid;
	text-decoration: none !important;
}
#toc li li a {
	color: #000;
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	margin: 1.5em 0;
	text-align: left;
}
h2 {
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
	text-align: left;
}
h3 {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
}

p {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.5;
	margin: 0 0 0 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-family: Courier, monospace;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0;
}
blockquote p {
	font-size: 1em;
	margin: 0;
	text-indent: 0;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: 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 1.5em;
}
ul {
	margin: .5em 0 1em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	line-height: 1.33em;
	margin: .5em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 0;
	text-indent: 1em;
}
ol ul,
ul ul,
ul.second {
	list-style: circle;
}
.lower-roman {
	list-style: lower-roman;
}
.lower-alpha {
	list-style: lower-alpha;
}
.lower-alpha li {
	font-family: serif;
	font-size: 1em;
}
.lower-alpha li p {
	font-family: serif;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
ul.none li {
	margin: 1em 0;
}
ul.none li p {
	margin: 0;
}

ul.square {
	list-style: square;
}

.fake {
	list-style: none;
	padding: 0;
}
.fake li span.symbol {
	display: inline;
	float: left;
	margin: 0;
	page-break-after: avoid;
	width: 1.5em;
}
.fake li span.text {
	display: block;
	margin-left: 1.75em;
}
.fake li span.symbol + p {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li p {
	margin-left: 1.75em;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-75 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
	max-width: 100%;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
	max-width: 100%;
}
div.figure-50-l {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: left;
	width: 50%;
	max-width: 100%;
}
div.figure-20 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 6em;
	max-width: 100%;
}
img {
	object-fit: contain;
	max-height: 80%;
	max-width: 100%;
	page-break-inside: avoid;
	text-align: center;
}

img.inline {
	height: 1em;
	vertical-align: text-bottom;
}

/* BLOQUES */

/* Saltos */
div.pbb + * {
	break-before: always;
	page-break-before: always;
	padding-top: 1em;
}

div.dialogue {
	margin: 1em;
}
div.dialogue p {
	text-indent: 0;
}

div.box {
	border: 3px solid #ee3b97;
	margin: 1em;
	padding: 1em;
}
div.box p {
	text-indent: 0;
}
div.box p + p {
	text-indent: 1em;
}

div.case {
	margin: 1em 0;
}
div.case p {
	margin: 1em 0;
	text-indent: 0;
}
div.case p.acotation {
	font-family: sans-serif;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}

div.letter {
	margin: 1em;
}

/* Firmas */
div.signature {
	margin: 1em 0;
}
div.signature p {
	text-align: right;
}

/* PÁRRAFOS ESPECIALES */
p.answer {
	margin-top: 1em;
	text-indent: 1em;
}
span.answer {
	font-family: sans-serif;
	font-weight: bold;
}
.center {
	text-align: center;
}
.comment {
	font-family: sans-serif;
	margin-bottom: 2em;
	text-align: center;
	text-indent: 0;
}
.continue {
	text-indent: 0;
}
.first {
	text-indent: 0;
}
.indent {
	text-indent: 1em;
}
.right {
	text-align: right;
}

/* TEXTOS ESPECIALES */
span.sc {
	font-size: 80%;
}
.underline {
	text-decoration: underline;
}
.line-through {
	text-decoration: line-through;
}

/* SMS */
div.sms-in {
	border: 1px solid currentColor;
	border-radius: .5em;
	-webkit-border-radius: .5em;
	padding: .6em;
	margin: 1em 30% 1em 0;
}
div.sms-in p {
	font-family: sans-serif;
	text-indent: 0;
}
div.sms-in + p {
	text-indent: 0;
}

div.sms-out {
	border: 1px solid currentColor;
	border-radius: .5em;
	-webkit-border-radius: .5em;
	padding: .6em;
	margin-bottom: 1em;
	margin: 1em 0 1em 30%;
}
div.sms-out p {
	font-family: sans-serif;
	text-indent: 0;
}
div.sms-out + p {
	text-indent: 0;
}


/* Bibliografía */
ul.bibliography {
	margin: 1em 0;
	padding: 0;
}
ul.bibliography li {
	list-style: none;
	margin: 0 0 0 1em;
	text-indent: -1em;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	line-height: 1;
	vertical-align: super;
}

/* Notas | Notas al pie */
div.footnote {
	margin: .6em 0 0 0;
	/* page-break-before: 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: inherit;
	width: 2em;
}
div.footnote a.noteback + p {
	page-break-before: avoid;
}

/* Notas | Notas finales */
div.rearnotes h2 {
	font-size: 1em;
	font-weight: normal;
	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 2.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: 2em;
}
div.rearnote a.noteback + p {
	page-break-before: avoid;
}

/* Agradecimientos */
#acknowledgments {
	margin-top: 4em;
}
#acknowledgments p {
	text-indent: 0;
}