﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	font-size: 1em;
	line-height: 1.5;
	margin: 0;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	line-height: inherit;
	max-width: 100%;
	object-fit: contain;
}
.hidden {
	display: none;
}
@supports (max-height: 80vh) {
	img {
		max-height: 100vh !important;
	}
}

/* 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: page;
	page-break-inside: avoid;
}
#titlepage * {
	text-align: left;
	text-indent: 0;
}
#titlepage p.title {
	font-family: serif;
	font-size: 3em;
	font-style: italic;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.author {
	font-family: serif;
	font-size: 1.25em;
	font-style: italic;
	font-weight: normal;
	line-height: 1.2;
	margin: 2em 0 0 0;
	padding: 0;
	text-align: right;
	text-indent: 0;
}
#titlepage p.subtitle {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: .8em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
#titlepage div.publisher {
	margin: 10em auto 0;
	padding: 0;
	text-indent: 0;
	width: 4em;
}
#titlepage div.figure {
	margin: 0;
}

/* 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 p.level {
	margin-bottom: 3em;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	border: 0;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
}
#summary p {
	font-family: 1em;
	margin: 0;
	text-align: justify;
	text-indent: 1em;
}
#summary h1 + p,
#summary hr + p {
	text-indent: 0;
}
#summary p + p {
	text-indent: 1em;
}

/* Í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;
}
#toc li.chapter a {
	font-style: italic;
	font-weight: bold;
}
#toc li.chapter li a {
	font-style: normal;
	font-weight: normal;
}

/* Dedicatoria */
#dedication {
	margin: 5em 0 0 4em;
}
#dedication p {
	margin: 1em 0 0 0;
	text-align: right;
}
#dedication div + div {
	margin-top: 4em;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1;
	margin: 2em 0 .5em 0;
	text-align: left;
	text-indent: 0;
}
h2 {
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: left;
	text-indent: 0;
}
h3 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 + p,
div.prenda h3 + p {
	margin-top: 0;
}
h4 {
	font-family: serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h5 {
	font-family: serif;
	font-size: .9em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p {
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

a {
	color: #00F;
	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 !important;
	height: 1em;
	margin: 0;
}
hr + p {
	text-indent: 0;
}
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 {
	list-style: none;
	margin: 1em 0 1em 2em;
	padding: 0 0 0 1.25em;
}
ul {
	list-style: none;
	margin: 1em 0 1em 2em;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: .3em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 0;
	text-indent: 1em;
}
li p.indent {
	text-indent: 1em;
}
li p + p {
	text-indent: 1em;
}
li blockquote p {
	font-size: 1em;
}
li blockquote + p {
	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 1em 1em;
	padding: 0;
}
ol + p,
ul + p {
	text-indent: 1em;
}

.fake {
	list-style: none;
	padding: 0;
	margin-left: 1em;
}
.fake li {
	margin: 1em 0;
	clear: both;
}
.fake li span.symbol {
	display: inline;
	float: left;
	font-family: inherit;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: 1em;
}
.fake li span.symbol + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li span.text,
.fake li p {
	display: block;
	margin-left: 1.8em;
}

/* Figuras y captions */
div.figure {
	margin: 0 auto 2em;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
p + div.figure {
	margin: 2em auto 2em;
}
div.figure-20 {
	margin: 1em auto 2em;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 17%;
}
div.figure-30 {
	margin: 1em auto 2em;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-30-l {
	margin: 1em 0;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-30-r {
	margin: 1em 0 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-50 {
	margin: 1em auto 2em;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-75 {
	margin: 1em auto 2em;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}

div.figcaption {
	margin: 0 0 2em 0;
}
div.figcaption p {
	font-family: serif;
	font-size: 1em;
	font-style: normal;
	margin: 0;
	text-align: left;
	text-indent: 0;
}
p.credit {
	font-family: serif;
	font-size: .7em;
	font-style: italic;
	margin: 0;
	text-align: right;
	text-indent: 0;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	margin: 1.5em 0 0 0;
}
div.signature p {
	font-size: .9em;
	font-style: italic;
	font-weight: normal;
	margin: 0;
	text-align: right;
	text-indent: 0;
}
div.signature p.name {
	font-weight: bold;
	font-style: normal;
}

/* Otros */
blockquote {
	margin: 1em;
	width: 16em;
}
blockquote p {
	font-family: inherit;
	font-size: 1.2em;
	font-style: italic;
	margin: 0;
	text-align: left;
	text-indent: 0;
}
blockquote i {
	font-style: normal;
}
blockquote + p {
	text-indent: 1em;
}

/* Recetas */
div.recipe {
	page-break-before: always;
	padding-top: 1.5em;
}
div.recipe p.serial {
	font-family: inherit;
	font-size: .8em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 1em 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
	width: 5em;
	border-right: 1px solid currentColor;
	float: left;
}
div.recipe p.serial span.ordinal {
	display: block;
	font-size: 2em;
}
div.recipe p.title {
	clear: right;
	/* display: inline-block; */
	font-family: inherit;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: .5em 0 0 0;
	text-align: left;
	text-indent: 0;
}
div.recipe p {
	margin-top: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe p.desc {
	font-family: serif;
	font-weight: normal;
	margin: 2em 0 0 0;
	text-indent: 0;
}
div.recipe p.desc + p.desc {
	text-indent: 1em;
	margin-top: 0;
}
div.recipe p.for {
	font-family: serif;
	font-weight: bold;
	margin-top: 2em;
	text-indent: 0;
}
div.recipe ul.ingredients li {
	font-family: serif;
	list-style: none;
	margin: 0 0 0 1em;
	text-indent: -1em;
}
div.recipe ul.ingredients {
	margin: 2em 0;
	padding: 0;
}
div.recipe p.for + ul.ingredients {
	margin: 0 0 2em 0;
}
div.recipe p.step {
	margin: 1em 0;
	text-indent: 0;
}
div.recipe p.for-step {
	margin: 1.5em 0 .5em 0;
	font-weight: bold;
}
div.recipe p.for-step + p.step {
	margin-top: .5em;
}

/* Bibliografía */
.bibliography ul {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
.bibliography li {
	margin: 0 0 0 1em;
	text-align: left;
	text-indent: -1em;
}
.bibliography span.biblioauthor {
	font-variant: small-caps;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* 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;
}

/* Propios - Color */
#c01 h1,
#c01 h2,
#c01 h3,
#c01 .fake li span.symbol,
#c01 span.color,
#c01 p.listhead,
#c01 div.intro p,
#c01 span.zapf {
	color: #9f0a52;
}

#c02 h1,
#c02 h2,
#c02 h3,
#c02 .fake li span.symbol,
#c02 span.color,
#c02 p.listhead,
#c02 div.intro p,
#c02 span.zapf {
	color: #2ba79b;
}

#c03 h1,
#c03 h2,
#c03 h3,
#c03 .fake li span.symbol,
#c03 span.color,
#c03 p.listhead,
#c03 div.intro p,
#c03 span.zapf {
	color: #aeac9e;
}

#c04 h1,
#c04 h2,
#c04 h3,
#c04 .fake li span.symbol,
#c04 span.color,
#c04 p.listhead,
#c04 div.intro p,
#c04 span.zapf {
	color: #2e5790;
}

#c05 h1,
#c05 h2,
#c05 h3,
#c05 .fake li span.symbol,
#c05 span.color,
#c05 p.listhead,
#c05 div.intro p,
#c05 span.zapf {
	color: #707877;
}

#c06 h1,
#c06 h2,
#c06 h3,
#c06 h4,
#c06 .fake li span.symbol,
#c06 span.color,
#c06 p.listhead,
#c06 div.intro p,
#c06 span.zapf {
	color: #009ab5;
}
#c07 h1,
#c07 h2,
#c07 h3,
#c07 h4,
#c07 .fake li span.symbol,
#c07 span.color,
#c07 p.listhead,
#c07 div.intro p,
#c07 span.zapf {
	color: #009ab5;
}
#c08 h1,
#c08 h2,
#c08 h3,
#c08 h4,
#c08 .fake li span.symbol,
#c08 span.color,
#c08 p.listhead,
#c08 div.intro p,
#c08 span.zapf {
	color: #009ab5;
}
#c09 h1,
#c09 h2,
#c09 h3,
#c09 h4,
#c09 h5,
#c09 .fake li span.symbol,
#c09 span.color,
#c09 p.listhead,
#c09 div.intro p,
#c09 span.zapf {
	color: #009ab5;
}
#c10 h1,
#c10 h2,
#c10 h3,
#c10 h4,
#c10 h5,
#c10 .fake li span.symbol,
#c10 span.color,
#c10 p.listhead,
#c10 div.intro p,
#c10 span.zapf {
	color: #009ab5;
}
#glossary h1,
#glossary h2,
#glossary h3,
#glossary h4,
#glossary h5,
#glossary .fake li span.symbol,
#glossary span.color,
#glossary p.listhead,
#glossary div.intro p,
#glossary span.zapf {
	color: #009ab5;
}

