/**
* default mpdf css stylesheet, can be configured on a per theme basis
*/

/* FONTS
===========	*/
body {
	font:  10pt/1.1  "DejaVuSerif";
	margin-top: 22mm;
	margin-bottom: 50mm;
}

a {
	border: none;
	color: blue;
	text-decoration: none;
}

p {
	line-height: 1.2em;
	margin-bottom: 0;
}
.indent {
	text-indent: 2em;
	margin-top: 0;
}
.nonindent,
.no-indent {
	text-indent: 0;
}

p + ul {
	margin-top: 10px;
}

h1, h2, h3, h4, h5, h6 {
	text-align: center;
}
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: 1.8em;
	text-align: center;
}

div.chapter table,div.front-matter table,div.back-matter table,div.part table {
	border-collapse: collapse;
	width:100%;
}
div.chapter table tr td, div.front-matter table tr td,div.back-matter table tr td, div.part table tr td,table tr th{
	border: 1px solid #ddd;
	padding: 8px;
}

dt {
	float: left;
	font-weight: bold;
	margin-right: 5px;
	margin-bottom: 0;
}
dd {
	margin-bottom: 0;
}
ul ul,
ul ul ul {
	list-style-type: disc;
}
ul li li {
	list-style-type: circle;

}
ul li li li {
	list-style-type: square;
}
ul li li li::before {
	font-size: 0.5em;
	margin-right: 5px;
}
cite {
	font-weight: normal;
}
.hanging-indent {
	padding-left: 1em;
	text-indent: -1em;
}
/* HALF TITLE PAGE
================== */
#half-title-page h1 {
	font-size: 1.5em;}
/* TITLE PAGE
================ */
#title-page {
	font-weight: normal;
	height: 100%;
}
#title-page h1, #title-page h2, #title-page h3, #title-page h4, #title-page h5,#title-page h6, #title-page p {
	text-align:center;
}

#title-page .title {
	border-bottom: 1px solid #000;
	font-size: 2.5em;
	margin-top: 3cm;
	margin-bottom: 0;
	padding-bottom: 5px;
}

#title-page  .subtitle {
	font-size: 2em;
	font-style: italic;
	margin-top: 0;
	padding-top: 5px;
}

#title-page .author,
#title-page .contributing-authors,
#title-page .publisher,
#title-page .publisher-city {
	font-weight: normal;
}

#title-page .author {
	font-size: 1.5em;
	margin-top: 3cm;
}

#title-page .contributing-authors{
	font-weight: normal;
	margin-top: 1cm;
}

#title-page .publisher {
	font-size: 1.25em;
	font-style: italic;
	margin-bottom: 0;
	margin-top: 3cm;
}

#title-page .publisher-city {
	font-size: 1em;
	font-style: italic;
	margin-top: 0;
}

/*	COPYRIGHT PAGE
====================== */

#copyright-page p {
	font-size: 0.9em;
	text-indent: 0;
	margin-bottom: 0.5em;
	text-align: center;
}
#copyright-page .custom-copyright {
	margin-top: 3cm;
}
#copyright-page .copyright-license {
	margin-top: 3cm;
}

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

