/* ------------------------------------------------ / F+W Media, Inc. / CSS for EPUB-Optimized InDesign Template Process / Format: EPUB & KF8 / Version: 20130422 / Scope: All imprints / Last modified: 22 April 2013 / Modified by: India Amos, india.amos@fwmedia.com --------------------------------------------------- */ @page { margin-top: 9pt; margin-bottom: 1pt; } body { margin-right: 12pt; margin-left: 12pt; font-weight: normal; font-size: medium; font-family: Charter, Georgia, serif; } body.coverbody { margin: 0; text-align: center; } a { color: #336699; text-decoration: none; -webkit-text-fill-color: #336699; } img { max-width: 100%; } sub, sup { position: relative; vertical-align: baseline; font-size: 75%; line-height: 0; } sup.num { vertical-align: 0.5em; font-size: 0.6em; line-height: 0; } sub.den { vertical-align: -0.1em; font-size: 0.6em; line-height: 0; } /* ---------------------------DIVS---------------------------- */ .keep { page-break-inside: avoid; } .Image { text-align: center; margin-top: 0.5em; margin-bottom: 0.5em; } /* ---------------------------HEADINGS---------------------------- */ h1, h2, h3, h4, h5, h6 { margin-top: 2em; margin-bottom: 1em; -webkit-hyphens: none !important; -moz-hyphens: none; hyphens: none; adobe-hyphenate: none; font-weight: bold; font-style: normal; page-break-inside: avoid; page-break-after: avoid; text-align: left; } .AHD { margin-bottom: 0.25em; font-size: 2em; line-height: 1.25em; } .FBMH { font-size: 2em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } /* Step-by-Step head */ /* ---------------------------PARAGRAPHS---------------------------- */ p { margin: 0; text-align: left; text-indent: 0; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.5; 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; } p.BOD1-space { margin-top: 1em; } p.BOD2 { text-indent: 1em; } /* ---------------------------LISTS---------------------------- */ /* -----Semantic----- */ li { text-align: left; line-height: 1.5; 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; } ol { /* To fix that stupid Nook Color bug*/ adobe-text-layout: optimizeSpeed; } ol, ul { margin-top: 1em; margin-bottom: 1em; } /* -----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 may need to be hard-coded if the NL2 or BL2 variant is present; see guidelines for acceptable use. */ /* ---------------------------SPANS---------------------------- */ span.Bold { font-weight: bold; } span.BoldItalic { font-weight: bold; font-style: italic; } /* ---------------------------SIDEBARS---------------------------- */ /* ---------------------------TABLES---------------------------- */ table { border-collapse: collapse; margin-top: 1em; margin-bottom: 1em; border: 1px solid; max-width: 100%; page-break-inside: avoid; } td, th { font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; border: 1px solid; padding: 4px; text-align: left; vertical-align: top; -webkit-hyphens: none !important; adobe-hyphenate: none !important; -moz-hyphens: none !important; hyphens: 0 !important; } td { font-size: 0.9em; padding: 4px; } th { font-size: 0.8em; padding: 6px; font-weight: bold; } /* ---------------------------------- CAPTIONS ---------------------------------- */ .Leg1 { margin: 0.5em 0 0 0; letter-spacing: 0.05em; font-weight: bold; font-size: 0.9em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .Leg2 { font-size: 0.9em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif;font-style:italic;font-weight:bold; } /* ---------------------------------- STEP-BY-STEPS ---------------------------------- */ /* ---------------------------TITLE PAGE---------------------------- */ .TPAU { margin-bottom: 0; } .TPAU, .TPAUSUB, .TPCITY, .TPLOGO, .TPSUB, .TPT, .TPWEB { text-align: center; } .TPAUSUB { margin-top: 0; } .TPCITY, .TPWEB { font-size: 0.8em; } /* ---------------------------TOC---------------------------- */ .TOCA { margin-top: 0.5em; margin-left: 1em; } /* ---------------------------------- MEDIA QUERIES ---------------------------------- */ /*Horizontal rules around sidebars are a hack for Kindle. */ hr { visibility: hidden; } span.hide { display: none; visibility: hidden; } div.emailcapturepage { margin-top:1em; font-family:Georgia, "Times New Roman", Times, serif; } h3.emailcapturepage { font-size:medium; line-height:1.5em; text-align:center; margin-top:0em; margin-right:0em; margin-left:0em; text-ident:0em; } p.emailcapturepage-text1 { font-size:1em; line-height:1.25em; text-align:center; text-indent:0; margin-top:1em; margin-right:0em; margin-bottom:0em; margin-left:0em; -webkit-hyphens:none !important; adobe-hyphenate:none !important; -moz-hyphens:none !important; hyphens:none !important; } p.emailcapturepage-text2 { font-size:1em; line-height:1.25em; text-align:center; text-indent:0; margin-top:0em; margin-right:0em; margin-bottom:0em; margin-bottom:0em; margin-left:0em; -webkit-hyphens:none !important; adobe-hyphenate:none !important; -moz-hyphens:none !important; hyphens:none !important; } a.emailcapturepage { text-decoration:none; font-style:italic; color:#C00; } div.emailcapturebutton { margin-top:1em; margin-bottom:1em; text-align:center; } @media amzn-kf8 { body { margin-right: 0; margin-left: 0; } } @media amzn-mobi { hr { visibility: visible; } .AHD { margin-top: 1em; margin-bottom: 0; } .ARTSRC { font-size: 0.8em; margin-bottom: 1em; } span.hide { display: inline; visibility: visible; } .Leg1 { margin-top: 1em; } .SBML { margin-left: 0; text-indent: -20; } .TOCA { margin-left: 1em; } }