/* ------------------------------------------------ / 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