﻿/** BASE **/

/* Márgenes */
body {
	font-family: Archer, serif;
	margin: 0;
	padding: 0 20px;
}

/* Fuentes */
@font-face {
	font-family: Archer;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/ArcherPro-Book_0.otf');
}
@font-face {
	font-family: Archer;
	font-style: italic;
	font-weight: normal;
	src:url('../fonts/ArcherPro-BookIta_0.otf');
}
@font-face {
	font-family: Archer;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/ArcherPro-Bold_0.otf');
}
@font-face {
	font-family: FuturaRound;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/FuturaRound.ttf');
}
@font-face {
	font-family: FuturaRound;
	font-style: italic;
	font-weight: normal;
	src:url('../fonts/FuturaRoundOblique.ttf');
}
@font-face {
	font-family: FuturaRound;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/FuturaRoundBold.ttf');
}
@font-face {
	font-family: IconBullets;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/NDXPOV-ClickBits-IconBullets.ttf');
}

/* Control partición silábica */
#titlepage p,
#dedication p,
h1,
h2,
h3,
h4 {
	break-after: avoid;
	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 {
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-family: FuturaRound;
	font-size: 1.5em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: center;
}
#titlepage p.title {
	font-style: normal;
	font-weight: normal;
	margin: 2em auto;
	padding: 0;
	text-align: center;
	width: 18em;
}
#titlepage p.subtitle {
	font-family: FuturaRound;
	font-size: 1.25em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 2em 0;
	padding: 0;
	text-align: center;
}
#titlepage p.trl {
	font-family: FuturaRound;
	font-size: .9em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: center;
}
#titlepage p.publisher {
	margin: 12em auto 0;
	text-align: center;
	width: 5em;
}

/* 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;
}

/* Sinopsis */
#summary * {
	color: #000;
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.2em;
	font-weight: bold;
}
#summary li {
	margin: 0;
}
#summary p {
	margin: 0;
}
#summary p + p {
	text-indent: 1em;
}

/* Índice */
#toc {
	display: none;
}
#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 {
	color: #000;
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* Dedicatoria */
#dedication {
	margin: 4em 0 0 3em;
	break-inside: avoid;
	page-break-inside: avoid;
}
#dedication p {
	font-family: Archer;
	font-size: 1em;
	font-style: normal;
	margin: 0;
	text-align: center;
	text-indent: 0;
}

/* BODYMATTER */
div.subchapter {
	break-before: always;
	page-break-before: always;
}

