/*
 * Style Sheet for eBooks@Adelaide web books
 * Author: Steve Thomas, stephen.thomas@adelaide.edu.au
 * Version: 2014.10.26
 * Rights: Public Domain
 * Modified by Jeffrey Scott Flesher
 * For the Light Wizzard
*/
/* .imprint {} */
/* Trying to prevent blank page if element with margin-bottom at the end of xhtml */
body > :last-child,
body > section > :last-child
{
    margin-bottom: 0;
}
/* : */
body
{
    /* KF8 does not support this in body
     * font-size: 100%;
     * line-height: 1.5;
     * line-height: 150%;
     */
    color: #000;
    background-color: #fcfff6;
    font-family: Georgia, serif;
    font-feature-settings: "kern", "liga", "clig", "onum", "pnum";
    font-kerning: normal;
    font-variant: common-ligatures oldstyle-nums proportional-nums;
    margin: 0;
    margin: auto;
    /* RS will override margins anyways */
    padding: 0;
    /* iBooks and Kobo support widows and orphans */
    orphans: 2;
    widows: 2;
}
/* : */
div
{
    margin-bottom: 1em;
    position: relative;
}
/* ILLUSTRATIONS */
img
{
    border: none;
    max-width: 100%;
}
/* : */
p
{
    line-height: 150%;
    margin: 1em 1em 1em 1em !important;
    text-align: justify;
    text-indent: 0;
}
/* : */
p + p
{
    text-indent: 2em;
}
/* : */
span.first
{
    text-indent: 0;
    text-transform: uppercase;
}
/* ****************************************************************************
/* Header: h1 */
h1
{
    font-size: 196%;
    font-style: normal;
    font-weight: bold;
    /* line-height: inherit; */
    /* line-height: 104.347826%; */
    /* 104.347826% > 1.04347826; */
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.666% auto 2.666% auto;
    padding: 0;
    /*
    page-break-before: always;
    page-break-after: always;
    */
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    text-align: center;
    text-indent: 0;
}
/* Header: h2 */
h2
{
    font-size: 166%;
    font-style: normal;
    font-weight: bold;
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.666% auto 2.333% auto;
    padding: 0;
    /*
    page-break-before: always;
    page-break-after: always;
    */
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    text-align: center;
    text-indent: 0;
}
/* Header: h3 */
h3
{
    font-family: 'Old Standard TT', Georgia, serif;
    font-size: 133%;
    font-style: normal;
    font-weight: bold;
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.666% auto 1.666% auto;
    padding: 0;
    /*
    page-break-before: always;
    page-break-after: always;
    */
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    text-align: center;
    text-indent: 0;
}
/* Header: h4 */
h4
{
    font-size: 120%;
    font-style: normal;
    font-weight: bold;
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.666% auto 1.666% auto;
    padding: 0;
    /*
    page-break-before: always;
    page-break-after: always;
    */
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    text-align: center;
    text-indent: 0;
}
/* Header: h5 */
h5
{
    font-size: 110%;
    font-style: normal;
    font-weight: bold;
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.666% auto 1.666% auto;
    padding: 0;
    /*
    page-break-before: always;
    page-break-after: always;
    */
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    text-align: center;
    text-indent: 0;
}
/* Header: h6 */
h6
{
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.666% auto 1.333% auto;
    padding: 0;
    /*
    page-break-before: always;
    page-break-after: always;
    */
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: avoid !important;
    text-align: center;
    text-indent: 0;
}
/* : */
a,
a:link,
a:visited
{
    color: #000;
    border-bottom: 1px dotted gray;
    text-decoration: none;
}
/* : */
a:active,
a:hover
{
    color: red;
}
/* : */
sup,
sub
{
    font-size: 0.7em;
}
/* : */
sup
{
    line-height: 80%;
}
/* : */
hr
{
    color: #ddd;
    margin: 2em auto;
    width: 33%;
}
/* : */
code
{
    font-family: monospace;
    font-size: 110%;
}
/* : */
pre,
.pre
{
    font-family: monospace;
    font-size: 110%;
    text-align: left;
    text-indent: 0;
    white-space: pre-wrap;
}
/* *****************************
 * blank_target_link
 */
