﻿@charset "UTF-8";
@namespace "http://www.w3.org/1999/xhtml";
@namespace epub "http://www.idpf.org/2007/ops";

/* BASE */

/* Márgenes */
body {
	font-family: sans-serif;
	line-height: 1.5;
	margin: 0;
	padding: 0 20px;
}
body * {
	object-fit: contain;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0;
	padding: 0;
}
section, aside, main, header, footer, figure, figcaption, audio, video, nav { 
	display: block; 
}

/* Fuentes */
@font-face {
	font-family: ShipporiMincho-Regular;
	src:url('../fonts/ShipporiMincho-Regular.ttf');
}
.japan {
	font-family: ShipporiMincho-Regular;
}

/* 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 div.license p {
	margin: 1em 0 0 0;
}
#copyright-page p {
	color: currentColor;
	font-family: inherit;
	font-size: .8em;
	margin: 0;
	text-align: left;
	text-indent: 0;
}

/* Sinopsis */
#summary * {
	font-family: Palatino, serif;
}
#summary h1 {
	color: #000;
	font-size: 1.3em;
	font-weight: bold;
	margin: 2em 0 1em;
	text-align: center;
}
#summary p {
	font-size: 1.1em;
}
#summary h1 + p {
	text-indent: 0;
}
#summary p + p {
	text-indent: 1em;
}

/* Í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 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;
}

#landmarks {
	display: none;
}

/* Portada */
#titlepage * {
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-family: serif;
	font-size: 1.5em;
}
#titlepage p.title {
	font-size: 3em;
	font-weight: bold;
}
#titlepage p.subtitle {
	font-size: 1.1em;
	font-weight: bold;
}
#titlepage p.trl {
	font-size: 1em;
	margin-top: 4em;
}
#titlepage p.trl span.label {
	display: block;
	font-size: .9em;
}
#titlepage figure.publisher {
	margin: 10em auto 0;
	text-align: center;
	width: 5em;
	max-width: 100%;
}

/* Dedicatoria */
#dedicatoria {
	margin-top: 6em;
}
#dedicatoria p {
	font-style: italic;
	text-align: right;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-family: Palatino, serif;
	font-size: 2em;
	font-weight: normal;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: center;
}
h1 [epub|type="label"] {
	display: block;
	font-size: .6em;
	font-weight: bold;
	margin: 1em 0 1.5em;
}
h1 [epub|type="title"] {
	display: block;
	font-size: .8em;
	font-family: sans-serif;
}
h1 [epub|type="title"] .main {
	display: block;
	font-family: Palatino, serif;
	font-size: 1.7em;
	font-weight: bold;
}

h2,
p.exercice-label {
	border: 1px solid currentColor;
	padding: .6em;
	font-size: 1.1em;
	font-variant: normal;
	font-weight: normal;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: center;
}
h3 {
	color: #e84d44;
	font-family: Palatino, serif;
	font-size: 1.1em;
	font-variant: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: left;
}
h1 + p,
h2 + p,
h3 + p {
	text-indent: 0;
}

p {
	font-family: inherit;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	text-align: justify;
	text-indent: 0;
}

a {
	color: #00517d;
	font-family: inherit;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}
