/* ------------------------------------------------------------------------------- / F+W Media, Inc. / CSS for EPUBSBBOD2-sa-Optimized InDesign Template Process for F+W Cincinnati / Format: EPUB (and optimized for KF8) / Last modified: October 24, 2014 / Modified by: Clare Finney, addition of h1.PT, h2.TOCPT, h4.SBHD-sa CATEGORIES: SPANS HEADS PARAGRAPHS LISTS SIDEBARS -Regular -Materials STEP-BY-STEPS TABLES IMAGES AND CAPTIONS FRONT MATTER -Title Page -Contents Page -Copyright Page MEDIA QUERIES FOR KINDLE ------------------------------------------------------------------------------- */ @page { margin-top: 9pt; margin-bottom: 1pt; } body { margin-right: 12pt; margin-left: 12pt; font-weight: normal; font-size: medium; } /* -----SPANS----- */ a, span.url, span.xref { color: #336699; text-decoration: none; -webkit-text-fill-color: #336699; } sub, sup { position: relative; vertical-align: baseline; font-size: 75%; line-height: 0em; } sup.num { vertical-align: 0.5em; font-size: 0.6em; line-height: 0em; } sub.den { vertical-align: -0.1em; font-size: 0.6em; line-height: 0em; } span.Italic { font-style: italic; } span.Bold { font-weight: bold; } span.BoldItalic { font-weight: bold; font-style: italic; } em { font-style: italic; } strong { font-weight: bold; } /* -----HEADS----- */ div.keep { page-break-inside: avoid; } h1, h2, h3, h4, h5, h6 { margin-top: 2em; margin-bottom: 1em; -webkit-hyphens: none !important; -moz-hyphens: none; hyphens: none; adobe-hyphenate: none; page-break-inside: avoid; page-break-after: avoid; text-align: left; } h1.PT { font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; margin-top: 0em; font-size: xx-large; } h1.CN { color: #666666; letter-spacing: 0.1em; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 2em; margin-bottom: 0em; } h1.CT { font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; margin-top: 0em; margin-bottom: 0.5em; font-size: xx-large; } h3.CAU { margin-top: 0em; margin-bottom: 2em; letter-spacing: 0.1em; font-weight: normal; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } h1.FBMH { font-size: x-large; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } h2.AHD { margin-bottom: 0.25em; font-size: x-large; line-height: 1.25em; } h3.BHD { margin-top: 1.5em; margin-bottom: 0.25em; text-align: left; font-size: medium; line-height: 1.25em; letter-spacing: 0.05em; } h4.CHD { margin: 1em 0em 0em 0em; font-style: italic; font-size: medium; line-height: 1.25em; } /* -----PARAGRAPHS----- */ p { margin: 0em; text-align: left; text-indent: 0em; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.5em; 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 { } p.BOD1-sa { margin-top: 1em; } p.BOD2, p.BOD2-sa { text-indent: 1em; } p.BOD2-sa { margin-top: 1em; } p.NOTE { margin-top: 1em; } /* -----LISTS----- */ 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 { adobe-text-layout: optimizeSpeed; } ol, ul { margin-top: 1em; margin-bottom: 1em; margin-left: 1em; } p.BOD-LIST-I { margin-left: 2em; text-indent: -1em; } p.BOD-LIST-NI { margin-left: 1em; text-indent: -1em; } /* -----SIDEBARS----- */ /* Regular */ div.SBDIV { margin-top: 1em; margin-bottom: 1em; padding: 12px; border: 1px solid #ccc; background-color: #fffcd4; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; page-break-inside: avoid; } p.SBBOD, p.SBBOD-sa, p.SBBOD2, p.SBBOD2-sa { font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } p.SBBOD-sa { margin-top: 1em; } p.SBBOD2, p.SBBOD2-sa { text-indent: 1em; } p.SBBOD2-sa { margin-top: 1em; } p.SBCAP-center, p.SBCAP-center-sa { font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; font-style: italic; text-align: center; } p.SBCAP-center-sa { margin-top: 0.5em; } p.SBCAP, p.SBCAP-sa, p.SBCAP2 { font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; font-style: italic; } p.SBCAP-sa { margin-top: 1em; } p.SBCAP2 { text-indent: 1em; } li.sb { font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; 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; } h4.SBHD, h4.SBHD-line1, h4.SBHD-line2, h4.SBHD-sa { margin: 0em 0em 0.5em 0em; text-align: center; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; line-height: 1.25em; } h4.SBHD-line1 { margin-bottom: 0em; margin-top: 1em; } h4.SBHD-line2 { margin-top: 0em; } h4.SBHD-sa { margin-top: 1em; } /* Materials */ h4.SBMLHD { margin: 0em 0em 0.5em 0em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; text-align: center; } p.SBML { font-size: 0.85em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; margin-left: 2em; text-indent: -1em; margin-top: 0.5em; } /* ----- STEP-BY-STEPS ----- */ h4.SbSHD {margin-top: 0em; color: #666666; font-size: medium; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; font-size: 0.85em; } p.SbS1-RunInHD, p.SbS1, p.SbS2 { font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; font-size: 0.85em; } p.SbS1 { } p.SbS2 { text-indent: 1em; } p.SbS1-RunInHD { margin-top: 1em; } span.SbS1-RunInHD { color: #666666; font-weight: bold; font-style: normal; } /* -----TABLES----- */ table { border-collapse: collapse; margin-top: 1em; margin-bottom: 1em; border: 1px solid; max-width: 100%; page-break-inside: avoid; } td { font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; font-size: small; border: 1px solid; padding: 4px 6px 3px 6px; vertical-align: top; -webkit-hyphens: none !important; adobe-hyphenate: none !important; -moz-hyphens: none !important; hyphens: 0em !important; } td.THD-cell { background-color: #CCC; } p.THD, p.TH-SUBHD { font-weight: bold; text-align: left; } td.TH-SUBHD-cell { background-color: #EEE; } p.TH-SUBHD { font-style: italic; } p.TD-BODY { text-align: left; } p.TD-BODY-C { text-align: center; } p.TD-BODY-R { text-align: right; } /* ----- IMAGES AND CAPTIONS ----- */ div.Image { margin-top: 1em; text-align: center; page-break-inside: avoid; } img { max-width: 100%; } h4.CapHD { margin: 1em 0em 0em 0em; font-weight: bold; font-style: italic; } p.CAP-center, p.CAP-center-sa { font-style: italic; font-size: small; text-align: center; } p.CAP-center-sa { margin-top: .5em; } p.CAP, p.CAP-sa, p.CAP2 { font-style: italic; font-size: small; } p.CAP-sa { margin-top: .5em; } p.CAP2 { text-indent: 1em; } li.cap { font-style: italic; font-size: small; 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; } p.Leg1, p.Leg2 { font-weight: bold; font-size: small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } p.Leg1 { text-transform: capitalize; margin: 5px 0em 0em 0em; letter-spacing: 0.05em; margin-top: 1em; } p.Leg2 { font-style: italic; margin: 3px 0em 0em 0em; } p.ARTSRC { text-align: right; font-size: x-small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; margin-top: 1em; } /* -----FRONT MATTER----- */ body.coverbody { margin: 0em; text-align: center; } /* Title Page */ h2.TPAU, p.TPAUSUB, p.TPCITY, div.TPLOGO, h2.TPSUB, h1.TPT, p.TPWEB { text-align: center; } h1.TPT { margin-bottom: 0em; } h2.TPSUB { margin-top: 0em; font-weight: normal; } h2.TPAU { margin-bottom: 0em; } p.TPAUSUB { margin-top: 0em; -webkit-hyphens: none !important; adobe-hyphenate: none !important; -moz-hyphens: none !important; hyphens: 0em !important; } p.TPCITY, p.TPWEB { font-size: x-small; -webkit-hyphens: none !important; adobe-hyphenate: none !important; -moz-hyphens: none !important; hyphens: 0em !important; } div.TPLOGO { margin-top: 2em; } /* Contents Page */ h2.TOCPT { margin-top: 2em; margin-bottom: 0em; font-size: x-large; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } h3.TOCCN { margin-top: 2em; margin-bottom: .5em; letter-spacing: 0.1em; font-weight: normal; font-size: small; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; } h2.TOCCT { margin-top: 0em; margin-bottom: 0em; font-size: x-large; } h2.TOCCT-sa { margin-top: 1em; margin-bottom: 0em; font-size: x-large; } p.TOCA, p.TOCAU, p.TOCFBM { -webkit-hyphens: none !important; adobe-hyphenate: none !important; -moz-hyphens: none !important; hyphens: 0em !important; } p.TOCA { margin-top: 0.5em; margin-left: 1em; } p.TOCAU { } p.TOCFBM { margin-top: 1em; font-style: italic; } /* Copyright Page */ p.COPY1, p.COPY1-sa { font-size: small; } p.COPY1-sa { margin-top: 1em; } ol.contents_level1 { margin-top:0em; margin-bottom:0em; list-style-type:none; } ol.contents_level2 { margin-top:0em; margin-bottom:0em; list-style-type:none; } ol.contents_guide { margin-top:0em; margin-bottom:0em; list-style-type:none; } /* ----- MEDIA QUERIES FOR KINDLE ----- */ h5.SBHD2 { margin: 1em 0em 0em 0em; font-family: "Helvetica Neue", Verdana, Geneva, sans-serif; font-size: 1.25em; line-height: 1.25em; } @media amzn-kf8 { body { margin-right: 0em; margin-left: 0em; } ol, ul { margin-left: 2em; } }