﻿/** BASE **/

/* Márgenes */
body {
	font-family: serif;
	font-size: 1em;
	margin: 0;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	object-fit: contain;
	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: 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 {
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
}
#titlepage * {
	line-height: 1.2;
}
#titlepage p.title {
	font-family: inherit;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.title span.big {
	display: block;
	font-size: 1.3em;
}
#titlepage p.author {
	font-family: inherit;
	font-style: normal;
	font-weight: bold;
	font-size: 1.3em;
	margin: 2em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.contrib {
	font-family: inherit;
	font-style: normal;
	font-weight: 200;
	font-size: 1em;
	margin: 3em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.publisher {
	margin: 10em auto 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
	width: 10em;
}
#titlepage div.figure {
	margin: 0 auto;
}
#titlepage div.figure img {
	max-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 div.figure {
	margin: 1em 0;
	width: 8em;
}

/* Sinopsis */
#summary * {
	font-family: sans-serif;
}
#summary h1 {
	color: black;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin-top: 1em;
	padding: 0;
	text-align: center;
}
#summary p {
	font-size: .9em;
	margin: 0;
	text-align: justify;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	margin-top: 1em;
	text-indent: 0;
}
#summary hr + 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 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 */
#dedication {
	margin: 8em 0 0 auto;
	width: 16em;
}
#dedication p {
	font-style: italic;
	margin: 1em 0;
	text-align: left;
	text-indent: 0;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: sans-serif;
	font-size: 2.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.2em 0 2em 0;
	text-align: left;
	text-indent: 0;
}
h1 span.label {
	display: block;
	font-family: sans-serif;
	font-size: .6em;
	font-weight: bold;
}
h1 span.title {
	color: #fe5c5f;
}
h2 {
	font-family: sans-serif;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h2 span.pink {
	border-bottom: 4px solid #f4dfe9;
}
h2 span.blue {
	border-bottom: 4px solid #d6edf5;
}
h2 span.green {
	border-bottom: 4px solid #d4e4c4;
}
h3 span.green {
	border-bottom: 4px solid #d4e4c4;
}
h3 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
div.icon + h3 {
	margin-top: 0;
}
h4 {
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 1em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-align: justify;
	text-indent: 1em;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p {
	text-indent: 0;
}

a {
	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;
	height: .5em;
	margin: .25em 0;
}
hr + p {
	text-indent: 0;
}
hr.light + p {
	text-indent: 1em;
}
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 1em;
	padding: 0 0 0 1.25em;
}
ul {
	list-style: disc;
	margin: 1em 0 2em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: .5em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 0;
	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;
	padding: 0;
}
ul.none li {
	font-family: inherit;
	font-style: normal;
	font-weight: 200;
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;	
}
ul.none-l1 {
	list-style: none;
	margin: 1em 0 2em 1em;
	padding: 0;
}
ul.none-l1 li {
	font-family: inherit;
	font-style: normal;
	font-weight: 200;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 1em;
	text-align: left;
	text-indent: -1em;	
}

p.listhead {
	/* color: #ff865e; */
	break-after: avoid;
	page-break-after: avoid;
	font-weight: bold;
	margin: 1.2em 0 .8em 1.2em;
	text-indent: 0;
}
.fake {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
.fake li span.symbol {
	display: inline;
	float: left;
	font-family: inherit;
	font-style: normal;
	line-height: 1.8;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: .85em;
}
.fake li span.symbol + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li span.text {
	display: block;
	margin-left: 1.2em;
}
.fake li span.text span.label {
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
}
ol.bold li {
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
}
ol.big li {
	/* color: #ff865e; */
	font-size: 1.5em;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-75 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 20em;
}
div.figure-75-l {
	margin: 1em auto 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 20em;
}
div.figure-75-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 20em;
}
div.figure-70-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 18em;
}
div.figure-95-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 35em;
}
div.figure-85-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 28em;
}
div.figure-80-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 25em;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 14em;
}
div.figure-50-l {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 14em;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 14em;
}
div.figure-60-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 16em;
}
div.figure-30 {
	margin: 1em auto;
	page-break-inside: avoid;
	break-after: avoid;
	page-break-after: avoid;
	text-align: center;
	width: 8em;
}
div.figure-30-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 10em;
}
div.figure-40-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 12em;
}
div.figure-30-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 10em;
}
div.figure-20-l {
	margin: 1em 0 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 7em;
}
div.figure-20-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 7em;
}
div.figure-10 {
	margin: 1em auto;
	text-align: center;
	width: 5em;
}
div.figure-10-l {
	margin: 1em 0 1em 0;
	text-align: center;
	width: 5em;
}
div.figure-10-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 5em;
}

