﻿/** BASE **/

/* Márgenes */
body {
	font-family: CorporativeSans, sans-serif;
	font-size: .9em;
	margin: 0;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	object-fit: contain;
	line-height: 1.5;
	max-width: 100%;
}
@supports (max-height:100vh) {
	img {
		max-height: 100vh !important;
	}
}

/* Fuentes */
@font-face {
	font-family: CorporativeSans;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/CorporativeSansRd-Book.otf');
}
@font-face {
	font-family: CorporativeSans;
	font-style: italic;
	font-weight: normal;
	src:url('../fonts/CorporativeSansRd-Regular-It.otf');
}
@font-face {
	font-family: CorporativeSans;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/CorporativeSansRd-Medium.otf');
}
@font-face {
	font-family: Courier;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/Courier-Bold_EB.otf');
}
@font-face {
	font-family: KGAllofMe;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/KGAllofMe.ttf');
}
@font-face {
	font-family: KGAllofMe;
	font-style: italic;
	font-weight: bold;
	src:url('../fonts/KGAllofMe-Italic.ttf');
}
@font-face {
	font-family: NewCaledoniaLTStd-Black;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/NewCaledoniaLTStd-Black.otf');
}
@font-face {
	font-family: CoreCircus;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/CoreCircus.otf');
}
@font-face {
	font-family: CONFIDENTIAL;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/CONFIDENTIAL.ttf');
}
@font-face {
	font-family: Baskerville;
	font-style: normal;
	font-weight: bold;
	src:url('../fonts/Baskerville-Bold-02.ttf');
}
@font-face {
	font-family: Adelle_Reg;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/Adelle_Reg.otf');
}
@font-face {
	font-family: LPNumerals2010;
	font-style: normal;
	font-weight: normal;
	src:url('../fonts/LPNumerals2010.ttf');
}

