* { padding: 0; margin: 0; }

body {
  font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  font-size: 14px;
  background-color: white;
  color: black;
}


cite, code, tt, pre {
    font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
    font-size: 0.9em;
}

pre {
    padding: 0.5em;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

/* definition list */
dt {
    margin: 0.7em 0 0em 0;
    font-weight: bold;
}

dd  {
     margin-left: 2em;
}
    

/* classes */
.current {
    font-weight: bold;
}


/* paragraph margin and styles */

p {
    margin: 0.5em 0 0.5em 0;
}

p.rubric {
    font-weight: bold;
}


/* link decoration */

a {
    text-decoration: none;
    color: blue;
}

a:hover {
    text-decoration: underline;
}

img {
    padding: 1em 0 1em 0;
}

/* header block */

div#header {
    position: fixed;
    top: 0em;
    height: 5em;
    width: 100%;
}

div#banner{
    position: absolute;
    top: 1em;
    left: 1em;
    height: auto;
    color: olive;
}

#logo {
    font-size: 150%; 
    font-weight: bold;
}

#tagline {
    font-size: 110%; 
    padding-left: 0.5em;
}


div#search {
    position: absolute;
    top: 1em;
    right: 1em;
    width: auto;
    height: auto;
}

div#sectionbar{
    position: absolute;
    bottom: 0em;
    height: auto;
    width: 100%;
    background-color: whitesmoke;
    border-bottom: thin solid lightgray;
}

#sectionbar a {
    padding-left: 1em;
}

#sectionbar span {
    padding-left: 1em;
    font-weight: bold;
}

div#othersections {
    position: absolute;
    top: 0em;
    right: 1em;
    width: auto;
    height: auto;
}

/* sidebar block */

div#sidebar {
    position: fixed;
    overflow: auto;
    top: 5.5em;
    left: 0em;
    bottom: 2.5em; 
    width: 15.5em;
    background-color: whitesmoke;
    border: thin solid lightgray;
    padding-top: 1em;
}


div#sidebar ul {
    list-style-type: none;
    list-style-image: none;
    padding-left: 1em;
    margin-left: 0em;
    padding-right: 0.5em;
}

div#sidebar ul li {
    padding-bottom: 0.3em;
}

div#sidebar ul ul {
   padding-left: 0em;
    margin-left: 0em;
    padding-right: 0.5em;
}

div#sidebar ul ul ul {
    padding-left: 1em;
    margin-left: 0em;
    padding-right: 0.5em;
}

div#sidebar ul ul a {
    color: black;
    font-weight: bold;
}

div#sidebar ul ul ul a {
    font-weight: normal;
}

div#sidebar ul ul ul li {
    background: transparent url(tocdot2.gif) 0 0.6em no-repeat;
    padding: 0 0 0 0.4em;
}


/* main block */

div#main { 
    position: absolute;
    overflow: auto;
    top: 5.5em;
    right: 0em;
    bottom: 2.5em;
    left: 16em;
    padding-left: 3em;
    padding-right: 4em;
    border: thin solid whitesmoke;
}


div#main-text{
    font-family: "Times New Roman", serif;
    font-size: 18px;
    max-width: 32em;
}

div#main-text ol {
    padding-left: 2em;
}


/* footer block */

div#footer {
    position: fixed;
    bottom: 0em;
    width: 100%;
    height: auto;
    background-color: whitesmoke;
    border-top: thin solid lightgray;
    text-align: center;
    font-size: 80%;
}


/* headers */

a.headerlink {
    color: blue;
    visibility: hidden;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
    visibility: visible;
}


h1, h2, h3, h4, h5, h6 {
    padding-top: 0.6em;
    padding-bottom: 0.1em;
}

h2, h3 {
    font-variant: small-caps;
}

 div.line-block {
    margin: 1em 0 1em 3em;
}


/* docutils table */

table.docutils {
    border: 0;
}

table.docutils td, table.docutils th {
    padding: 1px 8px 1px 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #aaa;
}




/* :::: PRINT :::: */
@media print {
    div#main,
    div#main-text {
        position: static;
        float: none !important;
        overflow: visible;
        margin: 0;
        width : 100%;
    }
    div#sidebar,
    div#header,
    div#footer {
        display: none;
    }
}
