@font-face { font-family: "Lora-Regular"; src: url("../Fonts/Lora-Regular.ttf"); } @font-face { font-family: "Roboto-Medium"; src:url("../Fonts/Roboto-Medium.ttf"); } @font-face { font-family: "Roboto-Light"; src:url("../Fonts/Roboto-Light.ttf"); } @font-face { font-family: "Kanit-Regular"; src: url("../Fonts/Kanit-Regular.ttf"); } /* BODY STYLES */ body { -epub-line-break:normal; font-family: serif; font-size: 100%; text-align: left; word-wrap: break-word; /* allows long words to break and wrap onto the next line; values: normal (no break) or break-word */ -webkit-nbsp-mode: normal; /* specifies behavior of non-breaking spaces: normal (no break); space (works like normal spaces) */ -webkit-line-break: after-white-space; /* specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text */ -epub-hyphens:auto; -webkit-hyphens:auto; hyphens:normal; margin: .25em; orphans: 2; /* specifies minimum num of lines to be left at bottom of page; default = 2 */ widows: 2; /* specifies minimum num of lines that must be left at top of page; default = 2 */ } h { word-wrap: normal; -epub-line-break:keep-all; -epub-hyphens:none; -webkit-hyphens:none; -moz-hyphens: none !important; -ms-hyphens: none !important; -o-hyphens: none !important; hyphens: none !important; page-break-after: avoid; } h1.toc-marker { font-size: x-small; font-weight: normal; color: green; text-decoration: underline; display: none; } /* COPYRIGHT PAGE */ p.copyright { font-size: 85%; text-indent: 0; text-align: left; margin: 0; } p.copyright-first { font-size: 85%; text-indent: 0; text-align: left; margin: 3em 0 0 0; } p.copyright-space { font-size: 85%; text-indent: 0; text-align: left; margin: 1em 0 0 0; } /* ENDORSEMENTS */ p.endorsement-text-first { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 3em 0 0 0; } p.endorsement-text { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 1em 0 0 0; } p.endorsement-source { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; text-align: right; page-break-before: avoid; margin: .4em 0 0 15%; } /* DEDICATION PAGE */ p.dedication-first { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 10% 0 10%; } p.ded-fig { font-weight: normal; text-align: left; margin: 1.75em 0 0 0; } /* TABLE OF CONTENTS */ p.contents-indent { /* front and back matter lines */ font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 0 0 .5em 1.5em; } p.contents-indent-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 1.25em 0 .5em 1.5em; } p.contents { /* main body of content page */ font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 0 0 .5em .5em; } span.part-num { font-family: "Roboto-Light", sans-serif; font-size: 95%; font-weight: 300; } p.contents-part-titles { font-family: "Roboto-Medium", sans-serif; font-style: normal; font-weight: 500; text-indent: 0; text-align: center; page-break-after: avoid; margin: 1.25em 0 .5em 0; } /* CHAPTER NUMBER AND TITLE */ span.chapter-number { font-size: 150%; letter-spacing: 0px; font-style: normal; font-weight: normal; color: #bdbec0; } h1.chapter-title-fm { font-family: "Lora-Regular", serif; font-size: 170%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 4px; margin: 15px 4% 3em 4%; } h2.chapter-title-w-sub { border-bottom: 2px solid #bdbec0; padding: 0 24px 3px 24px; font-family: "Lora-Regular", serif; font-size: 240%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; letter-spacing: 2px; margin: 15px 0 .25em 0; } p.chapter-subtitle { /* follows chapter-title-w-sub */ font-family: "Roboto-Medium", sans-serif; font-size: 140%; line-height: 120%; letter-spacing: 1px; word-spacing: 1px; font-style: normal; font-weight: 500; text-indent: 0; text-align: center; margin: 0 7% 3em 7%; } /* EPIGRAPH */ p.epigraph { font-size: 90%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 2em 0 2em; orphans: 2; widows: 2; } /* TEXT STYLES */ p.text { text-indent: 1em; margin: 0; orphans: 2; widows: 2; } p.text-space { text-indent: 1em; margin: 1em 0 0 0; orphans: 2; widows: 2; } p.text-left { text-indent: 0; margin: 0; orphans: 2; widows: 2; } p.text-first { text-indent: 0; margin: 0; orphans: 2; widows: 2; } p.text-first-space { font-variant: normal; text-indent: 0; margin: 3em 0 0 0; /* follows something like epigraph source */ orphans: 2; widows: 2; } p.text-left-space { font-variant: normal; text-indent: 0; margin: 1em 0 0 0; orphans: 2; widows: 2; } p.text-centered-space { font-size: 100%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 1.16em 0 0 0; orphans: 2; widows: 2; } /* SUBHEADS */ p.Heading-1 { font-size: 110%; line-height: 125%; font-style: normal; font-weight: bold; text-indent: 0; text-align: left; page-break-after: avoid; margin: 1.83em 2em .83em 0; } p.Heading-1-centered { /* use in conjunction w span class reflect */ font-size: 110%; line-height: 125%; font-style: normal; font-weight: bold; text-indent: 0; text-align: center; page-break-after: avoid; margin: 2.5em 5% .83em 5%; } span.reflect { padding: 0.3% 1.5% 0.3% 1.5%; background: #959595; color: white; border-radius: 25px; -webkit-border-radius: 25px; -moz-border-radius: 25px; } p.Heading-2 { font-size: 110%; line-height: 125%; font-style: italic; font-weight: bold; text-indent: 0; text-align: left; page-break-after: avoid; margin: 1.33em 2em .5em 1em; } /* EMAIL */ p.email-space { font-family: "Kanit-Regular", sans-serif; font-size: 80%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; margin: 1.5em 1em 0 1em; orphans: 2; widows: 2; } /* POETRY */ p.poetry-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 1em 3em 0 2em; orphans: 2; widows: 2; } p.poetry { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 0 3em 0 2em; orphans: 2; widows: 2; } p.poetry-indent1 { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 0 3em 0 3em; } /* EXTRACTS */ p.extract-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 1em 1em 0 1em; orphans: 2; widows: 2; } p.extract { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 1em; margin: 0 1em 0 1em; orphans: 2; widows: 2; } p.extract-left { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 0 1em 0 1em; orphans: 2; widows: 2; } /* NUMBERED LIST (OL code) */ li.list-numbered { /* numbers following the first */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: .16em 0 0 .5em; orphans: 2; widows: 2; } li.list-numbered-first-space { /* first number in numbered list but not to add space */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 0 0 .5em; orphans: 2; widows: 2; } /* BULLET LIST */ li.list-bulleted-space { font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 1em 0 .25em 0; orphans: 2; widows: 2; } li.list-bulleted { font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 0 .25em 0; orphans: 2; widows: 2; } /* UNNUMBERED LIST (non-bullet list) */ p.list-unnumbered { font-style: normal; font-weight: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 0 0 0 1em; orphans: 2; widows: 2; } p.list-unnumbered-space { font-style: normal; font-weight: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 1em 0 0 1em; orphans: 2; widows: 2; } /* ENDNOTES */ a._idFootnoteLink { font-size: 85%; font-style: normal; font-weight: normal; vertical-align: top; } a._idFootnoteAnchor { font-size: 85%; font-style: normal; font-weight: normal; } span.Endnote-Reference { font-size: 80%; vertical-align: top; } p.notes-heading { font-size: 85%; font-style: normal; font-weight: bold; text-indent: 0; page-break-after: avoid; margin: 1em 0 .33em 0; } p.notes-heading-2 { font-size: 85%; font-style: normal; font-weight: bold; text-indent: 0; page-break-after: avoid; margin: 0 0 .33em 0; } p.notes { font-size: 85%; font-style: normal; font-weight: normal; text-indent: 1em; text-align: left; margin: 0; orphans: 2; widows: 2; } /* FIGURES */ body.cover { margin: 0; padding: 0; font-size: 0; } p.figure-marker { font-weight: normal; text-align: center; margin: .75em 0 .5em 0; } img { max-width: 100%; /*max-height: 100%;*/ } /* DIVIDER */ p.divider { font-style: normal; font-weight: normal; text-align: center; text-indent: 0; margin: 1.16em 0 1.16em 0; } /* HYPERLINK STYLE DATA */ p.ad-hyperlink { /* used for hyperlinks under any ad mentioning a website */ font-size: 120%; text-align: center; page-break-before: avoid; margin: .25em 0 0 0; } a:active { /* mouse button held down */ color: red; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } a:hover { background: #a8bfb7; } /* CHARACTER STYLES */ span.superscript { font-size: 75%; vertical-align: text-top; } span.regular { font-style: normal; font-weight: normal; letter-spacing: 0px; } span.italic { font-style: italic; font-weight: normal; } span.bold { font-style: normal; font-weight: bold; } span.bold-italic { font-style: italic; font-weight: bold; } span.small-caps { font-size: 80%; }