﻿@charset "UTF-8";
@namespace "http://www.w3.org/1999/xhtml";
@namespace epub "http://www.idpf.org/2007/ops";

/* BASE */

/* Márgenes */
body {
	font-family: serif;
	font-size: 1em;
	line-height: 1.5;
	margin: 0;
	padding: 0 20px;
}
body * {
	object-fit: contain;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0;
	padding: 0;
}
section, aside, main, header, footer, figure, figcaption, audio, video, nav { 
	display: block; 
}

/* 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: 1em 0 0 0;
}
#copyright-page p {
	color: currentColor;
	font-family: sans-serif;
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	color: #000;
	font-size: 1.1em;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
}
#summary p {
	font-size: .9em;
	margin: 0;
}
#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: 0 0 0 1em;
	padding: 0;
	text-align: left;
	text-indent: -1em;
}
#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: bold;
	page-break-inside: avoid;
	text-decoration: none !important;
}

#landmarks {
	display: none;
}

/* Portada */
#titlepage {
	break-inside: page;
	page-break-inside: avoid;
	margin: 3em 0 0 0;
}
#titlepage * {
	font-family: sans-serif;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 1.6em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.role {
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title {
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: .8em 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.subtitle {
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: .8em 0 2em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}

#titlepage p.contrib {
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 3em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage div.contrib p.name {
	color: #545d3a;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage .publisher {
	margin: 6em auto 0;
	padding: 0;
	text-indent: 0;
	width: 4em;
}

/* Dedicatoria */
#dedicatoria {
	margin-top: 6em;
	margin-left: 6em;
}
#dedicatoria p {
	font-style: italic;
	text-align: right;
	text-indent: 0;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 2em;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: center;
	text-transform: uppercase;
}
h1 span.label {
	display: block;
	font-weight: normal;
	font-size: .8em;
	margin-bottom: .5em;
}

#prologo h1 {
	font-family: serif;
	font-size: 1em;
	font-weight: normal;
	text-align: left;
}

h2 {
	font-family: sans-serif;
	font-size: 2.5em;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 .5em 0;
	text-align: center;
	text-transform: uppercase;
}
h2 span.antetitle {
	display: block;
	font-weight: normal;
	font-size: .6em;
	margin-bottom: .5em;
}

h3,
#c03 h2,
#ap01 h1 {
	font-family: sans-serif;
	font-size: 1.8em;
	font-weight: normal;
	line-height: 1.2;
	margin: 2em 0 .5em 0;
	text-align: center;
	text-transform: uppercase;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
	text-indent: 0;
}

p {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 0 0 0 0;
	text-align: left;
	text-indent: 0;
}

a {
	color: #00F;
	font-family: inherit;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: .9em;
	margin: 1em 0;
	text-align: left;
	text-indent: 0;
}
blockquote + p {
	text-indent: 0;
}
#summary blockquote p {
	text-indent: 0;
}

cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: 0;
}
hr + p {
	text-indent: 0;
}
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.5em;
}
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;
}
.lower-alpha {
	list-style: lower-alpha;
}
.lower-roman {
	list-style: lower-roman;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin: 1em 0;
}

/* Figuras y captions */
figure {
	margin: 1em auto;
	text-align: center;
}
figure.w30 {
	width: 30%;
}
figure.w50 {
	width: 50%;
}
figure.w75 {
	width: 75%;
}
figure img {
	max-height: 100%;
	text-align: center;
}
figure.icon {
	width: 7em;
}

figcaption {
	margin: 0 0 2em 0;
}
figcaption p {
	font-size: .8em;
	font-style: italic;
	text-align: left;
	text-indent: 0;
}
figcaption p.caption {
	font-style: normal;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}

img.inline {
	height: 1em;
	vertical-align: baseline;
}

/* TEXTOS ESPECIALES */
span.smcp {
	font-variant: small-caps;
}
span.underline {
	text-decoration: underline;
}

/* Firmas */
div.signature {
	margin: 2em 0 1em;
}
div.signature p {
	font-weight: bold;
	text-align: right;
}
div.signature p.name {
	font-weight: bold;
}

