/* Penguin UK Ebook CSS DATE: 12/12/2012 version 2.4 */ /* =============== Document Styles =============== */ a { text-decoration:none !important; } p { text-align: left; text-indent: 1em; margin-top: 0; margin-bottom: 0; orphans: 2; widows: 2; } sup.EBsup { vertical-align: super; font-size: x-small; line-height: 100% !important; } sub.EBsub { vertical-align: sub; font-size: x-small; line-height: 100% !important; } /*NEW - 12.12.12*/ span.underline { text-decoration:underline; } /*NEW - 12.12.12*/ span.strikethrough { text-decoration:line-through; } /*NEW - 12.12.12*/ span.overline { text-decoration:overline; } /* ######### Headings ######### */ h1, h2, h3, h4, h5 { margin-top: 0; margin-bottom: 0; } h2.EB04MainHead { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 14%; margin-bottom: 2em; font-weight: normal; } h2.EB04MainHeadClosedNum { page-break-after: avoid; text-align: center; margin-top:14%; margin-bottom:0.85em; font-weight: normal; } /****NEW*****/ h2.EB04MainHeadClosedTitle { page-break-after: avoid; line-height: 1em; text-align: center; margin-bottom: 2em; font-weight: normal; } h4.EB10SmallHead { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 1.5em; margin-bottom: 0.5em; font-weight: normal; } h5.EB07SmallCapsMediumHead { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 2em; margin-bottom: 0.5em; font-weight: normal; text-transform: uppercase; } h2.EB09SmallCapsLargeHead { page-break-after: avoid; line-height: 1.3em; text-align: center; font-weight: normal; text-transform: uppercase; margin-top: 18%; margin-bottom: 0; } /*NEW - 01.11.12*/ h2.EB09LargeHead { page-break-after: avoid; line-height: 1.3em; text-align: center; font-weight: normal; margin-left:5%; margin-right:5%; margin-top: 18%; margin-bottom: 0; hyphens:none; -webkit-hyphens: none; } h4.EB11SmallItalicHead { page-break-after: avoid; line-height: 1.3em; text-align: center; font-style: italic; font-weight: normal; margin-top: 0; margin-bottom: 2em; text-indent:0; } h4.EB11SmallItalicHeadSpaced { page-break-after: avoid; line-height: 1.3em; text-align: center; font-style: italic; font-weight: normal; margin-top: 1em; margin-bottom: 2em; text-indent:0; } h3.EB04MainHead2 { page-break-after: avoid; line-height: 1.3em; text-align: center; font-weight: normal; margin-top: 1em; margin-bottom: 0; } /*NEW - 01.11.12*/ h3.EB04SmallCapsMainHead2 { page-break-after: avoid; line-height: 1em; text-align: center; font-weight: normal; margin-top: 0.5em; margin-bottom: 1em; font-size:1.7em; text-transform:lowercase; letter-spacing: 0.1em; font-variant:small-caps; hyphens:none; -webkit-hyphens: none; } h2.EB06MainHead3 { page-break-after: avoid; line-height: 1.3em; text-transform: uppercase; text-align: center; font-weight: normal; margin-top: 14%; margin-bottom: 0.5em; } h5.EB08ExtraFeatureHead { page-break-after: avoid; line-height: 1.3em; text-transform: uppercase; text-align: center; font-weight: normal; margin-top: 1em; margin-bottom: 0; } /* ######### Paragraphs ######### */ p.EB01BodyTextLineSpace { line-height: 1.3em; margin-top: 1em; text-indent: 0; } p.EB02BodyTextFullOut { line-height: 1.3em; text-indent: 0; } p.EB03BodyTextIndented { line-height: 1.3em; text-indent: 1em; } p.EB15ContentsText { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 2em; margin-top: 0; margin-bottom: 1em; } p.EB15ContentsTextIndent { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-left: 2em; margin-top: 0; margin-bottom: 1em; } p.EB12SmallItalic { line-height: 1.3em; text-indent: 0; text-align: center; font-style: italic; } /*Margin-top ammended to add space between imprint text and logo*/ p.EB01Imprint { margin-top:10px; line-height: 1.3em; text-indent: 0; text-align: center; font-size: 0.85em; page-break-inside:avoid; } /*Margin-top ammended for non-Kindle devices*/ div.EB01imprintContainer{ margin-top:35%; height:15%; width:100%; display:inline-block; text-align:center; } p.EB29BodyTextIndentLineSpace { line-height: 1.3em; text-indent: 1em; margin-top: 1em } /* ######### Epigraph ######### */ p.EB17Epigraph { /*Standard epigraph*/ line-height: 1.3em; text-indent: 0; font-size: 0.85em; font-style: italic; margin-top: 2em; margin-bottom: 0; } div.EB17PoemEpigraphStanzaWrap { /*Poem epigraph - line*/ width:100%; margin-top: 2em; } p.EB17PoemEpigraphLine { /*Poem epigraph - line*/ line-height: 1.3em; text-indent: 0; font-size: 0.85em; font-style: italic; text-indent: -2em; padding-left: 2em; margin-top: 0; margin-bottom: 0; } p.EB18EpigraphSource { line-height: 1.3em; text-indent: 0; text-align: right; font-size: 0.85em; font-style: italic; margin-top: 0; margin-bottom: 2em; margin-right: 1em; } /* ######### Extra Feature ######### */ blockquote { margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB22ExtraFeatureFirst { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB19ExtraFeatureFullOut { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB21ExtraFeatureIndented { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB20ExtraFeatureLast { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 1em; margin-right: 1em; } blockquote p { margin-left: 0; margin-right: 0; } /* ######### List ######### */ li.EB23ListFirst { text-align: left; line-height: 1.3em; font-size: 0.85em; margin-right: 1em; margin-top: 1em; margin-bottom: 0; } li.EB24List { text-align: left; line-height: 1.3em; font-size: 0.85em; margin-right: 1em; margin-top: 0; margin-bottom: 0; } li.EB25ListLast { text-align: left; line-height: 1.3em; font-size: 0.85em; margin-right: 1em; margin-top: 0; margin-bottom: 1em; } li.EB26ListNested { text-align: left; line-height: 1.3em; font-size: 1em; margin-right: 1em; margin-top: 0; margin-bottom: 0; } /* ######### Hanging Indents ######### */ p.EB26SmallTextHangingIndent { line-height: 1.3em; font-size: 0.85em; text-indent: -1em; padding-left: 1em; margin-top: 0; margin-bottom: 0; } p.EB27SmallTextExtraIndent { line-height: 1.3em; font-size: 0.85em; text-indent: 0; margin-left: 2em; margin-top: 0; margin-bottom: 0; } /* ######### Copyright ######### */ h5.EB13CopyrightHead { line-height: 1.3em; text-indent: 0; font-size: 1em; text-transform: uppercase; margin-top: 0; margin-bottom: 0; font-weight:normal; } p.EB14CopyrightText { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0; } /* ######### Foot/Endnotes ######### */ p.footnote { text-indent: -1em; padding-left: 1em; } p.endnote { text-indent: -1em; padding-left: 1em; } p.footnote a { color:blue; } p.footnote a:visited{ color:blue; } div.footnote_page { page-break-before: always; } /* ######### Images/Maps ######### */ div.cover_wrap { width:100%; text-align:center; } img.cover { max-height:100%; max-width:100%; } div.MapTitle { /*page-break-before: always;*/ page-break-after: always; } div.imagewrap { width:100%; max-width:100%; display:inline-block; text-align:center; } p.EB28InlineCaption { text-align:center; line-height:1.3em; font-size:0.85em; margin:0em 0em 1em 0em; } p.EB28FSCaption { text-align:center; line-height:1.3em; font-size:0.85em; margin:0em 0em 1em 0em; } img.image { margin:1em 0em; max-width:100%; display:inline-block; } img.FSimage { max-width:100%; max-height:100%; } img.FSimageCaptioned{ margin-bottom:1em; max-width:100%; max-height:100%; } div.FSimagewrap { width:100%; height:100%; max-width:100%; text-align:right; page-break-after:always; page-break-before:always; /* display:inline-block; */ } div.FSimagewrapCaptioned { width:100%; max-width:100%; height:92%; text-align:center; page-break-before:always; /* page-break-after:always;*/ /* display:inline-block;*/ } /* ######### Poetry ######### */ p.poem { text-indent: -2em; padding-left: 2em; margin-top: 0; margin-bottom: 0; line-height: 1.3em; } p.poemInline { text-indent: -2em; padding-left: 2em; margin-top: 0; margin-bottom: 0; line-height: 1.3em; font-size:0.85em; } div.StanzaWrap{ width:100%; margin: 1em 0em } /* ######### Inline Tables ######### */ table.SmallTable{ border-collapse:collapse; margin:1em 0 1em !important; page-break-inside:avoid; width:100%; border:1px solid #000000; text-align:center; } th.HCell { font-size:0.85em; border:1px solid #000000; -webkit-hyphens:none; hyphens:none; page-break-inside:avoid; padding:5px !important; text-indent:0; text-align:center; } td.TCell { font-size:0.85em; border:1px solid #000000; -webkit-hyphens:none; hyphens:none; page-break-inside:avoid; padding:5px !important; text-indent:0; text-align:left; } div.Kindlecenter { text-align:center; /*Kindle eInk devices require the text within a cell to be enclosed in a div to enable centre alignment*/ } /* ########## Penguin Branding styles ############# */ .mobi { display:none; } .epubKF8 { display:block; } h2.endPageHead { page-break-after: avoid; line-height: 1.3em; text-align: center; font-weight: normal; text-transform: uppercase; margin-top: 1em; margin-bottom: 2em; font-size:200%; } div.brandContainer { margin-top:35%; height:40%; width:100%; text-align:center; } /*img.brandLogo { height:100%; width:auto; }*/ div.logoContainer { display: inline-block; height:9%; width:100%; text-align:center; margin-top:15%; margin-bottom:0em; } div.endpageLogoContainer{ margin-top:35%; width:100%; display:inline-block; text-align:center; height:15%; } h2.brandingHeadClosedNum { page-break-after: avoid; text-align: center; margin-top:0.25em; margin-bottom:0.45em; margin-left:2%; margin-right:2%; font-weight: normal; line-height:1.3em; text-transform: lowercase; letter-spacing: 0.1em; font-variant:small-caps; hyphens:none; -webkit-hyphens: none; } h2.brandingHeadClosedNumOnly { page-break-after: avoid; text-align: center; margin-top:0.25em; margin-bottom:3em; margin-left:2%; margin-right:2%; font-weight: normal; text-transform: lowercase; letter-spacing: 0.1em; font-variant:small-caps; hyphens:none; -webkit-hyphens: none; } h2.brandingHead { page-break-after: avoid; text-align: center; margin-top:0.5em; margin-bottom:3em; margin-left:2%; margin-right:2%; font-weight: normal; hyphens:none; -webkit-hyphens: none; } h2.brandingHeadClosedTitle { page-break-after: avoid; line-height: 1em; text-align: center; margin-top:0.5em; margin-bottom: 3em; font-weight: normal; margin-left:2%; margin-right:2%; } h2.brandingPartNum { page-break-after: avoid; text-align: center; margin-top:0.85em; margin-bottom:0.25em; margin-left:2%; margin-right:2%; font-weight: normal; line-height:1.3em; hyphens:none; -webkit-hyphens: none; } h2.brandingPartSingleTitle { page-break-after: avoid; text-align: center; margin-top:0.85em; margin-bottom:0.25em; margin-left:2%; margin-right:2%; font-weight: normal; line-height:1.3em; text-transform: lowercase; letter-spacing: 0.1em; font-variant:small-caps; hyphens:none; -webkit-hyphens: none; } /* ######### Horizontal rule #############*/ div.hrframe{ width:100%; padding-left:10%; height:1%; text-align:center; page-break-after: avoid; page-break-before:avoid; font-size:0px; } div.hr { width:80%; margin-top:2%; border-top:1px solid black; page-break-inside:avoid; page-break-after:avoid; page-break-before:avoid; } @media amzn-kf8 { div.EB01imprintContainer{ margin-top:65%; } div.logoContainer { display:inline-block; height:5%; } img.penguinLogo { height:90%; } img.brandLogo{ height:60%; } div.brandContainer{ margin-top:50%; } h2.endPageHead{ margin-top:3%; } h2.brandingHeadClosedNum, h2.brandingHeadClosedNumOnly, h2.brandingHead { margin-top:4%; } } @media amzn-mobi { .mobi { display:block; } .epubKF8 { display:none; } div.EB01imprintContainer{ margin-top:20%; } .endpageLogoContainer{ margin-top:25%; } div.brandContainer{ margin-top:30%; } div.hrframe { display:none; } /*div.logoContainer { height:12%; width:100%; text-align:center; margin-top:0em; margin-bottom:2em; } h2.brandingHeadClosedNum, h2.brandingHeadClosedNumFig, h2.brandingHeadClosedNumOnly { page-break-after: avoid; text-align: center; margin: none; margin-top:5%; margin-bottom:0.85em; font-weight: normal; text-transform: none; letter-spacing: 0.1em; font-variant:normal; hyphens:none; -webkit-hyphens: none; } h2.brandingHeadClosedTitle { page-break-after: avoid; line-height: 1em; text-align: center; margin:none; margin-bottom: 2em; font-weight: normal; }*/ } p.BodyTextRight1 { text-align: right; margin-top: 1em; margin-bottom: 0em; } p.BodyTextRight { text-align: right; margin-top: 1em; font-size: 0.85em; margin-bottom: 0em; } p.Epigraph { line-height: 1.3em; text-indent: 0; text-align: right; font-size: 0.85em; font-style: italic; margin-top: 2em; margin-bottom: 0; } p.EpigraphSource { line-height: 1.3em; text-indent: 0; text-align: right; font-size: 0.85em; margin-top: 1em; margin-bottom: 2em; } p.ExtraFeatureFullOutLineSpace { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 1em; margin-bottom: 0.5em; } p.ExtraFeatureFullOut { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; } span.small { font-size: 0.85em; } p.BodyTextRight { text-align: right; margin-top: 1em; } p.BodyTextCenter { text-align: center; } p.BodyTextCenter1 { text-align: center; margin-bottom: 1em; } p.BodyTextCenterSpace { text-align: center; margin-top: 1em; } p.ExtraFeatureRight { line-height: 1.3em; text-align: right; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureCenter { line-height: 1.3em; text-align: center; font-size: 0.85em; margin-top: 1em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureCenter1 { line-height: 1.3em; text-align: center; font-size: 0.85em; margin-top: 2em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureFullOut5 { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureFullOut8 { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } p.BodyTextLineSpace { line-height: 1.3em; margin-top: 1em; text-indent: 0; margin-left: 3em; margin-right: 1em; font-size:0.85em; } p.SmallTextHangingIndent5 { line-height: 1.3em; font-size: 0.85em; text-indent: -1em; padding-left: 1em; margin-top: 0; margin-bottom: 1em; } p.SmallTextHangingIndentSpace { line-height: 1.3em; font-size: 0.85em; padding-left: 1em; margin-bottom: 0; line-height: 1.3em; margin-top: 1em; text-indent: -1em; } span.small { font-size: 0.85em; } p.SmallTextHangingIndentBS { line-height: 1.3em; font-size: 0.85em; text-indent: -1em; padding-left: 1em; margin-top: 0; margin-bottom: 0.5em; } p.SmallTextHangingIndentBST { line-height: 1.3em; font-size: 0.85em; text-indent: 0em; padding-left: 0em; margin-top: 0; margin-bottom: 0.5em; } p.ExtraFeatureIndented { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } p.BodyTextCenter5 { text-align: center; font-size: 0.85em; } p.BodyTextIndented0 { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-left: 1em; margin-right: 1em; } p.BodyTextIndentedLineSpace { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-top: 1em; } p.BodyTextFullOut { line-height: 1.3em; text-indent: 0; font-size: 0.85em; } p.BodyTextFullOutBS { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-bottom: 0.5em; } p.ExtraFeatureFullOut5a { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureIndented0 { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-top: 0em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureIndenteda { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-top: 0em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureFullOut5b { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em; } p.BodyTextIndentedFullOut2{ line-height: 1.3em; text-indent: 1em; font-size: 0.85em; } p.BodyTextIndented2{ line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0em; margin-bottom: 1em; margin-left: 2.em; margin-right: 1em; } p.ExtraFeatureFullOut6b { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0em; margin-bottom: 2em; margin-left: 1em; margin-right: 1em; } p.BodyTextIndented01 { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; }