/* andreas05 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com/ . Free to use for any purpose as long as the proper credits are given for the original design work.
Version: 2.0, July 15, 2006 */

/* General tags */
*{margin:0; padding:0;}
body{background:#ccc url(../img/bodybg.gif) repeat; font:90% Bitstream Vera Sans,verdana,tahoma,sans-serif;}
a{background-color:inherit; color:#286ea0; font-weight:bold; text-decoration:none;}
a:hover{text-decoration:underline;}
p{margin:0 0 16px 0;}
ul, ol{margin:0 0 16px 15px; padding-left:5px;}
ul ul, ol ol{margin:3px 0 0 15px;}
img{float:left; margin:0 10px 5px 0;}

/* Headers */
h1, h2, h3, h4 {
    color: #9f9f9f;
    font-weight: bold;
    font-variant: small-caps;
}
h1{ font-size:14pt;
    margin:5px 0 10px;
}

h2{ font-size:13pt;
    margin:5px 0 10px;
    color: #f9f9f9;
}

h2 a, h2 a:hover {
    text-decoration: none;
    color: #f9f9f9;
}

h3 {
    font-size:12pt;
    margin: 5px 0 10px;
}

h1 + h2 {
    margin-top: -4px;
}

h2 + h3 {
    margin-top: -6px;
}

h4 {
    font-size:12pt;
    margin-bottom: 1em;
    font-weight: normal;
}


/* IDs */
#title{margin:20px auto -9px; width:700px;}
#container{
    background:#000 url(../img/afl2.jpg) bottom left no-repeat;
    border:4px solid #333;
    color:#c0c0c0;
    margin:15px auto 5px auto;
    padding:10px;
    width:700px;
    line-height:1.3em;
}

#sidebar{float:left; padding-left:10px; width:110px;}
#sidebar p {
    margin:10px 0 5px 0;
}

#sidetitle {
    width: 400px; /* does this work in IE? */
    font-variant: small-caps;
    line-height: normal;
    /*font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;*/
    font-size: 20pt;
    font-weight: normal;
    padding-left: 5px;
    margin-left: 5px;
}

#sidebar li {
    list-style-type: none;
    padding-left: 5px;
}

#sidebar ul {
    margin-left: 0;
}

#main{
    float:right;
    width:480px;
}

#maintbl {
    /*border: 1px solid green;*/
    width: 100%;
    margin-top: 150px;
}

#mainmain {
    height: 510px;
    vertical-align: bottom;
    padding: 0 20px 0 0;
    /*border: 1px solid red;*/
}

#footer{
    clear:both;
    text-align: center;
}

/* Menu */
.menu{
    color:#f9f9f9;
    display:block;
    font-size:12pt;
    font-weight:normal;
    font-variant: small-caps;
    padding:4px 2px 4px 0;
    width:110px;
    line-height: 14pt;
}

.menu:hover{
    /*background-color:#282828;*/
    color:#286ea0;
    text-decoration:none;
}

/* Various classes */
.credits{color:#888; font-size:0.9em; margin-bottom:0;}
.credits a{color:#888;}

img {
    border: none;
}

.left {
    float: left;
    margin-right: 10px;
}

.right {
    float: right;
    margin-left: 10px;
}

.inset-img {
    height: 150px;
    width: 150px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.9);
}

.clear {
    clear: both;
}

.toc table {
    width: 100%;
}

.toc td {
    vertical-align: top;
}

/* ajax stuff */
#bookscroller {
    white-space: nowrap;
    overflow: scroll;
    height: 150px;
}

#bookscroller img {
    float: none;
    display: inline;
}

hr {
    border: none;
    padding-top: 22px;
}