.nav a
{
    /*
    Compile:
    display: none;
    Minimize:
    display: block;
    */
    display: none;
}
/* : */
table
{
    margin: 1em auto;
    page-break-inside: avoid !important;
}
/* tbody */
tbody
{
    page-break-inside: avoid !important;
}
/* thead */
thead
{
    page-break-inside: avoid !important;
}
/* tfoot */
tfoot
{
    page-break-inside: avoid !important;
}
/* : */
th
{
    font-weight: normal;
    page-break-inside: avoid !important;
}
/* td */
td
{
    empty-cells: show;
    page-break-inside: avoid !important;
}
/* override broswer default */
table.tb1
{
    background-color: #fcfff6; /* in case it overflows the margins */
    border: 1px solid gray;
    border-collapse: collapse;
    page-break-inside: avoid !important;
}
/* : */
table.tb1 tr th
{
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    padding: 0.5em;
    page-break-inside: avoid !important;
}
/* : */
table.tb1 tr td
{
    border-right: 1px dotted gray;
    border-bottom: 1px dotted gray;
    padding: 0.5em;
    text-align: left;
    text-indent: 0;
    page-break-inside: avoid !important;
}
/* : */
table.tb1 th
{
    font-weight: bold;
}



/* override broswer default */
table.tb2
{
    background-color: #fcfff6; /* in case it overflows the margins */
    border: 1px solid gray;
    border-collapse: collapse;
    page-break-inside: avoid !important;
}
/* : */
table.tb2 tr th
{
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    margin: 0 0.6em 0 0.6em;
    padding: 0.5em;
    page-break-inside: avoid !important;
}
/* : */
table.tb2 tr td
{
    border-bottom: 1px dotted gray;
    padding: 0.5em;
    text-align: left;
    text-indent: 0;
    page-break-inside: avoid !important;
}
/* : */
table.tb2 th
{
    font-weight: bold;
}


