﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	font-size: 1em;
	margin: 0;
	line-height: 1.5;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
}
body span {
	line-height: 1.1;
}
h1 span {
	line-height: 1.5;
}

/* 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 div.license p {
	margin: 0 0 0 0;
}
#copyright-page p {
	font-size: .8em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	color: black;
	font-size: 1.1em;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
	-webkit-text-stroke: 0;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p {
	font-size: .9em;
	text-align: justify;
	margin: 0;
	padding: 0;
}
#summary p + p {
	text-indent: 1em;
}

/* Índice */
#toc h1 {
	color: black;
	font-family: sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
	-webkit-text-stroke: 0;
}
#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 {
	font-weight: bold;
	page-break-inside: avoid;
	text-decoration: none !important;
}
#toc li li a {
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* Portada */
#titlepage * {
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-family: sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	margin-top: 1em;
}
#titlepage p.title {
	font-size: 2em;
	font-style: normal;
	line-height: 1.2;
}
#titlepage p.title em {
	display: block;
	font-size: 2em;
	font-style: normal;
}
#titlepage div.publisher {
	margin-top: 10em;
	text-align: left;
}
#titlepage div.publisher img {
	width: 6em;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0 4em;
	text-align: center;
}

p {
	font-size: 1em;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1.5;
	margin: 1em 0 0 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-family: inherit;
	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;
}
hr + p {
	text-indent: 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;
	margin: .5em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}

