/*
Name: Open Textbooks PDF
Version: 1.1
Author: bpayne
Reference @see: http://www.princexml.com/doc/8.1/

================== */


/* PRESSBOOKS PDF FALL-BACK STYLESHEET FOR VARIOUS SPECIAL THINGS
in development
copyright 2013-2015 Book Oven Inc. */

@import 'tables', 'textboxes';

@mixin header-style {
  color: red;
}

/* DROPCAPS - (NOTE: WRAP FIRST CHAR IN A SPAN) */

/* Override hierarchy.
See: http://www.princexml.com/doc/8.1/pdf-bookmarks */
h1,
h2,
h3,
h4,
h5,
h6 {
  prince-bookmark-level: 1;
}

div.ugc h1,
div.ugc h2,
div.ugc h3,
div.ugc h4,
div.ugc h5,
div.ugc h6 {
  bookmark-level: none;
  page-break-after: avoid;
}

/* DEFAULT PAGE GROUPINGS & associated style
note: should all page groupings be put here? probably.
===================================================== */

/*  PAGE GROUPINGS */

div.front-matter.before-title {
  page: before-title;
  prince-page-group: start;
}

div#half-title-page {
  page: halftitle-page;
  prince-page-group: start;
}

div#title-page {
  page: title-page;
  prince-page-group: start;
}

#toc {
  page: toc;
  prince-page-group: start;
}

div.front-matter {
  page: front-matter;
  prince-page-group: start;
}

div#copyright-page {
  page: copyright-page;
  prince-page-group: start;
}

div.front-matter.dedication {
  page: dedication;
  prince-page-group: start;
}

div.front-matter.epigraph {
  page: epigraph;
  prince-page-group: start;
}

div.front-matter.introduction {
  page: introduction;
  prince-page-group: start;
}

div.chapter {
  page: chapter;
  prince-page-group: start;
}

div.chapter.standard {
  page: chapter;
  prince-page-group: start;
}

div.back-matter {
  page: back-matter;
  prince-page-group: start;
}

div.part {
  page: part;
  prince-page-group: start;
}

div.blank-page {
  page: blank-page;
  prince-page-group: start;
}

/* ALWAYS BLANK PAGES */

@page before-title {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page halftitle-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page title-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page epigraph {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page dedication {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page copyright-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page toc {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page front-matter:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page introduction:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page part:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page chapter:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page back-matter:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page blank-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

/* ALWAYS START ON RIGHT HAND PAGE */

div.front-matter.introduction {
  page-break-before: right !important;
}

#half-title-page {
  page-break-before: right;
}

#title-page {
  page-break-before: right;
}

#toc {
  page-break-before: right;
}

/* DEFAULT STRING-SETS ...
enable you to call system-wide content using:
--
content: string(arbitrary-string-set-name);

--
*/

/* book-wide strings  */

meta[name="pb-title"] {
  string-set: book-title attr('content');
}

.short-book-title {
  visibility: hidden;
}

meta[name="pb-short-title"] {
  string-set: book-title attr('content');
}

meta[name="pb-subtitle"] {
  string-set: book-subtitle attr('content');
}

meta[name="pb-authors"] {
  string-set: book-author attr('content');
}

meta[name="pb-publisher"] {
  string-set: book-publisher attr('content');
}

meta[name="pb-publisher-city"] {
  string-set: book-publisher-city attr('content');
}

/* PART & CHAPTER STRINGS */

.part-title-wrap h3.part-number {
  string-set: part-number content();
}

.part-title-wrap h1.part-title {
  string-set: part-title content();
}

h3.chapter-number {
  string-set: chapter-number content();
}

div.chapter.numberless h3.chapter-number {
  display: none;
}

/* chapter title */
div.front-matter .front-matter-title-wrap > h1:first-of-type,
div.chapter .chapter-title-wrap > h2:first-of-type,
div.back-matter .back-matter-title-wrap > h1:first-of-type {
  string-set: section-title content();
}

/* "short title override" ... this sets short chapter title content (for running header) but does not display it.
it can cause problems with spacing of things, so be careful to design around it */

div.front-matter > div.ugc h6.short-title:first-of-type,
div.chapter > div.ugc h6.short-title:first-of-type,
div.back-matter > div.ugc h6.short-title:first-of-type {
  string-set: section-title content() !important; /* override running header */
  visibility: hidden; /* display:none breaks string-set: */
  font-size: 0;
  height: 0;
}

div.ugc h2.chapter-author {
  string-set: chapter-author content();
}

div.ugc h2.chapter-subtitle {
  string-set: chapter-subtitle content();
}

/*  TITLE PAGE */

#title-page > .subtitle,
#title-page > div.logo,
#title-page > .author,
#title-page > .publisher,
#title-page > .publisher-city {
  bookmark-level: none;
}

/* GENERAL STYLES */

body,
.front-matter,
.chapter,
.back-matter,
p,
p.no-indent {
  hyphenate-before: 3;
  hyphenate-after: 3;
  hyphenate-lines: 2;
  widows: 2;
  orphans: 1;
}

p.no-indent {
  text-indent: 0;
  margin-top: 1em;
}

/* SEPARATORS */

hr {
  margin: 10px auto;
  text-align: center;
  width: 20%;
}

hr.break-symbols {
  border: none;
  font-size: 1.1em;
  margin-bottom: 20px;
}

hr.break-symbols::after {
  display: block;
  content: "\066D";
  font-size: 18pt;
  text-align: center;
}

div.ugc h3.section-break,
.section-break {
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
}

div.ugc h3.section-break-space,
.section-break-space {
  visibility: hidden;
  margin-top: 1em;
  line-height: 1em;
  margin-bottom: 0;
}

div.ugc h3.section-break-page,
.section-break-page {
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
  page-break-after: always;
}

div.ugc h3.section-break-page-invisible,
.section-break-page-invisible {
  visibility: hidden;
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
  page-break-after: always;
}

div.blank-page {
  page-break-before: always;
  visibility: hidden;
  font-size: 0;
}

/* ENDNOTES */
sup,
sup.endnote,
sup.footnote {
  font-size: 0.8em;
  line-height: 0.5em;
}

.endnotes {
  margin-left: 1.5em;
}

.endnotes h3 {
  margin-bottom: 1em;
  padding-bottom: 1em;
  margin-left: -1.5em;
}

.endnotes hr {
  border: none;
  margin-top: 1cm;
}

