/* Simple element styles */

a {
	/* color: #4b3e79; */
	color: #485dc5;
	text-decoration: none;
	}

a:hover {
	color: #ff0000;
	}

html {
	font-size: 62.5%;	/* This sets 1em = 10px */
	}

body {
	font-family: sans-serif;
	line-height: 1.4em;
	padding: 0px;
	margin: 0px;
	}

/* As a block elment; the <code> tag in a <p> gets defined later */
code {
	color: #3a6786;
	display: block;
	margin: 0em 0em 1em 2em;
	}

/* Stuff that gets the basic body font size: */
body, code, pre {
	font-size: 1.2em;
	}

h1 {
	border-bottom: 1px dashed #e0e0e0;
	color: #cc0000;
	font-size: large;
	margin: 0em 0em 1em 0em;
	padding-bottom: 1em;
	}

h2 {
	border-bottom: 1px dashed #e0e0e0;
	padding-bottom: 0.5em;
	}

h2, h2 a {
	color: #df8d0a;
	clear: both;
	}

h2, h3 {
	font-size: medium;
	font-weight: normal;
	margin-top: 0em;
	margin-bottom: 1em;
	padding-top: 1em;
	}

h3 {
	color: #808080;
	}

img {
	border: 0px;
	}

td { vertical-align: top } /* everything else is heresy */

p {
	margin-top: 0em;
	margin-bottom: 1em;
	max-width: 50em;	/* Same as div.col's width */
	}

p code, li code, h1 code, h2 code, h3 code {
	display: inline;
	margin: auto;
	}

code pre {			/* Stanza is a hack for IE6 */
	font-size: 1em;
	}

pre {
	background-color: #f0f0f0;
	margin: 1.2em 0em 1.2em 0em;
	padding: 0.8em;
	font-size: 1.2em;	/* IE6 ignores this: reset font size for non-crap browsers */
	}

/* End simple elements */

/*div#content {
	background-color: white;
	/--*background-image: url(/style/gradient.png);
	background-position: top;
	background-repeat: repeat-x;*--/
	/--*border-left: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
	border-bottom: 2px solid #dcdcdc;*--/
	display: block;
	/--*left: 150px;*--/
	/--*padding: 20px;
	position: absolute;
	top: 0px;*--/
	/*width: 500px;*--/
	z-index: 1;
	}
*/

div.image {
	margin: 1.5em 0em 1.5em 0em;
	padding: 0.5em 0em 0em 0em;
	}

div.image img, div.display img {
	display: block;
	margin-bottom: 1em;
	}

div.image p, div.display p {
	color: gray;
	font-family: sans-serif;
	font-size: small;
	}

div.display {
	clear: both;
	border-bottom: 1px dashed #e0e0e0;
	margin-bottom: 1em;
	padding: 1em 0em 1em 0em;
	}

	div.display p {
		clear: both;
		}


/*=== Tables ===*/


table.display {
	border: 1px solid #808080;
	margin: 1em 0em 1em 0em;
	}

table.display thead {
	background-color: #CACBB5;
	text-align: center;
	}

table.display tbody {
	background-color: #E8E8E2;
	}

table.display td, table.display th {
	padding: 2px;
	margin: 1px;
	}


/* Alfred 2010-03-12: table.plain doesn't seem to be _used_ anywhere:

table.plain {
	background-color: inherit;
	border: none;
	display: block;
	}

	table.plain td {
		padding: 0.5em 0em 0.5em 0em;
		vertical-align: top;
		}

	table.plain thead {
		background-color: white;
		padding: 0px;
		text-align: left;
		}

	table.plain tbody {
		background-color: white;
		}

		table.plain tbody td {
			border-top: 1px solid #dcdcdc;
			}

	table.plain h2 {
		margin: 0px;
		}
*/

/* Styles for floating boxes */

div.leftbox, div.rightbox {
	width: 240px;
	}

div.rightbox {
	clear: both;
	float: right;
	}