/* Figuras y captions */
figure {
	display: block;
	margin: 1em auto;
	text-align: center;
	width: auto;
}
figure img {
	display: block;
	margin: 0 auto;
	text-align: center;
	width: auto;
	max-height: 100%;
}
div.figure-10 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 3em;
}
div.figure-30 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-30-l {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-30-r {
	margin: 1em 0 0 auto;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-50-l {
	margin: 1em auto 0 0;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-50-r {
	margin: 1em 0 0 auto;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-75 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}
div.figure-75-r {
	margin: 1em 0 0 auto;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}
div.figure-closing {
	margin: 5em auto 0;
	page-break-inside: avoid;
	text-align: center;
	width: 12em;
}
img.inline {
	width: .8em;
}
img.inline02 {
	width: .5em;
}

p.ornato {
	margin: 1em auto 0;
	text-align: center;
	text-indent: 0;
	width: 12em;
}

/* Tablas */
table {
	margin: 1em 0;
}
table, th, td {
	border: 1px solid currentColor;
	border-collapse: collapse;
}
th, td {
	padding: .5em;
	vertical-align: top;
}
table p {
	font-size: .8em;
	margin: 0;
	text-align: center;
}

/* BLOQUES */

/* Poemas */
.poem {
	margin: 1em 0;
}
p.stanza {
	font-style: italic;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
span.verse {
	display: block;
	margin-left: 0;
	text-indent: 0;
}

/* PÁRRAFOS ESPECIALES */
p.center {
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
p.finis {
	text-align: right;
	text-indent: 0;
}
p.continue {
	text-indent: 0;
}

/* TEXTOS ESPECIALES */
span.sc {
	font-size: 80%;
}
.underline {
	text-decoration: underline;
}
.line-through {
	text-decoration: line-through;
}

/* Overrides */
span.CharOverride-1 {
	font-size: 0.643em;
}
span.CharOverride-2 {
	font-size: 0.5em;
}
span.CharOverride-3 {
	color: #009fe3;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-4 {
	font-family: sans-serif;
	color: #ef7d00;
	font-size: 1em;
	font-weight: bold;
}
span.CharOverride-5 {
	font-family: sans-serif;
	color: #375ea9;
	font-size: .857em;
	font-weight: bold;
}
span.CharOverride-6 {
	font-family: sans-serif;
	font-size: 2.583em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-7 {
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-8 {
	font-family: sans-serif;
	font-size: 1.917em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-9 {
	font-size: 0.857em;
}
span.CharOverride-10 {
	font-size: 0.928em;
}
span.CharOverride-11 {
	border-bottom: 3px solid #ffef00;
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-11-lineblue {
	border-bottom: 3px solid #a0d6f2;
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-11-noline {
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-12 {
	color: #ef7d00;
	font-family: sans-serif;
	font-size: 1.5em;
	font-weight: bold;
}
span.CharOverride-13 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-14 {
	color: #009cde;
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-14d {
	color: #3563a9;
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-14-brown {
	color: #755043;
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-14-orange {
	color: #e76600;
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-15 {
	color: #93c462;
	font-family: sans-serif;
	font-size: 1.467em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-16 {
	color: #efe7ca;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-17 {
	color: #e84250;
	font-family: sans-serif;
	font-size: 1.467em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-18 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-19 {
	color: #f7d455;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-20 {
	color: #93c462;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-21 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-22 {
	color: #95569e;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-23 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.642em;
}
span.CharOverride-24 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.642em;
}
span.CharOverride-25 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.428em;
}
span.CharOverride-26 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.571em;
}
span.CharOverride-27 {
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.571em;
}
span.CharOverride-28 {
	color: #375ea9;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}
span.CharOverride-29 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.785em;
}
span.CharOverride-30 {
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.928em;
}
span.CharOverride-31 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.714em;
}
span.CharOverride-32 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.928em;
}
span.CharOverride-33 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.714em;
}
span.CharOverride-33-line {
	border-bottom: 3px solid #ffef00;
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.714em;
	line-height: 1.5;
}
span.CharOverride-34 {
	font-size: 1.143em;
}
span.CharOverride-35 {
	font-family: sans-serif;
	font-size: 1.3em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-36 {
	border-bottom: 3px solid #e2aca4;
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-36b {
	border-bottom: 3px solid #e2aca4;
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-37 {
	color: #e55556;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.642em;
}
span.CharOverride-38 {
	font-size: 1.357em;
}
span.CharOverride-39 {
	color: #e8560e;
	font-size: 1.714em;
}
span.CharOverride-40 {
	font-size: 1.02em;
}
span.CharOverride-41 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.311em;
}
span.CharOverride-42 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 0.874em;
}
span.CharOverride-43 {
	color: #95569e;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.642em;
}
span.CharOverride-44 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 0.928em;
}
span.CharOverride-45 {
	font-size: 1.999em;
}
span.CharOverride-46 {
	font-family: sans-serif;
	font-size: 0.444em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-47 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.071em;
}
span.CharOverride-48 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.214em;
}
span.CharOverride-49 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.357em;
}
span.CharOverride-50 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 0.893em;
}
span.CharOverride-51 {
	color: #774942;
	font-family: serif;
	font-size: 1.133em;
	font-style: normal;
	font-weight: bold;
}
span.CharOverride-52 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.499em;
}
span.CharOverride-53 {
	color: #ef7d00;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.857em;
}
span.CharOverride-54 {
	font-size: 1.5em;
}
span.CharOverride-55 {
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.285em;
}
span.CharOverride-56 {
	color: inherit;
	font-size: 1.571em;
	font-weight: bold;
}
span.CharOverride-57 {
	color: #375ea9;
	font-size: 1.357em;
}
span.CharOverride-58 {
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.214em;
}
span.CharOverride-59 {
	color: #aa0082;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.714em;
}
span.CharOverride-60 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 0.785em;
}
span.CharOverride-61 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 0.785em;
}
span.CharOverride-62 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 0.928em;
}
span.CharOverride-63 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.999em;
}
span.CharOverride-64 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.428em;
}
span.CharOverride-65 {
	color: #375ea9;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.071em;
}
span.CharOverride-66 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.999em;
}
span.CharOverride-66-line {
	color: #e84250;
	border-bottom: 3px solid #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.999em;
}
span.CharOverride-67 {
	font-size: 1.642em;
	font-family: sans-serif;
}
span.CharOverride-68 {
	color: #0b99db;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2.928em;
}
span.CharOverride-69 {
	font-size: 1.071em;
}
span.CharOverride-70 {
	color: #e84250;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 1.5em;
}
span.CharOverride-71 {
	color: #e84250;
	font-family: sans-serif;
	font-size: 2.642em;
	font-style: normal;
	font-weight: normal;
}
span.CharOverride-72 {
	color: inherit;
	font-family: sans-serif;
	font-size: 3.028em;
	font-style: normal;
	font-weight: normal;
}

/* Propios */
div.figure img.w50r { display: block; margin: 0 0 0 auto; max-width: 60%; }

div.group {
	margin: 1em 0;
}
div.group p {
	margin: 0;
}
div.group-center {
	margin: 1em 0;
}
div.group-center p {
	margin: .5em 0;
	text-align: center;
}

div.warning {
	border: 10px solid currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.warning p {
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.warning p.lead {
	margin-bottom: .8em;
}

div.box {
	border: 3px solid currentColor;
	margin: 1em 0;
	padding: 1em;
}

div.box-beige {
	border: 3px solid #efe9cc;
	margin: 1em 0;
	padding: 1em;
}
div.box-beige p {
	text-align: center;
	text-indent: 0;
}
div.box-beige p.title {
	font-weight: bold;
	margin-bottom: 1em;
}

div.box-green {
	border: 3px solid #94c26a;
	margin: 1em 2em;
	padding: 1em;
}
div.box-green p {
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}

div.notebook {
	border: 3px solid #ecf7fd;
	border-left: 3px dashed #ecf7fd;
	margin: 1em 0;
	padding: 1em;
}
div.notebook p {
	text-align: left;
	text-indent: 0;
}
div.notebook p.ref {
	border-bottom: 1px dotted currentColor;
}

div.box-red {
	border: 3px solid #e55556;
	margin: 1em 0;
	padding: 1em;
}
div.box-red p {
	font-weight: bold;
	margin: 0;
}

div.postit {
	border: 3px solid #fadc21;
	margin: 1em 2em;
	padding: 1em;
}
div.postit p {
	font-family: sans-serif;
	font-size: 1em;
	font-style: italic;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.postit p + p {
	margin-top: 1em;
}

div.note-red {
	border: 2px dashed #f2ada3;
	margin: 1em 2em;
	padding: 1em;
}
div.note-red p {
	font-family: sans-serif;
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.note-blue {
	border: 2px dashed #b6dff3;
	margin: 1em 2em;
	padding: 1em;
}
div.note-blue p {
	font-family: sans-serif;
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	margin: 0;
	text-align: center;
	text-indent: 0;
}

div.circus {
	border: 4px dashed #e76600;
	margin: 1em 0;
	padding: 1em;
}
div.circus p {
	font-family: sans-serif;
	font-size: .8em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.circus p.title {
	font-size: 1.2em;
}
div.circus p + p {
	margin-top: 1em;
}

div.letter {
	border: 6px double #e76600;
	margin: 1em 0;
	padding: 1em;
}
div.letter p {
	font-style: italic;
	margin: 0;
}
div.letter p + p {
	margin: 1em 0 0 0;
}

div.cloud {
	border: 6px dotted #e76600;
	margin: 1em 0;
	padding: 1em;
}
div.cloud p {
	font-style: italic;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.cloud p + p {
	margin: 1em 0 0 0;
}

p.onomatopeia {
	font-weight: bold;
	margin: 1.5em;
	text-align: center;
	text-indent: 0;
}

p.mx2 {
	margin: 2em 0;
}

#c01 h1, #c04 h1, #c07 h1, #c10 h1, #c13 h1, #c15 h1, #c18 h1 { color: #009cde; }
#c02 h1, #c05 h1, #c08 h1, #c11 h1, #c16 h1 { color: #94c26a; }
#c03 h1, #c06 h1, #c09 h1, #c12 h1, #c14 h1, #c17 h1 { color: #ee8600; }

p.full-line {
	border-bottom: 3px dotted #375ea9;
	width: 100%;
	margin: 0;
}