.endnotes ol {
  font-size: 0.85em;
  margin-top: 5px;
  margin-left: 0;
  list-style-position: outside;
}

.endnotes li {
  margin-top: 5px;
}

.endnotes p + p {
  text-indent: 0;
}

/* FOOTNOTE FORMATTING */

span.fn_p {
  display: block;
  text-indent: 1.5em;
}

span.fn_blockquote {
  display: block;
  font-size: 0.95em;
  margin-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* LIST STYLES */

ol.upper-alpha {
  list-style-type: upper-alpha;
}

/* ASIDES, PULLQUOTES & TEXTBOXES
================================== */

.aside {
  border-top: 1px solid;
  border-bottom: 1px solid;
  margin: 2em 10%;
  padding: 10px 0;
  text-indent: 0;
}

@include textboxes();

.pullquote {
  border: 1px solid;
  border-width: 1px 0;
  display: block;
  hyphens: none;
  margin: 20px auto;
  overflow: hidden;
  padding: 5px 0;
  text-align: center;
  width: 65%;
}

.pullquote-left {
  border: 1px solid;
  border-width: 1px 0;
  float: left;
  hyphens: none;
  margin: 15px 15px 15px 0;
  padding: 5px 0;
  text-align: center;
  width: 45%;
}

.pullquote-right {
  border: 1px solid #000;
  border-width: 1px 0;
  float: right;
  hyphens: none;
  margin: 15px 0 15px 15px;
  padding: 5px 0;
  text-align: center;
  width: 45%;
}

/* SPECIAL PAGES */

#copyright-page {
  text-align: left;
  hyphens: none;
}

#copyright-page p {
  text-align: left;
  hyphens: none;
}

/* TOC
 =============== */

#toc .chapter.numberless a::before {
  content: '';
  counter-increment: none;
  margin-right: 0;
  left: 0;
  width: 0;
}

#toc .part.invisible {
  display: none;
}

#toc li {
  page-break-inside: avoid;
}

#toc .part {
  page-break-after: avoid;
}

#toc .chapter .section a::before {
  content: '';
  counter-increment: none;
}

/* TOC SECTIONS */

ul.sections {
  padding-top: 0.5em !important;
}

li.section {
  font-style: italic;
  margin-top: 0.75em;
  left: -1cm;
  right: -1cm;
  position: fixed;
}

li.section a::after {
  margin-right: -1cm;
}

/* INVISIBLE PARTS
 =============== */

div.part.invisible {
  display: none;
}

/* BIBLIOGRAPHY
 =============== */

.bibliography p {
  font-size: 0.9em;
  padding-left: 14pt;
  text-indent: -14pt;
}

/* INDEX
================== */
.index .ugc {
  column-count: 2;
  column-gap: 2.5em;
  text-align: left;
}

.index .ugc div {
  margin-bottom: 4em;
}

.index .ugc p {
  font-size: 0.9em;
  padding-left: 14pt;
  text-indent: -14pt;
  text-align: left;
}

.index .ugc p.sub-entry {
  padding-left: 30px;
}

/* SPECIAL PARAGRAPHS */

p.hanging-indent {
  padding-left: 1em;
  text-indent: -1em;
}

.hanging-indent {
  padding-left: 1em;
  text-indent: -1em;
}

.tight,
p.tight {
  letter-spacing: -0.25px;
  word-spacing: -0.075em;
}

.very-tight,
p.very-tight {
  letter-spacing: -0.5px;
  word-spacing: -0.09em;
}

.loose,
p.loose {
  letter-spacing: 0.25px;
  word-spacing: 0.075em;
}

.very-loose,
p.very-loose {
  letter-spacing: 0.5px;
  word-spacing: 0.09em;
}

/* PAGE-BREAKS */
.page-break-after,
.pdf-page-break-after {
  page-break-after: always;
}

.page-break-before,
.pdf-page-break-before {
  page-break-before: always;
}

.page-break-inside,
.pdf-page-break-inside {
  page-break-inside: auto !important;
}

/* THIS DOES NOT BELONG HERE DOES IT? */
.chapter-image {
  display: block;
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  page-break-after: always;
}

/* NO HYPHENS */

.no-hyphens,
span.no-hyphens,
p.no-hyphens {
  hyphens: none;
}

/* NO WRAP */

.nowrap,
span.nowrap {
  white-space: nowrap;
}

/* DISPLAY NONE
IN VARIOUS CIRCUMSTANCES
========================= */

.display-none {
  display: none;
}

/* this ONLY works/is declared in PDF, ignored in MOBI & EPUB */

.pdf-display-none,
.not-pdf {
  display: none;
}

.web-only {
  display: none;
}

.epub-only {
  display: none;
}

/* PUBLISHER LOGO (FOR TITLE PAGE)
================================== */

