body { background: white; color: black; 
		margin: 1em; }
		
a:link { color: #0069A1; border-bottom: thin dotted; text-decoration: none;}
a:visited { color: black; border-bottom: thin dotted; text-decoration: none;}
a:active { color: #FFB400; border-bottom: thin solid; text-decoration: none;}

h1 {display: block; color:#FFB400;}
h2 {display: block; color:#CA8C03; border-top: thin dotted gray;
	padding-top: 0em; margin: 0; margin-top: 1em; margin-bottom: 0.5em;
	font-family: sans-serif;}
h3 {display: block; color: black; 
	font-weight: bold; font-family: sans-serif;
	margin: 0; margin-left: 1em; }
h4, h5, h6 {font-weight: bold; font-family: sans-serif;
	margin-left: 1.5em; color: black;}

p {text-align: left; margin: 0.75em; margin-left: 2.5em; margin-right: 2.5em;}

body dl {margin: 1em; margin-left: 2em;}
body dl dt {font-style: italic; color: black;}

/* Masthead and site toc on each page */
.sitemap {display: block; text-align: center;}
.sitemap img {border: none;}

.masthead h1 { color:#99cccc; display: inline; z-index: 10;
		font-family: arial, sans-serif; font-weight: bold; font-size: 300%;
		padding: 0; margin: 0; position: relative; left: 0.33em;}

.masthead h1 em { color: #FFB400; font-style: normal;}

.masthead p { background-color: black; width: 100%;
		text-align: right;
		height: 1.1em; /*padding-top: 0.1em; padding-bottom: 0.1em;*/
		margin: 0; margin-top: 2em; margin-bottom: -3.1em;
		z-index: 5; white-space: nowrap;
		}

.masthead p a {color: white; margin: 0;
	padding: 0; padding-left: 1em; padding-right: 1em;
	border: none; border-left: 2px solid gray;
	font-size: 80%; font-family: sans-serif; font-weight: bold;}

.masthead p a:visited {color: white;}

.masthead p a:active {color: black; background: #d0d0d0;
	font-size: 80%;
	}

/* page toc on in coloured box on the right */
.pagetoc { display: block; float: right;
			background: #FFB400;
			margin: 0.25em; padding: 0.25em; margin-right: 0; margin-top: 0;}

.pagetoc dt {font-style: normal; font-weight: bold; color: white;
			font-family: sans-serif; 
			margin: 0.25em; margin-bottom: 0;}
.pagetoc dd { display: block; font-size: small; margin: 0.25em; padding-left: 0.75em;}
.pagetoc ul {list-style-type: none; text-align: right; margin: 0; padding: 0;}

/* site footer */
.footer {color:#99cccc; clear: both; margin: 0; margin-top: 1em;
	border-top: thin solid black;
	font-family: sans-serif; font-size: x-small;
	text-align: right; }
.footer em { color: #FFB400; font-style: normal;}

/* Page footer quote */
.quote {font-style: italic; font-size: x-small; text-align: right;}

/* code */
pre { margin-left:2.5em; margin-right:2.5em;}
pre code { color: teal;}

.name { color: black; }
.pystr { color: teal; }
.pynum { color: teal; }
.pycom { color: blue; }
.pyop { color: black; }
.keyword { font-weight: bold; color: navy; }

/* Links to articles, talks etc. */
ul.articles { margin-left: 2em; }
ul.articles li {list-style-type: lower-roman;}