abbr {
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
blockquote {
	margin: 1em 0 1em 1em;
}
blockquote p {
	font-size: .9em;
	margin: 0;
	text-align: justify;
	text-indent: 0;
}
blockquote p + p {
	text-indent: 1em;
}
cite {
	display: inline;
	font-style: italic;
}
hr {
	border: none !important;
	height: 1em;
	margin: 0;
}
hr + p {
	text-indent: 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 1em;
	padding-left: 1.75em;
}
ul {
	margin: 0 0 1em 1em;
	padding-left: 1.25em;
}
ul.separated {
	margin: 1em 0 1em 0;
	padding-left: 1.25em;
}
ul.separated li {
	margin-top: 1em;
}
ol li {
	margin: 1em 0;
	text-align: justify;
}
ul li {
	margin: 0;
	text-align: justify;
}
ul li b {
	font-family: Palatino, serif;
}

ol ul {
	list-style: disc;
}

.upper-alpha {
	list-style: upper-alpha;
}

.fake {
	list-style: none;
	padding: 0;
}
.fake li {
	text-align: justify;
}
.fake li span.number {
	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.number + span.text {
	margin-top: 0;
	page-break-before: avoid;
}
.fake li p {
	margin-left: 1.5em;
}

/* Figuras y captions */
figure {
	margin: 1em auto;
	text-align: center;
}
figure.w30 {
	margin: 1em auto;
	width: 30%;
}
figure.w50 {
	margin: 1em auto;
	width: 50%;
}
figure.w75 {
	margin: 1em auto;
	width: 75%;
}
figure img {
	max-height: 100%;
	text-align: center;
}
figure.icon {
	width: 7em;
}

img.inline {
	height: 1em;
	vertical-align: baseline;
}

/* TEXTOS ESPECIALES */
span.smcp {
	font-variant: small-caps;
}
span.underline {
	text-decoration: underline;
}

/* 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;
}

/* Propios */
div.chapter-jp-title {
	border: 2px solid;
	margin: 1em auto 2em;
	padding: .5em;
	text-align: center;
	width: 3em;
}
div.chapter-jp-title p {
	font-family: ShipporiMincho-Regular;
	font-weight: bold;
	margin: 0;
	text-align: center;
	text-indent: 0;
}
#titlepage div.chapter-jp-title {
	border-color: #b4942d;
	color: #b4942d;
}
#c01 div.chapter-jp-title {
	border-color: #eacd69;
	color: #eacd69;
}
#c01 h1 [epub|type="label"] {
	color: #386c9f;
}
#c02 div.chapter-jp-title {
	border-color: #f5a272;
	color: #f5a272;
}
#c02 h1 [epub|type="label"],
#c02 div.learn, div.learn * {
	color: #347d70;
}
#c03 div.chapter-jp-title {
	border-color: #6ebfaf;
	color: #6ebfaf;
}
#c03 h1 [epub|type="label"] {
	color: #e84d44;
}
#c03 div.learn, div.learn * {
	color: #cc8191;
}
#c03 div.anotaciones p {
	color: #cc8191;
}
#c04 div.chapter-jp-title {
	border-color: #6baad9;
	color: #6baad9;
}
#c04 h1 [epub|type="label"] {
	color: #b4942d;
}
#c04 div.learn, div.learn * {
	color: #93835a;
}
#c05 div.chapter-jp-title {
	border-color: #eacd69;
	color: #eacd69;
}
#c05 h1 [epub|type="label"] {
	color: #386c9f;
}
#c05 div.learn, div.learn * {
	color: #2b9e93;
}
#c06 div.chapter-jp-title {
	border-color: #f5a272;
	color: #f5a272;
}
#c06 h1 [epub|type="label"],
#c06 div.learn, div.learn * {
	color: #347d70;
}
#c07 div.chapter-jp-title {
	border-color: #6ebfaf;
	color: #6ebfaf;
}
#c07 h1 [epub|type="label"] {
	color: #e84d44;
}
#c07 div.learn, div.learn * {
	color: #cc8191;
}
#c07 div.anotaciones p {
	color: #cc8191;
}
#c08 div.chapter-jp-title {
	border-color: #6baad9;
	color: #6baad9;
}
#c08 h1 [epub|type="label"] {
	color: #b4942d;
}
#c08 div.learn, div.learn * {
	color: #93835a;
}


.green * {
	color: #347d70;
}
.red * {
	color: #e84d44;
}
.pink * {
	color: #cc8191;
}
.gold * {
	color: #93835a;
}
.turquesa * {
	color: #2b9e93;
}
.blue * {
	color: #386c9f;
}

p.separator {
	margin: 1.5em auto;
	text-align: center;
	text-indent: 0;
	width: 4em;
}
div.signature {
	margin: 2em 0 0 0;
}
div.signature p {
	font-weight: bold;
	text-align: right;
}

div.note {
	margin-top: 4em;
}

[epub|type="epigraph"] {
	margin: 1em 1em;
}
[epub|type="epigraph"] blockquote p {
	font-family: Palatino, serif;
	font-size: 1.2em;
}
[epub|type="epigraph"] blockquote.sentences p {
	margin: .5em 0;
}
[epub|type="epigraph"] p {
	font-size: .9em;
	text-align: center;
	text-indent: 0;
}
[epub|type="epigraph"] p.attrib {
	text-align: right;
}
header [epub|type="epigraph"] {
	margin: 1em 3em;
}
header [epub|type="epigraph"] blockquote p {
	font-family: sans-serif;
	font-size: .9em;
}
header [epub|type="epigraph"] p.attrib {
	text-align: center;
}

header + * {
	page-break-before: always;
	break-before: always;
	-webkit-column-break-before: always;
}

div.box {
	border: 1px solid currentColor;
	padding: .6em;
	margin: 1em 0;
}
div.box ol {
	margin-left: 0;
}
div.box p,
div.box li {
	font-family: Palatino, serif;
}

blockquote.explain p {
	font-family: Palatino, serif;	
}

div.learn {
	border-top: 1px dotted;
	border-bottom: 1px dotted;
	margin: 2em;
	padding: 1em 0;
}
div.learn p,
div.learn li {
	font-family: Palatino, serif;
	font-size: .9em;
	margin: 0;
}
div.learn p + p,
div.learn li + li {
	margin-top: .6em;
}
div.learn p.bridgehead {
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 1em;
	text-align: center;
}

div.manual-notes {
	margin: 3em 0;
}
div.manual-notes p {
	color: #e84d44;
	font-size: 1.1em;
	font-variant: normal;
	font-weight: bold;
	line-height: 1.2;
	margin: 2em 0 1em 0;
	text-align: left;	
}

div.box div.anotaciones {
	border-top: 1px solid;
	margin-top: 2em;
}
div.box div.anotaciones p {
	font-family: sans-serif;
	font-size: .8em;
	margin: .3em 0;
}

p.listhead {
	font-family: Palatino, serif;
}

p.point {
	font-weight: bold;
	margin-top: 3em;
}
p.uri {
	margin-top: 0;
}