div.figcaption {
	margin-bottom: 2em;
}
div.figcaption p {
	font-family: sans-serif;
	font-size: .7em;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	text-indent: 0;
}
div.figcaption-full p {
	font-family: inherit;
	font-size: .8em;
	font-style: normal;
	font-weight: normal;
	text-align: justify;
	text-indent: 0;
}

div.icon {
	margin: 1em 0 0 0;
	page-break-inside: avoid;
	text-align: center;
	width: 4em;
	max-width: 100%;
}
div.icon img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
	width: auto;
}

div.separator {
	margin: 0;
	break-before: always;
	page-break-before: always;
	break-inside: avoid;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.separator img {
	max-height: 100%;
	text-align: center;
}

/* Seudoversalitas */
span.sc {
	font-size: .8em;
}

/* Firmas */
div.signature {
	break-inside: avoid;
	page-break-inside: avoid;
	margin: 1em 0;
}
div.signature p {
	font-family: inherit;
	margin: 0;
	text-align: right;
	text-indent: 0;
}
div.signature span.name {
	font-weight: bold;
}

/* Citas de bloque */
blockquote {
	margin: .5em 1em;
}
blockquote p {
	font-size: 1em;
	text-indent: 0;
}

/* Cajas */
div.box {
	border: 1px solid currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.box p {
	margin: 1em 0 1em 2em;
	text-align: left;
	text-indent: 0;
}
div.box ol {
	margin: 0 0 0 0;
}
div.box ol li {
	font-weight: bold;
	text-align: left;
}
div.box ol li span.textual {
	font-weight: normal;
}
div.box ol li p {
	font-size: 1em;
	margin: .5em 0;
	text-align: left;
	text-indent: 0;
}
div.box p.comment {
	margin: 1em 0 1em 1em;
	text-align: left;
	text-indent: 0;
}
div.box div.icon {
	margin: 1em auto 1em 0;
}
div.box p.bridgehead {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
	margin-top: 2em;
	margin-left: 0;
	text-indent: 0;
}

/* Poemas */
.poem {
	margin: 1em 3em;
}
.stanza {
	margin: 1em 0;
	text-indent: 0;
}
.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* Otros */
p.first {
	text-indent: 0;
}
span.underline {
	text-decoration: underline;
}
span.highlight {
	font-weight: bold;
	font-size: .8em;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnotes h2 {
	margin: 2em 0 1em 0;
}
div.footnote {
	margin: .6em 0 0 0;
	break-inside: avoid;
	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;
}

/* Tablas */
table {
	border: 1px solid currentColor;
	border-collapse: collapse;
	margin: 1.5em auto;
}
th {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: middle;
}
td {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: middle;
}
table p {
	font-family: sans-serif;
	font-size: .8em;
}
th p {
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
td p {
	margin: 0;
	text-align: center;
	text-indent: 0;
}
td + td p {
	text-align: center;
}
td.scope p {
	font-weight: bold;
	text-align: left;
}
th.empty {
	border-left: 2px hidden;
	border-top: 2px hidden;
}
tr.line td {
	border-top: 4px solid currentColor;
}

/* Propios */
span.underline-pink {
	font-family: sans-serif;
	font-size: .9em;
	font-weight: bold;
	/* text-decoration: underline 3px #f4dfe9; */
	border-bottom: 3px solid #f4dfe9;
}
span.underline-blue {
	font-family: sans-serif;
	font-size: .9em;
	font-weight: bold;
	/* text-decoration: underline 3px #d6edf5; */
	border-bottom: 3px solid #d6edf5;
}
span.underline-green {
	font-family: sans-serif;
	font-size: .9em;
	font-weight: bold;
	border-bottom: 3px solid #d4e4c4;
}
div.pq {
	margin: 2em auto;
	width: 16em;
}
div.pq p {
	font-family: sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
	text-indent: 0;
}
div.pq p.ornato {
	margin: 0 auto;
	text-align: center;
	text-indent: 0;
	width: 1em;
}
ul + p {
	text-indent: 0;
}
div.excusa {
	margin: 2em 0;
}
div.excusa p.label {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
	text-indent: 0;
}
div.excusa p.title {
	font-family: sans-serif;
	font-size: 1.25em;
	font-weight: bold;
	text-indent: 0;
}
div.excusa p.title + p {
	text-indent: 0;
}
div.excusa span.pink {
	border-bottom: 3px solid #f4dfe9;
}
div.step {
	margin: 2em 0;
}
div.step p.ordinal {
	font-family: sans-serif;
	font-size: 2em;
	font-weight: bold;
	text-indent: 0;
	width: 2.5em;
}
div.step p.title {
	font-family: sans-serif;
	font-size: 1.25em;
	font-weight: bold;
	text-indent: 0;
}
div.step p.title + p {
	text-indent: 0;
}
div.step span.pink {
	border-bottom: 3px solid #f4dfe9;
}

table td.scope {
	background: #d6edf5;
}
table td.scope p {
	text-align: center;
}

div.exercices div.subchapter {
	page-break-before: always;
	padding-top: 1em;
}
div.exercices p,
div.exercices li {
	font-family: sans-serif;
	font-size: .9em;
}

div.exercices p.exercice-title {
	font-family: sans-serif;
	font-size: 1.15em;
	margin: 2em 0 1em 0;
	text-align: left;
	text-indent: 0;
	page-break-after: avoid;
}
div.exercices p.exercice-title + p {
	text-indent: 0;
}
div.exercices p.exercice-title span.blue {
	border-bottom: 3px solid #d6edf5;
	padding: .2em 0;
}
div.exercices p.week {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
	text-indent: 0;
}

div.series {
	border-top: 1px solid currentColor;
	margin: 1.2em 0;
}
div.series p {
	border-bottom: 1px solid currentColor;
	padding: .6em 0;
	text-indent: 0;
}
div.series p b.number {
	float: left;
}
div.series p span.text {
	display: block;
	margin-left: 1.8em;
}
div.series + p {
	text-indent: 0;
}

div.reminder {
	border: 3px solid #d6edf5;
	margin: 2em 0;
	padding: 1em;
}
div.reminder p.bridgehead {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
	text-indent: 0;
}
div.reminder ul.fake {
	margin: 0;
}
div.reminder ul.fake li {
	text-align: left;
}

div.header h1 {
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	padding: .25em 0;
	margin-top: .2em;
}
div.header h1 span.acotation {
	display: block;
	font-weight: normal;
}
div.header p.antetitle {
	font-family: sans-serif;
	font-size: 2.5em;
	text-indent: 0;
}
div.header p.antetitle-label {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
	text-indent: 0;
}
div.header + * {
	page-break-before: always;
	padding-top: 1em;
}
div.header div.meta {
	margin-top: 2em;
	margin-bottom: 1.5em;
}
div.header div.meta + p {
	text-indent: 0;
}
div.header div.meta p {
	text-indent: 0;
}
div.header div.meta p.label {
	font-weight: bold;
	margin-top: 1.25em;
}

div.info p {
	margin: 1em 0;
	text-indent: 0;
}
table.series {
	border: 0;
}
table.series td.image p {
	width: 6em;
}
table.series td.image p.x2 {
	width: 8em;
}
table.series td {
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	border-left: 0;
	border-right: 0;
}
table.series td p {
	text-align: left;
}

p.circuito {
	font-family: sans-serif;
	font-size: .8em;
	font-weight: bold;
	margin-top: 2em;
	text-indent: 0;
}
p.circuito + p.exercice-title {
	margin-top: .5em;
}
p.circuito span.blue {
	border-bottom: 3px solid #d6edf5;
	padding: .2em 0;
}

div.figure + div.header {
	page-break-before: always;
	padding-top: 1em;
}
p.circuito {
	page-break-before: always;
	padding-top: 1em;
}
span.sup-o {
	font-size: .7em;
	vertical-align: 35%;
}