/* 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 {
	color: #eb5c37;
	font-family: sans-serif;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	color: #84767d;
	font-family: sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 2em;
	margin: 2em 0 .4em 0;
	padding: 0 0 0 0;
	text-align: center;
	text-indent: 0;
}
#titlepage p.contrib {
	color: #eb5c37;
	font-family: sans-serif;
	font-style: normal;
	font-weight: 200;
	font-size: 1em;
	margin: 2em 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: serif;
}
#summary h1 {
	color: black;
	font-size: 1.3em;
	font-style: normal;
	font-weight: bold;
	padding: 0;
	margin: 2em 0 1em;
	text-align: center;
}
#summary p {
	font-size: 1.1em;
	margin: 0;
	text-align: justify;
}
#summary h1 + p {
	text-indent: 0;
}
#summary div.group {
	margin: 1em 0;
}
#summary div.group p {
	text-indent: 0;
}
#summary div.group + p {
	text-indent: 0;
}
#summary p + p {
	text-indent: 1em;
}
#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-top: 5em;
	margin-left: 7em;
}
#dedication p {
	font-family: inherit;
	font-style: italic;
	text-align: right;
	text-indent: 0;
}

/* Epígrafe */
#epigraph {
	margin-top: 5em;
	margin-left: 7em;
}
p.attrib {
	font-size: .8em;
	text-align: right;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: KGAllofMe;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.1;
	margin: 3em 0 1em;
	text-align: left;
	text-indent: 0;
}
h1 span.label {
	display: block;
	font-family: Courier;
	font-size: .5em;
	margin-bottom: 1em;
}
h2 {
	border-bottom: 1px solid #905d9e;
	color: #905d9e;
	font-family: NewCaledoniaLTStd-Black;
	font-size: 1.4em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 .5em;
	padding-bottom: .15em;
	text-align: left;
	text-indent: 0;
}
h3 {
	font-family: inherit;
	font-size: 1.7em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1.5em 0 1em;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
h4 {
	color: #da0080;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}

p {
	font-size: 1em;
	font-weight: 200;
	margin: 0 0 0 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 1em;
	padding: 0 0 0 1.25em;
}
li {
	font-size: 1em;
	margin: .5em 0;
	padding: 0;
	text-align: left;
	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: 0;
	padding: 0;
}
.fake li span.symbol {
	display: inline;
	color: #da0080;
	float: left;
	font-family: inherit;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
	width: 1em;
}
.fake li span.symbol + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li span.text {
	display: block;
	margin-left: 1.2em;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	text-align: center;
	width: 100%;
}
div.figure-75 {
	margin: 1em auto;
	text-align: center;
	width: 75%;
}
div.figure-50 {
	margin: 1em auto;
	text-align: center;
	width: 50%;
}
img.w20 {
	margin: 1em auto;
	text-align: center;
	width: 20%;
}
img.w30 {
	margin: 1em auto;
	text-align: center;
	width: 30%;
}
img.w50 {
	margin: 1em auto;
	text-align: center;
	width: 50%;
}
img.w75 {
	margin: 1em auto;
	text-align: center;
	width: 75%;
}
div.figure-50-l {
	margin: 1em 0;
	text-align: center;
	width: 50%;
}
div.figure-50-r {
	margin: 1em 0 1em auto;
	text-align: center;
	width: 50%;
}
div.figure-30 {
	margin: 1em auto;
	text-align: center;
}
div.figure-30 img {
	width: 30%;
}
div.figure-30-l {
	margin: 2em 0 1em 0;
	text-align: center;
	width: 30%;
}
div.figure-30-r {
	margin: 2em 0 1em auto;
	text-align: center;
	width: 30%;
}
div.figure-20-r {
	margin: 2em 0 1em auto;
	text-align: center;
	width: 20%;
}
div.figure-10-r {
	margin: 2em 0 1em auto;
	text-align: center;
	width: 4em;
}
div.figure-25em {
	margin: 1em auto;
	width: 25em;
}

div.figcaption {
	margin: .5em 1em 2em 1em;
}
div.figcaption p {
	font-family: inherit;
	font-size: .9em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	text-align: left;
	text-indent: 0;
}
div.figcaption-name {
	margin: 0 1em 3em 1em;
}
div.figcaption-name p {
	font-family: inherit;
	font-size: .9em;
	font-style: normal;
	font-weight: normal;
	margin: 0 0 0 0;
	text-align: left;
	text-indent: 0;
}
div.figcaption p.lead + p {
	margin-top: 0;
}
div.figcaption p.sample {
	margin-top: .5em;
}
div.figcaption + img.w30,
div.figcaption + img.w20 {
	margin-top: -1em;
}

div.icon {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 4em;
	max-width: 100%;
}

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: 2em 0 1em 0;
}
div.signature p {
	font-family: inherit;
	margin: 0;
	text-align: right;
	text-indent: 0;
}
div.signature div.figure {
	width: 6em;
	margin: 1em 0 1em auto;
}

/* Citas de bloque */
blockquote {
	margin: .5em 1em;
}
blockquote p {
	font-size: 1em;
	text-indent: 0;
}

/* Poemas */
.poem {
	margin: 1em 0;
}
.stanza {
	font-family: serif;
	font-style: italic;
	margin: 1em 0;
	text-align: right;
	text-indent: 0;
}
.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}

/* Otros */
span.underline {
	text-decoration: underline;
}

/* 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: 2px solid #f5cbe1;
	border-collapse: collapse;
	margin: 1em auto;
	width: 100%;
}
table p {
	font-size: .8em;
}
th {
	border: 2px solid #f5cbe1;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: top;
}
td {
	border: 2px solid #f5cbe1;
	border-collapse: collapse;
	padding: .5em;
	vertical-align: top;
}
th p {
	color: #da0080;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
td p {
	margin: 0;
	text-align: left;
	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;
}

/* Propios */
div.icon {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 3em;
	max-width: 100%;
}
div.icon-r {
	margin: 1em 0 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 3em;
	max-width: 100%;
}
div.icon-l {
	margin: 1em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 3em;
	max-width: 100%;
}
p.first {
	padding-top: 2em;
	text-indent: 0;
}
p.destacado {
	font-weight: bold;
	font-size: 1.1em;
	margin: 1em 0;
	text-decoration: underline;
}
p.destacado-first {
	font-weight: bold;
	font-size: 1.1em;
	margin: 1em 0;
	padding-top: 1em;
	text-decoration: underline;
	text-indent: 0;
}
p.destacado-color {
	color: #905d9e;
	font-weight: bold;
	font-size: 1.1em;
	margin: 1em 0;
	text-decoration: underline;
}
p.motto {
	font-family: KGAllofMe;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0;
	text-align: center;
	text-indent: 0;
}
p.motto-right {
	font-family: KGAllofMe;
	font-size: 2em;
	font-style: normal;
	font-weight: bold;
	margin: 2em 0;
	text-align: right;
	text-indent: 0;
}

