﻿@charset "UTF-8";
@namespace "http://www.w3.org/1999/xhtml";
@namespace epub "http://www.idpf.org/2007/ops";

/* BASE */

/* Márgenes */
body {
	font-family: sans-serif;
	font-size: .9em;
	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: inherit;
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}

/* Sinopsis */
#summary * {
	font-family: serif;
}
#summary h1 {
	color: #000;
	font-size: 1.3em;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
}
#summary p {
	font-size: 1.1em;
	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 * {
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 1.6em;
	font-weight: bold;
	line-height: 1.5;
	margin: 1.2em auto .5em;
	text-align: center;
}
#titlepage p.author span.rrss {
	display: block;
	font-size: .8em;
}
#titlepage p.title {
	font-size: 5em;
	font-family: serif;
	font-style: italic;
	font-weight: bold;
	line-height: 1;
	margin: 0 auto;
}
#titlepage p.subtitle {
	font-size: 1.4em;
	font-weight: bold;
	margin: 0 auto;
}
#titlepage p.publisher {
	margin: 5em auto 1em;
	padding: 0;
	text-indent: 0;
	width: 7em;
}

/* Dedicatoria */
#dedicatoria {
	margin-top: 6em;
	margin-left: 6em;
}
#dedicatoria p {
	font-style: normal;
	margin: .5em 0;
	text-align: right;
}

/* Epígrafe */
#epigrafe {
	margin-top: 6em;
	margin-left: 6em;
}
#epigrafe p {
	text-align: right;
}
#epigrafe blockquote {
	margin: 0;
}
#epigrafe blockquote p {
	font-style: italic;
	text-align: right;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	color: #ba4d36;
	font-family: handwriting, sans-serif;
	font-size: 2.5em;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 3em 0;
	text-align: center;
}
h1 span.year {
	display: block;
	font-size: 1.3em;
}
h2 {
	color: #ba4d36;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: left;
	text-transform: uppercase;
}
h2 span.low {
	text-transform: lowercase;
}
h3 {
	color: #ba4d36;
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: left;
}
h4 {
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: left;
}

h1 + p,
h2 + p,
h2 + figure + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
	text-indent: 0;
}

p {
	font-family: inherit;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 0 0 0 0;
	text-align: justify;
	text-indent: 1em;
}

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: 0;
	text-align: justify;
	text-indent: 0;
}
blockquote p + p {
	text-indent: 1em;
}
blockquote p.attrib {
	font-style: italic;
	margin-top: 1em;
	text-align: right;
}

cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 2em;
	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: 0;
	padding: 0;
	text-align: justify;
	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;
}
ol + p,
ul + p {
	text-indent: 1em;
}

.fake {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
.fake li {
	margin: 1em 0;
}
.fake li img.symbol {
	display: inline;
	clear: left;
	float: left;
	font-family: inherit;
	font-style: normal;
	font-weight: normal;
	line-height: 1.5;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: 1.3em;
}
.fake li img.symbol + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li span.text {
	display: block;
	line-height: 1.5;
	margin-left: 1.75em;
}
.fake li p {
	margin-left: 1.75em;
}
.fake ul {
	margin-left: 1.75em;
}
.fake ul li {
	margin: 0;
}
.separated li {
	margin: 1em 0;
}
li p {
	margin: 0;
	text-indent: 0;
}

/* Figuras y captions */
figure {
	margin: 2em auto;
	text-align: center;
}
figure.w10 {
	width: 7em;
}
figure.w30 {
	width: 11em;
}
figure.w50 {
	width: 50%;
}
figure.w75 {
	width: 75%;
}
figure img {
	max-height: 100%;
	text-align: center;
}
figure.icon {
	width: 7em;
}

figcaption {
	background: #fce0d6;
	margin: 1em auto;
	border-radius: 1em;
	width: 20em;
	padding: .5em;
}
figcaption p {
	font-size: .9em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
figcaption.foot {
	background: none;
	margin: 1em auto;
	border-radius: 0;
	width: 100%;
	padding: 0;
}
figcaption.foot p {
	color: inherit;
	font-size: .8em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}

img.inline {
	height: 1em;
	vertical-align: middle;
}

/* TEXTOS ESPECIALES */
span.smcp {
	font-variant: small-caps;
}
span.underline {
	text-decoration: underline;
}

/* Firmas */
div.signature {
	margin: 2em 0 1em;
}
div.signature p {
	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="glossref"],
[epub|type="noteref"] {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnotes h2 {
	margin: 2em 0 1em 0;
}
div.glossentry,
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.glossentry p,
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"] 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.glossentry a[epub|type="referrer"],
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.glossentry a[epub|type="referrer"] + p,
div[epub|type="footnote"] a[epub|type="referrer"] + p {
	page-break-before: avoid;
}

/* Recetas */
div.recipe {
	break-before: always;
	page-break-before: always;
	-webkit-column-break-before: always;
	padding-top: 1em;
}
div.recipe p.recipe-title {
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 1em 0;
	text-align: left;
	text-indent: 0;
	text-transform: uppercase;
}
div.recipe p.yield {
	font-size: 1em;
	margin: 2em 0 1em;
	text-align: right;
	text-indent: 0;
}
div.recipe p.yield + p.yield {
	font-size: 1em;
	margin: 1em 0 1em;
	text-align: right;
	text-indent: 0;
}

div.recipe p.bridgehead {
	page-break-after: avoid;
	break-after: avoid;
	-webkit-column-break-after: avoid;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 0 0;
	text-indent: 0;
	text-transform: uppercase;
}
div.recipe div.ingredients ul {
	list-style: none;
	margin-top: 0;
	margin-left: 0;
	padding: 0;
	margin-right: 40%;
}
div.recipe div.ingredients li {
	text-align: left;
}
div.recipe div.steps p.bridgehead {
	font-size: 1.6em;
}
div.recipe div.steps ul {
	list-style: disc;
	margin: 0;
}
div.recipe div.steps li {
	margin: 1em 0;
	text-align: left;
}
div.recipe p.for {
	page-break-after: avoid;
	break-after: avoid;
	-webkit-column-break-after: avoid;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	margin: 2em 0 0 0;
	text-indent: 0;
	text-transform: uppercase;
}
div.recipe li p.for {
	margin-left: -1.5em;
}

/* Tablas */
table {
	border-top: 1px solid #ba4d36;
	border-bottom: 1px solid #ba4d36;
	border-collapse: collapse;
	margin: 1em auto;
	width: 100%;
}
table p {
	text-indent: 0;
}
th {
	border-top: 1px solid #ba4d36;
	border-bottom: 1px solid #ba4d36;
}
th p {
	color: #ba4d36;
	border-collapse: collapse;
	font-size: .9em;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}
td p,
td li {
	font-size: .9em;
	margin: 0;
	text-align: left;
	text-transform: uppercase;
}
th, td {
	padding: .5em;
	vertical-align: top;
}

/* Propios */
div.intro p {
	color: #395e89;
	font-family: handwriting;
	font-weight: bold;
	font-size: 1.5em;
	margin-top: .5em;
	text-align: left;
	text-indent: 0;
}
p.intro {
	color: #395e89;
	font-family: handwriting;
	font-weight: bold;
	font-size: 1.2em;
	margin-top: .5em;
	text-indent: 0;
}
#introduccion p + p {
	margin: 0;
	text-indent: 1em;
}