/* : */
table.nb,
table.nb tr th,
table.nb tr td
{
    border: none;
    page-break-inside: avoid !important;
}
/* table cell atoms */
.bt
{
    border-top: 1px solid gray !important;
}
/* : */
.br
{
    border-right: 1px solid gray !important;
}
/* : */
.bb
{
    border-bottom: 1px solid gray !important;
}
/* : */
.bl
{
    border-left: 1px solid gray !important;
}
/* : */
.vat
{
    vertical-align: top;
}
/* : */
.vab
{
    vertical-align: bottom;
}
/* : */
.center
{
    text-align: center !important;
}
/* LISTS */
li
{
    margin-top: 0.5em;
}
/* : */
ol p
{
    text-align: justify;
    text-indent: 0;
    margin-bottom: 1em;
}
/* : */
ol.upper-roman
{
    list-style-type: upper-roman;
}
/* : */
ol.lower-roman
{
    list-style-type: lower-roman;
}
/* : */
ol.upper-alpha
{
    list-style-type: upper-alpha;
}
/* : */
ol.lower-alpha
{
    list-style-type: lower-alpha;
}
/* : */
ul.bracketed /* list with a left-side line */
{
    border-left: 1px solid gray;
    list-style-type: none;
    padding-left: 1em;
}
/* list without bullets */
ul.nb
{
    list-style-type: none;
    padding-left: 2em;
}
/* : */
ul.nb li
{
    padding-left: 2em;
    text-indent: -2em !important;
}
/* : */
ul.nb li ul
{
    padding-left: 0;
    text-indent: -2em;
}
/* ugly kludge to align sidenotes on a list */
.nb span.sn
{
    margin-left: -4em;
}
/* : */
.dropcap
{
    text-indent: 0;
}
/* : */
.dropcap::first-letter
{
    float: left;
    font-size: 5em;
    line-height: 90%;
    padding-right: 2px;
}
/* : */
.dropcap img
{
    float: left;
}
/* style atoms : classes defining a single style feature */
.fs80
{
    font-size: 80% !important;
}
/* : */
.fs90
{
    font-size: 90% !important;
}
/* : */
.fs130
{
    font-size: 130% !important;
}
/* : */
.fs150
{
    font-size: 150% !important;
}
/* : */
.fs200
{
    font-size: 200% !important;
}
/* : */
.lh100
{
    line-height: 100% !important;
}
/* : */
.lh120
{
    line-height: 120% !important;
}
/* : */
.lh130
{
    line-height: 130% !important;
}
/* : */
.lh150
{
    line-height: 150% !important;
}
/* : */
.lh180
{
    line-height: 180% !important;
}
/* : */
.lh200
{
    line-height: 200% !important;
}
/* : */
.fwn
{
    font-weight: normal !important;
}
/* : */
.i1
{
    padding-left: 1em;
}
/* : */
.i2
{
    padding-left: 2em;
}
/* : */
.i3
{
    padding-left: 3em;
}
/* : */
.i4
{
    padding-left: 4em;
}
/* : */
.i5
{
    padding-left: 5em;
}
/* : */
.i6
{
    padding-left: 6em;
}
/* : */
.i7
{
    padding-left: 7em;
}
/* : */
.i8
{
    padding-left: 8em;
}
/* : */
.i9
{
    padding-left: 9em;
}
/* : */
.i10
{
    padding-left: 10em;
}
/* : */
.i11
{
    padding-left: 11em;
}
/* : */
.i12
{
    padding-left: 12em;
}
/* : */
.w10
{
    width: 10% !important;
}
/* : */
.w20
{
    width: 20% !important;
}
/* : */
.w25
{
    width: 25% !important;
}
/* : */
.w30
{
    width: 30% !important;
}
/* : */
.w33
{
    width: 33% !important;
}
/* : */
.w40
{
    width: 40% !important;
}
/* : */
.w50
{
    width: 50% !important;
}
/* : */
.w60
{
    width: 60% !important;
}
/* : */
.w67
{
    width: 67% !important;
}
/* : */
.w70
{
    width: 70% !important;
}
/* : */
.w75
{
    width: 75% !important;
}
/* : */
.w80
{
    width: 80% !important;
}
/* : */
.w90
{
    width: 90% !important;
}
/* : */
.w100
{
    width: 100% !important;
}
/* : */
.ni
{
    text-indent: 0 !important;
}
/* : */
.in
{
    text-indent: 2em !important;
}
/* : */
.left
{
    float: left;
    padding-right: 1em;
}
/* : */
.right
{
    float: right;
    padding-left: 1em;
}
/* : */
.border
{
    border: 1px solid;
    padding: 1em;
}
/* : */
.dropshadow
{
    -moz-box-shadow: 5px 5px 25px 10px #888;
    -webkit-box-shadow: 5px 5px 25px 10px #888;
    box-shadow: 5px 5px 25px 10px #888;
}
/* : */
.underlined
{
    text-decoration: underline;
}
/* : */
.hi
{
    font-style: italic;
}
/* : */
.hi em
{
    font-style: normal;
}
/* : */
.it
{
    font-style: italic;
}
/* deprecated */
.sc
{
    font-variant: small-caps;
}
/* : */
.uc
{
    text-transform: uppercase;
}
/* : */
del,
.del
{
    text-decoration: line-through;
}
/* : */
.tl
{
    text-align: left !important;
}
/* : */
.tc
{
    text-align: center !important;
}
/* : */
.tr
{
    text-align: right !important;
}
/* : */
.tj
{
    text-align: justify !important;
}
/* : */
.tw
{
    letter-spacing: 0.5em;
}
/* "text wide" */
.ls
{
    letter-spacing: 1em;
}
/* : */
.halftitle
{
    /* height: 47em; */
    padding: 10em 0;
}
/* : */
.halftitle h1,
.halftitle h2,
.halftitle h3,
.halftitle h4,
.halftitle h5,
.halftitle h6
{
    font-size: 2em;
    font-weight: bold;
    line-height: 2em;
    text-align: center;
}
/* Table of Contents */
.contents h4,
.contents h5,
.contents h6
{
    font-variant: normal;
    font-weight: normal;
    text-align: left !important;
}
/* : */
.contents h5,
.contents h6
{
    margin-left: 1em;
}
/* : */
.contents p
{
    font-size: 0.9em;
    margin-left: 1em;
    margin-bottom: 1em;
    text-indent: 0 !important;
}
/* Chapter, etc., header */
.header
{
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0 auto;
    text-align: center !important;
    /* Necessary as RS may define text-indent for p */
    text-indent: 0;
}
/* : */
.section .header
{
    margin: 0;
}
/* : */
.header h1,
.header h2,
.header h3,
.header h4,
.header h5
{
    font-variant: small-caps;
    font-weight: bold;
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0.2em 1.33em 1.33em 1.33em;
    text-align: center;
}
/* : */
.header p
{
    /* margin-top margin-right margin-bottom margin-left */
    margin: 0 auto;
    text-align: center !important;
    /* Necessary as RS may define text-indent for p */
    text-indent: 0;
}
/* : */
.header.modern h2,
.modern h3,
.modern h4,
.modern h5,
.modern h6
{
    font-weight: normal;
    text-align: left;
}
/*
.header.modern h2
{
    font-size: 200%;
}
*/
/*
.modern h3
{
    font-size: 180%;
}
*/
/*
.modern h4
{
    font-size: 150%;
}
*/
/*
.modern h5
{
    font-size: 120%;
}
*/
/*
.modern h6
{
    font-size: 110%;
}
*/
/* : */
.book
{
    font-family: Verdana, sans-serif;
    font-size: 100%;
    margin: 1em auto;
}
/* -- */
.runh
{
    font-variant: small-caps;
}
/* : */
.section
{
    clear: both;
    margin-bottom: 3em;
    margin-left: 3em;
    margin-right: 3em;
}
/* NOTES */
.footnotes,
.footnote,
.inline-note
{
    font-family: Verdana, sans-serif;
}
/* : */
.footnotes
{
    border-top: 1pt solid gray;
    margin: 1em;
    padding: 1em 0;
}
/* : */
.footnote,
.inline-note
{
    font-size: 0.8em;
}
/* : */
.footnote
{
    margin: 1em !important;
    text-indent: 0;
}
/* : */
.sn
{
    clear: left;
    float: left;
    font-size: 0.7em;
    font-style: italic;
    line-height: 110%;
    margin: 0.5em 0.5em 0 -1em;
    max-width: 7em;
    text-align: left;
    text-indent: 0;
}
/* : */
.mn
{
    clear: right;
    float: right;
    font-size: 0.7em;
    font-style: italic;
    line-height: 110%;
    margin: 0.5em -1em 0 0.5em;
    max-width: 7em;
    text-align: right;
    text-indent: 0;
}
/* : */
.popup-note,
abbr,
acronym
{
    border: 1px dotted gray;
    cursor: help;
}
/* : */
.screen-note
{
    border: 1pt solid gray;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    padding: 2pt;
    text-indent: 0;
}
/* QUOTES */
blockquote,
.quote
{
    font-size: 90%;
    margin: 1em auto;
    width: 90%;
}
/* : */
.letter
{
    margin: 1em !important;
}
/* : */
cite,
.cite
{
    font-variant: small-caps;
    font-style: normal;
}
/* : */
.quote p.cite,
.epigraph p.cite,
.epigraph cite
{
    text-align: right;
}
/* : */
.epigraph p.cite::before
{
    content: "–";
}
/* : */
.typed
{
    font-family: monospace;
}
/* : */
.signed,
.signed p,
.dateline,
.dateline p
{
    text-transform: capitalize;
    text-align: right;
    font-style: italic;
}
/* : */
.salut
{
    font-variant: small-caps;
    text-indent: 0;
}
/* : */
.scene
{
    margin-bottom: 3em;
}
/* : */
.speech
{
    margin-left: 1em;
}
/* hanging indent */
.hang
{
    text-align: left;
    text-indent: -2em !important;
    margin: 0 0 0 2em !important;
}
/* verse line number */
.ln
{
    color: gray;
    float: right;
    font-style: italic;
    font-size: 0.8em;
    margin: 0 -2em 0 1em;
    text-align: right;
    text-indent: 0;
}
/* NOTE: vln requires enclosing div to be position:relative */
span.vln
{
    color: gray;
    font-size: 0.8em;
    /* position: absolute; */
    top: auto;
    right: -1.5em;
    text-align: right;
}
/* : */
figure,
.figure
{
    margin: 1em auto;
    max-width: 100%;
    text-align: center;
    text-indent: 0;
}
/* : */
figure,
.figure,
.figleft,
.figright
{
    font-family: sans-serif;
    font-size: 0.9em;
    text-align: center;
    text-indent: 0;
}
/* : */
figcaption
{
    font-family: sans-serif;
    font-size: 0.9em;
    text-align: center !important;
    text-indent: 0 !important;
}
/* : */
.ornament
{
    margin: 1em auto;
    max-width: 100%;
    text-align: center !important;
}
/* : */
.headpiece
{
    margin: auto;
    max-width: 100%;
    text-align: center !important;
}
/* : */
.tailpiece
{
    margin: 1em auto;
    text-align: center !important;
    width: 66%;
}
/* : */
.initial
{
    float: left;
    margin: 0;
    padding: 0 0.5em 0 0;
}
/* : */
.figleft
{
    float: left;
    margin: 0;
    padding: 0.5em 0.5em 0 0;
}
/* : */
.figright
{
    float: right;
    margin: 0;
    padding: 0.5em 0 0 0.5em;
}
/* TABLES */
caption
{
    background-color: inherit;
    font-variant: small-caps;
    margin: 1em auto;
}
/* Close each chapter etc. with a decorative Aldine Leaf */
#contents::after,
.preface::after,
.prologue::after,
.epilogue::after,
.introduction::after,
.canto::after,
.essay::after,
.chapter::after
{
    content: "❦";
    display: block;
    font-family: Georgia, "DejaVu Sans", Arial, sans-serif;
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 2em;
    text-align: center;
}
/* : */
.antiqua
{
    font-family: 'Uncial Antiqua', Georgia, serif, Arial, sans-serif !important;
    font-variant: normal !important;
    font-size: 140%;
}
/* : */
.math
{
    display: inline-block;
    line-height: 110%;
    text-align: center;
    text-indent: 0;
    vertical-align: middle;
}
/* : */
.ib
{
    display: inline-block;
    text-indent: 0;
    vertical-align: middle;
}
/* here because make-mobi objects */
span[lang=ar]
{
    font-size: larger;
}
/* : */
*[lang=la]
{
    font-variant: small-caps;
}
/* : */
/* End of this style sheet */
/* META stuff */
@media screen
{
    /* : */
    .dochead
    {
        border-bottom: 1px solid gray;
        margin: 0 0 1em 0 !important;
        text-align: center !important;
    }
    /* : */
    .dochead h1
    {
        color: gray;
        font-family: Helvetica, Verdana, sans-serif;
        font-size: 1em;
        font-style: normal;
        font-weight: normal;
        margin: 0 !important;
    }
    /* : */
    .dochead h2
    {
        color: gray;
        font-family: Helvetica, Verdana, sans-serif;
        font-size: 1em;
        font-style: normal;
        font-weight: normal;
    }
    /* : */
    .docfoot
    {
        /*
        position: fixed;
        bottom: 0;
        background-color: #333 !important;
        margin-left: -4em;
        margin-bottom: 0;
        padding: 0 1em;
        text-align: center;
        width: 39em;
        z-index: 10;
        */
        border-top: 1px solid gray;
        color: #666;
        font-family: Verdana, sans-serif;
        margin-bottom: 3em;
        padding-top: 1em;
        text-align: center !important;
    }
    /* : */
    .docfoot p
    {
        font-size: 0.7em;
        text-align: center !important;
        text-indent: 0;
    }
    /* : */
    .docfoot p a:visited
    {
        color: #666;
    }
    /* : */
    .docfoot p a:hover
    {
        color: #f00;
    }
    /* : */
    .docinfo
    {
        color: #666;
        font-family: Verdana, sans-serif;
        font-size: 0.7em;
        text-align: center !important;
    }
    /* : */
    .docinfo p
    {
        text-align: center !important;
        text-indent: 0;
    }
    /* : */
    .docinfo p a:visited
    {
        color: #666;
    }
    /* : */
    .docinfo p a:hover
    {
        color: #f00;
    }
}
/* meta stuff */
/* Special for Copyright notice */
#copyright
{
    margin: 1em 0 50em;
    padding: 1em;
    border: 1px solid red;
}
/* : */
#copyright p
{
    margin-bottom: 1em;
    text-indent: 0;
}
/* : */
@font-face
{
    font-family: 'Old Standard TT';
    font-style: italic;
    font-weight: 400;
    src: url('tt.fonts/OldStandard-Italic.ttf') format('truetype');
}
/* : */
@font-face
{
    font-family: 'Old Standard TT';
    font-style: normal;
    font-weight: 700;
    src: url('tt.fonts/OldStandard-Bold.ttf') format('truetype');
}
/* : */
.oldstandardtt
{
    font-family: 'Old Standard TT', Georgia, serif;
    font-size: 150%;
    font-variant: normal;
    font-weight: normal;
}
/* : */
.z
{
    font-family: "Arial Unicode MS", sans, Arial, sans-serif;
}
/* Zodiac signs */
.cpn
{
    float: right;
    text-align: right;
}
/* title center */
.title_center
{
    font-family: "Times New Roman", Garamond, Georgia, "Trebuchet MS", Bookman, serif;
    font-size: xx-large;
    margin: 0 auto;
    /* Necessary as RS may define text-indent for p */
    text-align: center;
    text-indent: 0;
}
/* : */
.index
{
    margin: 1em 1em 1em 1em;
}
/* ********************************** End of File ************************** */
