@font-face { font-family: "PTSans"; src: url(../fonts/PTSans-Regular.ttf); font-style: normal; font-weight: normal; } @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-Italic.ttf); font-style: italic; font-weight: normal; } @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-Bold.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-BoldItalic.ttf); font-style: italic; font-weight: bold; } @font-face { font-family: "RotisSansSerif"; src: url(../fonts/RotisSansSerif.ttf); font-style: normal; font-weight: normal; } @font-face { font-family: "RotisSansSerif"; src: url(../fonts/RotisSansSerif-Italic.ttf); font-style: italic; font-weight: normal; } @font-face { font-family: "RotisSansSerif"; src: url(../fonts/RotisSansSerif-Bold.ttf); font-style: normal; font-weight: bold; } /* Begin CSS */ /* Reset */ /* So here's the trick, we must reset to manage a number of problems once and for all: - HTML5 backwards compatibility (EPUB 3 file in EPUB 2 app); - user settings (e.g. line-height on Kobo and Kindle); - CSS bloat (DRY); - KFX for which a reset using `border: 0` seems to disable support; - etc. It all started as a normalize and became a reset given the magnitude of the task. */ article, address, aside, blockquote, canvas, dd, details, div, dl, dt, figure, figcaption, footer, h1, h2, h3, h4, h5, h6, header, hr, li, main, nav, ol, p, pre, section, summary, ul { margin: 0; padding: 0; /* RS may apply vertical padding to el such as p */ font-size: 1em; /* Font size in pixel disable the user setting in legacy RMSDK */ line-height: inherit; /* Kindle ignores it, Kobo needs it. If you don’t use inherit, the user setting may be disabled on some Kobo devices */ text-indent: 0; font-style: normal; font-weight: normal; } /* This is absolutely necessary for backwards compatibility */ article, aside, figure, figcaption, footer, header, main, nav, section { display: block; } /* Page Layout */ @page { margin: 30px 30px 20px 30px; padding: 0; /* Recommended by Barnes & Noble in this old spec: https://simg1.imagesbn.com/pimages/pubit/support/pubit_epub_formatting_guide.pdf */ } body { font-size: 100%; margin: 0; /* RS will override margins anyways */ padding: 0; widows: 2; /* iBooks and Kobo support widows and orphans */ orphans: 2; } h1,h2,h3,h4,h5,h6 { page-break-after:auto; -epub-hyphens: none !important; adobe-hyphenate: none !important; hyphens: none !important; page-break-after: auto !important; } .h1 { font-weight: normal; font-size: 200%; line-height: 1em; margin-top: 1em; margin-bottom: 0.2em; margin-left: 2em; margin-right: 2em; text-align: center; } .subtitle { font-family: "PTSans", sans-serif; font-size: 100%; margin-top: 0.1em; margin-bottom: 0.1em; margin-left: 3em; margin-right: 3em; text-align: center; border-top: solid #555555 0.1em; padding-top: 0.2em; } .author { font-size: 120%; line-height: 1em; margin-top: 1em; margin-bottom: 0em; text-align: center; } .pub { margin-top: 2em; margin-bottom: 0.3em; text-align: center; } .toc1 { font-family: "PTSans", sans-serif; font-weight: normal; line-height: 1em; font-size: 90%; margin-top: 0.2em; margin-bottom: 0em; text-indent: 0em; text-align: left; } .toc2 { font-family: "PTSans", sans-serif; font-weight: normal; font-size: 90%; line-height: 1em; margin-left: 1.4em; margin-top: 1.5em; margin-bottom: 0.2em; text-indent: -1.4em; text-align: left; } .toc3 { font-family: "PTSans", sans-serif; font-weight: normal; line-height: 1em; font-size: 100%; margin-top: 0.3em; margin-bottom: 0.3em; text-indent: -1em; text-align: left; } .toc3b { font-family: "PTSans", sans-serif; font-weight: normal; line-height: 1em; font-size: 100%; margin-top: 0.3em; margin-bottom: 1em; text-indent: -1em; text-align: left; } .h2 { font-family: "PTSans", sans-serif; font-weight: normal; font-size: 140%; line-height: 1em; margin-top: 1em; margin-bottom: 1em; text-align: left; text-indent: 0em; } .h2c { font-family: "PTSans", sans-serif; font-weight: normal; font-size: 160%; line-height: 1em; margin-top: 0em; margin-bottom: 2em; text-align: left; text-indent: 0em; padding: 0.5em; color:#000000; background-color: #CDDADE; border: #CDDADE solid 0.1em; } .h2a { font-family: "PTSans", sans-serif; font-size: 180%; font-weight: normal; line-height: 1em; margin-top: 0em; margin-bottom: 0.4em; padding: 0.2em; color:#000000; background-color: #CDDADE; border: #CDDADE solid 0.1em; text-align: left; text-indent: 0em; } .h3 { page-break-before: always; font-size: 140%; font-weight: normal; line-height: 1em; margin-top: 1em; margin-bottom: 0.5em; text-indent: 0em; border-bottom: #555555 solid 0.1em; padding-bottom: 0.2em; text-align: left; } .h4 { font-family: "PTSans", sans-serif; font-size: 100%; font-weight: bold; line-height: 1em; margin-top: 1.6em; margin-bottom: 0.2em; text-indent: 0em; text-align: left; } .h5 { font-family: "PTSans", sans-serif; font-size: 95%; font-weight: bold; line-height: 1em; margin-top: 1.6em; margin-bottom: 0.2em; text-indent: 0em; text-align: left; } .tabhead { font-family: "PTSans", sans-serif; font-size: 90%; margin-top: 1.3em; margin-bottom: 0.3em; text-indent: 0em; text-align: left; } .srad { font-family: "RotisSansSerif", sans-serif; font-size: 65%; border: #555555 solid 0.1em; border-radius: 1em; padding: 0.1em 0.4em 0.1em 0.4em; line-height: 0em; } .srad1 { font-family: "RotisSansSerif", sans-serif; font-size: 60%; border: #555555 solid 0.1em; border-radius: 1em; padding: 0.1em 0.4em 0.1em 0.4em; line-height: 0em; } .irad { font-size: 75%; border: #555555 solid 0.1em; border-radius: 1em; padding: 0.1em 0.4em 0.1em 0.4em; line-height: 0em; } .irada { font-size: 75%; border: #555555 solid 0.1em; border-radius: 1em; padding: 0.2em 0.5em 0.2em 0.5em; line-height: 0em; } .irad1 { font-size: 75%; border: #555555 solid 0.1em; border-radius: 1em; padding: 0.3em 0.4em 0.3em 0.4em; line-height: 0em; } .notes { font-family: "RotisSansSerif", sans-serif; font-size: 100%; font-weight: normal; margin-top: 1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .introi { font-family: "PTSans", sans-serif; font-size: 95%; margin-top: 1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .shang { font-family: "RotisSansSerif"; margin-top: 0.3em; margin-bottom: 0em; margin-left: 1.2em; text-indent: -1.2em; text-align: left; } .shangb { font-family: "RotisSansSerif"; margin-top: 0.3em; margin-bottom: 1.3em; margin-left: 1.2em; text-indent: -1.2em; text-align: left; } .intro3 { line-height: 1.15em; font-size: 110%; margin-top: 0.1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .ulist { margin-top: 0.2em; margin-bottom: 0.2em; margin-left: 0.8em; text-indent: -0.7em; text-align: left; } .ulistb { margin-top: 0.2em; margin-bottom: 1em; margin-left: 0.8em; text-indent: -0.7em; text-align: left; } .att { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-align: right; } .noindent { margin-top: 0.1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .noindentb { margin-top: 0.1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .noindent1b { margin-top: 1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .indent { margin-top: 0.1em; margin-bottom: 0.1em; text-indent: 1.2em; text-align: left; } .indenta { margin-top: 0.8em; margin-bottom: 0.1em; text-indent: 1.2em; text-align: left; } .indentb { margin-top: 0.1em; margin-bottom: 1em; text-indent: 1.2em; text-align: left; } .indentc { margin-top: 0.1em; margin-bottom: 2em; text-indent: 1.2em; text-align: left; } .noindent1 { margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .list { margin-top: 0.3em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .slist { font-size: 95%; margin-top: 0.2em; margin-bottom: 0em; margin-left: 1.2em; text-indent: -1em; text-align: left; } .hang { font-size: 95%; margin-top: 1em; margin-bottom: 1em; margin-left: 1.5em; text-indent: -1.5em; text-align: left; } .sidebar1 { font-family: "PTSans", sans-serif; font-size: 90%; page-break-before: always; margin-top: 1.5em; margin-bottom: 1.5em; padding: 0.75em; color: #000000; background-color: #CDDADE; border: solid #FFFFFF 0.1em; text-align: left; } .sidebar1a { font-family: "PTSans", sans-serif; font-size: 90%; page-break-inside: auto; margin-top: 1.5em; margin-bottom: 1.5em; padding: 0.75em; color: #000000; background-color: #CDDADE; border: solid #FFFFFF 0.1em; text-align: left; } .sidebar2 { page-break-before: always; font-size: 90%; margin-top: 1em; margin-bottom: 1em; padding: 0.75em; color:#000000; background-color: #DADBDC; border-radius: 1em; border: solid #FFFFFF 0.1em; text-align: left; } .sidebar4 { page-break-before: always; font-size: 90%; margin-top: 1em; margin-bottom: 1em; padding: 0.75em; color:#000000; background-color: #E4DAD3; border-radius: 1em; border: solid #FFFFFF 0.1em; text-align: left; } .caption { font-family: "RotisSansSerif"; page-break-before: auto; font-size: 90%; line-height: 1.15em; margin-top: 0.1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .h3a { font-family: "PTSans", sans-serif; page-break-before: always; font-size: 140%; font-weight: normal; line-height: 1em; margin-top: 1em; margin-bottom: 0.5em; text-indent: 0em; background-color: #cad6d9; color:#000000; border: #FFFFFF double 0.2em; padding: 0.3em; text-align: left; } .stitle2 { font-family: "PTSans", sans-serif; font-weight: normal; font-size: 180%; line-height: 1em; margin-top: 0em; margin-bottom: 0.6em; text-indent: 0em; text-align: left; } .stitle3 { font-family: "PTSans", sans-serif; page-break-before: always; font-size: 150%; line-height: 1em; margin-top: 0em; margin-bottom: 0.5em; text-indent: 0em; text-align: left; font-weight: normal; } .stitle4 { font-family: "PTSans", sans-serif; font-size: 110%; line-height: 1em; margin-top: 0em; margin-bottom: 0.6em; text-indent: 0em; text-align: left; font-weight: normal; } .shead { font-family: "PTSans", sans-serif; font-size: 95%; margin-top: 2em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; font-weight: normal; } .t1 { font-family: "PTSans", sans-serif; margin-top: 0.5em; margin-bottom: 1em; width: 100%; border: solid #555555 0.1em; border-collapse: collapse; } td { padding: 0.1em; } .line1 { vertical-align: top; border-top: solid #555555 0.1em; border-left: solid #555555 0.1em; width: 25%; } .line1a { vertical-align: top; border-top: solid #555555 0.1em; border-left: solid #555555 0.1em; color:#000000; background-color: #818285; width: 25%; } .line2 { vertical-align: top; border-top: solid #555555 0.1em; border-left: solid #555555 0.1em; border-right: solid #555555 0.1em; width: 50%; } .line2a { vertical-align: top; color:#000000; background-color: #818285; width: 50%; border-top: solid #555555 0.1em; border-left: solid #555555 0.1em; border-right: solid #555555 0.1em; } .line1b { vertical-align: top; border-top: solid #555555 0.1em; border-left: solid #555555 0.1em; border-bottom: solid #555555 0.1em; width: 25%; } .line2b { vertical-align: top; border-top: solid #555555 0.1em; border-left: solid #555555 0.1em; border-right: solid #555555 0.1em; border-bottom: solid #555555 0.1em; width: 50%; } .tdhead { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-align: left; text-indent: 0em; } .tdpara { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-align: left; text-indent: 0em; } .copya { margin-top: 2em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .copy { margin-top: 0.1em; text-indent: 0em; font-size: 90%; margin-bottom: 0.1em; text-align: left; } .copyh { margin-top: 0.1em; font-size: 90%; margin-bottom: 0.1em; margin-left: 1.2em; text-indent: -1.2em; text-align: left; } .copy1 { margin-top: 1em; text-indent: 0em; font-size: 90%; margin-bottom: 0.1em; text-align: left; } .indexmain1 { margin-top: 1.2em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .indexmain { margin-top: 0.1em; margin-bottom: 0.1em; text-indent: -1.5em; margin-left: 1.5em; text-align: left; } .indexsub { margin-top: 0.1em; margin-bottom: 0.1em; text-indent: -1.5em; margin-left: 2.5em; text-align: left; } .group { page-break-inside: auto; } .num { font-size: 80%; vertical-align: 0.5ex; } .den { font-size: 80%; } .sub { font-size: 80%; } a { text-decoration: none; } small { font-size: 80%; } .h2small { font-family: serif; font-size: 60%; color: #58586A; } .f1 { font-weight: bold; } ol { list-style-type:none; margin: 0em; } .hidden { display: none; visibility: hidden; } /* For Cover Images */ .imagefp { height: 98%; margin: 0em; text-align: center; } .imagefp:only-of-type { height: 98vh; margin: 0em; text-align: center; } .imagefc { width: 100%; } /* For Float Images */ .ft50 { width: 50%; float: right; padding-left: 0.5em; margin: 0em; } .ft50 img { width: 100%; } .ft40 { width: 35%; float: right; padding-left: 0.5em; margin: 0em; } .ft40 img { width: 100%; } /* For Inline Images */ .in10 { vertical-align: middle; width: 10%; } .in15 { vertical-align: middle; width: 18%; } .in20 { width: 15%; } .in50 { width: 50%; } /* For Landscape Images (width or without caption) */ .land100 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land100 img { width: 100%; } .land90 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land90 img { width: 90%; } .land80 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land80 img { width: 80%; } .land80a { margin-top: 1em; margin-bottom: 0.1em; text-align: left; text-indent: 0em; } .land80a img { width: 80%; } .land50 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land50 img { width: 50%; } .land60 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land60 img { width: 60%; } /* Portrait Images - width or without Caption */ .portvh80 { margin: 1em 0 0 0; text-align: center; height: 80%; } .vh80 { height: 80%; } .vh80:only-of-type { height: 80vh; } .portvh85 { margin: 1em 0 0 0; text-align: center; height: 85%; } .vh85 { height: 85%; } .vh85:only-of-type { height: 85vh; } .portvh70 { margin: 1em 0 0 0; text-align: center; height: 70%; } .vh70 { height: 70%; } .vh70:only-of-type { height: 70vh; } .portvh60 { margin: 1em 0 0 0; text-align: center; height: 60%; } .vh60 { height: 60%; } .vh60:only-of-type { height: 60vh; }