﻿/** 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;
}

/* 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;
	margin: 3em 0 0 0;
}
#titlepage * {
	font-family: sans-serif;
	font-weight: normal;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title {
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
#titlepage p.contrib {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: .3em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
#titlepage div.publisher {
	margin: 13em 0 0 0;
	padding: 0;
	text-indent: 0;
	width: 13em;
}

/* 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;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	color: black;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
	text-align: center;
}
#summary p {
	margin: 0;
	text-align: justify;
}
#summary h1 + 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: .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 a {
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: .5em 0 3em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h1 span.subtitle {
	display: block;
	font-size: .4em;
	font-weight: normal;
}
h2 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 .5em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h2.big {
	font-size: 1.6em;
}
h3 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: italic;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
p.bridgehead {
	break-after: avoid;
	page-break-after: avoid;
	font-family: sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.2em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
p.bridgehead-indent {
	break-after: avoid;
	page-break-after: avoid;
	font-family: sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.2em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}
p.highlight {
	font-family: sans-serif;
	font-size: .9em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.2em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
h1 + p,
h2 + p,
h3 + p,
p.bridgehead + p {
	text-indent: 0;
}
p.bridgehead + ul {
	margin-top: 0;
}

p {
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0;
	text-align: justify;
	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 {
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.25em;
}
ul {
	list-style: disc;
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}
li b {
	font-family: sans-serif;
	font-size: .9em;
}
.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: 0;
}


/* Figuras y captions */
div.figure {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.graph {
	border: 1px solid #c0d3b1;
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-half {
	margin: 1em 0 1em 50%;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
}
div.figure-30 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-50 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-75 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}

div.figcaption {
	margin: .25em 0;
}
div.figcaption p {
	font-family: inherit;
	font-size: .8em;
	font-style: normal;
	margin: 0;
	text-align: left;
	text-indent: 0;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	margin: 1em 0 0 0;
}
div.signature p {
	font-family: sans-serif;
	font-size: .9em;
	text-align: right;
	text-indent: 0;
}
div.signature p.name {
	font-weight: bold;
}

/* Otros */
blockquote {
	margin: 1.5em 0;
}
blockquote p {
	font-family: inherit;
	font-size: 1.6em;
	font-weight: bold;
	margin-left: 1em;
	text-align: left;
	text-indent: 0;
}

p.intro {
	font-family: sans-serif;
	font-size: 1.2em;
	margin: 1em 0 2em 0;
	text-align: left;
	text-indent: 0;
}
p.intro + p {
	text-indent: 0;
}

p.first {
	text-indent: 0;
}
p.indent {
	text-indent: 1em !important;
}

p.bridgehead {
	break-after: avoid;
	page-break-after: avoid;
	font-weight: bold;
	text-indent: 0;
}
p.bridgehead + p {
	margin-top: 0;
}

span.line-through {
	text-decoration: line-through;
}

/* Recetas */
div.recipe {
	break-before: always;
	page-break-before: always;
	margin: 2.5em 0;
}
div.recipe p.origen {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe p.type {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 .3em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe p.origen + p.title,
div.recipe p.type + p.title {
	margin-top: 0;
}
div.recipe p.title {
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe p.desc {
	font-family: inherit;
	font-style: normal;
	font-weight: normal;
	font-size: 1em;
	margin: 1.2em 0;
	text-align: justify;
	text-indent: 0;
}
div.recipe div.ingredients {
	margin: 1.5em 0;
}
div.recipe div.ingredients p.scope {
	font-family: sans-serif;
	font-size: .9em;
	font-weight: bold;
}
div.recipe div.ingredients p.for {
	font-family: sans-serif;
	font-size: .9em;
	font-weight: bold;
	margin: 1em 0 0 0;
	text-indent: 0;
}
div.recipe div.ingredients p.for + ul {
	margin-top: 0;
}
div.recipe div.ingredients ul {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
div.recipe div.ingredients li {
	margin-left: 1em;
	text-indent: -1em;
}
div.recipe div.steps li {
	text-indent: 0;
	text-align: justify;
}
div.recipe div.note {
	margin: 2em 0;
}
div.recipe div.notes p {
	text-indent: 0;
}
div.recipe p.bridgehead {
	font-family: sans-serif;
	font-size: 1.5em;
	text-indent: 0;
}
div.recipe p.comment {
	font-family: sans-serif;
	font-size: 1.5em;
	text-indent: 0;
}

div.recipe-group {
	break-before: always;
	page-break-before: always;
	margin: 2.5em 0;
}
div.recipe-group div.recipe {
	break-before: avoid;
	page-break-before: avoid;
	margin: 2.5em 0;
}
div.recipe-group p.title {
	font-family: sans-serif;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe-group div.recipe p.title {
	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;
}
div.recipe-group div.recipe div.ingredients p.bridgehead,
div.recipe-group div.recipe div.steps p.bridgehead {
	font-family: sans-serif;
	font-size: .9em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe-group div.recipe div.ingredients p.bridgehead + ul,
div.recipe-group div.recipe div.steps p.bridgehead + ol {
	margin-top: 0;
}

/* 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;
}

@supports not ((page-break-before: always) or (break-before: always)) {
	div.recipe,
	div.recipe-group {
		-webkit-column-break-before: always;
	}
}