body, html {
    padding: 0;
    margin: 0;
    background: #ccc;
    text-align: center;
    font-family: Arial, sans-serif;
}
/* 
IE 5.x windows has a bug where font size isn't inherited from the body tag.
See: http://www.webhostingtalk.com/archive/thread/305618-1.html
*/
table, tr, td, ul, ol, li, input, select, textarea { font-size:100% }

table, tr, td {
    padding: 0;
    margin: 0;
}

body {
    font-size: 68%;
}

a:link, a:visited {
    color: #fff;
}
a:hover {
    color: #e6e6e6;
}
h1 {
    font-size: 2em;
}
a img { 
border: 0px; 
} 

div#content {
    text-align: left;
    margin: 20px auto 0px;
    padding: 0px 0px 0px 0px;
    background: #fff;
    font-size: 1.2em;
    width: 744px;
}

div#header {
    background: #ee0000;
    padding: 0;
    margin: 0;
    height: 55px;
    color: #fff;
}
div#header img{
    margin: 0;
    padding: 0;
    float:left;
}
div#header input {
    background: #e5e5e5;
    border: 0;
    padding: 0;
    margin: 0;
    width: 120px;
}
div#header ul {
    padding: 0;
    margin: 26px 10px 10px;
    float: right;
}
div#header ul li {
    list-style: none;
    display: inline;
}
div#header div.search {
    float: right;
    padding: 26px 10px 10px 0;
}
div#header a {
    font-size: 0.9em;
    margin: 0 0 0 20px;
}


div#footer {
    text-align: center;
    margin: 0 auto 20px;
    padding: 10px 0px 0px 20px;
    width: 744px;
    clear: both;
}

div#footer ul {
    padding: 0;
    margin: 0;
}
div#footer ul li {
    list-style: none;
    padding: 0 4px;
    margin: 0;
    display: inline;
    border-right: 1px solid #039;
}

div#footer a:link, div#footer a:visited  {
    color: #039;
    font-weight: bold;
}
div#footer a:hover  {
    color: #0F2262;
    font-weight: bold;
}
div.row_break {
    clear: both;
}
div.breadcrumb	{
    background: #fff;
    margin: 0px 0px 0px 0px;
    padding: 15px 10px 15px 20px;
    text-align: left;
    font-size: 0.85em;
    color: #666666;    
}
div.breadcrumb a:link { 
    text-decoration: none;
    color: #666666;
} 
div.breadcrumb a:visited { 
    text-decoration: none;
    color: #666666;
} 
div.breadcrumb a:hover { 
    text-decoration: underline;
    color: #333333;
} 
div.pagetitle	{
    background: #fff;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 18px 0px;
    color: #000;    
}
div.pagetitle h3	{
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    clear: both;
    font-size: 1.8em;
    font-weight: bold;
}
div.bodytext	{
    background: #fff;
    padding: 0px 15px 0px 20px;
    margin: 0px 0px 30px 0px;
    color: #000;    
    float: left;
    width: 366px;
    voice-family: "\"}\""; 
    voice-family:inherit;
    width: 331px;
}
div.caption	{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-size: .85em;
}
div.credit	{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-size: .85em;
    font-style: italic;    
}
div.bodytext p	{
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    clear: both;
}
div.mainimage	{
    background: #fff;
    margin: 0px 0px 0px 0px;
    padding: 5px 20px 30px 0px;
    color: #000;
    float: right;
    vertical-align: top;
    width: 366px;
    voice-family: "\"}\""; 
    voice-family:inherit;
    width: 346px;
}
div.mainimage img	{
    border: 2px solid #cccccc; 
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}
ul.linkgrid {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    top: 0px;
    left: 0px;
    width: 100%;
    background: #fff;
    list-style: none;
    clear: both;
    }
    
span.linktext	{
    vertical-align: middle;
    position: relative;
    float: left;
    padding: 20px 0px 10px 5px;
    display: block;
    cursor:pointer;
    cursor:hand;
    width: 280px; 
        }
span.linkbox	{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    vertical-align: middle;
    display: table-cell;
    vertical-align: middle;
    cursor:pointer;
    cursor:hand;
    width: 100%;
    }
        
        
        
span.nextbuttontext	{
    padding: 0px 20px 0px 20px;
    cursor:pointer;
    cursor:hand;
    width: 150px;    
    }
