﻿@charset "UTF-8";
@namespace "http://www.w3.org/1999/xhtml";
@namespace epub "http://www.idpf.org/2007/ops";

/** BASE **/

/* Márgenes */
body {
	font-family: Bembo, Palatino, serif;
	margin: 0;
	padding: 0 20px;
}
body * {
	line-height: 1.5;
	max-width: 100%;
}

/* 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%;
}

/* 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;
}
#copyright-page p.support {
	margin-top: 1em;
}

/* Portada */
.titlepage {
	padding-top: 2em;
}
.titlepage + .titlepage {
	page-break-before: always;
	break-before: always;
	-webkit-column-break-before: always;
}
.titlepage * {
	font-family: sans-serif;
	text-align: center;
	text-indent: 0;
}
.titlepage p.author {
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
}
.titlepage p.title {
	font-size: 2.5em;
	font-weight: bold;
	margin: 1em 0;
}
.titlepage figure.publisher {
	margin-top: 10em;
}
.titlepage figure.publisher img {
	margin: 0 auto;
	width: 8em;
}

/* Sinopsis */
#summary * {
	color: #000;
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 2em 0 1em 0;
}
#summary p {
	font-size: .9em;
}
#summary h1 + p {
	text-indent: 0;
}

/* Í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.ftm a,
#toc li.bkm a {
	font-style: italic;
}
#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 0;
}
#dedicatoria p {
	font-style: italic;
	text-align: right;
}

/* Epígrafe */
#epigrafe {
	margin: 4em 0 0 20%;
}
#epigrafe blockquote {
	margin: 2em 0 .5em 0;
}
#epigrafe blockquote p {
	margin: 1em 0 .5em 0;
}
#epigrafe p.attrib {
	font-size: .8em;
	margin: 0;
	text-align: right;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0 4em;
	padding: 0;
	text-align: center;
	text-indent: 0;
}
h1 span.title {
	display: block;
	margin-top: .5em;
	font-size: 1.4em;
	text-transform: uppercase;
}

p {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: .9em;
	text-align: right;
	text-indent: 0;
}
blockquote p + p {
	text-indent: 0;
}
blockquote + p {
	text-indent: 1em;
}
blockquote + p.continue {
	text-indent: 0;
}

cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: .5em 0;
}
hr.line {
	background: currentColor;
	height: 1px;
	margin: .5em 35% 4em;
	text-align: center;
	width: 30%;
}
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.75em;
}
ul {
	list-style: disc;
	margin: 1em 0 1em 2em;
	padding: 0 0 0 1.5em;
}
li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p {
	font-size: 1em;
}
.lower-alpha {
	list-style: lower-alpha;
}
.upper-alpha {
	list-style: upper-alpha;
}
.none {
	list-style: none;
	padding: 0;
}

.fake {
	list-style: none;
	padding: 0;
}
.fake li {
	text-align: justify;
}
.fake li span.ordinal {
	display: inline;
	float: left;
	margin: 0;
	page-break-after: avoid;
	width: 1.5em;
}
.fake li span.text {
	display: block;
	margin-left: 1.7em;
}
.fake li span.ordinal + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li p {
	margin-left: 1.5em;
}