img.logo {
  width: 35px;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* FOOTNOTE COUNTER RESET */

div.front-matter,
div.part,
div.chapter,
div.chapter.introduction,
div.back-matter,
div.front-matter-title-wrap,
div.chapter-title-wrap,
div.back-matter-title-wrap {
  counter-reset: footnote !important;
}

/* PAGE 1: COUNTER RESET */

div.front-matter.introduction {
  counter-reset: page 1 !important;
}

div.part.introduction {
  counter-reset: page 1 !important;
}

div.chapter.introduction {
  counter-reset: page 1 !important;
}

/* FLOATS */

.float-top {
  float: top;
}

.float-top + p {
  margin-top: 0;
  text-indent: 1.5em;
}

.float-bottom {
  float: bottom;
}

.float-bottom + p {
  margin-top: 0;
  text-indent: 1.5em;
}

.float-none {
  float: none;
}

/* SPECIAL IMAGES */

.thin-image {
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
}

.thin-image-wrap {
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
}

.wp-caption {
  page-break-inside: avoid;
}

img {
  prince-image-resolution: auto, normal;
}

/* TABLES */

@include tables();

table,
table tr,
table th {
  page-break-inside: avoid !important;
}

.no-border,
table.no-border,
table.no-border tbody,
table.no-border th,
table.no-border tr,
table.no-border td,
table.no-border tfoot,
table.no-border thead {
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
}

/* SHADING ETC */

.shaded {
  background-color: #d8d8d8;
}

/* COLUMNS */

.twocolumn {
  text-align: justify;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 0.8em;
  line-height: 1.2;
  column-count: 2;
  column-gap: 1.5em;
  column-fill: balance !important;
}

.twocolumn p,
.twocolumn p + p {
  line-height: 1.2;
  text-align: justify;
}

.threecolumn {
  text-align: left;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 0.8em;
  line-height: 1.2;
  column-count: 3;
  column-gap: 1em;
  column-fill: balance !important;
}

.threecolumn p,
.threecolumn p + p {
  text-align: left;
}

/* SIDEBAR */
div.sidebar {
  width: 35%;
  float: right;
  margin-left: 0.75em;
  margin-right: 0;
  padding: 0.75em;
  background-color: #e6e6e6;
  font-size: 0.8em;
  font-style: italic;
  text-align: left;
}

div.sidebar p,
div.sidebar p + p {
  text-align: left;
}

.clear {
  clear: both;
}

// Section Licenses
.front-matter,
.chapter,
.back-matter {
  .license-attribution > p {
    text-align: left;
    line-height: 1.4em;
    font-size: 0.8em;
    font-style: italic;
    margin-top: 2em;
    page-break-inside: avoid;
  }

  .license-attribution img {
    margin-bottom: 0.25em;
  }
}



/* FONTS
===========	*/


/* PRESSBOOKS PDF FALL-BACK STYLESHEET FOR VARIOUS SPECIAL THINGS
in development
copyright 2013-2015 Book Oven Inc. */

@import 'tables', 'textboxes';

@mixin header-style {
  color: red;
}

/* DROPCAPS - (NOTE: WRAP FIRST CHAR IN A SPAN) */

/* Override hierarchy.
See: http://www.princexml.com/doc/8.1/pdf-bookmarks */
h1,
h2,
h3,
h4,
h5,
h6 {
  prince-bookmark-level: 1;
}

div.ugc h1,
div.ugc h2,
div.ugc h3,
div.ugc h4,
div.ugc h5,
div.ugc h6 {
  bookmark-level: none;
  page-break-after: avoid;
}

/* DEFAULT PAGE GROUPINGS & associated style
note: should all page groupings be put here? probably.
===================================================== */

/*  PAGE GROUPINGS */

div.front-matter.before-title {
  page: before-title;
  prince-page-group: start;
}

div#half-title-page {
  page: halftitle-page;
  prince-page-group: start;
}

div#title-page {
  page: title-page;
  prince-page-group: start;
}

#toc {
  page: toc;
  prince-page-group: start;
}

div.front-matter {
  page: front-matter;
  prince-page-group: start;
}

div#copyright-page {
  page: copyright-page;
  prince-page-group: start;
}

div.front-matter.dedication {
  page: dedication;
  prince-page-group: start;
}

div.front-matter.epigraph {
  page: epigraph;
  prince-page-group: start;
}

div.front-matter.introduction {
  page: introduction;
  prince-page-group: start;
}

div.chapter {
  page: chapter;
  prince-page-group: start;
}

div.chapter.standard {
  page: chapter;
  prince-page-group: start;
}

div.back-matter {
  page: back-matter;
  prince-page-group: start;
}

div.part {
  page: part;
  prince-page-group: start;
}

div.blank-page {
  page: blank-page;
  prince-page-group: start;
}

/* ALWAYS BLANK PAGES */

@page before-title {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page halftitle-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page title-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page epigraph {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page dedication {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page copyright-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page toc {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page front-matter:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page introduction:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page part:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page chapter:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page back-matter:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page:blank {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

@page blank-page {
  @top {
    content: "";
  }

  @top-right {
    content: "";
  }

  @top-right-corner {
    content: "";
  }

  @top-left {
    content: "";
  }

  @top-left-corner {
    content: "";
  }

  @bottom {
    content: "";
  }

  @bottom-right {
    content: "";
  }

  @bottom-right-corner {
    content: "";
  }

  @bottom-left {
    content: "";
  }

  @bottom-left-corner {
    content: "";
  }
}

/* ALWAYS START ON RIGHT HAND PAGE */

div.front-matter.introduction {
  page-break-before: right !important;
}

#half-title-page {
  page-break-before: right;
}

#title-page {
  page-break-before: right;
}

#toc {
  page-break-before: right;
}

/* DEFAULT STRING-SETS ...
enable you to call system-wide content using:
--
content: string(arbitrary-string-set-name);

--
*/

/* book-wide strings  */

meta[name="pb-title"] {
  string-set: book-title attr('content');
}

.short-book-title {
  visibility: hidden;
}

meta[name="pb-short-title"] {
  string-set: book-title attr('content');
}

meta[name="pb-subtitle"] {
  string-set: book-subtitle attr('content');
}

meta[name="pb-authors"] {
  string-set: book-author attr('content');
}

meta[name="pb-publisher"] {
  string-set: book-publisher attr('content');
}

meta[name="pb-publisher-city"] {
  string-set: book-publisher-city attr('content');
}

/* PART & CHAPTER STRINGS */

.part-title-wrap h3.part-number {
  string-set: part-number content();
}

.part-title-wrap h1.part-title {
  string-set: part-title content();
}

h3.chapter-number {
  string-set: chapter-number content();
}

div.chapter.numberless h3.chapter-number {
  display: none;
}

/* chapter title */
div.front-matter .front-matter-title-wrap > h1:first-of-type,
div.chapter .chapter-title-wrap > h2:first-of-type,
div.back-matter .back-matter-title-wrap > h1:first-of-type {
  string-set: section-title content();
}

/* "short title override" ... this sets short chapter title content (for running header) but does not display it.
it can cause problems with spacing of things, so be careful to design around it */

div.front-matter > div.ugc h6.short-title:first-of-type,
div.chapter > div.ugc h6.short-title:first-of-type,
div.back-matter > div.ugc h6.short-title:first-of-type {
  string-set: section-title content() !important; /* override running header */
  visibility: hidden; /* display:none breaks string-set: */
  font-size: 0;
  height: 0;
}

div.ugc h2.chapter-author {
  string-set: chapter-author content();
}

div.ugc h2.chapter-subtitle {
  string-set: chapter-subtitle content();
}

/*  TITLE PAGE */

#title-page > .subtitle,
#title-page > div.logo,
#title-page > .author,
#title-page > .publisher,
#title-page > .publisher-city {
  bookmark-level: none;
}

/* GENERAL STYLES */

body,
.front-matter,
.chapter,
.back-matter,
p,
p.no-indent {
  hyphenate-before: 3;
  hyphenate-after: 3;
  hyphenate-lines: 2;
  widows: 2;
  orphans: 1;
}

p.no-indent {
  text-indent: 0;
  margin-top: 1em;
}

/* SEPARATORS */

hr {
  margin: 10px auto;
  text-align: center;
  width: 20%;
}

hr.break-symbols {
  border: none;
  font-size: 1.1em;
  margin-bottom: 20px;
}

hr.break-symbols::after {
  display: block;
  content: "\066D";
  font-size: 18pt;
  text-align: center;
}

div.ugc h3.section-break,
.section-break {
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
}

div.ugc h3.section-break-space,
.section-break-space {
  visibility: hidden;
  margin-top: 1em;
  line-height: 1em;
  margin-bottom: 0;
}

div.ugc h3.section-break-page,
.section-break-page {
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
  page-break-after: always;
}

div.ugc h3.section-break-page-invisible,
.section-break-page-invisible {
  visibility: hidden;
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
  page-break-after: always;
}

div.blank-page {
  page-break-before: always;
  visibility: hidden;
  font-size: 0;
}

/* ENDNOTES */
sup,
sup.endnote,
sup.footnote {
  font-size: 0.8em;
  line-height: 0.5em;
}

.endnotes {
  margin-left: 1.5em;
}

.endnotes h3 {
  margin-bottom: 1em;
  padding-bottom: 1em;
  margin-left: -1.5em;
}

.endnotes hr {
  border: none;
  margin-top: 1cm;
}

.endnotes ol {
  font-size: 0.85em;
  margin-top: 5px;
  margin-left: 0;
  list-style-position: outside;
}

.endnotes li {
  margin-top: 5px;
}

.endnotes p + p {
  text-indent: 0;
}

/* FOOTNOTE FORMATTING */

span.fn_p {
  display: block;
  text-indent: 1.5em;
}

span.fn_blockquote {
  display: block;
  font-size: 0.95em;
  margin-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* LIST STYLES */

ol.upper-alpha {
  list-style-type: upper-alpha;
}

/* ASIDES, PULLQUOTES & TEXTBOXES
================================== */

.aside {
  border-top: 1px solid;
  border-bottom: 1px solid;
  margin: 2em 10%;
  padding: 10px 0;
  text-indent: 0;
}

@include textboxes();

.pullquote {
  border: 1px solid;
  border-width: 1px 0;
  display: block;
  hyphens: none;
  margin: 20px auto;
  overflow: hidden;
  padding: 5px 0;
  text-align: center;
  width: 65%;
}

.pullquote-left {
  border: 1px solid;
  border-width: 1px 0;
  float: left;
  hyphens: none;
  margin: 15px 15px 15px 0;
  padding: 5px 0;
  text-align: center;
  width: 45%;
}

.pullquote-right {
  border: 1px solid #000;
  border-width: 1px 0;
  float: right;
  hyphens: none;
  margin: 15px 0 15px 15px;
  padding: 5px 0;
  text-align: center;
  width: 45%;
}

/* SPECIAL PAGES */

#copyright-page {
  text-align: left;
  hyphens: none;
}

#copyright-page p {
  text-align: left;
  hyphens: none;
}

