/* Penguin UK Ebook CSS DATE: 19/09/2013 version 2.10 */ /* =============== 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; } 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; 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; } 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; 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 { 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; } img.image { margin:0em 0em 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:center; page-break-after:always; page-break-before:always; /* display:inline-block; */ } div.FSimagewrapCaptioned { width:100%; max-width:100%; height:auto; 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 { 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%; } /* REMOVED 19/9/2013 to fix height issue on Kindle for iOS 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; } } /* ######### Below Styles created by Jouve India ######### */ span.smallcaps { font-size: smaller; } span.smallcaps1 { font-size: x-small; } p.dedication { line-height: 1.3em; text-indent: 0em; margin-bottom: 0em; margin-top: 6em; margin-left: 0em; text-align: center; } p.adcard { line-height: 1.3em; text-indent: 0em; margin-bottom: 1em; margin-top: 5em; text-align: center; font-style: italic; } p.line-a { line-height: 1.3em; text-indent: 0em; margin-bottom: 0em; margin-top: 0.7em; text-align: center; } p.EB21ExtraFeatureIndented1 { line-height: 1.3em; text-indent: 1em; font-size: 0.85em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } p.FeatureFullOut { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0em; margin-bottom: 0.5em; margin-left: 2em; margin-right: 1em; } p.EB20ExtraFeatureLast1 { line-height: 1.3em; margin-bottom: 0.5em; text-indent: 0em; font-size: 0.85em; margin-left: 1em; margin-right: 1em; } p.line { margin-top: 0em; margin-bottom: 0em; margin-left: 13pt; text-indent: 0em; } div.poem { font-size: 0.85em; margin-top: 1em; margin-bottom: 1em; line-height: 1.3em; margin-left: 25pt; margin-right: 15pt; } p.EB19ExtraFeatureFullOutNew { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 0.2em; margin-bottom: 0.1em; margin-left: 1em; margin-right: 1em; } p.EB22ExtraFeatureTopspace { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-top: 1em; margin-left: 1em; margin-right: 1em; } p.EB20ExtraFeatureLastNew { line-height: 1.3em; text-indent: 0; font-size: 0.85em; margin-left: 1em; margin-right: 1em; margin-top: 1em; margin-bottom: 0.1em; } span.center { text-align:center; } p.Center1 { line-height: 1.3em; text-indent: 0; font-size:1.5em; text-align:center; margin-top:1em; letter-spacing:0.05em; } p.Center2 { line-height: 1.3em; text-indent: 0; font-size:1.3em; text-align:center; margin-top:1em; letter-spacing:0.05em; } p.Center3 { line-height: 1.3em; text-indent: 0; font-size:1.1em; text-align:center; margin-top:1em; letter-spacing:0.05em; } p.Center4 { line-height: 1.3em; text-indent: 0; text-align:center; margin-top:1em; } h2.EB04MainHeadSub { page-break-after: avoid; line-height: 1.3em; text-align: center; margin-top: 0em; margin-bottom: 0.5em; font-weight: normal; } div.Qandaset { margin-top: 0.5em; margin-bottom: 0.5em; } div.Qandaentry { margin-top: 0em; margin-bottom: 1em; } p.Question { line-height: 1.3em; text-indent: 0; } p.Answer { line-height: 1.3em; text-indent: 0; } p.AnswerIndent { line-height: 1.3em; text-indent: 1em; } p.TextHangingIndent { line-height: 1.3em; text-indent: -1em; padding-left: 1em; margin-top: 0; margin-bottom: 0; } p.EB03BodyTextIndented-1 { line-height: 1.3em; text-indent: 1em; margin-bottom: 1em; } div.imagewrap1 { margin-top: 14%; margin-bottom: 2em; width:100%; max-width:100%; display:inline-block; text-align:center; } img.image1 { margin:0em 0em 1em 0em; } div.FSimagewrap1 { width:100%; height:100%; max-width:100%; text-align:center; /* display:inline-block; */ }