/* Namespace declarations */

@namespace epub "http://www.idpf.org/2007/ops";

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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,
strike, strong, sub, sup, tt, var, small, 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 {
	border: 0;
	font-size: 100%;
	font: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
} 

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
    font-family: roman, 'times new roman', times, serif;
    background-color: transparent;
	margin: 25px 25px 15px 25px;
	text-indent: 0;
}

ol, 
ul {
	list-style-type: none;
}

blockquote {
	quotes: none;
}

q {
  quotes: "“" "”" "‘" "’";
 }

q:before {
    content: open-quote;
 }

q:after {
    content: close-quote;
 }

table {
    display: table;
	border-collapse: collapse;
 }

/* end CSS Reset */

/* Paragraph Styles */
p {
    background-color: inherit;
    margin: .5em 0;
    outline: 0;
    padding: 0;
    text-indent: 1em;
}
p.ParaAfterHead, p.ChapterIntroductionPara {
    text-indent: 0em;
}
p.ParaContinued {
    text-indent: 0em;   
}
p.ChapterCredit {
    text-align: center;
    text-indent: 0em;
    font-size: 1.13em;
    font-family:serif;
    text-transform: uppercase;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.copyright, .copyrightline, .copyrightLOC {
    text-indent: 0em; 
    font-size: .9em;
    margin: .5em 0 .375em 0;
}
p.copyrightline {
    margin: 0;
}
p.copyrightLOC {
    margin: 1em 0 0 0;
    text-align: center;
}
section[class="copyright"] p {
    text-indent: 0;
}

p.directive {
    color:blue;
}
p.GlossaryDefinition {
    text-indent: 0;
    margin-left: 1em;
}
p.PartIntroductionPara {
    text-indent: 0em; 
}
p.PartFeaturingListHead {
    text-indent: 0em;
    margin-left: 1em;
    text-transform:uppercase;
    font-weight: bold;
}
p.Reference {
    text-indent: -1.25em;
    margin-left: 1.25em;
}
section.foreword p.Source {
    font-style: italic;
    text-align: right;
}
section.praise p.Source {
    font-size: 0.9em;
    text-align: right;
    margin: 0;
}
div.dedication {
    margin: 2em 1em .75em 1em;
    page-break-inside: avoid;
	text-align: center;
}
blockquote {
    margin: .5em 1em .75em 1em;
    /*page-break-inside: avoid; suspending this because of Regretting Motherhood, which uses Dialog, which separates the dialog from the header. This should be set on epigraph and pullquote, but dialog runs longer and keeping it together leaves too much space*/
	quotes: none;
}
blockquote p {
    text-indent: 0;
}
blockquote.Epigraph, blockquote.extract, blockquote.PullQuotePara, blockquote.QuotePara {
    display: block;
    page-break-inside: avoid;    
    margin: .625em 0 .625em 1.25em;
}
p.EpigraphSource, p.QuoteSource {
    text-transform:uppercase;
    font-style: normal;
    text-align: right;
}
blockquote.dialog {
    display: block;
    margin-top: .25em;
    margin-left: 1.5em;    
}
blockquote.PullQuotePara p {
    font-style: italic;
}
p.ExtractPara, p.ExtractParaContinued {
    text-indent:0;
    margin: .625em 0 .625em 1.5em;
}
p.QuoteParaContinued {
    text-indent: 1em;
}
blockquote.QuotePara {
    margin: .625em 0 1.5em 1.25em;
}
blockquote.QuotePara p {
    margin: 0;
}
p.QuotePara em {
    font-style: normal;
}
p.Dialog {
/*    text-indent: -1.3em; Have to suspend this for this title. Shouldn't have assumed that it had a hanging indent*/
    margin-top: 1em;
}
p.DialogContinued {
    text-indent: -1.3em;  
    margin-top: 0em;
}

/*Custom Styles*/
p.CustomHead {
    font-size: 1.1em;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: underline;
}
p.CustomStyle1 {
    text-indent: 0;
    font-family: sans-serif
}
p.CustomStyle2 {
    text-indent: 0;
    font-family: sans-serif;
    font-weight: bold;
}
span.CustomCharStyle {
    text-decoration: underline;
    font-style: italic;
}
li.customitem {
    list-style-type:asterisks;
    text-decoration: underline;
}
/* End Paragraph Styles */

/* Lists */
p.ListPara {
    text-indent: 0;
}
ul.partFeaturingList {
    list-style-type: none;
}
ul.partFeaturingList li {
    font-weight: bold;
}

body ol {
    list-style-type: decimal;
    margin-left: inherit;
    padding-left: 3em;
    text-align: left;
}

body blockquote ol,
body blockquote ul,
body .epigraph ol,
body .epigraph ol,
body .extract ol,
body .extract ul {
    margin-left: 0;
}

ol ol {
    list-style-type: lower-alpha;
}

ol ol ol {
    list-style-type: lower-roman;
}

body ul {
    list-style-type: disc;
    text-indent: 0;
    margin-left: inherit;
    padding-left: 3em;
    text-align: left;    
}

li {
    margin-top: .5em;
}

ul.ChapterFeaturingList {
    margin-bottom: 1em;
}
ul.ChapterFeaturingList li, ul.ChapterFeaturingListSub li {
    list-style-type:square;
}
li.check {
    list-style-type: none;
}
li.check::before {
    content: '✔';   
    margin-left: -1em;
    margin-right: .2em;
}

.decimal {
    list-style-type: decimal;
}
    
.upper-alpha {
    list-style-type: upper-alpha;
}
 
.upper-roman {
    list-style-type: upper-roman;
}
.lower-roman {
    list-style-type: lower-roman;
}

.lower-latin {
    list-style-type: lower-latin;
}

.upper-latin {
    list-style-type: upper-latin;
}

.none {
    list-style-type: none;
}

.decimal-leading-zero { 
   list-style-type: decimal-leading-zero;
}

.lower-greek{  
    list-style-type: lower-greek; 
}

.armenian{
    list-style-type:armenian;
}

.georgian {
    list-style-type:georgian;
}
.disc{
    list-style-type:disc;
}
.circle{
    list-style-type:circle;
}
.square{
    list-style-type:square;
}
.optionList {
    margin: 1em 0;
}

/* End Lists */

/* Bibliography & Endnotes */

.biblioEntryList {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.BibliographyEntry {
    margin-top: .75em;
    margin-left: 1.2em;
    text-indent: -1.2em;
}
section.endnotes h2 {
    font-style: normal;
    font-size: 1em;
    text-align: left;
}
section.notes {
    
}
section.noteentries {
    
}
.note {
    margin-top: .75em;
    margin-left: 1.25em;
    text-indent: -1.25em;
}


/*Features*/
.feature1,
.feature2,
.feature3,
.feature4 {
    border-radius: 8px;
    margin: 1em auto 1em auto;
    padding: 8px;
    page-break-inside: avoid;
    text-align: center;
    width: 95%;
    font-family:sans-serif;
}

.feature1 {
    background-color: #DDDDDD;
    border: 1px solid #000;
}

.feature2 {
    background-color: #EEEEEE;
    border: 2px solid #AAAAAA;
}

.feature3 {
    background-color: #DDDDDD;
    border: 1px solid #000;
    border-radius: 0px;
}

.feature4 {
    border: 1px dashed;
    border-radius: 1px;
}

section[class="feature1"] h2,
section[class="feature1"] h3,
section[class="feature1"] h4,
section[class="feature1"] h5,
section[class="feature3"] h2,
section[class="feature4"] h2 {
    margin: 0;
    padding: .5em 0;
    text-align: center;
    text-indent: 0;    
}

section[class="feature1"] h2{
    font-size: 1.5em;
}

section[class="feature3"] h2 {
    font-size: 1.3em;
    padding: .5em 0 0em 0;
    font-style:normal;
}
section[class="feature4"] h2 {
    font-size: 1.3em;
    padding: .5em 0 0em 0;
    font-style:normal;
}

section[class="feature1"] h3 {
    font-size: 1.3em;
    padding: .5em 0 0em 0;
}

section[class="feature1"] h4 {
    font-size: 1.2em;
    padding: .7em 0 0em 0;
    font-style: italic;
}

section[class="feature1"] h5 {
    font-size: 1em;
    padding: 1em 0 0em 0;
    font-weight: normal;
}

.feature1 p,
.feature2 p,
.feature3 p,
.feature4 p {
    background-color: inherit;
    text-align: left;
    text-indent:0;
}
.feature1 figcaption p,
.feature2 figcaption p,
.feature3 figcaption p,
.feature4 figcaption p {
    text-align: center;
}
.feature3 p {
    font-style: italic;
    font-family: serif;
}
span.NoteHead {
    font-weight: bold;
    font-style: italic;
    text-transform:uppercase;
}
p.FeatureListHead {
    font-size: 1em;
}
p.FeatureSource {
    text-align:right;
    font-style: italic;
}

/* End Features */

/* Rules */

.hr {
    display: none;
}

.top, 
.bottom {
    display: none;
}

.dottedTop {
    display: none;
    font-size: .9em;
    margin-top: 2.5em;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    page-break-after: avoid;
    text-align: center;    
    text-decoration: overline;
}

.dottedBottom {
    font-size: .9em;
    margin: 0 auto;
    page-break-before: avoid;
    text-align: center;
    text-decoration: underline;
}

/* End Rules */


/* Generic Inline Formatting */
span.keyTerm {
    font-style:italic;
    text-decoration: underline;
}
span.NABSymbol {
    
}
span.GraphicInline {
    padding: 0 2px 0 2px;
}
span.mono {
    font-family:monospace;
}
span.monobold {
    font-family:monospace;
    font-weight: bold;
}
span.monoitalic {
    font-family:monospace;
    font-style:italic;
}
span.monobolditalic {
    font-family:monospace;
    font-weight: bold;
    font-style:italic;
}
span.GlossaryTerm {
    font-weight: bold; 
}
span.Caps {
    text-transform: uppercase;
}
span.SmallCaps {
    font-variant: small-caps;
}
span.dropCap {
    font-size:2.7em;
	margin-top:-.2em;
    margin-bottom: .1em;
    margin-right: .1em;
    float: left;
}
a {
    color: blue;
	font: inherit; 
}

.normal {
    font-size: inherit;
    font-style: normal;
    font-weight: normal;
    font-family: inherit;
}
span.runinhead {
    font-size: inherit;
    font-style: inherit;
    font-weight: bold;
    font-family: inherit;
    text-decoration: inherit;
}
b,
strong {
    font-size: inherit;
    font-style: inherit;
    font-weight: bold;
    font-family: inherit;
    text-decoration: inherit;
    }

cite,
em,
i {
    font-size: inherit;
    font-style:italic;
    font-weight: inherit;
    font-family: inherit;
    text-decoration: inherit;
}

.boldItalic {
    font-size: inherit;
    font-weight: bold;
    font-style: italic;
    font-family: inherit;
    text-decoration: inherit;
}

sup {
    font: inherit;
    font-size: .85em;
    vertical-align: super;
}
sup.endnote {
     font-size: .77em;   
}

sub {
    font: inherit;
    font-size: .85em;
    vertical-align: sub;
}

s {
    font: inherit;
    text-decoration: line-through;
}

u {
    font: inherit;
    text-decoration: underline;
}

/* End Generic Inline Formatting */

/* Generic Alignment and Breaking: apply as class when necessary */

.left {
    text-align: left;
    margin: 0;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-indent: 0;
    text-align: center;    
}

.right {
    text-align: right;
    margin: 0;
}

.textbreak {
    margin: .625em auto;    
    text-align: center;
}

.pagebreak {
    page-break-after: always;
}

.textbreak {
    margin-top: 3em; /*We'll see how this plays out. .625 isn't enough -- but it normally has text in it.*/
}

.floatLeft 
{
    float: left;
    bottom: 1em;
}

.floatRight {
    float: right;
    bottom: 1em;
}

/* End Generic Alignment and Breaking */

/* Colors */

.red {
    background-color: inherit;
    color:#FF0000;
    /*color:rgb(255,0,0);*/
}
.blue {
    background-color:inherit;
    color:#000FFF;
    /*color:rgb(0,15,255);*/
}
.green {
    background-color:inherit;
    color:#228B22;
    /*color:rgb(34,139,34);*/
}
.yellow {
    background-color:inherit;
    color:#FFF000;
    /*color:rgb(255,240,0);*/
}

/* End Colors */


/* Front Matter Styles */
 
.BookTitle {
    font-family: serif;
    font-size: 2em;
    font-weight: bold;
    margin: 2.25em 0 0em 0;
    page-break-after: avoid;
    text-align: center;        
}

.BookSubtitle {
    font-family: serif;
    font-size: 1.7em;
    font-weight: bold;
    margin: 1em 0 1em 0;
    page-break-after: avoid;
    text-align: center;    
}
.BookEdition {
    margin: 2em 0 0 0;    
    text-align: center;
    text-indent: 0;
    font-family: sans-serif;
    font-size: 1.2em;
}
div.authors {
    text-align: center;
    margin: 2em 0 2em 0;
}
.BookAuthor {
    margin: 0;
    text-indent: 0;
    font-family:serif;
    font-weight: bold;
    font-size: 1.2em;
}
div.publishermark {
    text-align: center;
    margin: 4em 0 0 0;
}
div.publisher {
    text-align: center;
}
.BookPublisher {
    font-size: .77em;
    text-align: center;
    text-indent: 0;
    margin:0;
    font-family:sans-serif;
}

.credits {
    text-align: left;
}

.creditsTitle { /*amend titles in credits for this style*/
    margin-top: 1.25em;
    text-align: left;    
}
/* End Front Matter Styles */

/* General HTML5 Headings */
section {
	margin: 1em auto;
}

header {
    margin-top: 2em;
    margin-bottom: 1em;
}

h1.chapterTitle, 
h1.BackMatterTitleAboutNAB, 
h1.BackmatterTitleAboutNAB, 
h1.BackmatterTitleAboutTheAuthor,
h1.BackmatterTitleAppendix,
h1.BackmatterTitleEndnote,
h1.FrontmatterTitle,
h1.FrontMatterTitle,
h1.FrontmatterTitleContents,
h1.FrontmatterTitlePreface,
h1.FrontMatterTitlePraise,
h1.BackmatterTitle,
h1.BackmatterTitleGlossary,
h1.BackmatterTitleBibliography,
h1.BackmatterTitleIndex,
h1.BackmatterTitleReferences,
h1.FrontMatterTitleIntroduction,
h1.FrontmatterTitleIntroduction,
h1.FrontmatterTitlePraise,
h1.FrontmatterTitlePreface,
h1.PartTitle,
nav h1 {
    font-size: 1.7em;
    font-weight: bold;
    margin-top: 1.25em;
    text-align: center;
    font-family: serif;
}

h1 span.ChapterNumber {
	font-size: 1.5em;
}
h1 span.ChapterTitle {
	font-size: inherit;
}
h1 span.ChapterSubtitle {
	font-size: .9em;
}
span.BackmatterTitleAppendix {
    
}
span.BackmatterTitleAppendixNumber {
	font-size: 1.5em;
}

section.glossary h2 {
    font-size: 1.3em;
    font-weight: bold;
    margin: 1em 0 .5em 0;
    text-align: center;
    font-style: normal;
}

h1 span.PartNumber, span.PartTitle {
    font-weight: bold;
    margin-top: 1.25em;
    text-transform:uppercase;
}
h2 {
    font-size: 1.3em;
    font-weight: bold;
    margin: 1em 0 .5em 0;
    text-align: center;
    font-style: italic;
}

h3
 {
    font-size: 1.1em;
    font-weight: bold;
    margin: .625em 0 .5em 0;
    text-align: center;
}

h4 {
    font-size: 1em;
    font-weight: normal;
    font-family: serif;
    margin: 1.5em 0 .5em 0;
    font-variant: small-caps;
}

h5 {
    font-size: 1em;
    font-weight: normal;
    margin-top: 1em;  
}
h6 {
    font-size: 1em;
    font-weight: normal;
    margin-top: 1em;  
    font-style: italic;
}

p.h7 {
    font-size: 1em;
    font-weight: normal;
    margin-top: 1em;
    text-indent:0;  
}

p.ListHead {
    font-size: 1.1em;
    margin: .625em 0 .5em 0;
    text-indent:0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p.h7 {
    font-family: sans-serif;
    hyphens: none;
        -webkit-hyphens: none;
        -moz-hyphens:none;
        adobe-hyphenate: none;
    page-break-after: avoid;
    page-break-inside: avoid;   
}

/* End HTML5 Headings */

/* Figures & Graphics */

figure {
    margin: .77em 0;  
    page-break-inside: avoid;
    text-align: center;
    text-indent: 0;
    width: 100%; 
}

img {
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
}
figure.cover {
    margin: 0 auto;
}
figcaption {
    margin: .2em 0 .33em 0;    
    page-break-after: avoid;
    page-break-inside: avoid;
    text-align: center; /*If figures are centered, captions should be centered, too.*/
    font-style: italic;
    font-size: .9em;
}

figcaption p {
    text-indent: 0;
}

.source {
    color: inherit;
    font-size: .9em;
    margin-top: .25em;
    margin-left: 1.5em;    
    text-align: left;
    text-indent: 0;
}

p.GraphicLabel {
    margin: .2em 0 1em 0; 
    padding: 3px;
    color: inherit;
    font-size: inherit;
    font-family: sans-serif;
    text-indent: 0;
    font-size: .9em;
    border: 1px solid #666666;
}

.publisherWordMark {
    display: inline-block;
    top: 2em;
    bottom: 1em;
	clear: both;    
} 

/* End Figures & Graphics */

/* Tables */
table {
    border-collapse: collapse;
    margin: 0 auto .5em auto;
    text-align: center;
}

thead {
    font-weight: bold;
    display: table-header-group;    
}
td.head {
    background-color: #C0C0C0;
}
td.subhead {
    background-color: #EEEEEE;
}
td,
th {
    font-size: inherit;
    font-weight: inherit;
    background-color: inherit;
    border: 1px solid #C0C0C0;
    display: table-cell;
    padding: 3px;    
    text-indent: 0;
    text-align: left;
    vertical-align: text-top;    
}

tr {
    display: table-row;
    font-size: inherit;
    font-weight: inherit;
}

td.footer {
    font-size: .9em;
}

p.TableFootnote {
    font-size: .9em;
    margin-bottom: .18em;
    text-align: left;
    text-indent: 0;
}

/* End Tables */

/* Poetry */
div.poem {
    margin: 1em 0 1em 1em;
    text-align: left;
    page-break-inside: avoid;
}
p.PoemHead {
    font-weight: bold;
    text-indent: 0;
}
p.PoemLine {
    margin: 0em;
    padding: .2em 0 0 0;
    text-indent: 0;
    font-style: italic;
}
p.PoemStanzaBreak {
    margin-top: 1em;
    margin-bottom: 0em;
    text-indent: 0;
}
p.PoemLineContinued {
    margin-top: 0em;
    margin-bottom: 0em;
    text-indent: 0;
    font-style: italic;
}
div.poem p.Source {
    text-align: right;
}
/* End Poetry */

/* Recipes */
h2.RecipeHead {
    font-size: 1.1em;
    font-weight: bold;
    margin: 1em 0 .5em 0;
    text-align: left;
    font-style: normal;
}
div.recipeyield {
    margin: .7em 0em 1em 0;
}
p.RecipeYield {
    text-indent: 0;
    font-size: .9em;
}
div.RecipeIntro {
    margin: 1em 0em .7em 0;
}
p.RecipeIntroHead {
    margin: 0;
    text-indent: 0;
    font-weight: bold;
    font-size: 1.1em;
    font-family:sans-serif;
}
p.RecipeIntroPara {
    text-indent: 0;
}
p.RecipeProcedureHead {
    margin: 1em 0em 0em 0;
    text-indent: 0;
    font-weight: bold;
    font-size: 1em;
    font-family:sans-serif;
    text-transform:uppercase;
} 
p.RecipeUSMeasure, p.RecipeProcedure {
    text-indent: 0;
}

/* Footnotes */
sup.FootnoteReference {
    font-size: .77em;
}
aside.FootnoteEntry {
    border-top: 1px solid #666666;
    border-bottom: 1px solid #666666;
}
aside.FootnoteEntry p {
    font-size: .9em;
    text-indent:0;
}

/*Backmatter*/
p.index1 {
    
}
p.index2 {
    margin-left: 1em;
}
p.index3 {
    margin-left: 2em;
}
/* Nav */

span[epub|type~="pagebreak"] {
    font-size: .7em;
	text-align: center;
}

nav[epub|type~="landmarks"] {
	display: none;
	visibility: hidden;
}

nav[epub|type~="page-list"] {
	display: none;
	visibility: hidden;
}
nav.tableList, nav.figureList {
	display: none;
	visibility: hidden;
}
nav.guideList {
	display: none;
	visibility: hidden;
}

nav.pageList {
	display: none;
	visibility: hidden;
}

nav {
	margin: 1em auto;
}

.contentsH1 {
    list-style-type: none;
    margin-left: 0;
    text-align: left;
}

.contentsH2 {
    list-style-type:none;
    text-align: left;
}

.contentsH3 {
    list-style-type: none;
    text-align: left;
}

.toc ol {
    list-style: none;
}

.toc li {
    list-style: none;
	margin-top: .4em;
}

.illustrations {
	display: none;
	visibility: hidden;
}
.guide {
	display: none;
	visibility: hidden;
}

.pages {
	display: none;
	visibility: hidden;
}


/* Kindle */

@media amzn-kf8 {
    body {
    	margin-left: 0;
    	margin-right: 0;
    	text-indent: 0;
    }
    ol li {
        margin-left: .3em;
    }
    span.dropCap {
    font-size:300%;
    margin-top:-0.335em;
    margin-bottom:-0.3245em;
    }

    figure {
        width: 100%;
    }


    img {
        width: auto;
    }

/*    ol ol {
        list-style-type: lower-alpha;
    }

    ol ol ol {
        list-style-type: lower-roman;
        }

    ul {
        list-style-type: disc;
        margin-top: .5em;
        margin-bottom: .5em;
        padding-left: 1.5em;
    }

    ul ul {
        list-style-type: none;
        padding-left: 1.5em;
    }

    ul ul ul {
        list-style-type: square;
        padding-left: 1.5em;
    }
    
    .sub {
        padding: 0 0 0 1.5em;
    }*/
}

@media amzn-mobi {
    body {
    	margin-left: 0;
    	margin-right: 0;
    	text-indent: 0;
    }
    
    div.hr {
       display: block;
       margin: 0;
       padding: 0;
    }
    
    div.dottedTop hr,
    div.top hr {
        display: block;
    	margin: 0;
        padding: 0;
    }
    
    div.dottedBottom hr,
    div.bottom hr {
    	display: block;
        margin: 0;
        padding: 0;
    }
        
    img {
        text-indent: 0;
        margin: 0;
        padding: 0;
        width: auto;
    }
    
   ol {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    ul {
        margin-top: 6px;
        margin-bottom: 6px;
        margin-left: inherit;
        padding-left: inherit;
    }       
}
/*end style sheet*/