﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	font-size: 1em;
	margin: 0;
	padding: 0 20px;
}

body * {
	max-width: 100%;
	line-height: 1.5;
}

/* Control partición silábica */
#titlepage p,
#dedication p,
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%;
}

/* Contracubierta */
.backcover {
	margin: 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
img.backcover {
	max-height: 100%;
}

/* Portadilla */
#titlepage {
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	text-indent: 0;
}
#titlepage p {
	font-family: inherit;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title {
	color: #d288a2;
	font-family: sans-serif;
	font-size: 2.5em;
	line-height: 1.2;
	font-style: normal;
	font-weight: bold;
	margin: 0 0 0 0;
	padding: 0;
	text-align: center;
}
#titlepage p.subtitle {
	color: #d288a2;
	font-family: sans-serif;
	font-size: 1.3em;
	font-style: normal;
	font-weight: normal;
	margin: 0 0 0 0;
	padding: 0;
	text-align: center;
}
#titlepage p.author {
	color: #3daeaf;
	font-family: sans-serif;
	font-size: 3.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: center;
}
#titlepage p.publisher {
	margin: 12em 0 0 0;
	text-align: center;
}
#titlepage p.publisher img {
	width: 5em;
	text-align: center;
}
#titlepage p.ornato img {
	width: 5em;
	text-align: center;
}

/* Créditos */
#copyright-page {
	margin: 4em 2em 0 0;
}
#copyright-page div + div {
	margin: 1em 0 0 0;
}
#copyright-page p {
	font-family: serif;
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}

/* Nota */
#copyright-page div.notice {
	margin: 2em 0 3em;
}
#copyright-page div.notice p {
	font-size: .8em;
	font-family: sans-serif;
}
#copyright-page div.notice p.label {
	font-style: italic;
	margin: 1em 0;
}
#copyright-page div.notice p.sublabel {
	margin: 1em 0 0 0;
}
#copyright-page div.notice p.sublabel span.about {
	font-size: 1.1em;
}

/* Sinopsis */
#summary * {
	color: #000;
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 2em 0 1em;
}
#summary p {
	font-size: .9em;
	margin: 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;
}

/* Dedicatoria */
#dedicatoria {
	margin: 4em 0 0 3em;
	break-inside: avoid;
	page-break-inside: avoid;
}
#dedicatoria p {
	font-family: inherit;
	font-size: 1em;
	font-style: italic;
	margin: 1em 0;
	text-align: justify;
	text-indent: 0;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	color: #3daeaf;
	font-family: sans-serif;
	font-size: 2.5em;
	font-weight: bold;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
