﻿/** BASE **/

/* Márgenes */
body {
	font-family: sans-serif;
	font-size: .9em;
	margin: 0;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	object-fit: contain;
	line-height: 1.5;
	max-width: 100%;
	max-height: 100%;
}

/* Fuentes */
@font-face {
	font-family: HelloSunshine;
	src:url('../fonts/HelloSunshine.otf');
}
@font-face {
	font-family: HelloSunshineMarker;
	src:url('../fonts/HelloSunshineMarker.otf');
}

/* Control partición silábica */
#titlepage 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;
	page-break-inside: avoid;
	text-align: center;
}
#titlepage * {
	font-family: inherit;
	line-height: 1.2;
}
#titlepage p.author {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 5em 0 0 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title {
	font-family: inherit;
	font-size: 2.5em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.3;
	margin: .3em 0 0 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.subtitle {
	font-style: normal;
	font-weight: bold;
	font-size: 1.2em;
	margin: 1em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.trl {
	font-style: normal;
	font-weight: normal;
	font-size: 1em;
	margin: 4em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.publisher {
	margin: 10em auto 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
	width: 2em;
}
#titlepage div.figure {
	margin: 0 auto;
}
#titlepage div.figure img {
	max-height: 100%;
}

/* Créditos */
#copyright-page {
	margin: 4em 2em 0 0;
}
#copyright-page div + div {
	margin: 1em 0 0 0;
}
#copyright-page p {
	font-family: inherit;
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}
#copyright-page div.publisher {
	margin: 6em auto 0 auto;
	width: 3em;
}

/* Sinopsis */
#summary * {
	font-family: serif;
}
#summary h1 {
	color: black;
	font-size: 1.3em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0;
	padding: 0;
	text-align: center;
}
#summary p {
	font-size: 1.1em;
	margin: 0;
	text-align: justify;
	text-indent: 0;
}
#summary li {
	font-size: 1em;
	margin: 0;
	text-align: justify;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	text-indent: 1em;
}

/* Índice */
#toc h1 {
	color: black;
	font-family: sans-serif;
	font-size: 1.3em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0;
	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;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* Dedicatoria */
#dedication {
	margin: 5em 0 0 5em;
}
#dedication p {
	color: #e66362;
	font-family: HelloSunshine;
	font-size: 2.5em;
	font-weight: normal;
	margin: 1em 0;
	text-align: right;
	text-indent: 0;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.3;
	margin: 2.5em 0 5em 0;
	text-align: center;
	text-indent: 0;
}
h2 {
	color: #e66362;
	font-family: HelloSunshineMarker;
	font-size: 1.7em;
	font-weight: normal;
	text-align: left;
}
h3 {
	border-bottom: 2px solid #f9e2e2;
	font-family: HelloSunshine;
	font-size: 2.5em;
	font-weight: normal;
	margin: 1em 0 .5em 0;
	text-align: left;
}
h4 {
	color: #e66362;
	font-size: 1em;
	font-weight: bold;
	margin: 1.2em 0 0 0;
	text-align: left;
}

p {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}
div.header + p,
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p {
	text-indent: 0;
}

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: 1em;
}
hr.light + p {
	text-indent: 1em;
}
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 2em;
	padding: 0 0 0 1.25em;
}
ul {
	list-style: disc;
	margin: 1em 0 1em 1em;
	padding: 0 0 0 1.25em;
}
li {
	color: #e66362;
	font-size: 1em;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	color: #000;
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}
li span.text {
	color: #000;
}
.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;	
}

.fake {
	list-style: none;
	margin: 1em;
	padding: 0;
}
.fake li {
	text-align: left;
}
.fake li span.symbol {
	display: inline;
	clear: left;
	float: left;
	font-style: normal;
	line-height: 1.5;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: .85em;
}
.fake li span.symbol + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li span.text {
	display: block;
	margin-left: 1.3em;
	clear: right;
}

.fake li span.symbol2 {
	display: inline;
	clear: left;
	float: left;
	font-style: normal;
	line-height: 1.5;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: 3em;
}
.fake li span.symbol2 + span.text {
	margin-top: 0;
	margin-left: 3.5em;
	page-break-before: avoid;
}

.fake-raya {
	margin-left: 0;
	padding-left: 0;
}
.fake-raya li {
	list-style: none;
	margin-top: 1em;
}
.fake-raya li span.symbol-raya {
	display: inline-block;
	clear: left;
	float: left;
	font-style: normal;
	line-height: 1.5;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: .85em;
	vertical-align: baseline;
	padding-top: .2em;
}
.fake-raya li span.text {
	display: block;
	margin-left: 1.3em;
}
.fake-raya li span.symbol-raya + span.text {
	margin-top: 0;
	page-break-before: avoid;
}

