/* Penguin UK Ebook CSS DATE: 12/03/2012 version 2.1 */ /* =============== Document Styles =============== */ span.dropcaps { float: left; font-size: 2.5rem; padding-top: 1px; margin-top: .05em; 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; } sup.EBsup { vertical-align: super; font-size: 0.75rem; line-height: 100% !important; } sub.EBsub { vertical-align: sub; font-size: 0.75rem; line-height: 100% !important; } /* ######### 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; } /* ########## 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.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-top: 1em; margin-bottom: .1em; 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: 0.5em; margin-bottom: 2em; 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; } 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; } p.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; } p.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; } h3.EB04MainHead2a { page-break-after: avoid; line-height: 1.3em; text-align: center; font-weight: normal; margin-bottom: 2em; } 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.EB03BodyTextNonIndented { line-height: 1.3em; text-indent: 0; } p.EB15ContentsText { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 2em; margin-top: 0; margin-bottom: 1em; } p.EB15ContentsText1 { line-height: 1.3em; text-indent: -2.5em; padding-left: 4em; font-size: 0.85em; margin-left: 3em; margin-top: 0; margin-bottom: 1em; } p.EB15ContentsText2 { line-height: 1.3em; text-indent: -2.5em; padding-left: 6em; font-size: 0.85em; margin-left: 3em; 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; } p.EB01Imprint { line-height: 1.3em; text-indent: 0; text-align: center; font-size: 0.85em; margin-top:8%; page-break-inside:avoid; } /*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:40%; width:100%; display:inline-block; text-align:center; } div.imprintContainer{ margin-top:35%; 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; margin-top: 1em; 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: 0em; margin-left: 1em; margin-right: 1em; } p.EB21ExtraFeatureIndented { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-bottom: 0em; 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; font-size:1em; } p.endnote { text-indent: -1em; padding-left: 1em; font-size:1em; } p.footnote a { color:blue; } p.footnote a:visited{ color:blue; } div.footnote_page { page-break-before: always; } /* ######### Images/Maps ######### */ div.MapTitle { /*page-break-before: always;*/ page-break-after: always; } div.imagewrap { 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-top:0em; } img.image { margin:1em 0em; display:inline-block; } img.FSimage { } img.FSimageCaptioned{ margin-bottom:1em; } div.FSimagewrap { width:100%; height:100%; text-align:right; page-break-after:always; page-break-before:always; /* display:inline-block; */ } div.FSimagewrapCaptioned { width:100%; height:90%; text-align:center; /* 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*/ } span.small { font-size: 0.85em; } p.BodyTextRightSpace2 { text-indent: 0; text-align: right; margin-top: 1em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.BodyTextCenter { line-height: 1.3em; text-align:center; } p.BodyTextCenterLineSpace { line-height: 1.3em; margin-top: 2em; text-align:center; } p.EB19ExtraFeatureTextCenter { line-height: 1.3em; text-align:center; font-size: 1em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } div.cover_wrap { width:100%; text-align:center; } img.cover { } div.PageBreak { page-break-before: always; } p.BodyTextLineSpace { line-height: 1.3em; margin-top: 2em; text-indent: 0; } p.ExtraFeatureHangIndented { line-height: 1.3em; text-indent: -1em; font-size: 0.85em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } div.imagewrap1 { width:100%; display:inline-block; text-align:left; } p.BodyTextCenter1 { line-height: 1.3em; 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: 0em; margin-left: 1em; margin-right: 1em; } p.ExtraFeatureCenter { line-height: 1.3em; text-align: center; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } /* ######### Horizontal rule #############*/ div.hrframe1{ width:100%; height:1%; text-align:center; page-break-after: avoid; page-break-before:avoid; font-size:0rem; } div.hr1 { width:100%; margin-top:2%; border-top:1px solid black; page-break-inside:avoid; page-break-after:avoid; page-break-before:avoid; } div.hrframe{ width:100%; height:1%; text-align:center; page-break-after: avoid; page-break-before:avoid; font-size:0rem; } div.hr { width:100%; margin-top:2%; border-top:1px solid black; page-break-inside:avoid; page-break-after:avoid; page-break-before:avoid; } @media all{ 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%; } }