/* Poemas */
.poem {
	margin-left: 0;
}
p.stanza {
	font-style: italic;
	margin: 1em 0;
	text-align: left;
}
span.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* Notas | Llamadas */
[epub|type="noteref"] {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnotes h2 {
	margin: 2em 0 1em 0;
}
div[epub|type="footnote"] {
	margin: .6em 0 0 0;
	break-inside: avoid;
	page-break-inside: avoid;
}
/* div[epub|type="footnote"] + div[epub|type="footnote"], */
/* div[epub|type="footnote"] + h2 { */
	/* break-before: always; */
	/* page-break-before: always; */
	/* -webkit-column-break-before: always; */
	/* padding-top: 1em; */
/* } */
div[epub|type="footnote"] p {
	font-size: .8em;
	margin: 0 0 0 2.6em;
	overflow: hidden;
	text-indent: 0;
}
div[epub|type="footnote"] p + p {
	margin-top: 1em;
}
div[epub|type="footnote"] p.note-indent {
	text-indent: 1em;
}
div[epub|type="footnote"] blockquote {
	font-size: .8em;
	margin-left: 2em;
}
div[epub|type="footnote"] ol {
	margin-left: 2.5em;
}
div[epub|type="footnote"] li {
	font-size: .8em;
	margin: 0;
	text-indent: 0;
}
div[epub|type="footnote"] a[epub|type="referrer"] {
	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: 2.2em;
}
div[epub|type="footnote"] a[epub|type="referrer"] + p {
	page-break-before: avoid;
}

/* Recetas */
div.recipe {
	margin: 1.5em 0;
	page-break-before: always;
	break-before: page;
	-webkit-column-break-before: always;
	padding-top: 1em;
}
div.recipe li {
	text-align: left;
}
div.recipe p.recipe-title {
	font-family: sans-serif;
	font-size: 2.3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
	text-transform: uppercase;
}
div.recipe p.bridgehead {
	font-family: sans-serif;
	font-size: 1em;
	font-variant: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 0 0;
	text-align: left;
	text-indent: 0;
	text-transform: none;
}
div.recipe p.bridgehead + p {
	text-indent: 0;
}
div.recipe p.for {
	font-weight: bold;
	margin-top: 1em;
	text-indent: 0;
}
div.recipe p.for + p {
	text-indent: 0;
}
div.recipe p.for + ul {
	margin-top: 0;
}
ul.ingredients {
	list-style: none;
	margin: 0 30% 1em 0;
	padding: 0;
}
ul.ingredients li {
	font-size: 1em;
	font-style: normal;
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;
}

figure.size-s {
	width: 8em;
}
figure.size-m {
	width: 15em;
}

div.box {
	border: 2px solid currentColor;
	padding: 0 1em 1em 1em;
	margin: 2em 0;
}



/* Propios */
#prefacio p {
	text-align: center;
}
#agradecimientos h1 {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin: 2em 0 0;
	text-align: left;
	text-decoration: underline;
	text-transform: uppercase;
}
#agradecimientos p {
	margin: .5em 0;
	text-indent: 0;
}
#ap01 p {
	margin-left: 1em;
	text-indent: -1em;
	text-align: left;
}

div.notice {
	margin-top: 4em;
}
div.notice p {
	font-size: .9em;
	text-indent: 0;
}


p.bridgehead {
	font-family: sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	margin: 2em 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}
p.bridgehead-2 {
	font-family: sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	margin: 1em 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}
p.more {
	font-family: serif;
	font-size: 1.2em;
	font-weight: normal;
	margin: 1em 0 0;
	text-decoration: none;
	text-transform: uppercase;
}
p.fix-section {
	font-size: 1.6em;
	font-style: italic;
	text-align: center;
	margin: 1em 0;
}

div.legend {
	border: 1px solid currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.legend p {
	text-align: center;
}
div.legend figure img {
	width: 1.2em;
}

div.family-card {
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	padding: .5em 0;
}
div.family-card p.family-name {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: normal;
	margin: 1em 0 1em;
	text-align: center;
	text-decoration: underline;
	text-transform: uppercase;
}
div.family-card p.family-desc {
	text-align: center;
}
div.family-card figure img {
	width: 1.2em;
}

span.pageref {
	display: none;
}

p.step {
	margin: .5em 0;
}
span.ordinal {
	font-size: 1.2em;
}

p.question {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}
p.answer {
	font-style: italic;
}

li p.more {
	margin-left: -1.2em;
}

li span.label {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: normal;
	margin: 1em 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}

p.guide-name {
	font-family: serif;
	font-size: 1.1em;
	font-weight: normal;
	margin: 1em 0 0;
	text-align: center;
	text-decoration: underline;
}
p.motto {
	font-family: sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	margin: 1em 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}
p.ingredient-label {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin: .5em 0 0;
	text-decoration: underline;
	text-transform: uppercase;
}
p.cocktail {
	margin-left: 1em;
	text-indent: -1em;
}

section[epub|type="subchapter"] {
	page-break-before: always;
	-webkit-column-break-before: always;
	break-before: page;
	padding-top: 1em;
}