/* 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: 0.75rem; line-height: 100% !important; } sub.EBsub { vertical-align: sub; font-size: 0.75rem; 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: left;/*Mds Updated 04-Apr-19*/ 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: 0em;/*-----------MDS UPDATED------------*/ margin-bottom: 0.5em; font-weight: normal; font-size:1em; /* 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: left;/*Mds Updated 04-Apr-19*/ 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;*//*--------------------MDS UPDATED--------------------*/ 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: 0.3em;/*Mds Updated 04-Apr-19*/ } p.EB15ContentsTextIndent { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 3em; margin-top: 0; margin-bottom: 1em; } p.EB12SmallItalic { line-height: 1.3em; text-indent: 0; text-align: center; font-style: italic; } p.EB12SmallItalicLineSpace { line-height: 1.3em; text-indent: 0; text-align: center; font-style: italic; margin-top: 1em; } /*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: 0em;/*Mds Updated 04-Apr-19*/ 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 ######### */ ul, ol { margin-left: 2.3em; padding-left: 0; margin-top:0em; margin-bottom:0em; } ul ul, ol ol.none, ol ul, ul ol { margin-left: 1.5em; padding-left: 0; } li.EB23ListFirst { text-align: left; line-height: 1.3em; font-size: 1em;/*Mds Updated*/ margin-right: 1em; margin-top: 1em; margin-bottom: 0; } li.EB24List { text-align: left; line-height: 1.3em; font-size: 1em;/*Mds Updated*/ margin-right: 1em; margin-top: 0; margin-bottom: 0; } li.EB25ListLast { text-align: left; line-height: 1.3em; font-size: 1em;/*Mds Updated*/ 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%;*//*------------------------MDS UPDATED---------------------------*/ height:100%;/*------------------------MDS UPDATED---------------------------*/ } div.MapTitle { /*page-break-before: always;*/ page-break-after: always; } div.imagewrap { width:100%; display:inline-block; text-align:center; } p.EB28InlineCaption, p.EB28InlineCaptionLast { text-align:center; line-height:1.3em; font-size:0.85em; margin:0em 0em 1em 0em; } p.EB28InlineCaptionLast { margin-bottom: 0; } p.EB28FSCaption { text-align:center; line-height:1.3em; font-size:0.85em; margin:0em 0em 0em 0em; } img.image { margin:1em 0em; display:inline-block; } img.FSimage { } img.FSimageCaptioned{ margin-bottom:1em; } div.FSimagewrap { width:100%; height:100%; text-align:center; page-break-after:always; page-break-before:always; /* display:inline-block; */ } div.FSimagewrapCaptioned { 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:0rem; } 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 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%; } } /* ========================================================================= ASI additions ========================================================================= */ /* ######### Paragraphs ######### */ p.EB03BodyTextIndentedLineSpace { line-height: 1.3em; text-indent: 1em; margin-top: 1em; } p.EB06BodyTextCenter { line-height: 1.3em; text-indent: 0; text-align: center; } p.EB06BodyTextCenterLineSpace { line-height: 1.3em; text-indent: 0; text-align: center; margin-top: 1em; } p.EB04BodyTextRight { line-height: 1.3em; text-indent: 0; text-align: right; } p.EB04BodyTextRightLineSpace { line-height: 1.3em; text-indent: 0; text-align: right; margin-top: 1em; } p.EB05BodyTextHanging { line-height: 1.3em; text-indent: -1em; margin-left: 1em; } p.EB05BodyTextHangingLineSpace { line-height: 1.3em; text-indent: -1em; margin-left: 1em; margin-top: 1em; } /* ######### Extra Feature ######### */ p.EB21ExtraFeatureIndentedLineSpace { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB21ExtraFeatureRight { line-height: 1.3em; text-indent: 0; text-align: right; font-size: 0.85em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB21ExtraFeatureRightLineSpace { line-height: 1.3em; text-indent: 0; text-align: right; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB23ExtraFeatureCenter { line-height: 1.3em; text-indent: 0; text-align: center; font-size: 0.85em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB23ExtraFeatureCenterLineSpace { line-height: 1.3em; text-indent: 0; text-align: center; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; } p.EB22ExtraFeatureHanging { line-height: 1.3em; text-indent: -1em; font-size: 0.85em; margin-bottom: 0.5em; margin-left: 2em; margin-right: 1em; } p.EB22ExtraFeatureHangingLineSpace { line-height: 1.3em; text-indent: -1em; font-size: 0.85em; margin-top: 0.5em; margin-bottom: 0.5em; margin-left: 2em; margin-right: 1em; } /* ######### Utils ######### */ .last { margin-bottom: 0 !important; padding-bottom: 0 !important; page-break-after: avoid !important; } .smaller { font-size: 0.75em; } .underlined { text-decoration: underline; } .structure { page-break-before: always; font-size: 0; margin: 0; } .structure-next { page-break-before: always; } p.separator { margin-top: 1em; margin-right: 0; margin-bottom: 1em; margin-left: 0; text-align: center; text-indent: 0; } span.raisedcap { font-size: 2em; } /*removes border from tables*/ .no-border, .no-border th, .no-border th.HCell, .no-border td, .no-border td.TCell { border: none !important; } /* TODO: needs to check on new branding implementation */ h3.poemTitle, h3.poemTitle-drop { margin-top: 2em; margin-bottom: 0; line-height: 1.3em; font-weight: normal; text-align: center; page-break-after: avoid; } h4.poemSubtitle, h4.poemSubtitle-drop { margin-top: 0; margin-bottom: 0; line-height: 1.3em; font-weight: normal; text-align: center; page-break-after: avoid; } h4.cantoTitle { margin-top: 1em; margin-bottom: 1em; line-height: 1.3em; font-weight: normal; text-align: center; page-break-after: avoid; } p.poemAuthor { margin-top: 0; margin-bottom: 0; } p.poemDate { margin-top: 0; margin-bottom: 0; } p.poemLine { text-indent: 0; line-height: 1.3em; font-size: 0.9em; margin-left: 1em; margin-right: 1em; margin-top: 0.5em; } span.poemLineNum { padding-left: 3em; } h3.poemTitle-drop, h4.poemSubtitle-drop, p.poemAuthor-drop, p.poemDate-drop { margin-bottom: 1em; } h4.castTitle { margin-bottom: 1em; line-height: 1.3em; font-weight: normal; text-align: center; page-break-after: avoid; } div.dialog { margin-top: 1em; margin-right: 1em; margin-bottom: 1em; margin-left: 1em; } div.dialog p.line2 { margin-left: 1em; text-indent: 1em; } p.footnote-inset { text-indent: 0; padding-left: 1em; } p.bibliosubhead { text-indent: 0; line-height: 1.3em; font-size: 0.85em; margin-top: 1em; margin-bottom: 0.5em; } img.full-page-image { height:100%; page-break-after: always; page-break-before: always; } img { display: inline-block; } /*--------------MDS UPDATED---------------------*/ div.imageLeft { width:100%; display:inline-block; margin-top:1em; margin-bottom:1em; text-align:left; } p.EB01BodyTextLineSpace1 { line-height: 1.3em; margin-top: 3em; text-indent: 0; } p.EB15ContentsText1 { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 2em; margin-top: 1em; margin-bottom: 0.3em; } p.endnote1 { text-indent: -1.5em; padding-left: 1.5em; } p.endnote2 { text-indent: -2.0em; padding-left: 2.0em; }