/* TOC
 =============== */

#toc .chapter.numberless a::before {
  content: '';
  counter-increment: none;
  margin-right: 0;
  left: 0;
  width: 0;
}

#toc .part.invisible {
  display: none;
}

#toc li {
  page-break-inside: avoid;
}

#toc .part {
  page-break-after: avoid;
}

#toc .chapter .section a::before {
  content: '';
  counter-increment: none;
}

/* TOC SECTIONS */

ul.sections {
  padding-top: 0.5em !important;
}

li.section {
  font-style: italic;
  margin-top: 0.75em;
  left: -1cm;
  right: -1cm;
  position: fixed;
}

li.section a::after {
  margin-right: -1cm;
}

/* INVISIBLE PARTS
 =============== */

div.part.invisible {
  display: none;
}

/* BIBLIOGRAPHY
 =============== */

.bibliography p {
  font-size: 0.9em;
  padding-left: 14pt;
  text-indent: -14pt;
}

/* INDEX
================== */
.index .ugc {
  column-count: 2;
  column-gap: 2.5em;
  text-align: left;
}

.index .ugc div {
  margin-bottom: 4em;
}

.index .ugc p {
  font-size: 0.9em;
  padding-left: 14pt;
  text-indent: -14pt;
  text-align: left;
}

.index .ugc p.sub-entry {
  padding-left: 30px;
}

/* SPECIAL PARAGRAPHS */

p.hanging-indent {
  padding-left: 1em;
  text-indent: -1em;
}

.hanging-indent {
  padding-left: 1em;
  text-indent: -1em;
}

.tight,
p.tight {
  letter-spacing: -0.25px;
  word-spacing: -0.075em;
}

.very-tight,
p.very-tight {
  letter-spacing: -0.5px;
  word-spacing: -0.09em;
}

.loose,
p.loose {
  letter-spacing: 0.25px;
  word-spacing: 0.075em;
}

.very-loose,
p.very-loose {
  letter-spacing: 0.5px;
  word-spacing: 0.09em;
}

/* PAGE-BREAKS */
.page-break-after,
.pdf-page-break-after {
  page-break-after: always;
}

.page-break-before,
.pdf-page-break-before {
  page-break-before: always;
}

.page-break-inside,
.pdf-page-break-inside {
  page-break-inside: auto !important;
}

/* THIS DOES NOT BELONG HERE DOES IT? */
.chapter-image {
  display: block;
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  page-break-after: always;
}

/* NO HYPHENS */

.no-hyphens,
span.no-hyphens,
p.no-hyphens {
  hyphens: none;
}

/* NO WRAP */

.nowrap,
span.nowrap {
  white-space: nowrap;
}

/* DISPLAY NONE
IN VARIOUS CIRCUMSTANCES
========================= */

.display-none {
  display: none;
}

/* this ONLY works/is declared in PDF, ignored in MOBI & EPUB */

.pdf-display-none,
.not-pdf {
  display: none;
}

.web-only {
  display: none;
}

.epub-only {
  display: none;
}

/* PUBLISHER LOGO (FOR TITLE PAGE)
================================== */

