/* Penguin UK Ebook CSS DATE: 18/04/2013 version 2.7 */ /* =============== Document Styles =============== */ div.box { margin-top: 1em; margin-bottom: 1em; margin-left: .5em; margin-right: .2em; border: 1px solid gray; page-break-inside:avoid; padding: .5em; } span.dropcaps { float: left; font-size: 3.7em; line-height: 1.0em; padding-top: .02px; margin-top: .01em; margin-right: .1em; font-style: normal; font-weight: normal; } a { text-decoration:none !important; } p { text-align: left; text-indent: 1em; margin-top: 0; margin-bottom: 0; orphans: 2; widows: 2; } small { font-size:12px; } span.small { font-size: 20px; } 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.EB04MainHead1 { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 14%; margin-bottom: 0.5em; font-weight: normal; } h2.EB04MainHead2 { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 0; margin-bottom: 0em; font-weight: normal; } h2.EB04MainHeadClosedNum { page-break-after: avoid; text-align: center; margin-top:1%; 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; } h4.EB10SmallHead1 { page-break-after: avoid; line-height: 1.3em; font-size: 1.2em; text-align: center; margin-top: 2em; margin-bottom: 0.5em; font-weight: normal; } h5.EB07SmallCapsMediumHead { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 1em; 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: 14%; 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-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-weight: normal; font-style: italic; margin-top: 1em; margin-bottom: 2em; text-indent:0; } h3.EB04MainHead2 { page-break-after: avoid; line-height: 1.3em; text-align: center; font-size: 1.2em; font-weight: normal; margin-top: 2em; margin-bottom: 0em; } /*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: 0em; font-variant:small-caps; hyphens:none; -webkit-hyphens: none; } h3.EB04SmallCapsMainHead2a { page-break-after: avoid; line-height: 1em; text-align: center; font-weight: normal; margin-top: 1em; margin-bottom: .5em; font-size:1.3em; letter-spacing: 0em; 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; } h3.EB08ExtraFeatureHead { page-break-after: avoid; line-height: 1.3em; text-align: left; font-weight: normal; font-size: normal; margin-top: 3em; margin-bottom: 1; } h5.EB08ExtraFeatureHead { page-break-after: avoid; line-height: 1.3em; text-align: left; font-weight: strong; font-size: normal; margin-top: 3em; margin-bottom: 1; } /* ######### Paragraphs ######### */ p.EB01BodyTextLineSpace { line-height: 1.3em; margin-top: 1em; text-indent: 0; text-align: justify; } p.EB01BodyTextLineSpace1 { line-height: 1.3em; margin-top: 0em; text-indent: 0; text-align: justify; } p.EB02BodyTextFullOut { line-height: 1.3em; text-indent: 0; margin-top: 2em; text-align: justify; } p.EB03BodyTextIndented { line-height: 1.3em; text-indent: 1em; text-align: justify; } p.EB03BodyTextNonIndented { line-height: 1.3em; text-indent: 0; text-align: justify; } p.EB03BodyTextNonIndented1 { line-height: 1.3em; text-indent: 0; margin-left: 1em; text-align: justify; } p.EB03BodyTextIndented1 { line-height: 1.3em; margin-top: 1em; text-indent: 1em; text-align: justify; } p.EB15ContentsText { line-height: 1.3em; text-indent: 0em; font-size: 0.85em; margin-left: 1.2em; margin-top: 1.0em; margin-bottom: 0.5em; text-align: justify; } p.EB15ContentsTextIndent { line-height: 1.3em; text-indent: 0em; font-size: 0.85em; margin-left: 5em; margin-top: 0em; margin-bottom: 0.5em; text-align: justify; } p.EB06BodyTextCenter { line-height: 1.3em; text-indent: 0; margin-top: 0em; text-align: center; } p.EB06BodyTextCenter1 { line-height: 1.3em; text-indent: 0; margin-top: 0em; margin-bottom: 2em; text-align: center; } p.BodyTextCenterLineSpace { line-height: 1.3em; margin-top: 1em; text-align:center; } 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; margin-top: 0.5em; margin-bottom: 0em; margin-right: 1em; } /* ######### Extra Feature ######### */ blockquote { margin-top: 1em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em; } div.blockquote { margin-top: 1em; margin-bottom: 1em; 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; text-align: justify; } p.EB22ExtraFeatureright { line-height: 1.3em; text-indent: 0; text-align: right; font-size: 0.85em; margin-top: 0.5em; margin-left: 1em; margin-right: 1em; text-align: justify; } p.EB19ExtraFeatureFullOut { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 1em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; text-align: justify; } p.EB21ExtraFeaturIendented { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; text-align: justify; } p.EB20ExtraFeatureLast { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 1em; margin-right: 1em; text-align: justify; } p.textMessageFirst { line-height: 1.3em; text-indent: 0; margin-left: 3em; margin-right: 3em; margin-bottom:1em; margin-top:1em; } p.textMessage { line-height: 1.3em; text-indent: 0; margin-left: 3em; margin-right: 3em; margin-bottom:1em; } p.textMessageLast { line-height: 1.3em; text-indent: 0; margin-left: 3em; margin-right: 3em; } p.dramaFirst { text-indent: -1em; padding-left: 1em; line-height:1.3em; font-size:0.85em; margin-top:1em; margin-bottom:1em; } p.drama { text-indent: -1em; padding-left: 1em; line-height:1.3em; font-size:0.85em; margin-bottom:1em; } span.dramaSmallCaps { font-size:0.85em; letter-spacing:2px; } p.diaryText { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em; } p.diaryDate { line-height: 1.3em; font-weight:bold; text-indent: 0; font-size: 0.85em; margin-left: 1em; margin-right: 1em; } p.diaryTextLast { 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; margin-right: 1em; margin-top: 1em; margin-bottom: 0; } li.EB24List { text-align: left; line-height: 1.3em; margin-right: 1em; margin-top: 0; margin-bottom: 0; } li.EB25ListLast { text-align: left; line-height: 1.3em; margin-right: 1em; margin-top: 0; margin-bottom: 1em; } li.EB26ListNested { text-align: left; line-height: 1.3em; margin-right: 1em; margin-top: 0; margin-bottom: 0; } li.kidsList { text-align: left; line-height: 1.3em; font-size: 1em; margin-right: 1em; margin-top: 0; margin-bottom: 0.25em; margin-left:0.25em; } li.kidsListFirst { text-align: left; line-height: 1.3em; font-size: 1em; margin-right: 1em; margin-top: 1em; margin-bottom: 0.25em; margin-left:0.25em; } li.kidsListLast { text-align: left; line-height: 1.3em; font-size: 1em; margin-right: 1em; margin-top: 0; margin-bottom: 1em; margin-left:0.25em; } li.kidsListNested { text-align: left; line-height: 1.3em; font-size: 1em; margin-right: 1em; margin-top: 0; margin-bottom: 0.2em; } ol.kidsNestedWrap { margin-top:0.25em; } ul.kidsNestedWrap { margin-top:0.25em; } /* ######### Hanging Indents ######### */ p.EB26SmallTextHangingIndent { line-height: 1.3em; text-indent: -1.5em; padding-left: 1.5em; margin-top: 0; margin-bottom: 0; text-align: justify; } p.EB26SmallTextHangingIndent1 { line-height: 1.3em; text-indent: -1.5em; padding-left: 1.5em; margin-top: 1em; margin-bottom: 0; text-align: justify; } p.EB27SmallTextExtraIndent { line-height: 1.3em; font-size: 0.85em; text-indent: -1em; margin-left: 2.2em; margin-top: 0; margin-bottom: 0; } /* ######### Copyright ######### */ h5.EB13CopyrightHead { line-height: 1.3em; text-indent: 0; font-size: .85em; 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; text-align: justify; } /* ######### 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; } p.pagebreak{ page-break-before: always; } 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 { margin:1em 0em 0em 0em; 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; } p.EB28FSCaption1 { text-align:center; line-height:1.3em; font-size:0.85em; margin:0em 0em 1em 0em; } img.image { margin:1em 0em 0em 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:center; margin-top: 1em; margin-bottom: 1em; page-break-after:avoid; /* page-break-before:avoid; 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: 0em; padding-left: 0em; margin-top: 0; margin-bottom: 0; line-height: 1.3em; } p.poem1 { 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:0.5em 0 0em !important; page-break-inside:avoid; width:100%; } th.HCell { font-size:0.85em; border-top:1px solid #000000; border-bottom: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; -webkit-hyphens:none; hyphens:none; page-break-inside:avoid; padding:5px !important; text-indent:0; text-align:left; vertical-align: top; } 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-left:.5%; 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:14%; 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.brandingHeadClosedNuma { page-break-after: avoid; text-align: center; margin-top:14%; 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:1.5em; margin-left:2%; margin-right:2%; font-weight: normal; hyphens:none; -webkit-hyphens: none; } h2.brandingHeada { page-break-after: avoid; text-align: center; margin-top:0.5em; margin-bottom:1.5em; margin-left:2%; margin-right:2%; font-weight: normal; hyphens:none; -webkit-hyphens: none; page-break-before: always; } 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 { img.image { height:100%; } img.FSimage { height:100%; } img.FSimageCaptioned{ height:90%; } img.cover { height:auto; width:100%; } div.coverwrap { height:100%; } div.EB01imprintContainer{ margin-top:65%; } div.logoContainer { display:inline-block; height:5%; } 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; } h2.brandingHeadClosedNum, h2.brandingHeadClosedNumOnly, h2.brandingHead { margin-top:.5em; } } img { display: inline-block; } div.imageLeft { width:100%; max-width:100%; display:inline-block; margin-top:1em; margin-bottom:1em; text-align:left; }