﻿/** BASE **/

/* Márgenes */
body {
	font-family: Helvetica, sans-serif;
	margin: 0;
	padding: 0 20px;
}
body * {
	box-sizing: border-box;
	object-fit: contain;
	max-width: 100%;
}

/* Fuentes */
@font-face {
	font-family: Andika-R;
	src:url('../fonts/Andika-R.ttf');
}
span.phonem {
	font-family: Andika-R;
}
@font-face {
	font-family: AndroidEmoji;
	src:url('../fonts/AndroidEmoji.ttf');
}
div.sms span.emoji {
	font-family: AndroidEmoji;
}
@font-face {
	font-family: AppleChancery;
	src:url('../fonts/AppleChancery.ttf');
}
div.box03 p {
	font-family: AppleChancery;
}

/* Control partición silábica */
h1,
h2,
h3,
h4,
h5,
h6 {
	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 {
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	text-indent: 0;
}

/* 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 h1 {
	border: 0;
	font-size: 1.2em;
	text-align: center;
}
#summary * {
	font-family: sans-serif;
	font-size: 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;
	page-break-inside: avoid;
	text-decoration: none !important;
}

/* Sobre la serie */
#about-serie div.figure {
	width: 5.5em;
}
#about-serie * {
	font-family: sans-serif;
}
#about-serie p {
	font-size: .8em;
	margin-bottom: .5em;
}
#about-serie li {
	font-size: .8em;
}
#about-serie a {
	font-weight: bold;
}
#about-serie p.bridgehead {
    border: 1px solid currentColor;
	font-size: 1em;
    font-style: normal;
    font-weight: bold;
    line-height: 1.33em;
    margin: 1.5em 0;
    text-align: center;
}
#about-serie p.highlight {
    font-size: 1.2em;
    font-style: normal;
    font-weight: bold;
    line-height: 1.33em;
    margin: 1.5em 0;
    text-align: center;
}
#about-serie p.web {
    font-size: .8em;
    font-style: normal;
    font-weight: bold;
    line-height: 1.33em;
    margin: 1.5em 0;
    text-align: center;
}
#about-serie p.list-header {
    font-size: .8em;
    font-style: normal;
    font-weight: bold;
    line-height: 1.33em;
    margin: 1.5em 0;
    text-align: center;
}
#about-serie div.visit p {
    font-size: .8em;
    font-style: normal;
    font-weight: bold;
    line-height: 1.33em;
    margin: 1.5em 0;
    text-align: center;
}

/* BODYMATTER */

/* Estilos generales */
.frontmatter h1,
.backmatter h1 {
	border-bottom: thick solid #999;
	font-family: sans-serif;
	font-size: 2em;
	font-weight: bold;
	margin: 1em 0;
}
.frontmatter h2,
.chapter h2,
.backmatter h2 {
	border-bottom: thick solid #999;
	font-family: sans-serif;
	font-size: 1.6em;
	font-weight: bold;
	margin: 1.8em 0 1em 0;
}
.frontmatter h3,
.backmatter h3 {
	font-family: sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	margin: 1em 0;
}
.frontmatter h4,
.backmatter h4 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	margin: 1em 0;
}
.frontmatter h5,
.backmatter h5 {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
}

.chapter h1 {
	text-align: right;
}
.chapter h1 span.label {
	display: block;
	font-size: .9em;
	font-weight: normal;
	margin-bottom: .5em;
}
.chapter h1 span.title {
	display: block;
	font-size: 1.2em;
}
.chapter h1 span.title-trl {
	display: block;
	font-size: 1.2em;
	font-style: italic;
}
.chapter h1 span.subtitle {
	display: block;
	font-size: .5em;
	margin-top: 1em;
}
.chapter h3 {
	font-family: sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	margin: 1em 0 1em 0;
}
.chapter h4 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	margin: 1em 0 0 0;
}
.chapter h5 {
	font-family: sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	margin: 1em 0;
}