img.logo {
  width: 35px;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* FOOTNOTE COUNTER RESET */

div.front-matter,
div.part,
div.chapter,
div.chapter.introduction,
div.back-matter,
div.front-matter-title-wrap,
div.chapter-title-wrap,
div.back-matter-title-wrap {
  counter-reset: footnote !important;
}

/* PAGE 1: COUNTER RESET */

div.front-matter.introduction {
  counter-reset: page 1 !important;
}

div.part.introduction {
  counter-reset: page 1 !important;
}

div.chapter.introduction {
  counter-reset: page 1 !important;
}

/* FLOATS */

.float-top {
  float: top;
}

.float-top + p {
  margin-top: 0;
  text-indent: 1.5em;
}

.float-bottom {
  float: bottom;
}

.float-bottom + p {
  margin-top: 0;
  text-indent: 1.5em;
}

.float-none {
  float: none;
}

/* SPECIAL IMAGES */

.thin-image {
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
}

.thin-image-wrap {
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
}

.wp-caption {
  page-break-inside: avoid;
}

img {
  prince-image-resolution: auto, normal;
}

/* TABLES */

@include tables();

table,
table tr,
table th {
  page-break-inside: avoid !important;
}

.no-border,
table.no-border,
table.no-border tbody,
table.no-border th,
table.no-border tr,
table.no-border td,
table.no-border tfoot,
table.no-border thead {
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
}

/* SHADING ETC */

.shaded {
  background-color: #d8d8d8;
}

/* COLUMNS */

.twocolumn {
  text-align: justify;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 0.8em;
  line-height: 1.2;
  column-count: 2;
  column-gap: 1.5em;
  column-fill: balance !important;
}

.twocolumn p,
.twocolumn p + p {
  line-height: 1.2;
  text-align: justify;
}

.threecolumn {
  text-align: left;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 0.8em;
  line-height: 1.2;
  column-count: 3;
  column-gap: 1em;
  column-fill: balance !important;
}

.threecolumn p,
.threecolumn p + p {
  text-align: left;
}

/* SIDEBAR */
div.sidebar {
  width: 35%;
  float: right;
  margin-left: 0.75em;
  margin-right: 0;
  padding: 0.75em;
  background-color: #e6e6e6;
  font-size: 0.8em;
  font-style: italic;
  text-align: left;
}

div.sidebar p,
div.sidebar p + p {
  text-align: left;
}

.clear {
  clear: both;
}

// Section Licenses
.front-matter,
.chapter,
.back-matter {
  .license-attribution > p {
    text-align: left;
    line-height: 1.4em;
    font-size: 0.8em;
    font-style: italic;
    margin-top: 2em;
    page-break-inside: avoid;
  }

  .license-attribution img {
    margin-bottom: 0.25em;
  }
}



@font-face {
  font-family: "Crimson";
  font-weight: bold;
  font-style: normal;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/Crimson-Bold.otf) format("opentype");
}
@font-face {
  font-family: "Crimson";
  font-weight: bold;
  font-style: italic;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/Crimson-BoldItalic.otf) format("opentype");
}
@font-face {
  font-family: "Crimson";
  font-weight: normal;
  font-style: italic;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/Crimson-Italic.otf) format("opentype");
}
@font-face {
  font-family: "Crimson";
  font-weight: normal;
  font-style: normal;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/Crimson-Roman.otf) format("opentype");
}
@font-face {
  font-family: "Crimson";
  font-weight: 600;
  font-style: normal;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/Crimson-Semibold.otf) format("opentype");
}
@font-face {
  font-family: "Crimson";
  font-weight: 600;
  font-style: italic;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/Crimson-SemiboldItalic.otf) format("opentype");
}

@font-face {
  font-family: "Roboto Condensed";
  font-weight: normal;
  font-style: normal;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/RobotoCondensed-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto Condensed";
  font-weight: normal;
  font-style: italic;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/RobotoCondensed-Italic.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto Condensed";
  font-weight: 300;
  font-style: normal;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/RobotoCondensed-Light.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto Condensed";
  font-weight: 300;
  font-style: italic;
  src: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/fonts/RobotoCondensed-LightItalic.ttf) format("truetype");
}

/* Override hierarchy. See: http://www.princexml.com/doc/8.1/pdf-bookmarks */
h1, h2, h3, h4, h5, h6 {
	prince-bookmark-level: 1;
}

/* PAGE
========================== */
@page {
  size:7in 10in;
  margin: 3cm;
  orphans:1; 
  widows:2;  
}

@page :left {
  margin-left: 1.5cm;
}
 
@page :right {
  margin-right: 1.5cm;
}

/* TOC */
@page toc {
  @bottom {
  	font: 6.5pt "Roboto Condensed", sans-serif;	
	content: counter(page, lower-roman);
	vertical-align: center;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 6.5pt;
  }
}
@page toc:blank {
  @bottom {
	content: "";
  }
}

/* Front-Matter */
@page front-matter {
	font: 6.5pt "Roboto Condensed", sans-serif;	
	text-transform: uppercase;
}
@page front-matter:left
{
  @top-left {
	content: counter(page, lower-roman) "\A0\A0\2022\A0\A0" string(book-title);
	vertical-align: left;
  }
}
@page front-matter:right {
  @top-right {
	content: string(section-title, last) "\A0\A0\2022\A0\A0" counter(page, lower-roman);	
	vertical-align: right;
  }
}
@page front-matter:first {
  @top-right {
	content: "";
  }
   @bottom {
	content: counter(page, lower-roman);
	vertical-align: center;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 6.5pt;
  }
}
@page front-matter:blank {
    @top-left {
		content: "";
    }
	@bottom {
		content: "";
	}
}

/* Dedication, Epigraph & Before Title */
@page dedication,
	  epigraph,
	  before-title {
  @bottom {
	content:"";
  }
}
@page dedication:blank {
  @bottom {
	content:"";
  }
}

/* Introduction */
@page introduction {
	font: 6.5pt "Roboto Condensed", sans-serif;	
	text-transform: uppercase;
}

@page introduction:left {
  @top-left {
	content: counter(page) "\A0\A0\2022\A0\A0" string(book-title);	
	vertical-align: left;	
  }
}
@page introduction:right {
  @top-right {
	content: string(section-title, last) "\A0\A0\2022\A0\A0" counter(page);	
	vertical-align: right;
  }
}

@page introduction:first {
  @top-left {
	content: "";
  }
  @top-right {
	content: "";
  }
  @bottom {
	content: counter(page);
	vertical-align: center;
  }
  
}
@page introduction:blank {

  @top-left {
	content: "";
  }

}

/* Part */
@page part {
  
}

