/* -------------------------------------------------------------------- Gluten-Free Girl American Classics Reinvented Format: EPUB3, KF8 Last modified: 6 May 2015 Modified by: Rebecca Springer, rebecca.springer@hmhco.com ---------------------------------------------------------------------- /* Fonts */ @font-face { font-family:"Freight Sans Bold"; font-style:normal; font-weight:bold; src : url("../font/FreightSansProSemibold_Regular.otf"); } @font-face { font-family:"Freight Sans Book"; font-style:normal; font-weight:normal; src : url("../font/FreightSansProBook_Regular.otf"); } @font-face { font-family:"Freight Sans Book"; font-style:italic; font-weight:normal; src : url("../font/FreightSansProBook_Italic.otf"); } @font-face { font-family:"Freight Sans Light"; font-style:normal; font-weight:300; src : url("../font/FreightSansProLight_Regular.otf"); } @font-face { font-family:"Freight Sans Medium"; font-style:normal; font-weight:normal; src : url("../font/FreightSansProMedium_Regular.otf"); } @font-face { font-family:"Freight Text"; font-style:italic; font-weight:normal; src : url("../font/FreightTextProBook-Italic.otf"); } @font-face { font-family:"Freight Text"; font-style:normal; font-weight:normal; src : url("../font/FreightTextProBook_Regular.otf"); } /* page margins for nook and kobo */ @page { margin:30px 20px 0 20px; } /* reset */ body, div, h1, h2, h3, h4, h5, h6, p, img, ul, ol, li, hr { border-width:0; margin:0; padding:0; } body { max-width:30em; /* for proofing */ 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; page-break-after:avoid; page-break-inside:avoid; text-align:left; text-decoration:none; text-indent:0; font-family:"Freight Sans Bold", sans-serif; font-weight:bold; line-height:1.2; } p, li { font-family:"Freight Text", serif; font-size:1em; line-height:1.5; 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:1em 0; } a { color:#386794; } a:visited { color:#4e6f94; } /* images */ img { width:100%; max-height:100%; page-break-inside:avoid; } div.full-page-image { width:100%; page-break-inside:avoid; display:inline-block; } div.hero-top { margin-bottom:1em; width:100%; page-break-inside:avoid; display:inline-block; } div.hero-bottom { margin-top:1em; width:100%; page-break-inside:avoid; display:inline-block; } div.hero { margin:1em 0; width:100%; page-break-inside:avoid; display:inline-block; } div#author-photo { width:60%; margin:0 auto .75em 20%; page-break-inside:avoid; display:inline-block; } /* colors */ .bronze { color:#afa07d; } .slateblue { color:#386794; } .kellygreen { color:#59925f; } .lightblue { color:#82b4bd; } .darktaupe { color:#636250; } .olivegreen { color:#6f7115; } .tealblue { color:#008896; } .brown { color:#5d4b3f; } .slateblue2 { color:#4e6f94; } .brick { color:#852b20; } .charcoal { color:#526d6f; } .bronze2 { color:#d0a747; } .blue2 { color:#006c90; } /* front matter */ p.copyright { font-family:"Freight Sans Book", sans-serif; font-size:0.65em; line-height:1.6; margin-bottom:.75em; text-align:center; } div.blue-bg { background-color:#386794; padding:30% 10%; } p.ded { text-align:center; color:#ffffff; font-size:1.1em; font-style:italic; } h1.toc-hed { color:#a96a38; font-size:1.8em; margin-bottom:.5em; text-transform:uppercase; } p.book-toc { font-size:1.083em; margin-bottom:.4em; } h2.H1 { /* front matter section titles */ color:#D4621C; /*orange*/ font-family:"Freight Sans Medium", sans-serif; font-weight:normal; font-size:1.6em; line-height:1.111; margin-bottom:.25em; } div.fm-headnote { margin:1.5em 0 .75em 0; } p.fm-headnote { color:#454547; font-style:italic; font-size:1.2em; line-height:1.6; } p.FM-P { color:#454547; } div._idGenPageitem-5, div._idGenPageitem-7 { display:inline-block; width:40%; float:right; padding:.3em 0 .25em 2%; } div._idGenPageitem-6 { display:inline-block; width:100%; padding:.75em 0 .5em 0; } h3.bhed { color:#afa07d; font-size:0.9em; line-height:1.5em; margin-top:1.5em; text-transform:uppercase; } div.chap-opener-blue { background-color:#386794; padding:10%; } div.chap-opener-taupe { background-color:#afa07d; padding:10%; } div.chap-opener-green { background-color:#59925f; padding:10%; } div.chap-opener-lightblue { background-color:#82b4bd; padding:10%; } div.chap-opener-darktaupe { background-color:#636250; padding:10%; } div.chap-opener-brown { background-color:#5d4b3f; padding:10%; } div.chap-opener-olivegreen { background-color:#6f7115; padding:10%; } div.chap-opener-tealblue { background-color:#008896; padding:10%; } div.chap-opener-slate { background-color:#4e6f94; padding:10%; } div.chap-opener-brick { background-color:#852b20; padding:10%; } div.chap-opener-charcoal { background-color:#526d6f; padding:10%; } div.chap-opener-bronze { background-color:#d0a747; padding:10%; } h1.CT { color:#ffffff; font-family:"Freight Sans Light", sans-serif; font-weight:300; font-size:3em; line-height:1.2; text-align:center; border-bottom:1px solid #fff; text-transform:uppercase; padding-top:1em; } p.cotoc { font-family:"Freight Sans Light", sans-serif; font-weight:300; font-size:1.1em; line-height:1.2; text-align:center; padding:.75em 0 .25em 0; } p.cotoc a { color:#ffffff; } /* recipe styles */ div.recipe { } h2.Recipe_RT { /* color applied separately */ font-family:"Freight Sans Book", sans-serif; font-weight:normal; font-size:1.5em; line-height:1.2; margin-bottom:.5em; text-transform:uppercase; } p.Recipe_RY { color:#D4621C; font-family:"Freight Sans Medium", sans-serif; font-size:0.9em; line-height:1.467; margin:.5em 0; } div.Recipe_HN { margin:.5em 0; } p.Recipe_HN { color:#454547; font-style:italic; } ul.ing-list { margin:.75em 0; } li.Recipe_IL { color:#454547; font-family:"Freight Sans Book", sans-serif; font-size:0.9em; line-height:1.3; margin-bottom:.5em; } li.ing-hed { font-size:0.9em; line-height:1.3; margin-bottom:.25em; margin-top:1em; color:#D4621C; font-family:"Freight Sans Medium", sans-serif; text-transform:uppercase; } p.Recipe_RD-sans-1st { color:#454547; margin-bottom:.75em; } p.Recipe_RD { color:#454547; margin-bottom:.75em; font-size:.9em; } span.RD-Bld-1st { font-family:"Freight Sans Bold", sans-serif; font-weight:bold; } h3.recipe-FAQ { font-family:"Freight Sans Bold", sans-serif; color:#454547; margin-bottom:.75em; font-size:1em; } div.Sidebar-box { background-color:#f2f1e6; padding:.75em 2% .75em 2%; margin-top:.75em; } p.Recipe_RN { color:#454547; font-size:0.9em; font-style:italic; margin-bottom:.75em; } h3.RN-H1 { color:#454547; font-family:"Freight Text", serif; font-weight:normal; font-size:0.9em; text-decoration:underline; margin-bottom:.25em; } p.Recipe_Note { color:#454547; font-family:"Freight Sans Book", sans-serif; font-size:0.9em; line-height:1.571; margin:.75em 0; } strong.note-leadin, strong.bio-leadin { font-family:"Freight Sans Bold", sans-serif; font-weight:bold; } h2.recipe-section-hed { color:#D4621C; font-size:.9em; line-height:1.556; margin:1.5em 0 .75em 0; } h1.recipe-group-hed { font-size:1.5em; line-height:1.2; margin-bottom:.5em; text-transform:uppercase; } /* index */ h2.index-letter { color:#D4621C; font-size:1.667em; margin-top:1em; } p.index1 { margin-left:1em; text-indent:-1em; margin-bottom:0; line-height:1.714; } p.index2 { margin-left:2em; text-indent:-1em; margin-bottom:0; line-height:1.714; } div.index-nav { font-family:"Freight Sans Medium", sans-serif; font-weight:normal; color:#929496; /* mid-gray */ width:85%; font-size:1.5em; margin:1.5em auto 1.5em 7.5%; text-align: center; } p.bio { margin-bottom:.75em; } /* layout helpers */ em.ital, em.index-ital { font-style:italic; } em.reverse-ital { font-style:normal; } strong.bold { font-weight:bold; } .indent { text-indent:1.5em; } .sink { margin-top:20%; } .keep-together { page-break-inside:avoid; } .page-break-before { page-break-before:always; } div.no-top { margin-top:0; padding-top:0; } div.space-above { padding-top:1.5em; }