span.underline {
	border-bottom: 2px solid #009ab5;
}

/* Propios */
div.prenda p {
	margin-top: 1em;
	text-indent: 0;
}
div.prenda div.intro {
	margin: 1em 0 3em 0;
}
div.prenda div.intro p {
	font-family: serif;
	font-size: 1.2em;
	font-weight: bold;
}
div.prenda p.listhead {
	font-weight: bold;
}
div.prenda p.listhead + ul.fake {
	margin-top: 0;
}
div.prenda p.step {
	margin-top: 1em;
	text-indent: 1em;
}
div.prenda p.step2 {
	margin-top: 0;
	text-indent: 1em;
}
span.zapf {
	font-size: .7em;
	vertical-align: middle;
}
.part div.figure {
	margin: 0;
}
p.first,
li p.first {
	text-indent: 0;
}
p.point {
	margin-top: 1em;
	text-indent: 0;
}
h4 span.subtitle {
	display: block;
	font-size: .8em;
}
p.variant {
	margin: 1.5em 0 1em 0;
	text-indent: 0;
}
div.notice {
	border: 2px solid #009ab5;
	margin: 1em 0;
	padding: 1em;
}
div.notice p {
	font-size: .8em;
	margin: 0 0 0 0;
	text-indent: 0;
}
div.notice p + p {
	margin: 1em 0 0 0;
}

#c09 h2,
#c10 h2 {
	padding-top: 3em;
	margin-top: 0;
}
h2 img.ornato {
	display: block;
	height: 10px;
	page-break-after: avoid;
}
h3 img.ornato {
	display: block;
	height: 6px;
}
p.type {
	margin-top: 1em;
	text-indent: 0;
}
p.type + p {
	text-indent: 0;
}
p.type-l1 {
	margin-top: 1em;
	margin-left: 1em;
	text-indent: 0;
}
p.type-l1-indent {
	margin-top: 0;
	margin-left: 1em;
	text-indent: 1em;
}
p.type-l1 + p {
	margin-left: 1em;
	text-indent: 0;
}
#glossary h2 {
	font-size: 3em;
	margin: 1em 0 0 0;
}
#glossary p.glossterm {
	margin-top: 1em;
	text-indent: 0;
}

li.top {
	margin-top: 1em;
}
p.type-l1 + p.top-indent {
	margin-top: 1em;
	margin-left: 0;
	text-indent: 1em;
}