﻿/** BASE **/

/* Márgenes */
body {
	font-family: sans-serif;
	margin: 0;
	line-height: 1.5;
	padding: 0 20px;
}

/* Fuentes */
@font-face {
	font-family: BotanicaScript;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/BotanicaScript-Regular.otf');
}
@font-face {
	font-family: Chalkduster;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/Chalkduster.ttf');
}
@font-face {
	font-family: Hammock;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/HAMMOCKAAA.otf');
}
@font-face {
	font-family: Blackline;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/KH-Blackline-Script-Medium.otf');
}
@font-face {
	font-family: Sketched;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/Sketched.ttf');
}
@font-face {
	font-family: cabanyalZ;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/cabanyalZ.ttf');
}
@font-face {
	font-family: Montauk;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/MontaukPro-Reg.ttf');
}
@font-face {
	font-family: DK;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/DKMoreOrLess-Regular.otf');
}
@font-face {
	font-family: Callmemaybe;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/Callmemaybe.ttf');
}

span.botanica {
	font-family: BotanicaScript;
	font-size: 1.3em;
	line-height: 1.2;
}
span.chalk {
	font-family: Chalkduster;
}
span.hammock {
	font-family: Hammock;
	font-size: 1.7em;
	line-height: .5;
}
span.blackline {
	font-family: Blackline;
	font-size: 1.8em;
	line-height: 1;
	vertical-align: middle;
}
span.sketch {
	font-family: Sketched;
	font-size: 1.25em;
	line-height: 1.2;
}
span.cabanyal {
	font-family: cabanyalZ;
	font-size: 1.25em;
	line-height: 1.2;
}
span.montauk {
	font-family: Montauk;
	font-size: 1.5em;
	line-height: 1;
}
span.dk {
	font-family: DK;
	font-size: 1.25em;
	line-height: 1.2;
}
span.callme {
	font-family: Callmemaybe;
	font-size: 1.25em;
	line-height: 1;
}

/* 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 * {
	font-family: sans-serif;
}
#summary h1 {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}
#summary h1 + 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 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;
}

/* Portada */
#titlepage * {
	text-align: center;
	text-indent: 0;
}
#titlepage p.author {
	font-family: sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	margin-top: 1em;
}
#titlepage p.title {
	font-size: 2em;
	font-style: normal;
	line-height: 1.2;
}
#titlepage p.title em {
	display: block;
	font-size: 2em;
	font-style: normal;
}
#titlepage div.publisher {
	margin-top: 10em;
	text-align: left;
}
#titlepage div.publisher img {
	width: 6em;
}

/* BODYMATTER */

/* Estilos generales */
h1 {
	font-size: 1.25em;
	font-weight: normal;
	margin: 2.5em 0;
	text-align: center;
}
h2 {
	font-family: inherit;
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
	text-align: left;
}

p {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	margin: 1em 0 0 0;
	text-align: justify;
	text-indent: 1em;
}

a {
	color: #00F;
	font-family: inherit;
	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;
}
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;
}
sup.up {
	font-size: 1em;
	vertical-align: super;
}

/* 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: 1em;
	margin: .5em 0;
	padding: 0;
	text-align: justify;
	text-indent: 0;
}
li p {
	font-size: 1em;
	margin: 1em 0;
	text-indent: 0;
}

/* Figuras y captions */
div.figure {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 100%;
}
div.figure-10 {
	margin: 1em auto;
	page-break-inside: avoid;
	text-align: center;
	width: 3em;
}
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 img {
	max-height: 100%;
	max-width: 100%;
	page-break-inside: avoid;
	text-align: center;
}
div.figure-closing {
	margin: 5em auto 0;
	page-break-inside: avoid;
	text-align: center;
	width: 12em;
}
img.inline {
	height: 2em;
}

/* Tablas */
table {
	margin: 1em 0;
}
table, th, td {
	border: 1px solid currentColor;
	border-collapse: collapse;
}
th, td {
	padding: .5em;
	vertical-align: top;
}
table p {
	font-size: .8em;
	margin: 0;
	text-align: center;
}

/* BLOQUES */

/* Poemas */
.poem {
	margin: 1em 0;
}
p.stanza {
	font-style: italic;
	margin: 1em 0;
	text-align: center;
	text-indent: 0;
}
span.verse {
	display: block;
	margin-left: 0;
	text-indent: 0;
}

/* PÁRRAFOS ESPECIALES */
p.center {
	text-align: center;
	text-indent: 0;
}
p.continue {
	text-indent: 0;
}
span.fs08 {
	font-size: .8em;
}
span.fs10 {
	font-size: 1em;
}
span.fs11 {
	font-size: 1.4em;
	line-height: 1;
}
span.fs12 {
	font-size: 1.5em;
	line-height: 1;
}
span.fs13 {
	font-size: 1.6em;
	line-height: 1;
}
span.fs14 {
	font-size: 1.7em;
	line-height: 1;
}
span.fs15 {
	font-size: 1.8em;
	line-height: 1;
}

/* TEXTOS ESPECIALES */
span.sc {
	font-size: 80%;
}
.underline {
	text-decoration: underline;
}
.line-through {
	text-decoration: line-through;
}

/* Tamaños */
span.half {
	font-size: 50%;
}
span.semihalf {
	font-size: 75%;
}
span.halfdouble {
	font-size: 150%;
}
span.double {
	font-size: 200%;
}
span.doublehalf {
	font-size: 250%;
}
span.triple {
	font-size: 300%;
}
div.clearfix {
	clear: both;
}

span.fs09 {
	font-size: .9em;
}
span.fs08 {
	font-size: .8em;
}
span.fs07 {
	font-size: .7em;
}
span.fs06 {
	font-size: .6em;
}

p.top1 {
	margin-top: 1em;
}
p.l1 {
	margin-left: 1em;
}
p.l2 {
	margin-left: 2em;
}
p.l3 {
	margin-left: 3em;
}
p.l4 {
	margin-left: 4em;
}
p.l5 {
	margin-left: 5em;
}
p.l6 {
	margin-left: 6em;
}
p.l7 {
	margin-left: 7em;
}
p.l8 {
	margin-left: 8em;
}
p.right {
	text-align: right;
}
span.hammock sub {
	font-size: .9em;
}