@font-face { font-family: "Rochester-Regular"; src:url("../Fonts/Rochester-Regular.ttf"); } @font-face { font-family: "WaitingfortheSunrise"; src:url("../Fonts/WaitingfortheSunrise.ttf"); } @font-face { font-family: "PT_Serif-Web-Regular"; src:url("../Fonts/PT_Serif-Web-Regular.ttf"); } @font-face { font-family: "Kanit-Light"; src: url("../Fonts/Kanit-Light.ttf"); } @font-face { font-family: "Kanit-Regular"; src: url("../Fonts/Kanit-Regular.ttf"); } @font-face { font-family: "Kanit-Medium"; src: url("../Fonts/Kanit-Medium.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; } /* DEDICATION PAGE */ p.dedication-first { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 3em 12% 0 12%; } p.dedication { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 0 12% 0 12%; } p.dedication-space { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 1.25em 12% 0 12%; } /* 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; } p.contents-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 1.25em 0 .5em .5em; } /* Epigraph */ p.epigraph-first { font-size: 90%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 4em 10% 0 10%; orphans: 2; widows: 2; } p.epigraph { font-size: 90%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 1.25em 2em 0 2em; orphans: 2; widows: 2; } p.epigraph-source { font-size: 90%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; page-break-before: avoid; margin: .5em 2em 0 2em; } p.epigraph-source-centered { font-size: 90%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; page-break-before: avoid; margin: .5em 2em 0 2em; } /* CHAPTER NUMBER AND TITLE */ span.chapter { font-family: "PT_Serif-Web-Regular", serif; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ font-size: 40%; letter-spacing: 3px; font-style: normal; font-weight: normal; } h1.chapter-number { font-family: "Rochester-Regular", cursive; font-size: 350%; letter-spacing: 0px; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; color: #595a5c; margin: 15px 0 1em 0; } h1.chapter-title-fm { font-family: "Rochester-Regular", cursive; font-size: 210%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; margin: 15px 4% 3em 4%; } /* TEXT STYLES */ .drop-cap { font-size: 140%; line-height: 125%; font-weight: bold; letter-spacing: 1px; color: #939498; } .drop-cap-italic { font-size: 140%; line-height: 125%; font-weight: bold; font-style: italic; letter-spacing: 1px; color: #939498; } 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 { font-size: 100%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 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-alt { /* follows divider-2 and comes before texting_receive_name_first or extract small space */ font-size: 110%; line-height: 125%; font-style: italic; font-weight: normal; text-indent: 0; text-align: left; page-break-after: avoid; margin: 0 2em .5em 0; } /* LETTERS */ p.letter { font-family: "WaitingfortheSunrise", cursive; font-size: 130%; line-height: 140%; font-style: normal; font-weight: normal; text-indent: 1em; text-align: left; margin: 0 1em 0 1em; } p.letter-space { font-family: "WaitingfortheSunrise", cursive; font-size: 130%; line-height: 140%; font-style: normal; font-weight: normal; text-indent: 1em; text-align: left; margin: 1em 1em 0 1em; } p.letter-closing { font-family: "WaitingfortheSunrise", cursive; font-size: 130%; line-height: 140%; font-style: normal; font-weight: normal; text-align: right; text-indent: 0; page-break-before: avoid; margin: 1em 3em 0 1em; } p.letter-opening-space { font-family: "WaitingfortheSunrise", cursive; font-size: 130%; line-height: 140%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; page-break-after: avoid; margin: 1em 1em .33em 1em; } p.letter-opening-small-space { font-family: "WaitingfortheSunrise", cursive; font-size: 130%; line-height: 140%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; page-break-after: avoid; margin: 1em 1em .33em 1em; } /* EMAIL */ span.email-character { font-family: "Kanit-Medium", sans-serif; font-style: normal; font-weight: 500; text-transform: uppercase; color: #636466; } p.email-dialogue { font-family: "Kanit-Light", sans-serif; font-size: 80%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: -1em; padding-left: 1em; /* hang indent */ margin: .75em 1em 0 .75em; orphans: 2; widows: 2; } p.email { font-family: "Kanit-Light", sans-serif; font-size: 80%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; margin: .5em 1em 0 1em; orphans: 2; widows: 2; } p.email-space { font-family: "Kanit-Light", 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; } /* TEXTING */ p.texting_receive { /* text above, not name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "Kanit-Light", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; letter-spacing: .5px; margin: .66em 20% 0 2em; orphans: 2; widows: 2; } p.texting_receive_indent { /* text above, not name */ font-family: "Kanit-Light", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 1em; text-align: left; letter-spacing: .5px; margin: 0 20% 0 2em; orphans: 2; widows: 2; } p.texting_receive_space { /* single unit of text with space above */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "Kanit-Light", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; letter-spacing: .5px; margin: 1.15em 20% 0 2em; orphans: 2; widows: 2; } p.texting_receive_name { /* recipient's name in gray */ font-family: "Kanit-Medium", sans-serif; font-size: 75%; line-height: 130%; font-style: normal; font-weight: 500; text-indent: 0; text-align: left; letter-spacing: .5px; color: #a9afaf; /* color: 169 175 175 (medium gray screen) */ margin: 1.15em 20% 0 2em; page-break-after: avoid; orphans: 2; widows: 2; } p.texting_receive_name_first { /* recipient's name in gray */ font-family: "Kanit-Medium", sans-serif; font-size: 75%; line-height: 130%; font-style: normal; font-weight: 500; text-indent: 0; text-align: left; letter-spacing: .5px; color: #a9afaf; /* color: 169 175 175 (medium gray screen) */ margin: .85em 20% 0 2em; page-break-after: avoid; orphans: 2; widows: 2; } p.texting_receive_with_name { /* immediately follows name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "Kanit-Light", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: 500; text-indent: 0; text-align: left; letter-spacing: .5px; margin: 0 20% 0 2em; orphans: 2; widows: 2; } p.texting_send { /* text above, not name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "Kanit-Light", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; letter-spacing: .5px; margin: .66em 2em 0 20%; orphans: 2; widows: 2; } p.texting_send_name { /* sender's name in gray */ font-family: "Kanit-Medium", sans-serif; font-size: 75%; line-height: 130%; font-style: normal; font-weight: 500; text-indent: 0; text-align: left; letter-spacing: .5px; color: #a9afaf; /* color: 169 175 175 (medium gray screen) */ margin: 1.15em 2em 0 20%; page-break-after: avoid; orphans: 2; widows: 2; } p.texting_send_with_name { /* immediately follows name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "Kanit-Light", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; letter-spacing: .5px; margin: 0 2em 0 20%; orphans: 2; widows: 2; } /* 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-small-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: .75em 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; } /* 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-space { /* numbered list with extra space between each */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 1em 0 0 .5em; orphans: 2; widows: 2; } li.list-numbered-first { /* first in numberred list, follows a subhead or other, is 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; } 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; } /* 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; } /* TABLES STYLE FOR TABULAR MATERIAL */ table.tabular { margin-left: .5em; margin-top: 1em; margin-bottom: 1em; width: 95%; border-bottom: 0px solid black; display: table; } td { padding: .33em; } td.table-tab { font-size: 100%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; vertical-align: top; padding: 0 .5em .15em 0; } td.table-tab-right { font-size: 100%; font-style: normal; font-weight: normal; text-indent: 0; text-align: right; vertical-align: top; padding: 0 .5em .15em 0; } /* ABOUT THE AUTHOR */ p.about-author-first { text-indent: 0; margin: 3em 0 0 0; orphans: 2; widows: 2; } /* BOOKS BY . . . list (i.e., other books by author) */ h1.books-by { /* style for title line of book list by author */ border-bottom: 2px solid gray; padding-bottom: 4px; font-size: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 2em 10% 1em 10%; } p.books-list { font-size: 90%; font-style: italic; font-weight: normal; text-indent: 0; text-align: center; margin: 0 0 .4em 0; } p.books-list-series-title { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; /* utilize pseudo-small-caps */ text-indent: 0; text-align: center; letter-spacing: 1px; page-break-after: avoid; margin: 2em 0 .66em 0; } /* FIGURES */ body.cover { margin: 0; padding: 0; font-size: 0; } p.ch-figure1 { /* top of chapter number */ text-align: center; text-indent: 0; margin: 15px 0 .25em 0; } p.ch-figure { /* follows chapter number */ text-align: center; text-indent: 0; margin: 0 0 3em 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; } p.divider-2 { font-style: normal; font-weight: normal; text-align: center; text-indent: 0; margin: 1.16em 0 1.16em 0; } p.divider-sub { text-align: center; text-indent: 0; font-size: 80%; letter-spacing: -1px; color: #ccc; 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; } p.ad-hyperlink-author { /* generally for NLPP "Sign Up Now!" ads */ font-size: 160%; text-align: center; page-break-before: avoid; margin: .25em 0 0 0; } span.hyperlink { font-style: normal; font-weight: normal; } a:active { /* mouse button held down */ color: red; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } a:hover { background: #e6d2db; } /* CHARACTER STYLES */ span.strike { text-decoration: line-through; } span.underline { text-decoration: underline; } span.dashed-underline { border-bottom: 1.25px dashed black; padding-bottom: 2px; } span.skew { font-style: italic; font-weight: normal; } span.superscript { font-size: 75%; vertical-align: text-top; } span.subscript { font-size: 75%; vertical-align: text-bottom; } span.superscript-italic { font-size: 75%; font-style: italic; font-weight: normal; vertical-align: text-top; } span.subscript-italic { font-size: 75%; font-style: italic; font-weight: normal; vertical-align: text-bottom; } 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%; } span.small-caps-italic { font-size: 80%; font-style: italic; font-weight: normal; } span.small-caps-bold { font-size: 80%; font-style: normal; font-weight: bold; } span.small-caps-bold-italic { font-size: 80%; font-style: italic; font-weight: bold; }