﻿/** 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%;
}
@supports (max-height:100vh) {
	img {
		max-height: 100vh !important;
	}
}

/* Fuentes */
@font-face {
	font-family: Button;
	src:url('../fonts/Button.ttf');
}
@font-face {
	font-family: HandVetica;
	src:url('../fonts/HandVetica-Bold.ttf');
}
@font-face {
	font-family: Sucrose;
	src:url('../fonts/Sucrose-BoldOne.ttf');
}
@font-face {
	font-family: Zooja;
	src:url('../fonts/ZoojaPro.otf');
}
@font-face {
	font-family: BaronNeueBold;
	src:url('../fonts/BaronNeueBold.otf');
}

/* Control partición silábica */
#titlepage p,
#dedication p,
h1,
h2,
h3,
h4 {
	page-break-after: avoid;
	hyphens: auto;
	adobe-hyphenate: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-epub-hyphens: auto;
}
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: left;
}
#titlepage * {
	line-height: 1.2;
}
#titlepage p.title {
	font-family: inherit;
	font-size: 2.5em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0 0 0;
	padding: 0 0 0 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.title span.emphasis {
	color: #ff865e;
	font-size: 1.3em;
	text-decoration: underline;
}
#titlepage p.subtitle {
	font-family: inherit;
	font-size: 1.3em;
	font-style: normal;
	font-weight: normal;
	margin: 2.5em 0;
	padding: 0 0 0 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.subtitle cite {
	color: #ff865e;
}
#titlepage p.author {
	font-family: inherit;
	font-style: normal;
	font-weight: normal;
	font-size: 1em;
	margin: 0;
	padding: 0 0 0 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.contributor {
	font-family: inherit;
	font-style: normal;
	font-weight: 200;
	font-size: 1em;
	margin: 0;
	padding: 0 0 0 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.publisher {
	margin: 10em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
	width: 10em;
}
#titlepage div.figure {
	margin: 0 auto;
}
#titlepage div.figure img {
	max-height: 100%;
}
#dedication div.figure {
	margin: 0 auto;
}
#dedication 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-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 {
	color: black;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	padding: 0;
	text-align: center;
}
#summary p {
	margin: 0;
	text-align: justify;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	text-indent: 1em;
}
#summary hr + p {
	text-indent: 0;
}

/* Índice */
#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-top: 6em;
	margin-left: 6em;
}
#dedication p {
	font-family: inherit;
	font-style: italic;
	text-align: right;
	text-indent: 0;
}
#dedication p.attrib {
	margin-top: 2em;
	font-style: normal;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	color: #e04748;
	font-family: Sucrose;
	font-size: 2.6em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 2em 0;
	padding-top: 1em;
	text-align: center;
	text-indent: 0;
}
h2 {
	border-bottom: 1px dashed #e04748;
	color: #e04748;
	font-family: Sucrose;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 {
	font-size: 1.4em;
	margin: 2em 0 0 0;
	text-align: left;
	text-indent: 0;
}
h4 {
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}
h1 + p,
h2 + p,
h3 + p,
h4 + 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 0;
	padding: 0 0 0 1.25em;
}
ul {
	list-style: disc;
	margin: 1em 0 1em 1em;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: .5em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	font-family: sans-serif;
	font-size: 1em;
	margin: 0;
	text-indent: 0;
}
.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;	
}