/* 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: 20em;
}
div.figure-75-l {
	margin: 1em auto 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 20em;
}
div.figure-75-r {
	margin: 1em 0 0 auto;
	page-break-inside: avoid;
	text-align: center;
	width: 20em;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 14em;
}
div.figure-50-l {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 14em;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 14em;
}
div.figure-30 {
	margin: 1em auto;
	page-break-inside: avoid;
	break-after: avoid;
	page-break-after: avoid;
	text-align: center;
	width: 8em;
}
div.figure-30-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 10em;
}
div.figure-30-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 10em;
}
div.figure-20-l {
	margin: 1em 0 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 7em;
}
div.figure-20-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 7em;
}
div.figure-10 {
	margin: 1em auto;
	text-align: center;
	width: 5em;
}
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.figcaption {
	margin-bottom: 2em;
}
div.figcaption p {
	font-family: inherit;
	font-size: .7em;
	font-style: normal;
	font-weight: normal;
	text-align: center;
	text-indent: 0;
}
div.figcaption-full p {
	font-family: inherit;
	font-size: .8em;
	font-style: normal;
	font-weight: normal;
	text-align: justify;
	text-indent: 0;
}

div.icon {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 4em;
	max-width: 100%;
}
div.icon-2 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 8em;
	max-width: 100%;
}

div.separator {
	margin: 0;
	break-before: always;
	page-break-before: always;
	break-inside: avoid;
	page-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;
	page-break-inside: avoid;
	margin: 1em 0;
}
div.signature p {
	color: #096bb4;
	font-family: inherit;
	font-size: 1.2em;
	margin: 0;
	text-align: right;
	text-indent: 0;
}
div.signature p img {
	width: 5em;
	padding-top: .4em;
}

/* Citas de bloque */
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: .9em;
	text-align: justify;
	text-indent: 0;
}

/* Poemas */
.poem {
	margin: 1em 3em;
}
.stanza {
	margin: 1em 0;
	text-indent: 0;
}
.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* 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;
	page-break-inside: avoid;
}
div.footnote + div.footnote {
	margin: .6em 0 0 0;
	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;
}