/* Chapter */
@page chapter {
	font: 6.5pt "Roboto Condensed", sans-serif;	
	text-transform: uppercase;
}
@page chapter:left {
  @top-left {
	content: counter(page) string(section) "\A0\A0\2022\A0\A0" string(part);
	counter-increment: part;	
	vertical-align: left;
  }
}
@page chapter:right
{
  @top-right
  {
	content: string(section-title, last) "\A0\A0\2022\A0\A0" counter(page);	
	vertical-align: right;
  }
}
@page chapter:right:after{
	@top-right {
	content: counter(page);
  }
}
@page chapter:first {
  @top-left {
	content: "";
  }
  @top-right {
	content: "";
  }
  @bottom {
	content: counter(page);	
	vertical-align: center;
	font-family: "Roboto Condensed", sans-serif;
  }
}
@page chapter:blank {

  @top-left {
	content: "";
  }
}

/* Footnotes */
@page {
    @footnotes {
		padding-top: 1em;
	}
}
@page back-matter {
	font: 6.5pt "Roboto Condensed", sans-serif;	
	text-transform: uppercase;
}
/* Back-matter */
@page back-matter:left {
  @top-left {
	content: counter(page) "\A0\A0\2022\A0\A0" string(book-title);	
	vertical-align: left;
  }
}
@page back-matter:right {
  @top-right
  {
	content: string(section-title, last) "\A0\A0\2022\A0\A0" counter(page);
	vertical-align: right;
  }
}
@page back-matter:first {
  @top-left {
	content: "";
  }
  @top-right {
	content: "";
  }
  @bottom
  {
	content: counter(page);
	vertical-align: center;
	font-family: "Roboto Condensed", sans-serif;
  }
}
@page back-matter:blank {
  @top-left {
	content: "";
  }
}
#toc {
	page: toc;
	prince-page-group: start;
}
div#title-page {
	page: title-page;
	prince-page-group: start;
}
div.front-matter {
	page: front-matter;
	prince-page-group: start;
}
div.front-matter.dedication {
	page: dedication;
	prince-page-group: start;
}
div.front-matter.epigraph {
	page: epigraph;
	prince-page-group: start;
}
div.front-matter.before-title {
	page: before-title;
	prince-page-group: start;
}
div.front-matter.introduction {
	page: introduction;
	prince-page-group: start;
}
div.introduction {
	counter-reset: page 1;
}
div.chapter {
	page: chapter;
	prince-page-group: start;
}
div.back-matter {
	page: back-matter;
	prince-page-group: start;
}
div.part {
	margin-top: 1.5cm;	
	padding-bottom: 0.25em;
	padding: part;	
}

div.part.invisible {
	display: none;
}
 
body {
	font: 10.5pt/1.4 "Crimson","Times New Roman", serif;
	prince-hyphenate-before: 3;
}
a {
	color: blue;
	text-decoration: none;
}
p {
	line-height: 1.2em;
	text-align: justify;
	margin-bottom: 0;
	hyphens: auto;
	prince-hyphenate-lines: 2;
}
p + p,
.indent {
	text-indent: 1em;
	margin-top: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Roboto Condensed", sans-serif;
	line-height: 1.4em;
	font-weight: normal;
}
p + ul {
	margin-top: 10px;
}
hr {
	margin: 10px auto;
	text-align: center;
	width: 20%;
}
table {
	border: 1px solid #000;
	border-width: 1px 0;
}
dt {
	font-weight: bold;
}
dt, dd {
	display: inline;
	margin: 0;
}
dd:after {
	content: "\A";
	white-space: pre;
}
ul ul,
ul ul ul {
	list-style-type: none;
}
ul li li {
	list-style-image: url(https://certificates.creativecommons.org/cccertedu/wp-content/themes/bombadil/var/www/wordpress/wp-content/plugins/candela-utility/themes/bombadil/export/prince/images/em-dash.png);

}
ul li li li {
	list-style-image: none;
}
ul li li li::before {
	content: "\002A";
	font-size: 0.5em;
	margin-right: 5px;
}
ol { 
    list-style-type: none;
     counter-reset: level1;
}
ol li::before {
	content: counter(level1) ". ";
	counter-increment: level1;
}
ol ol {
	list-style-type: none;
    counter-reset: level2;
}   
ol li li::before {
	content: counter(level1) "." counter(level2) " ";
	counter-increment: level2;
}
ol ol ol {
	list-style-type: none;
    counter-reset: level3;
}
ol li li li::before {
	content: counter(level1) ". " counter(level2) ". " counter(level3) " ";
	counter-increment: level3;
}

cite {
	font-weight: normal;
}

div.blockquote,
blockquote {
	font-size: 0.9em;
}


/* USER GENERATED STYLES
========================== */
.nonindent,
.no-indent {
	text-indent: 0;
}
hr.break-symbols {
	border: none;
	font-size: 1.1em;
    margin-bottom: 20px;
}
hr.break-symbols::after {
	display: block;
	content: "\066D";
	font-size: 18pt;
	text-align: center;
}
p.bl_nonindent {
	margin: 2em 10% 0;
	text-indent: 0;
}
p.bl_indent {
	margin: 0 10%;
	text-indent: 1em;
}
.hanging-indent {
	padding-left: 1em;
    text-indent: -1em;
}


/* HALFTITLE PAGE
==================== */
body > h1.title:first-of-type {
    string-set: book-title content();
	page-break-before: right;
    page-break-after: always;
    bookmark-level: none;  
    font-size: 12pt;
    font-style: italic;
    margin-top: 3cm;
    text-align: left;
}

/* TITLE PAGE
================ */
#title-page { 
	font-weight: normal;
    page-break-before: right;
    height: 100%;
	text-align: left;
}

#title-page > .subtitle,
#title-page > div.logo,
#title-page > .author,
#title-page > .publisher,
#title-page > .publisher-city {
	bookmark-level: none;
}	
#title-page > .title {
	border-bottom: 1px solid #000;
	font-size: 18pt;
	font-weight: normal;
	margin-top: 3cm;
	margin-bottom: 0;
	padding-bottom: 5px;
}

#title-page > .subtitle {
	font-size: 12pt;
	font-style: italic;
	margin-top: 0;
	padding-top: 5px;	
}
#title-page > .author,
#title-page > .publisher,
#title-page > .publisher-city {
	font-family: "Crimson","Times New Roman", serif;
	font-weight: normal;
}	
#title-page > .author {
	font-size: 12pt;
	font-weight: normal;
	margin-top: 3cm;
}