li.chapterlink	{
    background: #ffffff;
    padding: 0px 0px 0px 0px;
    vertical-align: middle;
    margin: 0px 0px 0px 0px;
    font-size: 1.1em;
    height: 74px;
    float: left;
    font-weight:bold;
    width: 50%;
}
li.chapterlink a:link { 
    display: block;
    text-decoration: none;
    color: #ffffff;
    background-color: #999999;
    margin: 1px 1px 2px 1px; 
    height: 74px;
} 
li.chapterlink a:visited { 
    display: block;
    text-decoration: none;
    color: #ffffff;
    background-color: #999999;
    margin: 1px 1px 2px 1px; 
    height: 74px;
} 
li.chapterlink a:hover { 
    display: block;
    text-decoration: none;
    color: #ffffff;
    background-color: #ee0000;
    margin: 1px 1px 2px 1px; 
    height: 74px;
} 

li.chapterlink img{
    border: 2px solid #ffffff; 
    padding: 0px 0px 0px 0px;
    float: left;
    margin: 3px 3px 3px 3px;
    height: 64px;
    width: 64px;
}
div.caption {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}



li.backchapter	{
    background: #fff;
    padding: 0px 0px 0px 0px;
    position: relative;
    margin: 1px 1px 1px 1px;
    color: #fff;
    font-size: 1.0em;
    font-weight: bold;
    height: 50px;
    vertical-align: middle;
    float: left;
    width: 34%;
}
li.backchapter a:link { 
    display: block;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: left;
    color: #999999;
    vertical-align: middle;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
} 
li.backchapter a:visited { 
    display: block;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    color: #999999;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
} 
li.backchapter a:hover { 
    display: block;
    color: #ffffff;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    background-color: #ee0000;
    width: 100%;
    height: 100%;
} 
li.backchapter img{
    float: left;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    height: 50px;
    width: 20px;
}
li.backchapter span{
    display: block;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    vertical-align: middle;
    width: 100%;
}


li.backbutton	{
    background: #fff;
    padding: 0px 0px 0px 0px;
    position: relative;
    margin: 1px 1px 1px 1px;
    color: #fff;
    font-size: 1.0em;
    font-weight: bold;
    height: 50px;
    vertical-align: middle;
    float: left;
    width: 34%;
}
li.backbutton a:link { 
    display: block;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: left;
    color: #ffffff;
    vertical-align: middle;
    background-color: #999999;
    width: 100%;
    height: 100%;
} 
li.backbutton a:visited { 
    display: block;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    color: #ffffff;
    background-color: #999999;
    width: 100%;
    height: 100%;
} 
li.backbutton a:hover { 
    display: block;
    color: #ffffff;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    background-color: #ee0000;
    width: 100%;
    height: 100%;
} 
li.backbutton img{
    float: left;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    height: 50px;
    width: 20px;
}
li.backbutton span{
    display: block;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    vertical-align: middle;
    width: 100%;
}



li.forwardchapter	{
    padding: 0px 0px 0px 0px;
    margin: 1px 1px 1px 1px;
    font-size: 1.0em;
    font-weight: bold;
    float: right;
    height: 50px;
    width: 34%;
}
li.forwardchapter a:link { 
    display: block;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: right;
    color: #999999;
    vertical-align: middle;
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
} 
li.forwardchapter a:visited { 
    display: block;
    text-decoration: none;
    padding: 0px 0px 0px 0px;
    text-align: right;
    vertical-align: middle;
    color: #999999;
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
} 
li.forwardchapter a:hover { 
    display: block;
    color: #ffffff;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: right;
    vertical-align: middle;
    background-color: #ee0000;
    width: 100%;
    height: 100%;
}
li.forwardchapter span{
    display: block;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    width: 100%;
    }
li.forwardchapter img{
    float: right;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    width: 20px;
    height: 50px;
    }


li.forwardbutton	{
    padding: 0px 0px 0px 0px;
    margin: 1px 1px 1px 1px;
    font-size: 1.0em;
    font-weight: bold;
    float: right;
    height: 50px;
    width: 34%;
}
li.forwardbutton a:link { 
    display: block;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: right;
    color: #ffffff;
    vertical-align: middle;
    background-color: #999999;
    width: 100%;
    height: 100%;
} 
li.forwardbutton a:visited { 
    display: block;
    text-decoration: none;
    padding: 0px 0px 0px 0px;
    text-align: right;
    vertical-align: middle;
    color: #ffffff;
    background-color: #999999;
    width: 100%;
    height: 100%;
} 
li.forwardbutton a:hover { 
    display: block;
    color: #ffffff;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    text-align: right;
    vertical-align: middle;
    background-color: #ee0000;
    width: 100%;
    height: 100%;
}
li.forwardbutton span{
    display: block;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    width: 100%;
    }
li.forwardbutton img{
    float: right;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    width: 20px;
    height: 50px;
    }

div.navgrid{
    width: 100%;
    padding: 0px;
    clear: both;
    text-align: center;
    }


li.pagecount{
    float: left;
    display: inline;
    font-size: 1.0em;
    font-weight: bold;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    color: #666666;
    width: 30%;
    text-align: center;
}
.linkgrid:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