h1,
h2,
h3 {
	font-weight: normal;
}
h1 {
	font-size: 1.3em;
}
h2,
h3 {
	font-size: 1.1em;
}
h3,
h4,
h5 {
	text-align: left;
}
h4 {
	font-size: 0.875em;
	font-weight: normal;
}
h5 {
	font-size: 0.75em;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p {
	margin-top: 0;
}

div.front-matter .entry-title,
div.chapter .entry-title,
div.back-matter .entry-title,
div.part .entry-title,
h1.toc {
	margin-bottom: 2.5cm;
	font-family: "Ostrich Sans", sans-serif;
	font-weight: bold;
	font-style: normal;
	font-size: 50px;
	line-height: 60px;
	text-align: center;
}

/* MOAR TRADITIONAL CSS
================== */

.display-none, h3.front-matter-number, h3.back-matter-number {
	display: none;
}

h3.part-number, h3.chapter-number {
	padding-bottom: 1em;
	text-transform: uppercase;
}

h3.part-number::before {
	content: "Part ";
}
h3.chapter-number {
	font-weight: lighter;
	display: inline-block;
	padding: 0 2em 0 2em;
	text-align: center;
}
div.chapter.numberless h3.chapter-number {
	display: none;
}
.aphorism {
	font-size: 1em;
	font-style: italic;
	margin: 0 auto 4em;
	width: 50%;
}
.aphorism cite {
	display: block;
	font-size: 0.875em;
	font-style: normal;
	font-variant: small-caps;
	text-align: right;
}
.aphorism cite::before {
	content: "â€“";
}

.show-answer {
font-weight: bold;
margin-top: 10px !important;
}

.textbox h3 {

margin-top: 5px !important;
}

.textbox div {

margin-top: 5px !important;

}

.textbox p {

margin-top: 5px !important;

}

.key-takeaways{
background-color: #eaf5ea;
}

.learning-objectives{
background-color: #f7f7f9;
}

.exercises{
background-color: #e3eff6;
}

.examples{
background-color: #f3e1e3;
}

.tryit{
background-color: #f7eefc;
}

/* CUT AND PASTE FROM EPUB FORTRESS.CSS
================== */

.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;
}
.textbox.shaded {
	background-color: #eee;
}
.textbox p {
	margin-top: 0;
}
.textbox-caption {
	display: block;
	font-size: 0.9em;
	font-weight: bold;
	margin: 0;
}

