/* General font, colour, background, spacing, etc. */

body {
 font-size: 100%;
 color: black; background-image:url(../images/Background.jpg);
 font-family: Arial, Helvetica, sans-serif;
 margin: 0; padding: 0;
}

p { margin: 0.5em 0; }

/* Header, masthead, global navigation */

#header { background-color: #a93a37; color: white; padding: 0.5em; }
#header h1 { padding: 0; height: 90px; width: 100%; }
#header h1 a { display: block; height: 100%; width: 100%; }
#masthead1 { float: left; }
#masthead2 { float: right; }
#header ul { clear: both; }
#header h1 img { border: none; }
#header a { color: white; background: inherit; text-decoration: none; }
 
.navigation { display: block; margin: 0 auto; padding: 0; list-style-type: none; text-align: center; text-align: center; }
.navigation li { display: inline; margin: 0 1em; padding: 0; white-space: nowrap; }

/* Content and footer */

#content { padding: 0.5em; text-align: justify; }

#footer { text-align: center; margin: 1em 0; } 

/* Homepage specific */

div.homepage { text-align: center; font-weight: bold; clear: both; }
div.homepage img { float: left; }
div.homepage div { margin: 2em; }

/* Headings */

h1, h2, h3, h4 { padding: 1em 0 0.5em 0; margin: 0; font-weight: bold; }
h1, h2 { clear: both; }
h1 { text-align: center; font-size: 200%; }
h2, h4 { text-align: left; }
h2 { font-size: 150%; }
h3 { font-size: 120%; text-align: center; }
h4 { font-size: 100%; }

/* Specific ToC styles */

ul.links_for_vol { list-style-type: none; padding: 0; margin: 0; }
ul.links_for_vol li { margin: 0.2em 0; }
ul.links_for_vol h4 { padding: 0; float: left; }

ul.versions { display: inline; padding: 0; }
ul.versions li { display: inline; margin: 0 0.5em; white-space: nowrap; }

ul.volume_toc { list-style-type: none; padding: 0; }
.volume_toc > li { clear: both; text-align: left; }
.volume_toc h3 { font-size: 100%; font-weight: normal; float: left; width: 50%; text-align: left; margin: 0; padding: 0 2em 0.5em 0; }
.volume_toc .author { font-weight: bold; }
.volume_toc .title { font-size: 80%; }
.links_for_article { padding: 0 0 0.5em 0; list-style-type: none; text-align: right; }
.links_for_article > li { display: inline; padding: 0 1em 0 0; }
.links_for_article h4 { display: inline; }

.navigation.board { text-align: left; }
.navigation.board li { margin: 0 2em 0 0; }

.note { text-align: left; font-style: italic; }
.note h3 { display: inline; font-size: 100%; }
.note .navigation { display: inline; }