.fake {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
.fake li span.button-red {
	display: inline;
	float: left;
	line-height: 1.8;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: 1em;
}
.fake li span.button-red + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li span.text {
	display: block;
	margin-left: 1.2em;
}
.fake li span.text span.label {
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
}
ol.bold li {
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
}
ol.big li {
	/* color: #ff865e; */
	font-size: 1.5em;
}

/* 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%;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-30 {
	margin: 1em auto;
	text-align: center;
	width: 30%;
}
div.figure-10-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 15%;
}
div.figure-10-sl {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 2em;
}
div.figure-10-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 15%;
}
div.figure-10-sr {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 2em;
}
div.figure-30-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 30%;
}
div.figure-30-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 30%;
}
div.figure-50-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 50%;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 50%;
}
div.figure-75-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 75%;
}
div.figure-75-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 75%;
}


div.figcaption p {
	font-family: inherit;
	font-size: .8em;
	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 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 4em;
	max-width: 100%;
}
div.icon img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
	width: auto;
}

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;
}

img.inline {
	height: .8em;
	vertical-align: sub;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	break-inside: avoid;
	page-break-inside: avoid;
	margin: 1em 0 1em 1em;
}
div.signature p {
	font-family: inherit;
	margin: 0;
	text-align: right;
	text-indent: 0;
}
div.signature p.data {
	font-style: italic;
	font-size: .7em;
}

/* Citas de bloque */
blockquote {
	margin: 2em 1em;
}
blockquote p {
	font-family: FriendlySchoolmates;
	font-size: 1.7em;
	text-align: center;
	text-indent: 0;
}

/* Cajas */
div.box {
	border: 1px solid #e66563;
	margin: 1em;
	padding: .7em;
}
div.box p {
	margin: 1em 0 1em 2em;
	text-align: left;
	text-indent: 0;
}
div.box p.comment {
	margin: 1em 0 1em 1em;
	text-align: left;
	text-indent: 0;
}
div.box div.icon {
	margin: 1em auto 1em 0;
}
div.box-light {
	margin: 1em;
	padding: .7em;
}
div.box-light p {
	font-family: serif;
	margin: 1em 0 1em 2em;
	text-align: left;
	text-indent: 0;
}
div.box-light div.icon {
	margin: 1em auto 1em 0;
}

/* Poemas */
.poem {
	margin: 1em 3em;
}
.stanza {
	margin: 1em 0;
	text-indent: 0;
}
.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* Canciones */
div.song {
	margin: 2em 0;
}
div.song p {
	font-style: italic;
	text-indent: 0;
}
div.song p.title {
	font-style: normal;
	font-weight: bold;
	margin-bottom: 1em;
}
div.song p.indent {
	text-indent: 1em;
}

/* Otros */
p.first {
	text-indent: 0;
}
span.underline {
	text-decoration: underline;
}
span.highlight {
	font-weight: bold;
	font-size: .8em;
}

/* 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 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;
}

/* Propios */
p.intro {
	page-break-before: always;
	padding-top: 3em;
	text-indent: 0;
}
div.test p.title {
	color: #e04748;
	font-family: HandVetica;
	font-size: 1.5em;
	margin: 1em;
	text-align: center;
	text-indent: 0;
}
p.ornato {
	margin: 1em auto;
	text-align: center;
	text-indent: 0;
	width: 1em;
}
p.bullet-separator {
	font-family: Button;
	margin: 1em auto;
	text-align: center;
	text-indent: 0;
}
p.bullet-separator-red {
	color: #e04748;
	font-family: Button;
	margin: 1em auto;
	text-align: center;
	text-indent: 0;
}
p.quote {
	font-size: 1.3em;
	text-align: center;
	text-indent: 0;
}
p.quote span.emphasis {
	color: #e04748;
	font-family: serif;
	font-size: 1.5em;
	font-weight: bold;
}
p.point {
	margin: 1em 0;
	text-indent: 0;
}
span.button-red {
	color: #e04748;
	font-family: Button;
}
span.handvetica {
	font-family: HandVetica;
}
span.handvetica-red {
	font-family: HandVetica;
	color: #e04748;
}
span.sucrose {
	font-family: Sucrose;
}
span.sucrose-red {
	font-family: Sucrose;
	color: #e04748;
}

div.box-double-red-med {
	border: 4px double #e04748;
	margin: 1em 0;
	padding: 1em;
}
div.box-double-red-med p {
	font-family: HandVetica;
	font-size: 1.25em;
}
div.box-double-red-med p.lead {
	font-family: Sucrose;
	font-size: 3em;
	text-align: center;
	text-indent: 0;
}
div.box-angled {
	border: 4px double currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.box-angled p {
	text-indent: 0;
}
div.box-angled p.label {
	font-weight: bold;
	margin-top: 1em;
}
div.box-angled p.important {
	font-size: 1.75em;
	text-align: center;
	text-indent: 0;
}
div.box-dashed {
	border: 2px dashed currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.box-dashed p {
	font-family: HandVetica;
	font-size: 1.15em;
	text-indent: 0;
}
div.box-dashed p span.number {
	font-family: sans-serif;
	color: #e04748;
}

div.testimony {
	border: 4px solid #e04748;
	margin: 1em 0;
	padding: 1em;
}
div.testimony p {
	font-family: Zooja;
	font-size: 1.75em;
	text-indent: 0;
}
div.testimony p.attrib {
	margin-top: 1em;
	text-align: right;
}
span.emphasis-red {
	color: #e04748;
}
ol.ideas li {
	font-family: HandVetica;
	font-size: 1.15em;
}
ol.ideas li b {
	font-weight: normal;
	color: #e04748;
}

div.box-bitten {
	border: 6px double currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.box-bitten p {
	font-family: HandVetica;
	font-size: 1.25em;
	text-align: center;
	text-indent: 0;
}
blockquote.motto p {
	font-family: Zooja;
	color: #e04748;
	font-size: 2em;
	text-align: center;
	text-indent: 0;
}
p.question {
	text-align: center;
	text-indent: 0;
}
hr.double {
	margin-top: 2em;
}
p.restricted-area {
	font-family: HandVetica;
	font-size: 2em;
	margin: 2em auto;
	text-align: center;
	text-indent: 0;
}

div.note {
	border: 4px double #e04748;
	border-bottom: 0;
	margin: 1em 0;
	padding: 1em;
}
div.note p {
	text-align: center;
	text-indent: 0;
}
div.note p.title {
	font-family: Zooja;
	color: #e04748;
	font-size: 2em;
	margin: 0 0 .5em 0;
}
div.note p.hand {
	font-family: Zooja;
	font-size: 1.6em;
}
p.create-list {
	font-family: Zooja;
	color: #e04748;
	font-size: 2em;
	margin: 0 0 0 0;
	text-align: center;
	text-indent: 0;
} 
p.create-list-comment {
	color: #e04748;
	font-size: .85em;
	margin: 0 0 1.5em 0;
	text-align: center;
	text-indent: 0;
} 
blockquote.center p {
	font-family: HandVetica;
	font-size: 1.4em;
	text-align: center;
	text-indent: 0;
}
blockquote.centered p {
	font-family: sans-serif;
	font-size: 1em;
	text-align: center;
	text-indent: 0;
}
blockquote.centered span.sucrose {
	font-size: 1.4em;
}
div.trap {
	margin: 1em;
}
div.trap p {
	font-family: BaronNeueBold;
	font-size: 1.2em;
	text-align: center;
	text-indent: 0;
}
div.trap p.big {
	font-size: 3em;
}

p.because {
	font-family: HandVetica;
	font-size: 1.4em;
	text-align: center;
	text-indent: 0;
}
p.highlight {
	color: #e04748;
	font-family: serif;
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}
div.center-points {
	margin: 1.5em 0;
}
div.center-points p {
	margin: 1em;
	text-align: center;
	text-indent: 0;
}

div.box-hand-points {
	border-left: 4px double currentColor;
	border-bottom: 0;
	margin: 1em 0;
	padding-left: 1em;
}
div.box-hand-points p {
	font-family: Zooja;
	font-size: 1.5em;
	margin: 1em 0;
	text-indent: 0;
}
p.center {
	text-align: center;
	text-indent: 0;
}

span.zooja {
	font-family: Zooja;
	font-size: 1.5em;
}
span.zooja-red {
	font-family: Zooja;
	font-size: 1.5em;
	color: #e04748;
}
ol.handvetica li {
	font-family: HandVetica;
	font-size: 1.2em;
}
div.impact {
	margin: 1em;
}
div.impact p {
	color: #e04748;
	font-family: Sucrose;
	font-size: 3em;
	text-align: center;
	text-indent: 0;
}
p.point-option {
	margin: 1em 0 1em 1em;
	text-indent: 0;
}

div.box-note {
	border: 6px double currentColor;
	margin: 2em 0;
	padding: 1em;
}
div.box-note p {
	text-indent: 0;
}
p.result {
	font-size: 1.5em;
	margin: 1.5em;
	text-align: center;
	text-indent: 0;
}

div.box-dotted {
	border: 3px dotted currentColor;
	margin: 1em 0;
	padding: 1em;
}

div.double-left {
	border-left: 4px double currentColor;
	border-bottom: 0;
	margin: 1em 0;
	padding-left: 1em;
}
div.double-left p {
	font-family: HandVetica;
	font-size: 1.2em;
	margin: 1em 0;
	text-indent: 0;
}

div.brindis {
	margin: 2em;
}
div.brindis p {
	font-size: 1.2em;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
div.brindis p.lead {
	page-break-before: always;
	padding-top: 1em;
	color: #e04748;
	font-family: Zooja;
	font-size: 3em;
}
div.brindis + p {
	page-break-before: always;
	padding-top: 1em;
}

p.donts {
	font-family: Zooja;
	font-size: 3em;
	margin: 1em 1em 0 1em;
	text-align: center;
	text-indent: 0;
}
p.zooja {
	font-family: Zooja;
	font-size: 1.5em;
}
p.zooja span.zooja-red {
	font-size: 1em;
}
p.finis {
	font-size: 3em;
	margin: 1em 1em 0 1em;
	text-align: center;
	text-indent: 0;
}
ol.red li {
	color: #e04748;
}
ol.red li p {
	color: #000001;
}