/*h2.chapter-subtitle {
	font-weight: normal;
	font-style: italic;
}
h2.chapter-subtitle,
h2.chapter-author {
	font-size: 1.4em;
	font-variant: normal;
	margin: -1.4em 0 3em;
}
h2.chapter-subtitle {
	margin-bottom: 2.8em;
	padding-top: 0.5em;
}
h2.chapter-author {
	font-size: 0.9em;
	font-style: normal;
	font-weight: 600;
}*/
.pullquote {
	border: 1px solid #000;
	border-width: 1px 0;
	margin: 20px auto;
	padding: 5px 0;
	text-align: center;
	width: 65%;
}
.pullquote-left {
	border: 1px solid #000;
	border-width: 1px 0;
	float: left;
	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;
	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 {
	height: auto;
	max-width: 100%;
	margin: 1em 0;
}
.wp-caption-text {
	font-size: 0.875em;
	font-style: italic;
	margin-top: 5px;
}

/* BLOCKQUOTES
 =============== */
div.blockquote {
	border-width: 0 4px;
	padding: 0 15%;
	margin-bottom: 2em;
}
p.bl_nonindent {
	margin: 2em 10% 0;
	text-indent: 0;
}
p.bl_indent {
	margin: 0 10%;
	text-indent: 1em;
}

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

.bibliography p  {
	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%;*/
	border: 2px solid #ddd;
	padding: 1% 3%;
	margin: 15px 0 15px;
}

.bcc-box h3{
	text-align: center;
}

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

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

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

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

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

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

.bcc-box.bcc-info h3{
	background-color: #cae2f4;
	text-align: center;
}

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

.bcc-box.bcc-warning h3{
	background-color: #c09853;
	text-align: center;
}*/

iframe{
	display: none;
}

object{
	display: none;
}
/** support divs to export content for web-only vs not-web; pdf-only vs not-pdf **/
.web-only, .not-pdf {
	display: none;
}

/* mPDF */

ul, ol { margin-top: 0.83em; margin-bottom: 0.83em; }
ul ul, ul ol, ol ul, ol ol { margin-top: 0; margin-bottom: 0; }

div.mpdf_index_main {
	font-family: inherit;
	line-height: normal;
}
div.mpdf_index_entry {
	line-height: normal;
	text-indent: -1.5em;
}
div.mpdf_index_letter {
	font-family: inherit;
	font-size: 1.8em;
	font-weight: bold;
	line-height: normal;
	text-transform: uppercase;
	page-break-after: avoid;
	margin-top: 0.3em;
	margin-collapse: collapse;
}
a.mpdf_index_link {
	color: #000000;
	text-decoration: none;
}


/* TABLE OF CONTENTS */
div.mpdf_toc {
	font-family: "DejaVuSans"; /* check me */
	line-height: normal;
	page-break-after: avoid;
	page-break-before: avoid;
}
a.mpdf_toc_a  {
	text-decoration: none;
	color: black;
}
div.mpdf_toc_level_0 {		/* Whole line level 0 */
	line-height: 1.5;
	margin-left: 0;
	padding-right: 0em;	/* should match the outdent specified for ToC; 0 is default; suggested value 2em */
	margin-top: 2em;

}
span.mpdf_toc_t_level_0 {	/* Title level 0 - may be inside <a> */
	font-weight: bold;
	margin-top: 2em;
}
span.mpdf_toc_p_level_0 {	/* Page no. level 0 - may be inside <a> */
}
div.mpdf_toc_level_1 {		/* Whole line level 1 */
	margin-left: 2em;
	text-indent: -2em;
	padding-right: 0em;	/* should match the outdent specified for ToC; 0 is default; suggested value 2em */
}
span.mpdf_toc_t_level_1 {	/* Title level 1 */
	font-weight: normal;
	font-style: normal;
}
span.mpdf_toc_p_level_1  {	/* Page no. level 1 - may be inside <a> */
}
div.mpdf_toc_level_2 {		/* Whole line level 2 */
	margin-left: 4em;
	text-indent: -2em;
	padding-right: 0em;	/* should match the outdent specified for ToC; 0 is default; suggested value 2em */
}
span.mpdf_toc_t_level_2 {	/* Title level 2 */
}
span.mpdf_toc_p_level_2 {	/* Page no. level 2 - may be inside <a> */
}

/* changes for Nate */
#title-page .title {
	font-family: "Ostrich Sans", sans-serif;
	font-style: normal;
	font-size: 50px;
	line-height: 60px;
	/*color: blue;*/
	font-weight: bold;
}
#half-title-page h1 {
	font-family: "Ostrich Sans", sans-serif;
	/*color: red;*/
	font-weight: bold;

}
/*h1 {
	font-family: "Ostrich Sans",sans-serif;
}*/
h2 { /* <h2> and Page Title: Decour Semibold, 36pt, line space 43pt */
	text-align: left;
	/*color: orange;*/
	font-size: 30px;//changed from 36px
	line-height: 43px;
	font-family: "DejaVuSans";
}
h3 { /*<h3> and Styled Boxes Title: Decour Semibold, 20pt, line space 24pt, centered (centered only in Styled Boxes)*/
	/*text-align: left;*/
	/*color: purple;*/
	font-size: 20px;
	line-height: 24px;
	font-family: "DejaVuSans";
}
h4 {  /* Decour Semibold, 14pt, line space 13pt */
	/*color: chartreuse;*/
	font-size: 14px;
	line-height: 13px;
	font-family: "DejaVuSans";
}
h5 {
	/*color: green; /* Decour Light, 10pt, line space 13 pt, centered */*/
	font-size: 10px;
	line-height: 13px;
	text-align: center;
	font-family: "DejaVuSans";
}
h6 {
	/*color: blue; /* <h6> and Image Captions: Decour Light Italic, 9pt, line space 13pt */*/
	font-size: 9px;
	line-height: 13px;
	font-weight: normal;
	font-style: italic;
	font-family: "DejaVuSans";
}
p {  /*  <p> and all normal body text: Decour Light, 10pt, line space 13 pt -see below */
	font-size: 12px;
	line-height: 15px;
	font-family: "DejaVuSerif";
}
.bcc-box h3:first-child { /* <h3> and Styled Boxes Title: Decour Semibold, 20pt, line space 24pt, centered (centered only in Styled Boxes) */
	font-size: 20px;
	line-height: 24px;
	text-align: center;
}

.citations {
text-align: left;
}

/* additional styles to override/augment mpdf defaults above */

/* title page */
#title-page .title {
    border: none;
}

/* table of contents */
#toc {
    font-family: Helvetica, Arial, sans-serif;
	line-height: normal;
	margin: 2em 0 0 0;
    page-break-before: always;
    page-break-after: right;
}
#toc .part a::after, #toc .chapter a::after, #toc .back-matter a::after {
	content: leader(".") target-counter(attr(href), page);
}
#toc ul {
	margin: 0;
	padding: 0;	
}
#toc a {
	color: black;
}
#toc h1 {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-size: 2em;
	margin: -1em 0 1em 0;
	text-align: center;
	text-transform: uppercase;
}
#toc li.part, #toc li.back-matter {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	margin: 1em 0 0 0;
	padding: 0;
}
#toc li.chapter {
	display: list-item;
	font-size: 1em;
	list-style-position: inside;
	margin: 0 0 0 1em;
}
h1 {prince-bookmark-level: 1;}
h2 {prince-bookmark-level: 2;}
h3 {prince-bookmark-level: 3;}
h4 {prince-bookmark-level: 4;}
h5 {prince-bookmark-level: 5;}
h6 {prince-bookmark-level: 6;}