/* Tablas */
table {
	border: 1px solid currentColor;
	border-collapse: collapse;
	margin: 1.5em auto;
	width: 100%;
}
th {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: top;
}
td {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: top;
}
table p {
	font-family: inherit;
	font-size: .9em;
	line-height: 1.2;
	text-indent: 0;
}
table p.left {
	text-align: left;
}
table p.right {
	text-align: right;
}
th p {
	font-family: inherit;
	font-size: 1.5em;
	font-weight: normal;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
td p {
	margin: 0;
	text-align: left;
	text-indent: 0;
}
td.scope p {
	font-weight: bold;
	text-align: left;
}
th.empty {
	border-left: 2px hidden;
	border-top: 2px hidden;
}

/* Propios */
img.half { width: .5em; }
img.inline { width: 1em; }
img.inline-2 { width: 1.5em; }
img.w2 { width: 2em; }
img.w2r { width: 2em; padding-left: 1em; }
img.w3 { width: 3em; }
img.w4 { width: 4em; }
img.w5 { width: 5em; }


p.asterisks {
	margin: 2em auto;
	text-align: center;
	text-indent: 0;
	width: 8em;
}
p.asterisks-img {
	margin: 2em auto;
	text-align: center;
	text-indent: 0;
	width: 18em;
}
p.center {
	margin: 1em auto;
	text-align: center;
	text-indent: 0;
}
p.center-in {
	margin: 1em 3em;
	text-align: center;
	text-indent: 0;
}
div.dialogue p.right {
	text-align: right;
}
p.comment {
	font-size: .9em;
	margin: 1em 2em;
	text-align: center;
	text-indent: 0;
}
p.out {
	margin: 1em 0;
}
p.first {
	text-indent: 0;
}

span.character {
	color: #e66362;
	font-weight: bold;
}
span.name {
	color: #e66362;
	font-size: .8em;
	font-weight: bold;
}
span.hello {
	color: #e66362;
	font-family: HelloSunshineMarker;
	font-size: 1.7em;
}
span.hello-2 {
	color: #e66362;
	font-family: HelloSunshine;
	font-size: 2.5em;
	line-height: .8;
}
span.hello-2-black {
	font-family: HelloSunshine;
	font-size: 2.5em;
	line-height: 1;
}
.red {
	color: #e66362;
}
span.underline-pink {
	border-bottom: 2px solid #e5a4a4;
}
span.underline-red {
	border-bottom: 2px solid #e66362;
}

div.brackets {
	border-left: 3px solid #e66362;
	border-right: 3px solid #e66362;
	margin: 1em 0;
	padding: 1em;
}
div.brackets p.title {
	color: #e66362;
	font-family: HelloSunshine;
	font-size: 3em;
	font-weight: normal;
	line-height: 1;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.brackets p {
	font-size: 1em;
	text-align: center;
	text-indent: 0;
}
div.brackets p img {
	padding: .2em 0;
}
div.brackets li {
	margin: 0;
}

div.brackets-black {
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
	margin: 2em 0;
	padding: 0 1em;
}
div.brackets-black p.title {
	color: #e66362;
	font-family: HelloSunshine;
	font-size: 3em;
	font-weight: normal;
	line-height: 1;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.brackets-black p {
	font-size: 1em;
	text-align: center;
	text-indent: 0;
}
div.brackets-black p img {
	padding: .2em 0;
}

div.dialogue {
	margin: 1em 0;
	border-left: 3px solid #e66362;
	padding-left: 1em;
}
div.dialogue p {
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;
}

div.story {
	margin: 1em 0;
	border: 5px double #e66362;
	padding: 1em;
}
div.story p.title {
	border-bottom: 2px solid #e66362;
	color: #e66362;
	font-family: HelloSunshineMarker;
	font-size: 2.5em;
	margin-bottom: .3em;
	text-align: center;
	text-indent: 0;
}
div.story p.subtitle {
	color: #e66362;
	font-family: HelloSunshine;
	font-size: 2em;
	text-align: center;
	text-indent: 0;
}
div.story p.subtitle span.warning {
	font-family: sans-serif;
	font-size: .5em;
	font-weight: bold;
}
div.story p {
	text-align: left;
}
div.story p.title + p {
	text-indent: 0;
}
div.story p.subtitle + p {
	text-indent: 0;
}
div.story p.center {
	text-align: center;
	text-indent: 0;
}

div.intro {
	margin: 1em;
}
div.intro p {
	text-align: center;
	text-indent: 0;
}
div.intro + p {
	text-indent: 0;
}

div.box {
	margin: 1em 0;
	border: 4px dashed #e66362;
	padding: 1em;
}
div.box p.first {
	text-indent: 0;
}
div.box p.title {
	color: #e66362;
	font-family: HelloSunshineMarker;
	font-size: 2.5em;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}
div.box p.icon {
	text-align: center;
	text-indent: 0;
}
div.box p {
	text-align: left;
}
div.box p.title + p {
	text-indent: 0;
}
div.box p.type {
	margin-top: 1em;
	text-align: center;
	text-indent: 0;
	page-break-after: avoid;
}
div.box p.type + p {
	text-indent: 0;
}
div.box p.center {
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}

div.box-light {
	margin: 1em 0;
	border: 1px solid #e66362;
	padding: 1em;
}
div.box-light p.title {
	color: #e66362;
	font-family: HelloSunshineMarker;
	font-size: 2.5em;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}
div.box-light p.title-2 {
	font-family: HelloSunshine;
	font-size: 2.5em;
	margin-bottom: .3em;
	text-align: center;
	text-indent: 0;
}
div.box-light p.icon {
	text-align: center;
	text-indent: 0;
}
div.box-light p {
	text-align: left;
}
div.box-light p.title + p {
	text-indent: 0;
}
div.box-light p.first {
	text-indent: 0;
}
div.box-light p.center {
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}

div.lateral {
	border-left: 4px double #e66362;
	margin: 2em 0;
	padding-left: 1em;
}
div.lateral-sides {
	border-left: 4px dotted #e66362;
	border-right: 4px dotted #e66362;
	margin: 1em 0;
	padding: 0 1em;
}
div.lateral-sides h4 {
	text-align: center;
}

div.advice {
	border: 3px solid #ececec;
	clear: both;
	margin: 1em 0;
	padding: 1em;
}
div.advice p.icon img {
	width: 3em;
	float: left;
	margin-right: .5em;
}
div.advice p.title {
	color: #e66362;
	font-family: HelloSunshineMarker;
	font-size: 2em;
	margin-bottom: 0;
	text-align: left;
	text-indent: 0;
}
div.advice p.title + * {
	clear: left;
	padding-top: 1em;
}
div.advice ol {
	margin-left: .5em;
}

li span.label {
	font-style: italic;
	font-weight: bold;
}

p.point {
	margin-top: 1em;
	font-weight: bold;
	text-indent: 0;
}
p.point + p {
	text-indent: 0;
}

p.variant {
	color: #e5a4a4;
	margin-top: 1em;
	font-style: italic;
	font-weight: bold;
	text-indent: 0;
}

div.group {
	margin: 1em 0 1em 1em;
}

p.check {
	margin-top: 1em;
	margin-left: 1.2em;
	text-indent: -1.2em;
}
ol.continue li,
ul.continue li {
	margin: 0;
}

p.glossentry {
	margin: 1em 0 0 1em;
	text-indent: -1em;
}
span.glossterm {
	color: #e66362;
	font-weight: bold;
}

span.block {
	display: block;
}

#closing {
	page-break-before: always;
	padding-top: 2em;
}