﻿/** BASE **/

/* Márgenes */
body {
	font-family: sans-serif;
	font-size: 1em;
	line-height: 1.5;
	margin: 0;
	padding: 0 20px;
}
body * {
	line-height: inherit;
	max-width: 100%;
}

/* 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 {
	page-break-inside: avoid;
	margin: 3em 0 0 0;
}
#titlepage * {
	font-family: sans-serif;
	font-weight: normal;
	text-indent: 0;
}
#titlepage p.title {
	color: #743812;
	font-size: 1.5em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 2em 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title span.name {
	display: block;
	font-size: 2.5em;
}
#titlepage p.subtitle {
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	margin: .5em 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 0 0 0 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage div.publisher {
	margin: 12em auto 0;
	padding: 0;
	text-indent: 0;
	width: 6em;
}
#titlepage p.title span.guion {
	color: #c36c1a;
}

/* 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;
}

/* Epígrafe */
#epigraph {
	margin-top: 6em;
}
#epigraph p {
	font-size: .8em;
	font-style: italic;
	text-align: right;
}

/* 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 {
	color: #743812;
	font-family: sans-serif;
	font-size: 3em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1em 0 .5em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h1 span.byline {
	display: block;
	font-size: .9em;
	font-style: italic;
}
h1 span.label {
	display: block;
	font-size: .9em;
	font-style: italic;
}
h2 {
	color: #743812;
	page-break-before: always;
	padding-top: 1em;
	font-family: sans-serif;
	font-size: 1.7em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: .2em 0 2em;
	text-align: left;
	text-indent: 0;
}
h3 {
	color: #743812;
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h4 {
	font-family: sans-serif;
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h5 {
	font-family: sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 1.2em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p {
	text-indent: 0;
}

p {
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0;
	text-align: left;
	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: .25em 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.25em;
}
ul {
	list-style: square;
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-family: sans-serif;
	font-size: .9em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 0;
	text-indent: 1em;
}
.lower-alpha {
	list-style: lower-alpha;
	margin-left: 1em;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin: 1em 0 1em 0;
	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.figure-30 {
	margin: 1em 0;
	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-50-l {
	margin: 1em 0;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: left;
	width: 50%;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: right;
	width: 50%;
}
div.figure-75 {
	margin: 1em auto;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}

div.icon {
	margin: 1em 0;
	break-inside: avoid;
	page-break-inside: avoid;
	width: 3em;
}

p.caption {
	page-break-after: avoid;
	color: #d3741c;
	font-size: .8em;
	font-weight: bold;
	text-indent: 0;
}
p.caption + div.figure {
	page-break-before: avoid;
	max-height: 85%;
}
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;
}

/* Tablas */
table {
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	border-left: 2px hidden;
	border-right: 2px hidden;
	border-collapse: collapse;
	margin: 1em auto;
}
td {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .2em;
}
table p {
	font-family: sans-serif;
	font-size: .7em;
}
table p.cemter {
	text-align: center;
} 
table p.comment {
	font-family: serif;
	font-style: italic;
	text-align: center;
} 
table.cook {
	margin: 1em 0;
}
table.cook img {
	width: 2em;
}
table + p {
	text-indent: 0;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	margin: 1em 0 0 0;
}
div.signature p {
	font-style: italic;
	text-align: right;
	text-indent: 0;
}

/* 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;
}

span.underline {
	text-decoration: underline;
}

/* Recetas */
div.recipe {
	page-break-before: always;
}
div.recipe * {
	font-family: sans-serif;
	text-indent: 0;
}
div.recipe p.title {
	color: #743812;
	page-break-before: always;
	padding-top: 1em;
	font-family: sans-serif;
	font-size: 1.7em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: .2em 0 2em;
	text-align: left;
	text-indent: 0;
}
div.recipe p.desc {
	font-style: italic;
}
div.recipe p.desc i {
	font-style: normal;
}
div.recipe p.desc + p.desc {
	margin-top: 1em;
}
div.recipe p.bridgehead {
	page-break-after: avoid;
	color: #d3741c;
	font-size: .9em;
	font-weight: bold;
	margin: 2em 0 1em 0;
}
div.recipe ul.ingredients {
	list-style: none;
	margin: 0 0 1em 0;
	padding: 0;
}
ul.ingredients {
	list-style: none;
	margin: 1em 0 1em 1em;
	padding: 0;
}
ul.ingredients li {
	font-style: normal;
	margin-left: 1em;
	text-indent: -1em;
}
ul.ingredients li.molde {
	margin-top: 1em;
}
ul.ingredients + p {
	text-indent: 0;
}
div.recipe p.for {
	page-break-after: avoid;
	color: #743812;
	font-size: .9em;
	font-weight: bold;
	margin: 1em 0 0 0;
}
div.recipe p.step {
	margin: 1em 0;
}
div.recipe p.for + p.step {
	margin-top: 0;
}
span.step-ref {
	color: #743812;
	font-weight: bold;
}