p {
	font-family: serif;
	font-size: 1.00em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.33em;
	margin: 0 0 .5em 0;
	text-align: justify;
}

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 1em 0;
}
blockquote p {
	font-family: sans-serif;
	font-size: .9em;
	margin: 1em 0;
	text-indent: 0;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: .5em;
	margin: .25em 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 {
  font-size: 0.675em;
  line-height: 1.2;
  vertical-align: sub;
  vertical-align: -20%;
}

sup {
  font-size: 0.675em;
  line-height: 1.2;
  vertical-align: super;
  vertical-align: 35%;
}

/* Listas */
ol {
	margin: 1em 0 1em 0;
	padding: 0 0 0 1.5em;
}
ul {
	margin: .5em 0 1em 0;
	padding: 0 0 0 1.25em;
}
li {
	font-size: .9em;
	line-height: 1.33em;
	margin: 0 0 .5em 0;
	padding: 0;
	text-align: left;
	text-indent: 0;
}
li p,
li li {
	font-family: sans-serif;
	font-size: 1em;
	margin: .5em 0;
}
li p.desc {
	font-family: serif;
}
ul ul,
ul.second {
	list-style: circle;
}
ol ul {
	list-style: disc;
}
.lower-alpha {
	list-style: lower-alpha;
}
.lower-alpha li {
	font-size: .9em;
}
ul .lower-alpha li {
	font-size: 1em;
}
.lower-alpha li span {
	font-weight: normal;
}
.lower-alpha li p {
	font-family: serif;
	font-size: 1.1em;
}
.upper-alpha {
	list-style: upper-alpha;
}
ul.none {
	list-style: none;
	margin-top: 1em;
}

ol.fake {
	list-style: none;
	padding: 0;
}
ol.fake li span.number {
	display: inline;
	float: left;
	margin: 0;
	page-break-after: avoid;
	text-align: right;
}
ol.fake li span.number + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
ol.fake li span.text {
	display: block;
	margin-left: 2em;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure img,
div.figure-30 img,
div.figure-50 img,
div.figure-75 img {
	/* border: 1px solid currentColor; */
	box-sizing: border-box;
	object-fit: contain;
	padding: 1em;
}
div.figure img.noborder {
	border: 0;
	padding: 0;
}
div.figure-30 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 30%;
}
div.figure-50 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 50%;
}
div.figure-75 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 75%;
}
div.figure-left {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: left;
	width: 100%;
}
div.icon {
	break-after: avoid;
	page-break-after: avoid;
	margin: .5em 0;
	text-align: left;
	width: 4em;
}
div.icon img {
	text-align: left;
}
div.download {
	margin: .5em 0;
	page-break-inside: avoid;
	text-align: center;
	width: 4em;
}
div.figure img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: center;
}
div.figure-left img {
	max-height: 80%;
	page-break-inside: avoid;
	text-align: left;
}
div.figcaption {
	break-before: avoid;
	page-break-before: avoid;
}
div.figcaption p {
	font-family: sans-serif;
	font-size: .8em;
	font-style: normal;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	margin: 0;
	break-before: avoid;
	page-break-before: avoid;
	text-align: left;
	text-indent: 0;
}
div.figcaption p.credit {
	font-family: sans-serif;
	font-style: italic;
	font-size: .7em;
	text-align: right;
}
div.figcaption-table {
	break-after: avoid;
	page-break-after: avoid;
}
div.figcaption-table p {
	color: #999;
	font-family: sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	hyphens: none;
	adobe-hyphenate: none;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	margin: 0;
	text-align: left;
	text-indent: 0;
}
div.figcaption p.label,
div.figcaption span.label {
	color: #999;
	font-weight: bold;
}
div.figcaption-table p.label,
div.figcaption-table span.label {
	color: #000;
	font-size: .8em;
	font-weight: bold;
}

/* Tablas */
div.table {
	margin: 1em 0;
}
div.table p.figcaption {
	color: #5b5c5e;
	font-family: sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	margin: .5em 0;
	text-align: center;
}
table {
	border: 0;
	border-collapse: collapse;
	margin: 1em 0;
	width: 100%;
}
th, td {
	border: 1px solid currentColor;
	border-collapse: collapse;
	padding: .25em;
	vertical-align: top;
	width: 48%;
}
table p {
	font-family: sans-serif;
	font-size: .7em;
	margin: 0;
	text-align: left;
}
th {
	background: #cecfd4;
}
th p {
	font-weight: bold;
}

td.scope {
	background: #ecedef;
}
.empty {
	background: transparent;
	border-top: 3px hidden;
	border-left: 3px hidden;
}

table.none,
table.none * {
	border: 0;
}
table.none th {
	background: transparent;
}
table.none th p {
	color: currentColor;
	font-style: italic;
	font-weight: bold;
}
table.numbers p {
	text-align: center;
}
table.data-numbers th + th p,
table.data-numbers td + td p {
	text-align: center;
}
table.fill td,
td.fill {
	height: 1.5em;
}
table div.figure {
	max-width: 10em;
}

td.shadow {
	background: #dcddde;
}
table.fixed {
	table-layout: fixed;
}
td.w09 {
	width: 9%;
}
td.w19 {
	width: 19%;
}

table.col-3 {
	table-layout: fixed;
}
table.col-3 th,
table.col-3 td {
	width: 31%;
}
table.col-4 {
	table-layout: fixed;
}
table.col-4 th,
table.col-4 td {
	width: 23%;
}
table.col-5 {
	table-layout: fixed;
}
table.col-5 th,
table.col-5 td {
	width: 19%;
}
table.col-6 {
	table-layout: fixed;
}
table.col-6 th,
table.col-6 td {
	width: 15%;
}
table.col-10 {
	table-layout: fixed;
}
table.col-10 th,
table.col-10 td {
	width: 9%;
}
table.col-10 td.x2 {
	width: 19%;
}
table.auto {
	table-layout: auto;
}
table.auto th,
table.auto td {
	width: auto;
}
table p.center {
	text-align: center;
}


/* Seudoversalitas */
span.sc {
	font-size: 80%;
}
span.underline {
	text-decoration: underline;
}
span.line-through {
	text-decoration: line-through;
}