.frontmatter h1,
#agradecimientos h1 {
	font-size: 1.2em;
}
h2 {
	color: #3daeaf;
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 {
	font-family: sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
	text-indent: 0;
}

a {
	color: #00F;
	font-weight: bold;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
i cite,
cite i {
	font-style: normal;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: .25em 0;
}
hr + p {
	text-indent: 0 !important;
}
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-position: inside;
	list-style: disc;
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.25em;
}
ul ul {
	margin: 0 0 0 1em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	font-size: 1em;
	text-indent: 0;
}

ol li {
	margin-top: 1em;
}
ul li {
	margin-top: 0;
}

.lower-alpha {
	list-style: lower-alpha;
	margin-left: 1em;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul + p,
ol + p {
	text-indent: 0;
}
ul ol li {
	font-weight: normal;
}
ol li span.text {
	font-weight: normal;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-50 {
	margin: 1em auto;
	width: 50%;
}
div.figure img {
	box-sizing: border-box;
	object-fit: contain;
	max-height: 100%;
	text-align: center;
}
span.inline-image img {
	height: 1em;
	padding-right: .1em;
	vertical-align: middle;
}

div.figure + p,
div.separator + p {
	text-indent: 0;
}

div.figcaption p {
	font-family: sans-serif;
	font-size: .8em;
	text-indent: 0;
}
div.figcaption p.question {
	font-size: .8em;
	font-weight: normal;
	text-align: center;
	text-indent: 0;
}

div.separator {
	margin: 1em 0;
	page-break-before: always;
	page-break-inside: avoid;
	page-break-after: always;
	text-align: center;
	width: 100%;
}
div.separator img {
	max-height: 100%;
	page-break-inside: avoid;
	text-align: center;
}

div.icon {
	break-after: avoid;
	page-break-after: avoid;
	margin: 1em 0;
	text-align: left;
	width: 100%;
}
div.icon img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: left;
	max-width: 30%;
	width: 3.5em;
}

div.ornato {
	break-after: avoid;
	page-break-after: avoid;
	margin: 1em 0;
	text-align: center;
	width: 100%;
}
div.ornato img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
	max-width: 30%;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Citas de bloque */
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: 1em;
	text-indent: 0;
}

/* Firmas */
div.signature {
	break-before: avoid;
	page-break-before: avoid;
	break-inside: avoid;
	page-break-inside: avoid;
	margin-top: 1.5em;
}
div.signature p {
	font-family: serif;
	font-style: italic;
	text-align: right;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnote {
	margin: .6em 0 0 0;
	break-inside: avoid;
	page-break-inside: avoid;
}
div.footnote + div.footnote {
	page-break-before: always;
	padding-top: 1em;
}
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;
}

/* Recetas */
div.recipe {
	page-break-before: always;
	-webkit-column-break-before: always;
	break-before: always;
	padding-top: 1em;
	margin: 4em 0;
}
div.recipe p {
	text-align: justify;
	text-indent: 0;
}
div.recipe p.title {
	color: #3daeaf;
	font-family: sans-serif;
	font-size: 1.6em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe p.title span.subtitle {
	font-size: .7em;
}
div.recipe p.variant {
	color: #3daeaf;
	font-family: sans-serif;
	font-size: 1.3em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.recipe div.intro {
	border-top: 1px solid #d6afb8;
	border-bottom: 1px solid #d6afb8;
	padding: .3em 0;
}
div.recipe p.bridgehead {
	border-bottom: 1px solid #d6afb8;
	page-break-after: avoid;
	font-family: sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin: 2em 0 .5em;
}
div.recipe p.comment {
	border-bottom: 1px solid #d6afb8;
}
div.recipe p.for {
	break-after: avoid;
	page-break-after: avoid;
	color: #3daeaf;
	font-style: normal;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 0;
}
div.recipe div.ingredients p {
	font-family: sans-serif;
}
div.recipe div.ingredients ul {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0;
}
div.recipe div.ingredients li {
	font-family: sans-serif;
	margin: 0 0 0 1em;
	text-align: left;
	text-indent: -1em;
}
div.recipe div.steps {
	margin: 2em 0;
}
div.recipe p.stepbystep {
	font-family: sans-serif;
	font-size: 1.2em;
	font-weight: bold;
}
div.recipe div.box p.title {
	border-bottom: 1px solid #d6afb8;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}

span.label {
	color: #3daeaf;
	font-family: sans-serif;
	font-weight: bold;
}

div.group {
	margin: 1em;
}
div.group p {
	font-family: sans-serif;
	font-size: .8em;
	text-indent: 0;
}

div.more {
	border: 5px solid #ffecc1;
	margin: 1em;
	padding: 1em;
}
div.more p {
	font-family: sans-serif;
	font-size: .9em;
	text-align: justify;
}
div.more p.title {
	border-bottom: 1px solid #d6afb8;
	font-style: italic;
	font-weight: bold;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}
div.more p + p.title {
	margin-top: 2em;
}
div.more p.title + p {
	text-indent: 0;
}
div.more div.group + p {
	text-indent: 0;
}

div.notice p {
	font-family: sans-serif;
	text-indent: 0;
}

div.box {
	border: 1px solid #d6afb8;
	margin: 1em;
	padding: 1em;
}
div.box p {
	color: #3daeaf;
	font-family: sans-serif;
	font-size: .9em;
	text-align: justify;
}
div.box p.title {
	border-bottom: 1px solid #d6afb8;
	font-style: normal;
	font-weight: bold;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0;
}
div.box p + p.title {
	margin-top: 2em;
}
div.box p.title + p {
	text-indent: 0;
}
div.box div.group + p {
	text-indent: 0;
}

#c03 h1,
#c04 h1,
#c05 h1,
#c06 h1,
#c07 h1,
#c08 h1,
#c09 h1,
#c10 h1,
#c11 h1,
#c12 h1,
#c13 h1 {
	color: #d288a2;
}

table {
	width: 100%;
	margin: 1em auto;
}
table, th, td {
	border: 1px solid currentColor;
	border-collapse: collapse;
}
th, td {
	padding: .2em;
}
th p {
	text-align: center;
}
table p {
	font-family: sans-serif;
	font-size: .8em;
	text-indent: 0;
}
p.center {
	text-align: center;
}