/* images */
img {
	margin:0;
}
.alignright {
	margin: .5em 0 .5em 1em;
}
.alignleft {
	margin:.5em 1em .5em 0;
}
.wp-caption {
    break-inside: avoid;
}

/* boxes, embeds and other elements */
.bcc-box, .textbox {
    border: 1px solid black;
    clear:both;
    padding: 10px;
}
.bcc-box h3:first-child, .textbox h1 {
    background: black;
    color: white;
    font-size: 1em;
    font-weight: bold;
    line-height: 2em;
    margin: -10px -10px 10px -10px;
    padding: 0;
}
.footnote:before {
	content: " (Note: ";
}
.footnote:after {
	content: ")";
}
.review-questions {
    border: 1px solid black;
    clear:both;
    padding: 10px;
}
.review-questions:before {
    content: "Visit this course online to take this short practice quiz: ";
}
table.mathsolution {
    border: 0 !important;
    border-collapse: collapse;
	margin: 0 0 1em 0;
    min-width: 0;
    table-layout: auto !important;
    text-align: left;
    width: 0 !important;
}
table.mathsolution tr, table.mathsolution td {
    border: 0 !important;
    border-collapse: collapse;
    min-width: 0;
    text-align: left;
    width: auto;
}
.MathJax, .MathJax_Display, .MathJax_CHTML {
    color: black !important;
}

/* titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-weight: normal;
	line-height: normal;
    text-align: left;
}
h1 {
	font-size: 1.8em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1em;
}
h6 {
	font-size: .8em;
}

/* main content */
#all-parts-and-contents {
	counter-reset: page 1;
	page: contents;
    page-break-before: avoid;
}
#all-parts-and-contents .part {
    margin: 0;
    padding: 0;
    page-break-before: always;
    page-break-after: avoid;
}

/* suppress second waymaker module title */
#all-parts-and-contents .part .part-ugc {
    display: none;
}
#all-parts-and-contents .chapter {
    page-break-before: avoid;
}
h3.chapter-number, h3.part-number {
    display: none;
    margin: none;
    padding: none;
}
.part-title {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 2.5em;
	font-weight: normal;
	padding: 1em 0 1em 0;
	text-align: center;
	text-transform: uppercase;
}
.chapter-title {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 2em;
	font-weight: normal;
	padding: 1em 0 1em 0;
	text-align: center;
	text-transform: uppercase;
}

/* HTML tag overrides */
body, p {
    font-family: Helvetica, Arial, sans-serif !important;
    text-align: left !important;
}
p {
	font-size: inherit;
}
p + p {
	margin-top: 1em;
	text-indent: 0;
}
table {
	margin-top: 1em;    
}

/* page numbers */
@page contents:left {
  @bottom-left {
    content: counter(page);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
  }
}
@page contents:right {
  @bottom-right {
    content: counter(page);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
  }
}

.textbox{
            width:98%;
        }

/* licensing and attribution */
.licensing {
	border: 1px solid black;
	clear: both;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: .5em;
	font-weight: bold;
	margin: 1em 0 0 0;
	padding: .5em;
	page-break-inside: avoid;
}
.licensing:before {
	content: "Licensing & Attributions";
}
.license-attribution-dropdown-subheading {
	font-size: 90%;
	font-weight: bold;
	margin: 1em 0 0 0;
}
.citation-list {
	font-size: 90%;
	font-weight: normal;
}

/* backmatter */
.back-matter h1 {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-size: 2em;
	padding: 1em 0 1em 0;
    page-break-before: always;
	text-align: center;
	text-transform: uppercase;
}
/* glossaries and similar lists */
dd {
	margin-bottom: 1em;
}

div.part {
    page-break-before: always;
    }