/* Ejercicios */
div.exercice {
	margin: 1em 0;
	border-left: 1px solid currentColor;
	padding-left: .8em;
}
div.exercice p.bridgehead {
	font-family: sans-serif;
	font-size: 1em;
	font-weight: bold;
}
div.exercice p.enunciado {
	font-weight: bold;
}
div.exercice p.center {
	font-family: sans-serif;
	text-align: center;
}

/* Firmas */
div.signature {
	margin: 1em 0;
}
div.signature p {
	margin: 0;
	text-align: right;
}

/* Objetivos */
div.objectives {
	padding: 10px;
	border: thin solid #999;
	margin: 2em 0 2em 30%;
	font-size: 80%;
}
div.objectives p {
	font-family: sans-serif;
	font-size: .9em;
}
div.chapter div.objectives p {
	font-weight: bold;
	text-align: left;
}
div.objectives p.bridgehead {
	line-height: 1.33em;
	font-size: 1em;
	margin-bottom: 0.5em;
	margin-top: 0em;
	margin-right: 0em;
	margin-left: 0em;
	text-align: justify;
	font-weight: bold;
	font-style: normal;
}

/* Cajas */
div.box {
	background: #cccccc;
	margin: 1em 0;
	padding: 1em;
}
div.box * {
	font-family: sans-serif;
}
div.box a {
	font-family: Courier, monospace;
}
div.box p {
	font-size: .9em;
	margin: 0;
	text-align: left;
}
div.box p + p {
	margin-top: .5em;
}
div.box p.center {
	font-weight: bold;
	text-align: center;
}
div.box p.bridgehead {
	font-size: 1.25em;
	font-weight: bold;
	margin: .5em 0 .5em 0;
	page-break-after: avoid;
	text-align: left;
}
div.box blockquote.quote p,
div.box div.quote blockquote p {
	font-family: sans-serif;
}
div.box p.conclusion {
	font-style: italic;
	margin: 1em 0;
	text-align: center;
}
div.box p.attrib {
	text-align: right;
}
div.box ol li {
	font-weight: bold;
}

p.dialogue span.name {
	font-variant: small-caps;
}

/* Citas */
div.quote {
	margin-bottom: 2em;
}
div.quote blockquote,
blockquote.quote {
	margin: 1em 0;
}
div.quote blockquote p,
blockquote.quote p {
	font-family: serif;
	text-align: center;
}

/* Especiales */
*.center {
	text-align: center;
}
p.sample {
	margin-left: 1.5em;
}
p.exercice-title {
	font-family: sans-serif;
	font-weight: bold;
	margin: 1em 0 .5em 0;
}
p.exercice-label {
	font-weight: bold;
	margin: 1em 0 1em 0;
}

p.sms-out {
	border: 1px solid currentColor;
	border-radius: 1em;
	-webkit-border-radius: 1em;
	margin: .8em 0 .8em 4em;
	padding: 1em;
}
p.sms-in {
	border: 1px solid currentColor;
	border-radius: 1em;
	-webkit-border-radius: 1em;
	margin: .8em 4em .8em 0;
	padding: 1em;
}
p.sms-in,
p.sms-out {
	font-family: sans-serif;
}

/* Notas en capítulo */
div.footnotes {
	border-top: 1px solid currentColor;
	margin-top: 2em;
	padding-top: 1em;
}

/* Notas | Llamadas */
a.noteref {
	font-size: .7em;
	vertical-align: top;
}

/* Notas | Notas al pie */
div.footnote + div.footnote {
	margin: .6em 0 0 0;
	break-before: always;
	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;
}
div.footnote a.noteback-big {
	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;
}
div.footnote a.noteback-big + p {
	margin-left: 5em;
	page-break-before: avoid;
}

/* Bibliografía */
#bibliography ul {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
#bibliography li {
	margin: 1em 0;
}
#bibliography ul.links {
	list-style: disc;
	margin: 1em 0;
	padding: 0 0 0 1.25em;
}
#bibliography ul.links li {
	margin: 0;
}

p.stanza {
	font-family: sans-serif;
	margin: 1em 0;
}
span.verse {
	display: block;
	margin-left: 1em;
	text-indent: -1em;
}
div.box p.note {
	font-size: .8em;
	text-align: right;
}
p.letter-data {
	text-align: right;
}
p.letter-signature {
	margin-top: 1em;
	text-align: right;
}
span.courier {
	font-family: monospace;
}
div.box02 {
	border: 3px double currentColor;
	padding: 1em;
}
div.box02 p {
	font-family: sans-serif;
	text-align: center;
}
div.box03 {
	border: 3px solid currentColor;
	padding: 1em;
}
div.box03 p {
	
}
div.box03 div.address p {
	font-family: serif;
	border-bottom: 1px solid currentColor;
	padding: 0 1.5em;
	text-align: center;
}
span.normal {
	font-style: normal;
}
p.words {
	font-family: sans-serif;
	font-size: .9em;
	text-align: center;
}
div.figure p {
	font-family: sans-serif;
	font-size: .9em;
}
sup.supa {
  font-size: 0.675em;
  line-height: 1.2;
  vertical-align: super;
  vertical-align: 50%;
}
h4.comprension {
	margin-top: 2em;
}
p.vertical {
	margin-top: 1em;
}