/* -------------------------------------------------------------- / F&W Media International, LTD. / CSS for EPUB-Optimized InDesign Template Process / Format: EPUB / Version: 2.0 / Scope: FWI / Last modified: 23 January 2014 ***** LIST STYLES TEST ***** / Modified by: Iris Febres, iris.febres@fwmedia.com ----------------------------------------------------------------- */ @page { margin-top: 9pt; margin-bottom: 1pt; } body { margin-left: 12pt; margin-right: 12pt; font-weight: normal; font-size: medium; font-family: Athelas, Georgia, serif; } body.coverbody { margin: 0; text-align: center; } img { max-width: 100%; } p { font-size: 1em; font-style: normal; font-weight: normal; line-height: 1.5em; margin: 0em; text-align: left; text-indent: 0em; 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; } /* ---------------------------01 TOC--------------------------- */ h2.TOC-FBMHD, h2.TOC-CH-T, p.TOC-CH-AU, p.TOC-AHD { font-family: Seravek, sans-serif; font-weight: normal; } h2.TOC-FBMHD, h2.TOC-CH-T { font-size: large; color: #666666; letter-spacing: 0.05em; line-height: 2em; margin-top: 1em; page-break-after: auto; } h2.TOC-CH-SUB { font-size: large; color: #666666; letter-spacing: 0.05em; line-height: 2em; margin-top: 0em; margin-left:2em; page-break-after: auto; } .TOC-CH-AU { margin-top: 0.5em; } .TOC-AHD { 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; } div.keep { page-break-inside: avoid; } /* ---------------------------02 CHAPTER HEADINGS--------------------------- */ h1.FBMHD { font-family: Seravek, sans-serif; text-align: center; margin-top: 2em; margin-bottom: 1em; } h1.CH-T { font-family: Seravek, sans-serif; color: #666666; letter-spacing: 0.05em; text-align: center; margin-top: 2em; margin-bottom: 1em; } h3.CH-AU { font-family: Seravek, sans-serif; letter-spacing: 0.05em; font-weight: normal; margin-top: 0.5em; margin-bottom: 2em; text-align: center; } /* ---------------------------03 HEADINGS--------------------------- */ h2.AHD { line-height: 1.5em; margin-top: 2em; margin-bottom: 0.25em; } h2.CH-SUB { font-family: Seravek, sans-serif; color: #666666; letter-spacing: 0.05em; text-align: center; margin-top: 2em; margin-bottom: 1em; page-break-before:avoid; } h3.BHD { line-height: 1.5; text-align: left; margin-top: 1.5em; margin-bottom: 0.25em; letter-spacing: 0.05em; } h4.CHD { font-weight: bold; font-style: italic; line-height: 1.5; text-align: left; margin-top: 1em; margin-bottom: 0; } h5.DHD { line-height: 1.5; text-align: left; margin-top: 1em; margin-bottom: 0; font-style: italic; } h6.EHD { line-height: 1.5; text-align: left; margin-top: .5em; margin-bottom: 0.25; font-style: italic; } /* ---------------------------04 INTRO TEXT--------------------------- */ p.CH-INTRO1, p.CH-INTRO1S { font-size: medium; } p.CH-INTRO1S { margin-top: 1em; } p.CH-INTRO2, p.CH-INTRO2S { font-size: medium; text-indent: 2em; } p.CH-INTRO2S { margin-bottom: 1em; } p.INTRO1 { } p.INTRO1S { margin-top: 1em; } p.INTRO2, p.INTRO2S { text-indent: 2em; } p.INTRO2S { margin-bottom: 1em; } p.SECTION-INTRO1 { } p.SECTION-INTRO1S { margin-top: 1em; } p.SECTION-INTRO2, p.SECTION-INTRO2S { text-indent: 2em; } p.SECTION-INTRO2S { margin-bottom: 1em; } /* ---------------------------05 BODY TEXT--------------------------- */ p.BOD1 { } p.BOD1S { margin-top: 1em; } p.BOD2, p.BOD2S { text-indent: 2em; } p.BOD2S { margin-bottom: 1em; } /* ---------------------------06 BODY TEXT LISTS--------------------------- */ /* -----Semantic----- */ ol { /* To fix Nook Color bug*/ adobe-text-layout: optimizeSpeed; } ul, ol { margin-top: 1em; margin-bottom: 1em; } li { line-height: 1.5em; text-align: left; margin-top: 0; margin-bottom: 0; widows: 2; orphans: 2; -webkit-hyphenate-before: 3; hyphenate-before: 3; -webkit-hyphenate-after: 3; hyphenate-after: 3; -webkit-hyphenate-lines: 2; hyphenate-lines: 2; } /* -----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. */ .BOD-LIST1 { /* If you see this style used, the list around it needs to be hard-coded as paragraphs to accommodate rendering on Kindle.app for the iPad. */ margin-left: 2em; } .BOD-LIST2 { /* If you see this style used, the list around it needs to be hard-coded as paragraphs to accommodate rendering on Kindle.app for the iPad. */ text-indent: 1em; margin-left: 2em; } .BOD-BL1, .BOD-BL1-1st, .BOD-BL1-last { margin-left: 2em; text-indent: -1em; } .BOD-BL2, .BOD-BL2-1st, .BOD-BL2-last { margin-left: 4em; text-indent: -1em; } .BOD-NL1, .BOD-NL1-1st, .BOD-NL1-last { /* For single digits only. */ margin-left: 2em; text-indent: -1.15em; } .BOD-NL-00, .BOD-NL-1st-00, .BOD-NL-last-00 { /* Indented for two-digit numbers. */ margin-left: 2em; text-indent: -1.75em; } .BOD-NL2, .BOD-NL2-1st, .BOD-NL2-last { /* For single digits only. */ margin-left: 4em; text-indent: -1.2em; } .BOD-NL2-00, .BOD-NL2-1st-00, .BOD-NL2-last-00 { /* Indented for two-digit numbers. */ margin-left: 4em; text-indent: -1.75em; } .BOD-NL1-1st, .BOD-BL1-1st, .BOD-BL2-1st, .BOD-NL2-1st { margin-top: 1em; } .BOD-NL1-last, .BOD-BL1-last, .BOD-BL2-last, .BOD-NL2-last { margin-bottom: 1em; } /* ---------------------------07 IMAGES--------------------------- */ p.IMG-ANNO, p.IMG-HD { font-size: small; font-family: Seravek, sans-serif; } p.IMG-HD { font-weight: bold; margin: 0.5em 0 0 0; letter-spacing: 0.05em; } /* ---------------------------08 CAPTIONS--------------------------- */ h4.CAP-HD { font-family: Seravek, sans-serif; font-size: small; font-weight: bold; font-style: italic; line-height: 1.25; margin: 0.25em 0 0 0; } p.CAP1, p.CAP2, p.CAP-L, p.CAP-C, p.CAP-R { font-family: Seravek, sans-serif; font-weight: normal; font-style: italic; font-size: small; margin-top: 6px; } p.CAP2 { text-indent: 1em; } p.CAP-L { text-align: left; } p.CAP-C { text-align: center; } p.CAP-R { text-align: right; } /* ---------------------------09 MATERIALS LISTS (or YOU WILL NEED lists)--------------------------- */ h4.ML-AHD { /** ADDED HYPHEN TO MATCH PARA STYLE **/ font-weight: bold; font-style: normal; line-height: 1.25; text-align: left; margin-bottom: 0.5em; font-family: Seravek, sans-serif; } h5.ML-BHD { /** ADDED HYPHEN TO MATCH PARA STYLE **/ font-weight: bold; font-style: normal; line-height: 1.25; text-align: left; margin-bottom: 0.5em; font-family: Seravek, sans-serif; } .ML-LIST1 { /* If you see this style used, the list around it needs to be hard-coded as paragraphs to accommodate rendering on Kindle.app for the iPad. */ margin-left: 2em; } .ML-LIST2 { /* If you see this style used, the list around it needs to be hard-coded as paragraphs to accommodate rendering on Kindle.app for the iPad. */ text-indent: 1em; margin-left: 2em; } .ML-BL1, .ML-BL1-1st, .ML-BL1-last { margin-left: 2em; text-indent: -1em; } .ML-BL2, .ML-BL2-1st, .ML-BL2-last { margin-left: 4em; text-indent: -1em; } .ML-NL1, .ML-NL1-1st, .ML-NL1-last { /* For single digits only. */ margin-left: 2em; text-indent: -1.15em; } .ML-NL-00, .ML-NL-1st-00, .ML-NL-last-00 { /* Indented for two-digit numbers. */ margin-left: 2em; text-indent: -1.75em; } .ML-NL2, .ML-NL2-1st, .ML-NL2-last { /* For single digits only. */ margin-left: 4em; text-indent: -1.2em; } .ML-NL2-00, .ML-NL2-1st-00, .ML-NL2-last-00 { /* Indented for two-digit numbers. */ margin-left: 4em; text-indent: -1.75em; } .ML-NL1-1st, .ML-BL1-1st, .ML-BL2-1st, .ML-NL2-1st { margin-top: 1em; } .ML-NL1-last, .ML-BL1-last, .ML-BL2-last, .ML-NL2-last { margin-bottom: 1em; } /* ---------------------------10 BOX-OUTS AND TIPS--------------------------- */ div.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; } /* -----BOX-OUT----- */ h4.BOX-AHD { font-weight: bold; font-style: normal; line-height: 1.25; text-align: center; margin-bottom: 0.5em; font-family: Seravek, sans-serif; } h5.BOX-BHD { font-weight: bold; font-style: normal; font-family: Seravek, sans-serif; line-height: 1.25; text-align: left; margin-top: 1em; margin-bottom: 0em; } p.BOX1, p.BOX1S, p.BOX2, p.BOX2S, li.BOX-BL, li.BOX-BL-1st, li.BOX-BL-last, li.BOX-NL, li.BOX-NL-1st, li.BOX-NL-last { font-size: 0.85em; font-family: Seravek, sans-serif; } p.BOX1S { margin-top: 1em; } p.BOX2, p.BOX2S { text-indent: 1em; } p.BOX2S { margin-bottom: 1em; } /* -----TIP----- */ h4.TIP-AHD { font-weight: bold; font-style: normal; line-height: 1.25; text-align: center; margin-bottom: 0.5em; font-family: Seravek, sans-serif; } h5.TIP-BHD { font-weight: bold; font-style: normal; font-family: Seravek, sans-serif; line-height: 1.25; text-align: left; margin-top: 1em; margin-bottom: 0em; } p.TIP1, p.TIP1S, p.TIP2, p.TIP2S, li.TIP-BL, li.TIP-BL-1st, li.TIP-BL-last, li.TIP-NL, li.TIP-NL-1st, li.TIP-NL-last { font-size: 0.85em; font-family: Seravek, sans-serif; } p.TIP1S { margin-top: 1em; } p.TIP2, p.TIP2S { text-indent: 1em; } p.TIP2S { margin-bottom: 1em; } /* -----ADDITIONAL----- */ h3.ADD-AHD { font-weight: bold; font-style: normal; line-height: 1.25; text-align: center; margin-bottom: 0.5em; font-family: Seravek, sans-serif; } h4.ADD-BHD { font-weight: bold; font-style: normal; font-family: Seravek, sans-serif; line-height: 1.25; text-align: left; margin-top: 1em; margin-bottom: 0em; } p.ADD1, p.ADD1S, p.ADD2, p.ADD2S, li.ADD-BL, li.ADD-BL-1st, li.ADD-BL-last, li.ADD-NL, li.ADD-NL-1st, li.ADD-NL-last { font-size: 0.85em; font-family: Seravek, sans-serif; } p.ADD1S { margin-top: 1em; } p.ADD2, p.ADD2S { text-indent: 1em; } p.ADD2S { margin-bottom: 1em; } /* ---------------------------11 STEPS--------------------------- */ h4.SbS-AHD { font-family: Seravek, sans-serif; margin: 1em 0 0 0; font-weight: bold; color: #666666; } h5.SbS-BHD { font-family: Seravek, sans-serif; font-size: .85em; margin: 1em 0 0 0; font-weight: bold; font-style: italic; color: #666666; } p.SbS1, p.SbS2 { font-family: Seravek, sans-serif; } p.SbS2 { text-indent: 1em; } /* ---------------------------12 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, td.TD-L, td.TD-C, td.TD-R { font-family: Seravek, sans-serif; border-bottom: 1px #cccccc solid; border-right: 1px #cccccc solid; padding: 5px; } td.TD-AHD { font-family: Seravek, sans-serif; font-size:medium; font-weight: bold; text-align: left; } td.TD-BHD { font-family: Seravek, sans-serif; font-weight: bold; font-style: italic; text-align: left; } td.TD-L { text-align: left; } td.TD-C { text-align: center; } td.TD-R { text-align: right; } /* ---------------------------13 MISCELLANEOUS--------------------------- */ p.FOOT-NOTE, p.END-NOTE, p.ARTSRC { font-size: small; line-height: 1em; } p.COPY, p.COPYS { font-size: small; line-height: 1em; } p.COPYS { margin-top: 1em; } /* ---------------------------14 eBOOK ONLY--------------------------- */ hr { visibility: hidden; } /* 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 avoid them in the EPUB version */ .Image { text-align: center; margin-top: 1em; } .QUOTE { font-family: sans-serif; font-style: italic; text-align: left; margin-left: 2em; } /* ---------------------------CHARACTER STYLES / SPANS--------------------------- */ /* -----01 BOLD/ITALICS----- */ strong { font-weight: bold; font-style: normal; } em { font-weight: normal; font-style: italic; } span.BoldItalic { font-weight: bold; font-style: italic; } /* -----02 CHAPTER NUMBERS----- */ span.CH-num { font-weight: bold; font-style: normal; color: #666666; } /* -----03 STEPS----- */ span.SbS-num { font-family: Seravek, sans-serif; font-weight: bold; font-style: normal; color: #666666; } span.SbS-run-in { font-family: Seravek, sans-serif; font-weight: bold; font-style: normal; color: #666666; } /* -----04 FIGURE NUMBERS----- */ span.FIG-num { font-style: normal; color: #666666; } /* -----05 INTERACTIVE----- */ a { text-decoration: none; color: #336699; -webkit-text-fill-color: #336699; -webkit-hyphens: none !important; adobe-hyphenate: none; -moz-hyphens: none; hyphens: none; } /* -----06 FRACTIONS----- */ .fractions { /** TESTING **/ font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup.num { font-size: 0.6em; vertical-align: 0.5em; line-height: 0; } sub.den { font-size: 0.6em; vertical-align: -0.1em; line-height: 0; } .CT { text-align: center; margin-top: 1em; font-size: xx-large; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } @media amzn-mobi { hr { visibility: visible; } div.SBDIV { page-break-inside: avoid; font-family: Seravek, sans-serif; background-color: none; border: 1px solid #dddddd; margin-top: 1em; margin-bottom: 1em; padding: 1em; } } @media amzn-kf8 { body { margin-right:0; margin-left:0; } ol { margin-left:1em; } } ol.contents_level2 { margin-top:0em; margin-bottom:0em; list-style-type:none; } ol.contents_level1 { margin-top:0em; margin-bottom:0em; list-style-type:none; } ol.contents_guide { margin-top:0em; margin-bottom:0em; list-style-type:none; } p.toc{}