/* ------------------------------------------------ / F+W Media, Inc. / CSS for EPUB-Optimized InDesign Template Process / Format: EPUB / Version: 1.0 / Scope: All imprints / Last modified: 23 March 2012 / Modified by: India Amos, india.amos@fwmedia.com --------------------------------------------------- */ @page { margin-top:30px; margin-bottom:20px; margin-left:10px; margin-left:10px; } body { font-family: Athelas, Georgia, serif; font-weight: normal; font-size: medium; } img { max-width: 100%; max-height: 100%; } a { text-decoration: none; color: #336699; -webkit-hyphens: none !important; adobe-hyphenate: none; -moz-hyphens: none; hyphens: none; } .keep { page-break-inside: avoid; } .Image { text-align: center; } /* Horizontal rules around sidebars--originally a Kindle hack--are hidden on Webkit but visible on Adobe-based readers. This is fine, since many of the latter are e-ink devices, which may not show the background tint well or display both serif and sans-serif fonts. But it would best to delete them from the EPUB version */ hr { display: none; } .fractions { font-size: 77%; line-height: 0; page-break-inside: avoid; } /* ---------------------------TOC---------------------------- */ .TOCCN { font-size: medium; letter-spacing: 0.1em; margin-top: 2em; margin-bottom: 0; font-family: Seravek, sans-serif; font-weight: normal; } .TOCCT { font-size: x-large; margin-top: 0; margin-bottom: 0.25em; } .TOCAU { } .TOCFBM { margin-top: 1em; font-weight: bold; font-size: large; } .TOCA { margin-top: 0.5em; margin-left: 1em; } /* ---------------------------HEADINGS---------------------------- */ h1, h2, h3, h4, h5, h6 { -webkit-hyphens: none !important; adobe-hyphenate: none; -moz-hyphens: none; hyphens: none; page-break-inside: avoid; page-break-after: avoid; margin-top: 0; margin-bottom: 0; text-align: left; } .CN { font-family: Seravek, sans-serif; font-size: medium; color: #666666; letter-spacing: 0.1em; line-height: 2em; } .CT { font-family: Seravek, sans-serif; font-size: xx-large; } .CAU { font-family: Seravek, sans-serif; font-size: medium; letter-spacing: 0.1em; font-weight: normal; margin-top: 0.5em; margin-bottom: 2em; } .AHD { font-size: x-large; line-height: 1.5em; margin-top: 2em; margin-bottom: 0.25em; } .BHD { font-size: medium; line-height: 1.2; text-align: left; margin-top: 1.5em; margin-bottom: 0.25em; letter-spacing: 0.05em; } .CHD { font-size: medium; font-weight: bold; font-style: italic; line-height: 1.5; text-align: left; margin-top: 1em; margin-bottom: 0; } .FBMH { font-family: Seravek, sans-serif; font-size: x-large; } .SBSHD { font-size: medium; font-family: Seravek, sans-serif; font-weight: bold; font-style: normal; line-height: 1.4; text-align: left; margin: 0; } .SBS-RunInHD { font-size: medium; font-family: Seravek, sans-serif; font-weight: normal; font-style: normal; line-height: 1.4; text-align: left; margin: 0; } /* ---------------------------SPANS---------------------------- */ span.Bold { font-weight: bold; font-style: normal; } span.BoldItalic { font-weight: bold; font-style: italic; } /* ---------------------------PARAGRAPHS---------------------------- */ p { text-indent: 0; line-height: 1.5em; margin: 0; text-align: left; orphans: 2; widows: 2; -webkit-hyphenate-before: 3; hyphenate-before: 3; -webkit-hyphenate-after: 3; hyphenate-after: 3; -webkit-hyphenate-lines: 2; hyphenate-lines: 2; font-size: medium; } p.pagebreak{ page-break-after: always; } p.BOD1, .COPY1 { } p.BOD1-space { margin-top: 1em; } .COPY1, .COPY1S { font-size: small; } .COPY1S { margin-bottom: 1em; } p.BOD2, .BOD2S { text-indent: 1em; } .BOD2S { margin-bottom: 1em; } .ML { margin-left: 2em; text-indent: -1em; } .NOTE { margin-left: 1em; text-indent: -1em; } /* ---------------------------LISTS---------------------------- */ /* -----Semantic----- */ ol { /* To fix that stupid Nook Color bug*/ adobe-text-layout: optimizeSpeed; } ul, ol { margin-top: 1em; margin-bottom: 1em; } li { font-size: medium; line-height: 1.5em; text-align: left; margin-right: 0; margin-top: 0; margin-bottom: 0; } /* -----Dirty Hacks----- */ /* These styles *only* apply if a list has to be hard-coded as

elements. If they're

  • elements, they'll use the defaults. Lists must be hard-coded any time any NL2 or BL2 variant is used. */ p.BOD-BL, p.BOD-BL-1st, p.BOD-BL-last { margin-left: 2em; text-indent: -1em; } p.BOD-BL2, p.BOD-BL2-1st, p.BOD-BL2-last { margin-left: 4em; text-indent: -1em; } p.BOD-NL, p.BOD-NL-1st, p.BOD-NL-last { /* For single digits only. */ margin-left: 2em; text-indent: -1.15em; } p.BOD-NL-00, p.BOD-NL-1st-00, p.BOD-NL-last-00 { /* Indented for two-digit numbers. */ margin-left: 2em; text-indent: -1.75em; } p.BOD-NL2, p.BOD-NL2-1st, p.BOD-NL2-last { /* For single digits only. */ margin-left: 4em; text-indent: -1.2em; } p.BOD-NL2-00, p.BOD-NL2-1st-00, p.BOD-NL2-last-00 { /* Indented for two-digit numbers. */ margin-left: 4em; text-indent: -1.75em; } p.BOD-NL-1st, p.BOD-BL-1st, p.BOD-BL2-1st, p.BOD-NL2-1st { margin-top: 1em; } p.BOD-NL-last, p.BOD-BL-last, p.BOD-BL2-last, p.BOD-NL2-last { margin-bottom: 1em; } .BOD-LIST-NI { /* If you see this style used, the list around it needs to be hard-coded as paragraphs to accommodate dumb rendering on Kindle.app for the iPad. */ margin-left: 2em; } .BOD-LIST-I { /* If you see this style used, the list around it needs to be hard-coded as paragraphs to accommodate dumb rendering on Kindle.app for the iPad. */ text-indent: 1em; margin-left: 2em; } /* ---------------------------SIDEBARS---------------------------- */ .SBDIV { page-break-inside: avoid; font-family: Seravek, sans-serif; background-color: #fffcd4; border: 1px solid #dddddd; margin-top: 1em; margin-bottom: 1em; padding: 1em; } .SBHD, .SBHD-line1, .SBHD-line2 { font-weight: bold; font-style: normal; font-size: large; line-height: 1.25; text-align: center; margin-bottom: 0.5em; font-family: Seravek, sans-serif; } .SBBOD, .SBBOD-space, .SBBOD2, .SBBOD-BL, .SBBOD-BL-1st, .SBBOD-BL-last, .SBBOD-NL, .SBBOD-NL-1st, .SBBOD-NL-last, .SBML { font-family: Seravek, sans-serif; } .SBBOD-space { margin-top: 1em; } .SBBOD2 { text-indent: 1em; } .SBML { margin-left: 2em; text-indent: -1em; } .SBHD2 { font-weight: bold; font-style: normal; font-size: 0.85em; font-family: Seravek, sans-serif; line-height: 1.25; text-align: left; margin-top: 1em; margin-bottom: 0em; } /* ---------------------------TABLES---------------------------- */ table { margin-top: 1em; margin-bottom: 1em; border-top: 1px #cccccc solid; border-right: none; border-bottom: none; border-left: 1px #cccccc solid; } th { border-bottom: 2px #cccccc solid; border-right: 1px #cccccc solid; font-family: Seravek, sans-serif; padding: 5px; font-weight: bold; } td { border-bottom: 1px #cccccc solid; border-right: 1px #cccccc solid; font-family: Seravek, sans-serif; padding: 5px; } .THD, .TD-SUBHD, .TD-BODY, .TD-BODY-R { font-family: Seravek, sans-serif; } .THD { font-weight: bold; text-align: left; } .TD-SUBHD { font-weight: bold; font-style: italic; text-align: left; } .TD-BODY { text-align: left; } .TD-BODY-C { text-align: center; } .TD-BODY-R { text-align: right; } .th { } .td-sh { } .td-l { } .td-c { } .td-r { } /* ---------------------------------- CAPTIONS ---------------------------------- */ .CapHD { font-size: small; font-weight: bold; font-style: italic; line-height: 1.25; margin: 0.25em 0 0 0; } .CAP { font-style: italic; font-size: small; margin-top: 0.5em; margin-bottom: 0.5em; } .CAP2 { font-weight: normal; font-style: italic; font-size: small; text-indent: 1em; margin: 0; } .CAP-NL, .CAP-NL-1st, .CAP-NL-last { font-style: italic; font-size: small; } .ARTSRC { text-align: right; font-size: x-small; font-family: Seravek, sans-serif; } .Leg1, .Leg2 { font-size: small; font-family: Seravek, sans-serif; } .Leg1 { font-weight: bold; margin: 0.5em 0 0 0; letter-spacing: 0.05em; } /* ---------------------------------- STEP-BY-STEPS ---------------------------------- */ .SbSHD, .SbS1, .SbS2, .SbS1-RunInHD { font-family: Seravek, sans-serif; } .SbSHD { margin: 1em 0 0 0; font-weight: bold; color: #666666; } .SbS1 { } .SbS2 { text-indent: 1em; } .SbS1-RunInHD { margin-top: 1em; } .SbSHD-title { color: black; } span.SbS-HD { font-weight: bold; font-style: normal; } span.STEP-NUM { font-weight: bold; font-style: normal; color: #666666; } .C_xref{ color:#005F9C; } span.small { font-size: x-small; } div.cover { }