/* Estilos generales */
h1 {
	break-inside: avoid;
	page-break-inside: avoid;
	font-family: Archer;
	font-size: 3em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 2em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h1 span.label {
	display: block;
	font-family: FuturaRound;
	font-weight: bold;
	font-size: .35em;
}
h2 {
	font-family: inherit;
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h2 span.antetitle {
	display: block;
	font-family: FuturaRound;
	font-weight: bold;
	font-size: .35em;
}
h2.aliment {
	font-family: FuturaRound;
	font-size: 3em;
}
h3 {
	font-family: inherit;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0 .25em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h3 span.label {
	font-family: FuturaRound;
	font-size: .8em;
	font-weight: bold;
}
h4 {
	font-family: inherit;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

h1 + p,
h1 + div.figure + p,
h2 + p,
h3 + p,
h4 + p {
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}

a {
	color: #00F;
	font-family: monospace;
	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.line {
	background: currentColor;
	height: 1px;
	margin: 1.25em 0;
}
hr + p {
	text-indent: 0 !important;
}
img {
	margin: 0;
	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;
}
.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;
}
.separated li {
	margin: 1em 0;
}

/* Páginas */
span.page-ref {
	display: none;
}

/* 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;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
img {
	box-sizing: border-box;
	object-fit: contain;
	max-height: 98%;
	text-align: center;
}
span.inline-image img {
	height: 1em;
	padding-right: .1em;
	vertical-align: middle;
}

div.figcaption p {
	font-size: .8em;
	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: 4.5em;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Citas de bloque */
blockquote {
	margin: 1em 0;
}
blockquote p {
	font-size: 1em;
	text-align: center;
	text-indent: 0;
}

/* Firmas */
div.signature {
	break-before: avoid;
	page-break-before: avoid;
	break-inside: avoid;
	page-break-inside: avoid;
	margin-top: 0;
}
div.signature p {
	font-style: normal;
	text-align: left;
	text-indent: 1em;
}

/* Recetas */
div.recipe {
	break-inside: avoid;
	page-break-inside: avoid;
}
div.recipe * {
	text-indent: 0;
}
div.recipe p {
	margin: 1em 0;
}
div.recipe p.title {
	font-weight: normal;
	font-size: 1.5em;
	text-align: left;
}
div.recipe p.scope {
	break-after: avoid;
	page-break-after: avoid;
	font-family: FuturaRound;
	font-size: .9em;
	font-weight: bold;
	margin: 0 0 .6em 0;
}
div.recipe p.time {
	break-after: avoid;
	page-break-after: avoid;
	margin: 0;
}
div.recipe p.time b {
	font-family: FuturaRound;
	font-size: .9em;
	font-weight: bold;
}
div.recipe p.for {
	break-after: avoid;
	page-break-after: avoid;
	font-family: FuturaRound;
	font-size: .9em;
	font-weight: bold;
	margin-top: 1em;
	padding-top: 1em;
}
div.recipe p.time + p.for {
	border-top: 1px solid currentColor;
}
div.recipe p.for + ul.ingredients {
	border-top: 0;
	border-bottom: 0;
}
div.recipe p.for + ul.ingredients + p {
	border-top: 1px solid currentColor;
	margin-top: 1em;
	padding-top: 1em;
}
div.recipe p.for + ul.ingredients + p.for {
	border-top: 0;
	margin-top: 1em;
	padding-top: 1em;
}
div.recipe div.steps {
	margin: 1.5em 0;
}
div.recipe ul.ingredients {
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	list-style: none;
	padding: .8em 0;
}
div.recipe ul.ingredients li {
	font-family: FuturaRound;
	font-size: .9em;
	font-weight: bold;
	margin: 0 0 0 1em;
	text-indent: -1em;
}
div.recipe p.tecnica,
p.tecnica {
	font-family: FuturaRound;
	font-size: .9em;
	font-weight: bold;
	margin-top: 1em;
	text-indent: 0;
}
p.tecnica + p {
	text-indent: 0;
}

/* Cajas */
div.box {
	border: 5px solid currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.box p,
div.box li {
	font-family: FuturaRound;
	font-weight: normal;
	text-indent: 0;
}
div.box p.bridgehead {
	font-weight: bold;
}

/* Epígrafes */
div.epigraph {
	margin: 1em 0;
}
div.epigraph blockquote {
	margin: 0;
}
div.epigraph p {
	font-style: italic;
	text-align: justify;
	text-indent: 0;
}
div.epigraph i {
	font-style: normal;
}
div.epigraph p.attrib {
	font-style: normal;
	text-align: right;
}
div.epigraph + p {
	text-indent: 0;
}
h2 + div.epigraph {
	border-bottom: 1px solid currentColor;
	padding-bottom: 1em;
}

/* Tablas */
table {
	margin: 1em auto;
	border: 1px solid currentColor;
	border-collapse: collapse;
}
td {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: top;
}
td p {
	font-size: .85em;
	text-indent: 0;
}
div.table + p {
	text-indent: 0;
}

/* Labels */
span.label,
span.label-red {
	font-family: FuturaRound;
	font-size: .8em;
	font-weight: bold;
}
p.label {
	font-family: FuturaRound;
	font-size: 1.2em;
	font-weight: bold;
	margin: 1em 0 0 0;
	text-indent: 0;
}
p.website {
	font-weight: bold;
	margin: 1em 0 .5em 0;
	text-indent: 0;
}
p.label + p.website {
	margin-top: 0;
}
p.uri {
	font-weight: bold;
	margin: 0 0 0 0;
	text-indent: 0;
}
p.label + p,
p.website + p,
p.uri + p {
	text-indent: 0;
}

div.terms {
	margin: 1em 0;
}
p.term {
	margin: 1em 0 0 0;
	text-indent: 0;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnote + div.footnote {
	margin: .6em 0 0 0;
	break-before: always;
	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;
}
div.footnote a.noteback-big {
	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;
}
div.footnote a.noteback-big + p {
	margin-left: 5em;
	page-break-before: avoid;
}

/* Alimentos */
div.epigraph + p.aliment {
	border-top: 0;
}
p.aliment {
	border-top: 1px solid currentColor;
	margin-top: .7em;
	padding-top: .7em;
	text-indent: 0;
}
p.aliment b,
span.value {
	font-family: FuturaRound;
	font-size: .8em;
	font-weight: bold;
}
p.aliment + p {
	text-indent: 0;
}
p.tip {
	font-style: italic;
	margin: 1em 0 1em 1em;
	text-indent: 0;
}
p.tip- {
	font-style: italic;
	margin: -1em 0 1em 1em;
	text-indent: 1em;
}
span.star {
	font-family: IconBullets;
	font-style: normal;
}
span.advice {
	font-style: normal;
	font-weight: bold;
}

p.hint {
	font-style: italic;
	margin: 1em 0;
	text-indent: 0;
}
p.hint i {
	font-style: normal;
}

div.conversion {
	margin: 1em 0;
}
div.conversion p {
	text-indent: 0;
}

p.group {
	margin-top: 1em;
	text-indent: 0;
}

div.description {
	border-bottom: 1px solid currentColor;
	margin: 1em 0;
	padding-bottom: 1em;
}
div.description p {
	font-style: normal;
	text-align: justify;
	text-indent: 0;
}
div.description + p {
	text-indent: 0;
}
div.description b {
	font-family: FuturaRound;
	font-size: .8em;
	font-weight: bold;
}