#title-page > .publisher {
	float: bottom;
	font-size: 12pt;
    font-style: italic;
    margin-bottom: 0;
    padding-bottom: 80px;
}

#title-page > .publisher-city {
	float: bottom;
 	font-size: 10pt;
    font-style: italic;
    margin-top: 0;
    position: relative;
    top: -80px;
}

/*
	COPYRIGHT PAGE
====================== */
#copyright-page {
    page-break-before: always;
}
#copyright-page p {
	font-size: 9pt;
    text-indent: 0;
    margin-bottom: 0.5em;
}
#copyright-page > .ugc {
	margin-top: 6cm;
}


/*   DEDICATION
==================== */
.dedication p {
	font-style: italic;
	text-align: center;
}

 /* TABLE OF CONTENTS
======================= */
#toc {
	page-break-before: right;
	counter-reset: part; 
	font-size: 9pt;
}
#toc h1 {
	text-align: left;
	font-weight: bold;
}
#toc a {
	border: none;
	color: inherit;	
}
#toc ul, #toc li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#toc ul {
	counter-reset: chapter;
	line-height: 1.2em;
}
#toc li {
	position: relative;
}
#toc .front-matter,
#toc .back-matter {
	margin-bottom: 3px;
}
#toc a::after {
	content: leader(' ') target-counter(attr(href), page);
	font-style: normal; 
	position: absolute;
	top: 0;
	right: 0;
	text-decoration: none;
}
#toc .front-matter a::after {
	content: leader(' ') target-counter(attr(href), page, lower-roman);
}
#toc .introduction a::after {
	content: leader(' ') target-counter(attr(href), page);
}
#toc .part {
	margin: .5cm 0 0;
	font-weight: 600;
}
#toc .part.invisible {
	display: none;
}
#toc .part a::before {
	content: counter(part, upper-roman)". ";
	counter-increment: part; 
	margin-right: 1em;
}
#toc .part,
#toc .chapter {
	margin-left: 2em;
}
#toc .chapter a {
	padding-left: 25px;
}
#toc .chapter {
	margin-top: .2cm;
}
#toc .chapter a::before {
	content: counter(chapter) ". ";
	counter-increment: chapter; 
	margin-right: 7pt;
	position: absolute;
	left: 0;
	top: 0;	
}
#toc .chapter .section a::before {
	content:'';
	counter-increment: none;
}
#toc .chapter.numberless a::before {
	content:'' ;
	counter-increment: none;
	margin-right: 0;	
}
#toc .part a::after {
	content:'' ;
}
#toc span.toc-chapter-title {
	display: inline-block;
	width: 80%;	
}
#toc .chapter + .back-matter {
	margin-top: 1.3em;
}
#toc span.chapter-author,
#toc span.chapter-license,
#toc span.chapter-subtitle {
	display: inline-block;
	font-style: italic;
    margin-left: 2em;
    text-indent: 0;
	width: 75%;
}

#toc span.chapter-author,
#toc span.chapter-license,
#toc span.chapter-subtitle {
	margin-bottom: 5px;
}
#toc span.chapter-subtitle + 
span.chapter-author, 
span.chapter-author +
span.chapter-license, 
#toc span.chapter-subtitle + 
span.chapter-license{
	margin-bottom: 5px;
	position: relative;
	top: -5px;
}
/*end toc*/



/*  TITLES for FONT-MATTER, BACK_MATTER, CHAPTER & PART  
========================================================= */
.part-title-wrap h1 {
	string-set: part content();
}
.front-matter-title-wrap > h1:first-of-type, 
div.chapter > h2:first-of-type, 
div.back-matter > h1:first-of-type {
	string-set: section-title content();
	counter-reset: footnote;
}
.introduction .front-matter-title-wrap,
.preface .front-matter-title-wrap,
.chapter-title-wrap,
.part-title-wrap,
.back-matter-title-wrap {
	font-weight: normal;	
	margin-bottom: 1.5cm;		
	text-align: left;	
}
.introduction .front-matter-title-wrap {
	
}
.front-matter-title-wrap h1.front-matter-title,
#toc h1,
.chapter-title-wrap h2.chapter-title,
.back-matter-title-wrap h1.back-matter-title {
	font-size: 13pt;
	font-weight: normal;
	margin-top: 0.5cm;
}

.part-title-wrap {
	font-family: "Crimson","Times New Roman", serif;
}
.part-title-wrap h3.part-number {
	border-bottom: 1px solid #000;
	display: inline-block;
	font-weight: normal;
	font-family: "Crimson","Times New Roman", serif;	
	padding: 0 2em 0 1em;
}
.part-title-wrap h1.part-title {
	font: italic bold 14pt "Crimson","Times New Roman", serif;
}
h3.chapter-number {
	border-bottom: 0.5px solid #000;
	font-weight: lighter;
	display: inline-block;
	padding: 0 2em 0 2em;
}
div.chapter.numberless h3.chapter-number {
	display: none;
}
h3.front-matter-number, 
h3.part-number, 
h3.chapter-number, 
h3.back-matter-number {
	bookmark-level: none;
}
div.part, 
div.front-matter, 
div.back-matter, 
div.chapter {
	page-break-before: right;
}
.display-none, 
h3.front-matter-number, 
h3.front-matter-number.dedication, 
h3.back-matter-number {
	display: none;
}

div.front-matter .front-matter-title-wrap > h1:first-of-type, 
div.chapter .chapter-title-wrap > h2:first-of-type,
div.back-matter .back-matter-title-wrap > h1:first-of-type  {
	string-set: section-title content();
	counter-reset: footnote;
	margin-bottom: 20pt;
}
div.front-matter > div.ugc h6.short-title:first-of-type,
div.chapter > div.ugc h6.short-title:first-of-type,
div.back-matter > div.ugc h6.short-title:first-of-type {
	string-set: section-title content() !important; /* override running header */
	visibility: hidden; /* display:none breaks string-set: */
	font-size: 0;
	height: 0;
}


