/* ------------------------------------------------------------------------------- Food Freedom Forever Format: EPUB3, KF8 Last modified: 11 Aug 2016 Modified by: Rebecca Springer, rebecca.springer@hmhco.com /* Fonts */ @font-face { font-family:"Archer"; font-weight:300; font-style:normal; src : url("../font/ArcherLight.otf"); } @font-face { font-family:"Archer"; font-weight:300; font-style:italic; src : url("../font/ArcherLightItalic.otf"); } @font-face { font-family:"Archer"; font-weight:normal; font-style:normal; src : url("../font/ArcherBook.otf"); } @font-face { font-family:"Archer"; font-weight:normal; font-style:italic; src : url("../font/ArcherBookItalic.otf"); } @font-face { font-family:"Archer"; font-weight:500; font-style:normal; src : url("../font/ArcherMedium.otf"); } @font-face { font-family:"Archer"; font-weight:600; font-style:normal; src : url("../font/ArcherSemibold.otf"); } @font-face { font-family:"Archer"; font-weight:600; font-style:italic; src : url("../font/ArcherSemiboldItalic.otf"); } @font-face { font-family:"Archer"; font-weight:bold; font-style:normal; src : url("../font/ArcherBold.otf"); } @font-face { font-family:"Archer"; font-weight:bold; font-style:italic; src : url("../font/ArcherBoldItalic.otf"); } @font-face { font-family:"Open Sans"; font-style:normal; font-weight:bold; src : url("../font/OpenSans-Bold.ttf"); } /* 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-size:100%; 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:"Archer", serif; margin:0 auto; -webkit-hyphens:auto; epub-hyphens:auto; -moz-hyphens:auto; hyphens:auto; adobe-hyphenate:auto !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; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; font-variant-numeric: lining-nums; -moz-font-feature-settings: "lnum"; -webkit-font-feature-settings: "lnum"; font-feature-settings: "lnum"; } p, li, th, td { font-size:1em; line-height:1.35; font-style:normal; font-variant:normal; font-weight:normal; orphans:3; text-align:left; text-decoration:none; text-indent:0; text-transform:none; widows:3; } p { -webkit-hyphens:auto; epub-hyphens:auto; -moz-hyphens:auto; hyphens:auto; adobe-hyphenate:auto !important; } ol { adobe-text-layout:optimizeSpeed; /* to fix NookColor and Kobo bug */ } ul { list-style-type:none; margin:.5em 0; } table { margin:.75em 0; padding:0; border-collapse:collapse; border-spacing:0; } /* images */ img { min-width:100%; width:100%; height:auto; max-height:100%; page-break-inside:avoid; } .figure { max-width:100%; max-height:100%; page-break-inside:avoid; margin:0 auto; } .full { width:100%; height:auto; } .header { width:94%; border:15px solid #5aafc6; margin-bottom:2em; } /* links */ a { text-decoration:underline; color:inherit; -webkit-text-fill-color:inherit; } /* styles defined */ #copyright-page { width:85%; padding-top:5%; } #copyright-page * { text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .Copyright { /* p */ font-size:.9em; margin-top:.75em; } #dedication { background-color:#A8A9AC; height:69vH; } .Dedication { /* p */ color:#ffffff; font-size:1.333em; font-weight:600; padding: 30% 0 0 20%; } .FMTitle { /* h1 */ color:#5aafc6; font-family:"Open Sans", sans-serif; font-size:2.5em; font-weight:bold; line-height:2; margin-bottom:1em; text-transform:uppercase; } .CallOutNEW { /* p */ font-weight:bold; margin:1em 10%; text-align:center; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .Footnote-text { /* p */ font-size:0.8em; line-height:1.25; margin:1em 0 1em .7em; text-indent:-.6em; text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .signature { margin-top:1em; } span.sig { font-weight:600; text-transform:uppercase; } .chap-header { width:94%; border:15px solid #c2dee7; margin-bottom:2em; page-break-after:always; } .CO { border-top:7px solid #a8a9ac; padding:2em; } .Para_CO { /* p */ line-height:1.7; text-align:center; page-break-inside:avoid; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .feature { page-break-inside:avoid; margin:2em 0; } .FeatureTitle { /* h3 */ font-weight:300; font-size:1.417em; line-height:1.2; margin-bottom:.2em; text-transform:uppercase; text-align:center; } .feature-shading { /* div */ background-color:#e1eef3; padding:1.25em 1.25em 1em 1.25em; border-bottom:1px solid #000; border-top:1px solid #000; } .no-bottom { border-bottom:0px solid #000; } .feature p, .feature li, p.ParaFeature { font-weight:600; font-size:0.88em; line-height:1.45; margin:.5em 0; } .FeatureList_Lead { /* span */ font-family:"Open Sans", sans-serif; font-size:0.9em; font-weight:bold; text-transform:uppercase; display:inline-block; padding-right:.25em; } span.arrow { font-family:"Open Sans", sans-serif; } .ahed { /* h3 */ font-size:1.2em; font-weight:600; font-style:italic; margin-bottom:.75em; margin-top:2em; } .dropcap { color:#5aafc6; float:left; font-family:"Open Sans", sans-serif; font-size:5.4em; font-weight:bold; line-height:1 !important; margin-bottom:-0.25em; margin-right:0.05em; } strong { font-weight:600; } .FeatureListBulleted { padding-left:1.5em; list-style-position:outside; list-style-type:disc; text-align:left; } .feature-list-subhed { /* p */ color:#6d6e71; text-transform:uppercase; margin:0; padding-left:.7em; text-align:left; } p.FeatureFootnote { /* need p specified for cascade */ font-size:0.8em; font-style:italic; line-height:1.25; margin-left:.6em; text-indent:-.6em; margin-top:1.5em; text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .Para-with-Lead { /* p */ font-weight:600; line-height:1.405; margin:.75em 0 .75em 1.5em; } .H1A { /* h2*/ color:#5aafc6; font-weight:600; font-size:1.75em; margin-top:1.5em; margin-bottom:.75em; border-bottom:6px solid #c2dee7; } .ListBulleted { list-style-position:outside; list-style-type:disc; margin:1em 1.5em 1em 2.25em; } .ListBulleted li { font-weight:600; font-size:0.88em; line-height:1.45; margin-bottom:.25em; text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .feature-para-list { padding-left:1.5em; margin:1em 0; } .feature-para-list li { text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .FeatureParaList_Lead { /* span */ color:#6d6e71; font-family:"Open Sans", sans-serif; font-size:0.8em; font-weight:bold; text-transform:uppercase; } h4 { /* e.g. ListHed */ font-family:"Open Sans", sans-serif; font-size:0.792em; font-weight:bold; line-height:1.368; text-transform:uppercase; margin-top:1.5em; margin-bottom:.25em; } .listhed-sub { /*h5*/ font-size:0.666em; font-family:"Open Sans", sans-serif; font-weight:bold; line-height:1.368; margin-bottom:.75em; text-transform:uppercase; } p.ListUnmarked { font-weight:600; font-size:0.88em; line-height:1.45; margin:1em .75em 1em 1.7em; } .para-w-leadin { padding-top:1.5em; } .Para_Lead { font-family:"Open Sans", sans-serif; font-size:0.85em; font-weight:bold; text-transform:uppercase; /* display:inline-block; text-indent:0;*/ } .List-SubHead { /* h5*/ color:#5aafc6; font-family:"Archer", serif; font-weight:bold; font-size:0.8em; line-height:1.444; margin-left:1.8em; text-transform:uppercase; margin-bottom:-1em; } p.ParaFeature { margin:.75em 1.7em; } .extract { margin:1.5em; } .extract p { font-style: italic; } .resources-bhed { /* h3 */ color:#5aafc6; font-weight:bold; font-size:1.25em; line-height:1.3; margin-bottom:.5em; margin-top:1.5em; } .resources-list { font-weight:600; font-size:0.88em; line-height:1.45; margin:.25em .75em .25em 1.7em; } .resources-list-subhed { /* h5*/ color:#808285; font-weight:bold; font-size:0.8em; margin-left:1.85em; text-transform:uppercase; margin-top:1.25em; margin-bottom:-.15em; } .hanging { padding-left:1.5em; text-indent:-1.5em; text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } /* tables */ table { border-collapse:collapse; } .if-then-table { margin:0; background-color: #e1eef3; } th { padding:8px 1.25em; vertical-align:bottom; } td { border-bottom:1px solid #000000; padding:4px 1.25em; vertical-align:top; } tr { } .TableHead { /* h5 */ font-family: "Archer", serif; color:#ffffff; font-weight:600; font-size:0.75em; } p.TableEntry { /* needs p specified for cascade */ font-size:0.9em; font-weight:600; text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } th { background-color:#5aafc6; } th.right-col { border-left:1px solid #ffffff; } td.right-col { border-left:1px solid #000000; } /* index */ .index-alpha { /* h2 */ color:#c2dee7; font-family:"Open Sans", sans-serif; font-size:2.167em; font-weight:bold; line-height:0.923; margin-top:1.5em; } #index p { font-size:0.9em; line-height:1.4; margin-left:2em; text-align:left; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } .Main { /* p */ text-indent:-2em; } .Sub-1 { /* p */ text-indent:-1em; } /* layout helpers */ em, .ital { font-style:italic; } em.roman { font-style:normal; } .space-above { padding-top:1em; } .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-top { margin-top:0; padding-top:0; } .hidden { display:none; } .justify { } .strikeout { text-decoration: line-through; } div.pagebreak{ page-break-before:always; margin-top:4%; } /*CUSTOM SOCIAL MEDIA CSS*/ div.subcontainer{ display: inline-block; width: 8em; margin: 0.25em 0.25em 0em 0em; } /*ALL REQUIRED STYLES (STANDARD CSS FOR ALL EBOOKIMATOR EPUBs)*/ h1.sectiontitle { text-align: center; font-size:1.5em; margin:1.5em 0em 1.5em 0em; font-weight: bold; } div.both-space { margin-top:.75em; margin-bottom:.75em; } div.half { width:50%; margin-left:25%; page-break-inside:avoid; } div.buttonbox { text-align: center; } div.websitebutton { border-radius: 60px; text-align: center; vertical-align: middle; font-size: 1.1em; color: #3B3B3B; background-color: #D3D3D3; padding: 10px 15px; margin: 5px; display: inline-block; } a.websitebutton { text-decoration: none; } .blue { color:#5aafc6; }