﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	margin: 0;
	line-height: 1.5;
	padding: 0 20px;
}

body * {
	max-widht: 100%;
}

/* 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 p {
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 1em;
	text-align: center;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	margin: 0;
	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 li a {
	font-weight: bold;
	page-break-inside: avoid;
	text-decoration: none !important;
}
#toc li li a {
	font-weight: normal;
}

/* Portada */
#titlepage * {
	text-align: center;
	text-indent: 0;
}
#titlepage p.title {
	font-size: 3.5em;
	margin: 1em 0 0 0;
	line-height: 1.2;
}
#titlepage p.subtitle {
	color: #d85648;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin-top: 1em;
}
#titlepage p.edt {
	font-size: 1em;
	font-weight: bold;
	margin-top: 3em;
}
#titlepage p.sel {
	font-size: .9em;
	font-weight: bold;
	margin-top: 1em;
}
#titlepage div.publisher {
	margin: 5em auto 0;
}
#titlepage div.publisher img {
	width: 8em;
}

/* Dedicatoria */
#dedication {
	margin-top: 6em;
	margin-right: 2em;
}
#dedication p {
	font-style: italic;
	text-align: right;
	text-indent: 0;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-size: 3em;
	font-weight: bold;
	margin: 1em 0 .4em;
	text-align: center;
}
h1 span.ordinal {
	display: block;
	font-size: 1.3em;
	font-family: Appetite;
	font-weight: bold;
}
h1 span.title {
	display: block;
	font-family: Freude;
}
h2 {
	border-bottom: 3px solid currentColor;
	font-family: sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
	text-align: center;
}

p {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	text-align: justify;
	text-indent: 0;
}

a {
	color: #00F;
	font-family: inherit;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0;
}
blockquote p {
	font-size: 1em;
	margin: 0;
	text-indent: 0;
}
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 {
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: 1em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}

/* Figuras y captions */
div.figure-chapter {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}
div.figure-30 {
	margin: 1em auto 0;
	page-break-inside: avoid;
	text-align: center;
	width: 12em;
}
div.figure-50 {
	margin: 1em auto 0;
	page-break-inside: avoid;
	text-align: center;
	width: 18em;
}
div.figure-75 {
	margin: 1em auto 0;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}
div.figure img {
	margin: 0 auto;
	max-height: 75%;
}
div.figure-30 img {
	margin: 0 auto;
	max-height: 75%;
}
div.figure-50 img {
	margin: 0 auto;
	max-height: 75%;
}
div.figure-75 img {
	margin: 0 auto;
	max-height: 75%;
}
div.figcaption {
	margin: 0 2em 2em 2em;
}
div.figcaption p {
	font-size: .9em;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
div.figcaption p.credit {
	font-family: sans-serif;
	font-size: .7em;
}
img.inline {
	height: 1em;
	vertical-align: text-bottom;
}

/* Firmas */
div.signature {
	margin-top: 2em;
}
div.signature p {
	font-style: italic;
	text-align: right;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
	text-decoration: none;
}

/* Notas | Notas al pie */
div.footnote + div.footnote {
	margin: .6em 0 0 0;
	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;
}

span.sc {
	font-size: .8em;
}

/* Propios */
#foreword blockquote {
	margin: 1em 0 1em 1em;
}
#foreword blockquote p {
	font-size: 1em;
}
div.subchapter {
	page-break-before: always;
	padding-top: 1em;
	
}
div.antologia {
	page-break-before: always;
}
div.antologia p.bridgehead {
	page-break-after: avoid;
	font-size: 1.7em;
	font-weight: bold;
	margin: 2em 0 1em 0;
	text-align: left;
}
span.comillas {
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1;
	padding: 0 .2em;
	vertical-align: middle;
}
div.antologia p.attrib {
	font-weight: bold;
	text-align: right;
	margin: 1em 0 2em 6em;
}
div.antologia p.attrib + blockquote,
div.antologia blockquote + blockquote {
	margin-top: 3em;
}
div.antologia blockquote p {
	margin: 1em 0;
}
div.antologia blockquote p.indent {
	text-indent: 1em;
}
#bibliography h1,
#credits h1 {
	font-size: 1.7em;
	font-weight: bold;
	margin: 2em 0 1em 0;
	text-align: left;
}
#bibliography ul {
	list-style: none;
	padding: 0;
	margin: 1em 0;
}
#bibliography li {
	margin: 0;
}
p.section {
	font-weight: bold;
	margin-top: 2em;
}
div.keep {
	page-break-inside: avoid;
}