/* ------------------------------------------------ / 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: x-large; line-height: 1.25em; } .BHD { margin-top: 1.5em; margin-bottom: 0.25em; text-align: left; letter-spacing: 0.05em; font-size: medium; line-height: 1.25; } .CAU { margin-top: 0; margin-bottom: 2em; letter-spacing: 0.1em; font-weight: normal; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .CHD { margin-top: 1em; margin-bottom: 0; font-style: italic; font-size: medium; line-height: 1.25; } .CN { color: #666666; letter-spacing: 0.1em; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 2em; margin-bottom: 0; } .CT { margin-top: 1em; font-size: xx-large; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .FBMH { font-size: x-large; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } /* Step-by-Step head */ .SBSHD { margin: 0; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 1.4; } .SBS-RunInHD { margin: 0; font-weight: normal; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 1.4; } /* ---------------------------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, .COPY1 { } p.BOD1-space { margin-top: 1em; } p.BOD2, .BOD2S { text-indent: 1em; } .BOD2S { margin-bottom: 1em; } .COPY1, .COPY1S { font-size: small; } .COPY1S { margin-bottom: 1em; } .ML { margin-left: 2em; text-indent: -1em; } .NOTE { margin-left: 1em; 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. */ p.BOD-BL, p.BOD-BL-1st, p.BOD-BL-last { margin-left: 2em; text-indent: -1em; } p.BOD-BL-1st, p.BOD-BL2-1st, p.BOD-NL-1st, p.BOD-NL2-1st { margin-top: 1em; } p.BOD-BL-last, p.BOD-BL2-last, p.BOD-NL-last, p.BOD-NL2-last { margin-bottom: 1em; } p.BOD-BL2, p.BOD-BL2-1st, p.BOD-BL2-last { margin-left: 4em; text-indent: -1em; } .BOD-LIST-NI { margin-left: 2em; } .BOD-LIST-I { margin-left: 2em; 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; } /* ---------------------------SPANS---------------------------- */ span.Bold { font-weight: bold; } span.BoldItalic { font-weight: bold; font-style: italic; } /* ---------------------------SIDEBARS---------------------------- */ .SBDIV { margin-top: 1em; margin-bottom: 1em; padding: 0 1em; border: 1px solid #ccc; background-color: #fffcd4; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; page-break-inside: avoid; } .SBBOD, .SBBOD-space, .SBBOD2, .SBBOD-BL, .SBBOD-BL-1st, .SBBOD-BL-last, .SBBOD-NL, .SBBOD-NL-1st, .SBBOD-NL-last, .SBML { font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .SBBOD-space { margin-top: 1em; } .SBBOD2 { text-indent: 1em; } .SBHD { margin-top: 0; } .SBHD, .SBHD-line1, .SBHD-line2 { margin-bottom: 0.5em; text-align: center; font-size: large; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 1.25; } .SBHD2 { margin-top: 1em; margin-bottom: 0; font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 1.25; } .SBML { margin-left: 2em; text-indent: -1em; } /* ---------------------------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: small; padding: 4px; } th { font-size: 0.8em; background-color: #CCC; padding: 6px; font-weight: bold; } .TD-BODY { text-align: left; } .TD-BODY, .TD-BODY-R, .THD, .TH-SUBHD { font-size: small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .TD-BODY-C { text-align: center; } .TD-BODY-R { text-align: right; } .TH-SUBHD { font-size: 0.7em; font-style: italic; border: none; background-color: #EEE; font-weight: bold; text-align: left; } .THD { font-weight: bold; text-align: left; } /* ---------------------------------- CAPTIONS ---------------------------------- */ .ARTSRC { text-align: right; font-size: x-small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .CAP { margin: 0; font-style: italic; font-size: 0.8em; text-align:center; } .CapHD { margin: 0.25em 0 0 0; font-weight: bold; font-style: italic; font-size: small; line-height: 1.25; } .CAP-NL, .CAP-NL-1st, .CAP-NL-last { font-style: italic; font-size: small; } .Leg1 { margin: 0.5em 0 0 0; letter-spacing: 0.05em; font-weight: bold; } .Leg1, .Leg2 { font-size: small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } /* ---------------------------------- STEP-BY-STEPS ---------------------------------- */ .SbS1 { } .SbS1-RunInHD { margin-top: 1em; } .SbS2 { text-indent: 1em; } .SbSHD { margin: 1em 0 0 0; color: #666666; font-weight: bold; } .SbS1, .SbS1-RunInHD, .SbS2, .SbSHD { font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .SbSHD-title { color: black; } span.SbS-HD { font-weight: bold; font-style: normal; } span.STEP-NUM { color: #666666; font-weight: bold; font-style: normal; } /* ---------------------------TITLE PAGE---------------------------- */ .TPAU { margin-bottom: 0; } .TPAU, .TPAUSUB, .TPCITY, .TPLOGO, .TPSUB, .TPT, .TPWEB { text-align: center; } .TPAUSUB { margin-top: 0; } .TPCITY, .TPWEB { font-size: medium; } .TPLOGO { margin-top: 2em; } .TPSUB { margin-top: 0; font-weight: normal; } .TPT { margin-bottom: 0; } /* ---------------------------TOC---------------------------- */ .TOCA { margin-top: 0.5em; margin-left: 1em; } .TOCAU {margin-top: 0; margin-bottom: 0; font-size: medium; } .TOCCN { margin-top: 2em; margin-bottom: 0; letter-spacing: 0.1em; font-weight: normal; font-size: small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } .TOCCT { margin-top: 0; margin-bottom: 0; font-size: medium; text-indent:0.5em; } .TOCFBM { margin-top: 1em; font-style: italic; } /* ---------------------------------- MEDIA QUERIES ---------------------------------- */ /*Horizontal rules around sidebars are a hack for Kindle. */ hr { visibility: hidden; } span.hide { display: none; visibility: hidden; } @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: xx-small; margin-bottom: 1em; } .BHD { margin-top: 1em; margin-bottom: 0; } p.BOD-BL, p.BOD-BL-1st, p.BOD-BL-last, p.BOD-BL2, p.BOD-BL2-1st, p.BOD-BL2-last, p.BOD-NL, p.BOD-NL-1st, p.BOD-NL-last, p.BOD-NL-00, p.BOD-NL-1st-00, p.BOD-NL-last-00, p.BOD-NL2, p.BOD-NL2-1st, p.BOD-NL2-last, p.BOD-NL2-00, p.BOD-NL2-1st-00, p.BOD-NL2-last-00, .BOD-PL, .ML { margin-left: 0; } p.BOD-BL, p.BOD-BL-1st, p.BOD-BL-last { text-indent: -45; } p.BOD-BL2, p.BOD-BL2-1st, p.BOD-BL2-last { text-indent: -70; } .BOD-LIST-NI { margin-left: 120; } .BOD-LIST-I { margin-left: 120; } p.BOD-NL, p.BOD-NL-1st, p.BOD-NL-last, p.BOD-NL-00, p.BOD-NL-1st-00, p.BOD-NL-last-00 { text-indent: -50; } p.BOD-NL2, p.BOD-NL2-1st, p.BOD-NL2-last, p.BOD-NL2-00, p.BOD-NL2-1st-00, p.BOD-NL2-last-00 { text-indent: -75; } .BOD-PL, .ML { text-indent: -20; } .CAU { margin-top: 0; margin-bottom: 1em; } span.hide { display: inline; visibility: visible; } .Leg1 { margin-top: 1em; } .ML, .NOTE, .SBML { margin-left: 0; } .SBDIV, .TIPDIV { border: none; background-color: none; } .SBHD, .SBHD-line1, .SBHD-line2 { margin-bottom: 1em; } .SBML { margin-left: 0; text-indent: -20; } .TOCA { margin-left: 1em; } .TOCCN { margin-top: 2em; margin-bottom: 0; } .TOCCT { margin-bottom: 0; } } div.emailcapturepage { margin-top:1em; font-family:Georgia, "Times New Roman", Times, serif; } h3.emailcapturepage { font-size:normal; 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; }