/*
 * Based on code by
 *
 * (C) 2001 Zvezdan Petkovic <z.petkovic@computer.org>
 *
 * Heavily modified.
 */

/* general elements style */

body {
	/* No sucky margins around our stuff */
	margin-top: 0;
	margin-left: 0;
	color: rgb(0,0,0);
	background-color: transparent;
}

/* No border for images */
:link img, :visited img {
	background: transparent;
	color: #ffffff;
	border: 0;
}

:link {
	color: rgb(25,25,255);
	background: transparent;
}

/* Visited is redder */
:visited {
	color: rgb(085,25,155);
	background: transparent;
}

:link:hover, :visited:hover, :link:focus, :visited:focus {
	color: rgb(100,100,255);
	background: transparent;
}
 
/* Make h2's a bit bigger, and give them a peachy background shrink-wrapped */
h2 {
	display: table;
	margin-right: auto;
	font-size: 1.44em;
	color: #000000; 
	background: #ffebaf;
	font-weight: bold;
	border: solid 0px rgb(155,0,0);
	padding: 3px 3px 3px 3px;
}

/* Give some more space for dl */
dd {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* And normal list elements */
li {
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}
 
/* some more space for tables */
table {
	margin-top: 1em;
	margin-bottom: 1em;
}

/* Emphasise quotes in italic */
q {
	font-style: italic;
}

/* Emphasised emphasis should be upright again ... */
q em {
	font-style: normal;
}

/* page components */

/* The very top, positioned at 0,0 */
div.topbar {
	position: fixed;
	color: rgb(0,0,0);
	background: #ffebaf;
	width: 100%;
	margin-top: 0;
	padding-top: 0;
	height: 2.5em;
	border-bottom: 3px solid #ffc98d;
}

/* What goes inside the topbar */
div.banner {
	position: fixed;
	color: rgb(0,0,0);
	background: #ffebaf;
	left: 10px;
	font-size: 2em;
}

/* The browser note */
div.note {
	position: fixed;
	right: 5px;
	top: 5px;
}

/* Our fixed menu, 5em wide. There's no way to auto-size
 * things in CSS when using position: fixed, so we have to
 * hard-code the width in terms of em units. Sucky.
 */
div.pinmenu {
	position: fixed;
	overflow: auto;
	color: rgb(0,0,0);
	background: #ffebaf;
	margin-top: 2.5em;
	margin-left: 0;
	margin-right: 0;
	border-right: medium solid #ffc98d;
	height: 100%;
	width: 7em;
}

div.pinmenu A:link {
	text-decoration: none;
}

div.pinmenu A:visited {
	text-decoration: none;
}

/* Make the menu items right aligned */
div.pinmenu p {
	margin-left: 5px;
	margin-right: 10px;
}

/* submenus */
p.submenu {
	padding-left: 0.3em;
	font-style: italic;	
	font-size: 0.7em;
}

/* The two compliance badges, at fixed positions from the bottom. */
div.badge1 {
	position: fixed;
	bottom: 38px;
	padding-left: 5px;
}

div.badge2 {
	position: fixed;
	bottom: 2px;
	padding-left: 5px;
}

/* This is the actual content */
div.page {
	margin-left: 7em;
	padding-left: 1em;
	padding-top: 2.5em;
}

/* various others */
 
div.redrule {
	padding-top: 10px; 
	padding-bottom: 0px;
	margin-bottom: 2px; 
	border-bottom: solid 2px rgb(155, 0, 0);
}
 
/* The random quote */
div.quote {
	float: left;
	width: 60%;
}

/* And the timestamp */
div.timestamp {
	right: 1em;
	float: right;
	width: 8em;
	text-align: right;
}

/* Nice grey background, emulate <pre> */
div.computeroutput {
	padding-left: 1em;
	margin-top: 10px;
        margin-bottom: 10px;
	background-color: #dddddd;
	clear: both;
	color: #000000;
	font-family: courier, monospace;
	white-space: pre;
}

/* Colour it my xchat colour */
span.ircnick {
	font-family: courier, monospace;
	background-color: white;
	color: #fa00ff;
}

/* don't highlight current menu item as an href */
span.currentmenuitem a {
	text-decoration: none;
	background: transparent;
	color: black;
}

span.linnaeanorder {
	font-style: italic;
}
