﻿/** BASE **/

/* Márgenes */
body {
	font-family: sans-serif;
	margin: 0;
	padding: 0 20px;
}

/* Fuentes */
@font-face {
	font-family: Webdings;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/Webdings.ttf');
}
span.symbol {
	font-family: Webdings;
}

/* 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 * {
	color: #000;
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.2em;
}

/* Í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 li a {
	color: #000;
	font-weight: bold;
	page-break-inside: avoid;
	text-decoration: none !important;
}
#toc li li a {
	color: #000;
	font-weight: normal;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	color: #4e599a;
	font-size: 2em;
	font-weight: bold;
	margin: 1.5em 0;
	text-align: center;
}
.frontmatter h1 {
	text-align: left;
}
h2 {
	color: #003586;
	font-size: 1.15em;
	font-weight: normal;
	margin: 1em 0;
	text-align: center;
}
h3 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 2em 0;
	text-align: center;
}
h4 {
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
p.bridgehead {
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}

p {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.33em;
	margin: 1em 0 0 0;
	text-align: justify;
	text-indent: 0;
}

a {
	color: #00F;
	font-family: Courier, monospace;
	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: 1em;
	margin: 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: .5em 0 1em 0;
	padding: 0 0 0 1.5em;
}
li {
	font-size: 1em;
	line-height: 1.33em;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
ul li {
	color: #4da92c;
}
ul li span.text {
	color: #000001;
}
li p {
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}
ol ul,
ul ul,
ul.second {
	list-style: circle;
}
.lower-alpha {
	list-style: lower-alpha;
}
.lower-alpha li {
	font-family: serif;
	font-size: 1em;
}
.lower-alpha li p {
	font-family: serif;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
ul.none li {
	margin: 1em 0;
}
ul.none li p {
	margin: 0;
}

ul.square {
	list-style: square;
}

ul.follow {
	margin-top: 0;
}

#c11 li {
	color: #cb0912;
}

/* Figuras y captions */
div.figure {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
}
div.figure img.w50 {
	max-width: 50%;
}
span.inline-image img {
	height: 2em;
	vertical-align: baseline;
}

div.separator {
	margin: 1em 0;
	page-break-before: always;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.separator img {
	max-height: 100%;
	page-break-inside: avoid;
	text-align: center;
}
div.separator + * {
	page-break-before: always;
	padding-top: 1em;
	text-indent: 0;
}

/* Tablas */
table {
	margin: 2em 0;
	max-width: 100%;
	width: 100%;
}
table, th, td {
	border-collapse: collapse;
	padding: 1em;
	vertical-align: middle;
}
table p {
	font-size: .9em;
	margin: 0;
	text-align: center;
}
th {
	background: #7e75b1;
}
th p {
	color: #fff;
}
tr.lighter td {
	background: #dfddef;
}
tr.darker td {
	background: #bcb8da;
}
td {
	border-top: 1px solid currentColor;
	height: 1.5em;
}
th + th,
td + td {
	border-left: 1px solid currentColor;
}

/* BLOQUES */

/* Cajas */
blockquote.box {
	background: #4e599a;
	padding: .5em 1.5em;
}
blockquote.box p {
	color: #fff;
	margin: 0;
	text-align: right;
}

div.box {
	border: 1px solid #4da92c;
	margin: 1em 0;
	padding: 1em;
}
div.box p {
	margin: 0;
	text-align: right;
}

/* Citas */
div.quote {
	margin: 2em;
	page-break-inside: avoid;
}
div.quote blockquote {
	margin: 1em 0;
}
div.quote blockquote p {
	color: #cb0912;
	margin: 0;
	font-size: 1.5em;
	text-align: center;
}
div.quote p.hashtag {
	font-weight: normal;
	text-align: center;
}

/* Highlights */
blockquote.highlight {
	margin: 1.5em;
}
blockquote.highlight p {
	font-weight: bold;
	margin: 0;
	text-align: center;
}

/* Download */
div.download {
	margin: 1em 0;
	text-align: center;
}
div.download p {
	text-align: center;
}
div.download img {
	text-align: center;
	width: 5em;
}

/* Notas */
blockquote.note p {
	text-align: center;
}

/* PÁRRAFOS ESPECIALES */
p.center {
	text-align: center;
}
p.point {
	font-weight: bold;
}
p.point + p {
	margin-top: 0;
}

/* TEXTOS ESPECIALES */
span.sc {
	font-size: 80%;
}
span.underline {
	text-decoration: underline;
}
span.line-through {
	text-decoration: line-through;
}
span.green {
	color: #4da92c;
}
span.pink {
	color: #db0080;
}

/* Bibliografía */
ul.bibliography {
	margin: 1em 0;
	padding: 0;
}
ul.bibliography li {
	list-style: none;
	margin: 0 0 0 1em;
	text-indent: -1em;
}
span.biblioauthor {
	font-variant: small-caps;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	line-height: 1;
	vertical-align: super;
}
p.title a.noteref {
	font-size: .7em;
	line-height: 1;
	vertical-align: super;
}

/* Notas | Notas al pie */
div.footnote {
	margin: .6em 0 0 0;
	/* 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;
}

/* 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.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.rearnote a.noteback + p {
	page-break-before: avoid;
}