/* SUBTITLES, CHAPTER AUTHOR & APHORIMS
======================================== */
div.ugc h2.chapter-subtitle {
	font-size: 10pt;
	font-style: italic;
	font-weight: normal;
}
div.ugc h2.chapter-author {
	font: italic 9pt "Crimson","Times New Roman", serif;
}
div.ugc h2.chapter-subtitle,
div.ugc h2.chapter-author {
    margin: -1.3cm 0 3em;
    padding-top: 0.2em;	    
}
div.ugc h2.chapter-subtitle {
	font-weight: lighter;
}	
h2.chapter-subtitle + h2.chapter-author {
	margin-top: -0.65cm;
}
.aphorism {
	font-size: 1em;
    font-style: italic;
    margin: -0.65cm auto 4em;
    width: 70%;
}
.aphorism cite {
    display: block;
   	font-size: 0.875em; 
    font-style: normal;
    font-variant: small-caps;
    text-align: right;
}
.aphorism cite::before {
	content: "–";
}


/*   BODY TITLES
==================== */
div.ugc h1, div.ugc h2, div.ugc h3, div.ugc h4, div.ugc h5, div.ugc h6 {
	bookmark-level: none;
	margin-bottom: 15px;
	page-break-after: avoid;
}
div.ugc h1 {
	font-size: 14.35pt;
}
div.ugc h2 {
	font-size: 12pt;
}
div.ugc h3 {
	font-size: 10pt;
}
div.ugc h4  {
	font-size: 9pt;
}
div.ugc h5 {
	font-size: 8pt;
}
div.ugc h1 + p,
div.ugc h2 + p,
div.ugc h3 + p,
div.ugc h4 + p,
div.ugc h5 + p {
	margin-top: 0;
}

/* FOOTNOTES
* @see: http://www.princexml.com/doc/8.1/footnotes/
================== */

.footnote {
	font-size: 0.75em;
	display: none;
	display: footnote;
	display: prince-footnote;
	position: footnote;
	counter-increment: footnote;
	footnote-style-position: inside;
	margin-left: 0;
	line-height: 1.4;
	text-indent: 1em;
	text-align: left;
}
sup.endnote {
	line-height: 1em;
    vertical-align: top;
}

/* FOOTNOTES & ENDNOTES
======================== */
.footnotes {
	display: block;	
    font-size: 0.875em;
    margin: 20px 10px 40px 40px;
}
.footnotes-wrap {
	list-style: none;
	display: block;
	margin: 10px 10px 10px 40px;
}
.footnotes p + p {
	text-indent: 0;
} 
.footnotes .footnotes-wrap p {
	text-indent: -1em;
}
.footnotes p a {
	display: block;
	text-decoration: none;
}
.endnotes hr {
	border: none;
	margin-top: 1cm;
}
.endnotes h3 {
	margin-bottom: 0;
}
.endnotes ol {
	font-size: 8pt;

	margin-top: 5px;
	margin-left: 0;
}
.endnotes li {
	text-indent: 22pt;
}

.endnotes p + p {
	text-indent: 0;
}

/* ASIDES, PULLQUOTES & TEXTBOXES
================================== */
.aside {
	font-style: italic;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	margin: 2em 10%;
	padding: 10px 0;
	text-indent: 0;
}
.textbox {
	border: 1px solid #000;
	margin: 10px 0;
	padding: 10px;
	float: prince-top-if-necessary;
}
.textbox.shaded {
	background-color: #eee;
}
.textbox p {
	margin-top: 0;
}
.textbox-caption {
	display: block;
	font-size: 0.9em;
	font-weight: bold;
	margin: 0;
}
.pullquote {
	border: 1px solid #000;
	border-width: 1px 0;
	display: block;
	hyphens: none;
	margin: 20px auto;
	overflow: hidden;
	padding: 5px 0;
	text-align: center;
	width: 65%;
}
.pullquote-left {
	border: 1px solid #000;
	border-width: 1px 0;
	float: left;
	hyphens: none;	
	margin: 15px 15px 15px 0;
	padding: 5px 0;
	text-align: center;
	width: 45%;
}
.pullquote-right {
	border: 1px solid #000;
	border-width: 1px 0;
	float: right;
	hyphens: none;	
	margin: 15px 0 15px 15px;
	padding: 5px 0;
	text-align: center;
	width: 45%;
}


/* IMAGES
================== */
img {
	height: auto;
	max-width: 100%;
}
.alignleft {
	float: left;
	margin: 1em 1em 1em 0;
}
.alignright {
	float: right;
	margin: 1em 0 1em 1em;
}
.aligncenter {
	display: block;
	margin: 1em auto;
	text-align: center;
}
div.aligncenter {
	display: block;
	margin: 1em auto;
	text-align: center;
}
img.aligncenter {
	display: block;
	margin: 1em auto;
	text-align: center;
}
.wp-caption {
	float: prince-top-if-necessary;
	height: auto;
	max-width: 100%;
	margin: 1em 0;	
}
.wp-caption-text {
	font-size: 0.875em;
	font-style: italic;
	margin-top: 5px;
}

/* BIBLIOGRAPHY
 =============== */

.bibliography p  {
	font-size: 9pt;
	padding-left: 14pt;
	text-indent: -14pt;
}

/* INDEX 
================== */
.index .ugc  {
	column-count: 2;
	column-gap: 2.5em;
	text-align: left;

}
.index .ugc  div {
	margin-bottom: 4em;
}
.index .ugc  p {
    font-size: 9pt;
	padding-left: 14pt;
	text-indent: -14pt;
	text-align: left;
}
.index .ugc  p.sub-entry {
	padding-left:30px;
}

div.license-attribution > p:first-of-type {
	text-align:center;
	font-size: 0.75em;
}

/*************************
	Textbook styles 
**************************/

.bcc-box{
/*	max-width: 100%;*/
	padding: 1% 3%;
	margin: 15px 0 15px; 
}

.bcc-box h3:first-child{
	text-align: center;
	margin: -1% -3% 15px;
	color: #ffffff;
	padding: 15px 0 15px;
	
}

.bcc-highlight{
	background-color: #f7f7f9;
}

.bcc-box.bcc-highlight h3{
	background-color: #111111;
}

.bcc-success{
	background-color: #eaf5ea;
}

.bcc-box.bcc-success h3{
	background-color: #3a7a33;
}

.bcc-info{
	background-color: #e3eff6;
}

.bcc-box.bcc-info h3{
	background-color: #0b6396;
}

.bcc-warning {
	background-color: #fcf8e3;
}

.bcc-box.bcc-warning h3{
	background-color: #c09853;
}

iframe{
	display: none;
}

object{
	display: none;
}
/* Theme Options */
@page { size:  ; } 
p { hyphens: manual; } 
p + p { text-indent: 1em; margin-top: 0em; } 
#toc { display: none; } 
p { widows: 2; }
p { orphans: 1; }