div.leftbox p {
	clear: none;
	}

/* Various and sundry */

img.newsletter {
	background-color: #fffb9a;
	}

p#lastmodified {
	border-top: 1px dashed #e0e0e0;
	color: #808080;
	font-size: 11px;
	margin-bottom: 0em;
	padding-top: 1em;
	}

div.scriptfile {
	border: 1px solid #dcdcdc;
	border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	clear: both;
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 0em;
	}

	div.scriptfile p {
		display: block;
		color: #808080;
		margin: 0px;
		padding: 0.4em 0.8em 0.4em 0.8em;
		}

	div.scriptfile pre {
		margin: 0px;
		}

	div.scriptfile code {
		display: block;
		margin: 0px;
		padding: 0px;
		}

/*=== Header ===*/

div#header {
	background-color: black;
	background-image: url(/style/g2.png);
	background-position: top;
	background-repeat: repeat-x;
	height: 3.5em;
	padding-left: 1em;
	}

	div#header div {
		background-color: #e0e0e0;
		background-image: url(/style/g.png);
		background-position: bottom;
		background-repeat: repeat-x;
		float: left;
		margin: 1em 1em 0em 0em;
		padding: 0.5em;
		padding-left: 1em;
		height: 1.5em;
		width: 11.5em;
		-moz-border-radius: 6px 6px 0px 0px;
		}

		div#header div p {
			margin: 0px;
			}

			div#header div p a {
				color: #cc0000;
				text-decoration: none;
				}


/*=== Main ===*/

div#content {
	position: static;
	margin-left: 16em;
	padding: 2em;
	padding-left: 0em;
	left: 0em;
	}

/* Submenu, these are the grey menu strips on the top left of the page */

div#submenu {
	background-color: #f0f0f0;
	display: block;
	float: left;
	margin: 0em;
	padding: 2em 1em 2em 1em;
	position: relative;  /* Hack so that FF and */
	left: 1em;           /* IE position the same */
	text-align: right;
	width: 11em;
	/* -moz-border-radius: 0px 0px 6px 6px; Rounded bottom corners? */
	}

		div#submenu ul {
			padding: 0em;
			margin: 0em;
			}
		
			div#submenu ul li {
				list-style-type: none;
				padding: 0em;
				margin: 0.2em;
				}

/* Gallery. Lots of images on display. */

div.gallery {
	clear: both;
	}

	div.gallery img {
		display: inline;
		margin: 0.5em;
		}

/* Project boxes */

div.project {
    float: left;
    width: 21%;
    height: 10em;
    margin: 0% 1% 1% 0%;
	/*border: 1px solid #dcdcdc;*/
    background-color: #f0f0f0;
    padding: 1em;
    }

	div.project h2 {
		border: none;
    	margin: 0% 0% 1% 0%;
		padding: 0em;
    	}

		div.project h2 a {
			color: #df8d0a;
			text-decoration: none;
			font-weight: bold;
			}

/* Columns */

div.colset {
	clear: both;
	}

div.kolom {
	float: left;
	margin-right: 5em;
	width: 500px;  /* was 40em */
	}

	div.kolom p {
		margin-top: 0em;
		margin-bottom: 1em;
		}

/*  Must come after div.kolom to reset the para margin to zero: */

div.box {
	background-color: #f0f0f0;
	padding: 1.5em;
	margin-bottom: 1em;
	}

	div.box p {
		margin: 0px;
		padding: 0px;
		}


/* 2010 FAB EXPERIMENTS */
div.col {
		float: left;
		width: 100%;
		max-width: 50em;
		margin: 0px;
		margin-right: 3em;
	}

	div.col p {
		max-width: auto;	/* Width is set by the container */
	}

/* The textalign classes. Seriously handy to keep around. */
.c { text-align: center }
.r { text-align: right }


/*
vim:ft=css:ts=4:sw=4:noet:ai:tw=120:nowrap
*/