div.test {
	page-break-before: always;
	padding-top: 1.5em;
}
div.test p.title {
	border-bottom: 3px solid currentColor;
	font-family: CoreCircus;
	font-size: 1.25em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
	text-align: left;
	text-indent: 0;
}
div.test p.title + p {
	text-indent: 0;
}
div.test p.question {
	font-weight: bold;
	margin: 1.5em 0 1em;
	text-indent: 0;
}
div.test p.answer {
	margin: 0;
	text-indent: 0;
}
div.test div.solution {
	margin-top: 3em;
	border-top: 4px double #905d9e;
}
div.test div.solution p {
	color: #905d9e;
	text-align: right;
}
div.test div.solution p.title {
	border-bottom: 0;
	font-size: 1em;
	margin: 0;
	padding-top: .2em;
}
p.big-question {
	font-family: KGAllofMe;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
	text-align: left;
	text-indent: 0;
}
p.explain {
	font-family: KGAllofMe;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
	text-align: left;
	text-indent: 0;
}
p.quote {
	font-family: CoreCircus;
	font-size: 1.25em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
	text-align: left;
	text-indent: 0;
}
p.quote + p {
	text-indent: 0;
}

div.sentences {
	border: 4px solid currentColor;
	margin: 1.5em 0;
	padding: 1.2em;
}
div.sentences p {
	font-family: CoreCircus;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
	text-align: center;
}

span.color {
	color: #905d9e;
}

div.chronology {
	margin: 1.5em 0;
}
div.chronology p.year {
	color: #905d9e;
	font-family: CONFIDENTIAL;
	font-size: 1.5em;
	margin: 1em 0 0 0;
	text-indent: 0;
	page-break-after: avoid;
}
div.chronology p.event {
	text-indent: 0;
}

div.reminder {
	page-break-before: always;
	padding-top: 1em;
}
div.reminder p.title {
	font-family: NewCaledoniaLTStd-Black;
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
div.reminder div.box {
	border: 4px double currentColor;
	margin: 1em 0;
	padding: 1em;
}
div.reminder div.box p {
	font-family: Baskerville;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	text-indent: 0;
}
div.reminder div.conclusion {
	border: 1px solid currentColor;
	border-radius: 1em;
	margin: 2em 0;
	padding: 1em;
}
div.reminder div.conclusion p {
	font-family: Baskerville;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	text-indent: 0;
}
div.reminder div.speech {
	border-left: 4px double currentColor;
	border-right: 4px double currentColor;
	margin: 2em 0;
	padding: 1.5em;
}
div.reminder div.speech p {
	font-family: Baskerville;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	text-indent: 0;
}

div.aside {
	page-break-before: always;	
}
div.point {
	page-break-before: always;	
	padding-top: 4em;
}
div.point p {
	font-family: Adelle_Reg;
	font-size: 1.5em;
	text-align: center;
	text-indent: 0;
}
div.point p.quotation + p.quotation {
	margin-top: 2em;
}
div.point p.article {
	margin-top: 1em;
	margin-bottom: 2em;
}
div.point span.ordinal {
	display: block;
	font-size: 1.2em;
}
div.point p.attrib {
	font-family: CorporativeSans;
	margin: 1.3em 3em 0;
	font-size: 1em;
}
div.point p.attrib span.name {
	font-family: KGAllofMe;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
}

p.sentence {
	font-family: Adelle_Reg;
	font-size: 1em;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}

div.card {
	page-break-before: always;	
	padding-top: 1em;
}
div.card p.bridgehead {
	font-family: KGAllofMe;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	text-align: left;
	text-indent: 0;
	margin-bottom: .5em;
}
div.card p.bridgehead + p {
	text-indent: 0;
}

p.key {
	font-size: 1.2em;
	font-weight: bold;
	margin-top: 1.5em;
	text-indent: 0;
}
p.key + p {
	text-indent: 0;
}
p.key span.color {
	font-family: LPNumerals2010;
	color: #905d9e;
	font-weight: normal;
}

div.extra {
	page-break-before: always;	
	padding-top: 2em;
}
div.extra p.title {
	color: #905d9e;
	font-family: KGAllofMe;
	font-size: 2em;
	text-indent: 0;
}
div.extra p.subtitle {
	font-weight: bold;
	margin-bottom: 1.2em;
	text-indent: 0;
}
div.extra p.subtitle + p {
	text-indent: 0;
}

span.given-name {
	font-size: 1.2em;
	line-height: 1;
}
p.top {
	margin-top: 1em;
}

div.figure + h2 {
	margin-top: 0;
	padding-top: 1.5em;
}