/* ------------------------------------------------------------------------------- Better Homes and Gardens Make It Don't Buy It Format: EPUB3, KF8 Last modified: 7 June 2016 Modified by: Rebecca Springer, rebecca.springer@hmhco.com /* Fonts */ @font-face { font-family:"Open Sans"; src : url("../font/OpenSansRegular.ttf"); } @font-face { font-family:"Open Sans"; font-style:italic; src : url("../font/OpenSansItalic.ttf"); } @font-face { font-family:"Open Sans"; font-weight:300; src : url("../font/OpenSansLight.ttf"); } @font-face { font-family:"Open Sans"; font-style:italic; font-weight:300; src : url("../font/OpenSansLightItalic.ttf"); } @font-face { font-family:"Open Sans"; font-weight:500; src : url("../font/OpenSansSemibold.ttf"); } @font-face { font-family:"Open Sans"; font-style:italic; font-weight:500; src : url("../font/OpenSansSemiboldItalic.ttf"); } @font-face { font-family:"Open Sans"; font-weight:bold; src : url("../font/OpenSansBold.ttf"); } @font-face { font-family:"Open Sans"; font-style:italic; font-weight:bold; src : url("../font/OpenSansBoldItalic.ttf"); } @font-face { font-family:"Open Sans"; font-weight:800; src : url("../font/OpenSansExtraBold.ttf"); } @font-face { font-family:"Open Sans"; font-style:italic; font-weight:800; src : url("../font/OpenSansExtraBoldItalic.ttf"); } @font-face { font-family:"FG Matilda"; src : url("../font/FGMatilda.otf"); } @font-face { font-family:"Faith And Glory One"; src : url("../font/FaithAndGloryOne.otf"); } @font-face { font-family:"Faith And Glory Two"; src : url("../font/FaithAndGloryTwo.otf"); } /* page margins for nook and kobo */ @page { margin:30px 20px 0 20px; } /* reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin:0; padding:0; border:0; font:inherit; vertical-align:baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; } /* baseline styles */ body { font-family:"Open Sans", sans-serif; max-width:33em; margin:0 auto; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } h1, h2, h3, h4, h5, h6 { font-style:normal; font-variant:normal; font-weight:normal; line-height:1.4; page-break-after:avoid; page-break-inside:avoid; text-align:left; text-decoration:none; text-indent:0; } p, li, th, td { font-size:1em; line-height:1.4; font-style:normal; font-variant:normal; font-weight:normal; orphans:2; text-align:left; text-decoration:none; text-indent:0; text-transform:none; widows:2; } ol { adobe-text-layout:optimizeSpeed; /* to fix NookColor and Kobo bug */ } ul { list-style-type:none; margin:.75em 0; } /* links */ a { text-decoration:underline; color:inherit; } /* images */ img { max-width:100%; width:100%; page-break-inside:avoid; } figure { max-width:100%; max-height:100%; page-break-inside:avoid; margin:0 auto; } .fullpage { width:100%; height:auto; } .full-top { width:100%; margin-bottom:1em; } .full-bottom { width:100%; padding-top:1em; clear:both; } .full-both { width:100%; margin-top:1em; margin-bottom:1em; } .hero { /* background-color:#cf432a;*/ } .hero figcaption { display:none; } .hero-caption { color:#fff; font-family:"Faith And Glory Two"; font-size:1.4em; line-height:1.374; text-align:right; padding-right:.25em; } .hero-caption a { text-decoration:none; } .sixty-center { margin-left:auto; margin-right:auto; width:60%; } .quarter-left { float:left; width:23%; } .third-left { float:left; width:31%; } .forty-left { float:left; width:39%; } .half-left { float:left; width:48%; } .sixty-left { float:left; width:59%; } .third-right { float:right; width:31%; } .forty-right { float:right; width:38%; } .half-right { float:right; width:48%; } .sixty-right { float:right; width:59%; } .three-quarters-right { float:right; width:75%; } .three-quarters-left { float:left; width:75%; } /* front matter */ #copyright-page { max-width:400px; } #copyright-page p { color:#4e4e50; font-size:0.583em; } .copyright { /* p */ margin-bottom:1em; } .masthead_hed { /* h3 */ margin-bottom:.5em; margin-top:1em; font-weight:500; color:#4e4e50; font-size:0.583em; } p.masthead { margin-bottom:.5em; } .reg-mark { font-size:0.4em; } #BHG-seal { width:22.35%; margin-bottom:.5em; margin-top:1em; } .TOC-Head { /* h2 */ color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.958em; line-height:1.374; margin-top:1em; } .DIYP-TOC-Text { /* p */ font-size:0.75em; line-height:1.222; margin-top:.25em; } .letter { /* p */ font-family:"FG Matilda"; font-size:0.75em; line-height:1.6; color:#76787a; margin-bottom:1em; } .letter-hed { /* h1 */ color:#cf432a; font-family:"Faith And Glory Two"; font-size:4em; } .sig { /* p */ color:#4e4e50; font-family:"Faith And Glory One"; font-size:3em; text-align:right; } /* chapter openers */ .cotoc { background-color:#cf432a; padding:3%; } .cotoc * { color:#fff !important; } .COTOC-Head { /* h2 */ font-family:"Faith And Glory Two"; font-size:1.7em; line-height:1.374; margin-top:1em; text-transform:uppercase; /* checked case */ } .COTOC-Head:first-child { margin-top:0; } .amp { font-size:1.4em; vertical-align:-.15em; line-height:1 !important; } .TOC-Text { /* p */ font-family:"FG Matilda", sans-serif; font-size:0.667em; line-height:1.7; margin-left:1em; text-indent:-1em; } /* recipes */ .Time { /* p */ color:#59595b; font-family:"FG Matilda", sans-serif; font-size:0.667em; line-height:1.575; text-align:right; width:70%; margin-left:25%; } .prep-group { white-space:nowrap; padding-left:1em; } .prep-group-break { padding-left:1em; } .RecipeTitle { /* h2 */ color:#59595b; font-family:"Faith And Glory Two", serif; font-size:3.2em; margin-top:.2em; } .RecipeTitleAlt { /* h2 */ color:#59595b; font-family:"Faith And Glory One", sans-serif; font-size:3.4em; margin-top:.3em; margin-bottom:.6em; padding-left:.15em; line-height:.8 !important; } .Ingred { /* p */ color:#5a666f; font-size:0.75em; font-weight:500; line-height:1.2; margin-bottom:.2em; margin-left:2.5em; text-indent:-1.5em; max-width:90%; } .recipe_ahed { /* h3 */ color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.833em; margin-top:1em; } .feature_ahed { /* h3 */ color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.833em; margin-top:1.2em; margin-bottom:-.5em; } .step-num { /* span */ color:#cf432a; font-size:1.1em; font-weight:bold; display:inline-block; line-height:1 !important; } .Step, .Note { /* p */ font-size:0.75em; line-height:1.3; margin-top:.5em; margin-bottom:.5em; } .NoteHed { /* span, includes Variations */ color:#cf432a; font-size:0.85em; font-weight:bold; text-transform:uppercase; /* checked case */ display:inline-block; line-height:1 !important; } h2.NoteHed { /* h2 */ color:#cf432a; font-size:0.85em; font-weight:bold; text-transform:uppercase; /* checked case */ } .Nutrition { /* p */ color:#636466; font-family:"FG Matilda", sans-serif; font-size:0.5em; line-height:1.455; margin-top:1em; margin-bottom:1em; } p.MIDBI--Nutrition-2 { color:#4e4e50; font-size:0.583em; line-height:1; margin-bottom:1em; } .how-to-group { page-break-inside:avoid; margin: 0 auto; text-align:center; } .how-to-step { vertical-align:top; padding-right:2%; display:inline-block; width:29%; page-break-inside:avoid; } .HowToText { /* p */ color:#76787a; font-family:"FG Matilda", sans-serif; font-size:0.6em; line-height:1.6; } .tip { padding-top:1em; } .tip-text { display:inline-block; margin-left:5%; margin-right:3%; color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.716em; line-height:1.385; margin-top:1.5em; padding-top:.75em; border-width:12px 0 0 0; border-image:url(../image/tip-border.gif) 10 0 0 0 round; border-image-slice:fill; } .tip-art { display:inline-block; } .tip-art-inline { width:48%; } .tip-hed { /* span */ font-weight:bold; text-transform:uppercase; /* checked case */ } .tip-nutr { margin-left:5%; color:#4e4e50; font-size:0.583em; line-height:1; margin-top:.5em; } .headnote { color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.716em; line-height:1.385; margin:1em 0; } /* table styles */ table { margin:.75em 0; padding:0; border-collapse:collapse; border-spacing:0; border:0; max-width:100%; } td, th { padding:4px; vertical-align:top; } tr { } .table-txt { /* p */ font-size:0.667em; font-weight:300; line-height:1.125; } .row-hed { font-weight:normal; } .col-hed { /* h3 */ font-size:0.6em; line-height:1.2; margin-top:3px; font-weight:bold; text-transform:uppercase; /* checked case */ } #table001 td, #table001 th { border:1px solid #e5a552; } /* p 296 */ .feature { background-image: url("../image/Craftpaper.jpg"); background-repeat: repeat-Y; background-size: cover; } .screen { padding:4%; background-color: rgba(255, 255, 255, 0.3); } .headnote { display:inline-block; margin-left:5%; margin-right:3%; color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.716em; line-height:1.385; margin-top:1.5em; padding-top:.75em; } .multirecipehed { /* h2 */ color:#59595b; font-family:"Faith And Glory One", sans-serif; font-size:5em; } span.embiggen { font-size:1.195em; } .runin-recipe { padding-top:1.5em; page-break-inside:avoid; } .runin-recipe .Nutrition { color:#59595b; } .MIDBI-P-Recipe-Prep { color:#59595b; font-family:"FG Matilda", sans-serif; font-size:0.6em; line-height:1.8; } .MIDBI-P-Recipe-Recipe-Head { /* h2 */ color:#59595b; font-family:"Faith And Glory Two", serif; font-size:2.25em; line-height:1.2; margin:.2em 0; } p.MIDBI-P-Recipe-Instruction-Head { color:#cf432a; font-family:"FG Matilda", sans-serif; font-size:0.833em; line-height:1.2; margin:.2em 0 .4em; } .MIDBI-P-Text-fl { /* p */ font-size:0.767em; line-height:1.1; margin-top:.75em; } .MIDBI-Lead-In { /* span */ color:#cf432a; font-size:.9em; font-weight:bold; text-transform:uppercase; /* checked case */ } .MIDBI-Lead-In2 { /* span */ font-size:.9em; font-weight:bold; text-transform:uppercase; /* checked case */ } .MIDBI-P-Text-P2 { /* p */ font-size:0.767em; line-height:1.1; text-indent:1.5em; } /* table styles see p466.xhtml*/ .MIDBI-Chart-Text { /*p*/ font-size:0.708em; line-height:1.1; } tr, td { page-break-inside:avoid; } tr.spacer { height:.75em; } .col-hed { font-weight:bold; text-transform:uppercase; /* checked case */ } table.DIYP-Ingredients td { padding:5px; border:2px solid #e5a552; vertical-align:top; } .section-hed { text-transform:uppercase; /* checked case */ padding-top:3px; } td.shaded { background-color:#e5a552; } /* index styles see p471.xhtml*/ .index-nav { font-weight:600; color:#929496; width:80%; font-size:1.1em; margin:1.5em auto 1.5em 10%; text-align: center; } .index-nav a { color:#d66c46; } .index-hed { /* h1 */ color:#cf432a; font-family:"Faith And Glory Two"; font-size:3.333em; } .index-alpha { /* h2 */ color:#d66c46; font-size:1em; font-weight:600; margin-top:1em; } .index p { font-size:0.688em; line-height:1.6; } .index1 { /* p */ margin-left:2em; text-indent:-2em; } .index strong { font-weight:500; } .index2 { /* p */ margin-left:2em; text-indent:-1em; } /* character styles */ .ital { font-style:italic; } .reverse { /* em */ font-style:normal; } .reg-mark { font-size:0.417em; } .leadin { font-weight:500; } strong { font-weight:600; } span.dimens-x { padding:0 1px; } /* layout helpers */ .space-above { padding-top:.75em; } .space-below { padding-bottom:.25em; } .indent { text-indent:1.5em; } .sink { margin-top:20%; } .keeptogether { page-break-inside:avoid; } .nb { white-space:nowrap; } .clearfix { clear:both; width:1px; height:0.001%; font-size:0; line-height:0; } .no-topm { margin-top:0; } .no-top { margin-top:0; padding-top:0; } .hidden { display:none; } .block-center { margin-left:auto; margin-right:auto; } .left-margin-bump { padding-left:10%; } .bump-down { padding-top:4em; } .small-bump-down { padding-top:1.5em; }