/* Figuras y captions */
figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
figure.w30 img {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
figure.w50 img {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
figure.w75 img {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}
figure.r {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: right;
	width: 100%;
}
figure img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
}
figure + p {
	text-indent: 0;
}

figcaption {
	margin: 0 2em 2em 2em;
}
figcaption p {
	font-size: .8em;
	font-style: normal;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	margin: 0;
	page-break-before: avoid;
	text-align: center;
	text-indent: 0;
}
figure figcaption span.label {
	font-size: .7em;
	font-weight: normal;
	text-decoration: underline;
	vertical-align: top;
}
figure figcaption a {
	font-weight: normal;
}

/* Seudoversalitas */
span.regnal {
	font-size: .9em;
	text-transform: uppercase;
}
span.smcp {
	font-variant: small-caps;
}

/* Firmas */
div.signature {
	margin: 1em 1em 1em 1em;
}
div.signature p {
	font-size: .9em;
	text-align: right;
}

/* Epígrafes */
div[epub|type="epigraph"] {
	margin: 2em 0 2em auto;
	width: 16em;
}
div[epub|type="epigraph"] blockquote {
	margin: 1em 0 .3em 0;
}
div[epub|type="epigraph"] blockquote p {
	font-style: normal;
	text-indent: 0;
}
div[epub|type="epigraph"] blockquote p.line {
	text-align: right;
}
div[epub|type="epigraph"] p.attrib {
	font-size: .9em;
	margin-top: 1em;
	margin-right: 1em;
	text-align: right;
}
div[epub|type="epigraph"] + p {
	text-indent: 0;
}

/* Otros estilos */
p.asterisks {
	margin: .7em 0 .3em 0;
	text-align: center;
	text-indent: 0;
}
p.asterisks + p {
	text-indent: 0;
}
span.line-through {
	text-decoration: line-through;
}
span.underline {
	text-decoration: underline;
}

/* Tablas */
table {
	margin: 1em auto;
	width: 100%;
}
table, th, td {
	border: 1px solid currentColor;
	border-collapse: collapse;
}
table.small, table.small th, table.small td {
	border: 1px solid currentColor;
}
th {
	padding: .5em;
	vertical-align: middle;
}
td {
	padding: .5em;
	vertical-align: top;
}
table.small p {
	font-size: .7em;
	text-align: justify;
	text-indent: 0;
}
table p {
	font-size: .8em;
	text-align: left;
	text-indent: 0;
}
table p + p {
	text-indent: 0;
}
table + p.indent {
	text-indent: 1em;
}
th p {
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	text-align: center;
}
td p.indent {
	text-indent: 1em;
}

table.none, table.none th, table.none td {
	border: 0;
	border-collapse: collapse;
}
table.none-continue td {
	padding: 0 .5em;
	vertical-align: top;
}
table.none td {
	padding: 0 .5em;
}
table.none td.top {
	padding: 1em .5em 0 .5em;
}
table.none td p.french {
	margin: 0 0 0 1em;
	text-align: left;
	text-indent: -1em;
}
table.none td p.ref {
	text-align: right;
}

/* Condicionales */
hr + p {
	text-indent: 1em;
}

/* Notas | Llamadas */
a[epub|type="noteref"] {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
#footnotes h2 {
	page-break-before: always;
	-webkit-column-break-before: always;
	break-before: always;
	padding-top: 1em;
}
#footnotes h1 + h2 {
	page-break-before: avoid;
	-webkit-column-break-before: avoid;
	break-before: avoid;
	padding-top: 0;
}
[epub|type="footnote"] {
	margin: .6em 0 0 0;
	/* page-break-before: always; */
	page-break-inside: avoid;
}
p.chapter-ref + div[epub|type="footnote"] {
	page-break-before: always;
	padding-top: 0;
}
div[epub|type="footnote"] + h2,
div[epub|type="footnote"] + div[epub|type="footnote"] {
	page-break-before: always;
	padding-top: 1em;
}
div[epub|type="footnote"] p {
	font-size: 1em;
	margin: 0 0 0 2.5em;
	overflow: hidden;
	text-indent: 0;
}
div[epub|type="footnote"] a[epub|type="referrer"] {
	display: inline;
	float: left;
	clear: left;
	font-size: 1em;
	font-style: normal;
	margin: 0;
	padding: 0 .25em 0 0;
	page-break-after: avoid;
	text-align: right;
	vertical-align: inherit;
	width: 2em;
}
div[epub|type="footnote"] a[epub|type="referrer"] + p {
	page-break-before: avoid;
}

/* Notas | Notas finales */
div.rearnotes h2 {
	font-size: 1em;
	font-weight: normal;
	margin: 2em 0 1em 0;
	text-align: left;
}
div.rearnote {
	margin: .6em 0 0 0;
	page-break-inside: avoid;
}
div.rearnote p {
	font-size: .8em;
	margin: 0 0 0 2.5em;
	overflow: hidden;
	text-indent: 0;
}
div.rearnote 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: 2em;
}
div.rearnote a[epub|type="referrer"] + p {
	page-break-before: avoid;
}

/* Propios */
h1 + p,
h2 + p,
h3 + p,
h4 + p,
dl + p {
	text-indent: 0;
}

img.inline {
	width: 1em;
}

div.script {
	border-top: 10px solid currentColor;
	border-bottom: 10px solid currentColor;
	margin: 1em 0;
	padding: 1em 0;
}
span.script {
	font-family: monospace;
	font-size: 1.2em;
}
div.script p {
	font-family: monospace;
	font-size: 1.2em;
}
div.script h1 + p {
	text-indent: 1em;
}
div.script p.record {
	font-size: 1.5em;
}
div.script p.nota {
	margin: 1em 0;
}
#nota_autor {
	margin-top: 4em;
}

p.signature {
	margin-top: 1em;
}

blockquote.sms {
	margin-left: 6em;
}
blockquote.sms p {
	font-family: sans-serif;
}
blockquote.sms-in {
	margin-right: 6em;
}
blockquote.sms-in p {
	font-family: sans-serif;
	text-align: left;
}

p.level-1 {
	margin-top: 2em;
	margin-left: 1em;
	text-indent: 0;
}
p.level-2 {
	margin-top: 5em;
	margin-left: 4em;
	text-indent: 0;
}
p.level-3 {
	margin-top: 8em;
	margin-left: 6em;
	text-indent: 0;
}
p.level-4 {
	margin-top: 8em;
	margin-left: 7em;
	text-indent: 0;
}
p.level-5 {
	margin-top: 11em;
	margin-left: 8em;
	text-indent: 0;
}
p.level-6 {
	margin-top: 12em;
	margin-left: 9em;
	text-indent: 0;
}
p.level-7 {
	margin-top: 15em;
	margin-left: 12em;
	text-indent: 0;
}
p.level-8 {
	margin-top: 18em;
	text-align: right;
	text-indent: 0;
}

figure.portrait {
	float: left;
	width: 8em;
	margin: 0 1em 0 0;
}

p.break {
	word-break: break-all;
}