
body {
  padding: 2.6em 1em 2em 72px;
  margin: 0;
  color: #000;;
  background: #fff;
  font-family: sans-serif;
  font-family:  'Trebuchet MS', Helvetica, Arial, clean, sans-serif;
}


/* Background image */
body {
  background-position: top left;
  background-attachment: fixed;
  background-repeat: no-repeat;
  /*
  background-image: url(http://thomasdamgaard.dk/gfx/bg.png);
  */
}


/* Red links */
:link { 
	color: #C00; 
	background: transparent 
}
:visited { 
	color: #600; 
	background: transparent 
}
a:active { 
	color: #f00; 
	background: transparent 
}

a:hover {
  text-decoration: none;
}

/* no border on img links */
a:link img, a:visited img { 
  border-style: none 
} 

/* Headings */
h1, h2, h3, h4, h5, h6 { text-align: left }
/* background should be transparent, but WebTV has a bug */
h1, h2, h3 { color: #000; background: white }
/*
h1, h2, h3 { color: #278716; background: white }
*/
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }


h3 {
	border-bottom: 1px solid #999;
}




p {
	padding-left: 10pt;
}
.hide { display: none }


pre, table { 
  margin-left: 2em 
}
pre {
  padding: 1em;
  background: #eee;
}

code {
  background: #eee;
  padding: 1px;
}

dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
dt { font-weight: bold }

pre, code { font-family: monospace } /* navigator 4 requires this */

p.copyright { font-size: small }
p.copyright small { font-size: small }

@media aural {  
  h1, h2, h3 { stress: 20; richness: 90 }
  .hide { speak: none }
  p.copyright { volume: x-soft; speech-rate: x-fast }
  dt { pause-before: 20% }
  pre { speak-punctuation: code } 
}

.figure {
	margin:auto;
	display: block;
}

dd {
margin-bottom: 0.6em;
}


/**
 * Navigation menu
 */
ul.navigation li {
  display:inline;
  font-size: 90%;
}

ul.navigation  {
  border-bottom: 1px solid #666;
  margin:0;
  padding:4px;
}

/**
 * For debugging
 */
.debug_info {
	font-family: 'Courier New', Monospace;
	border: 1px solid #ff0;
	background: #ffd;
	margin:2px;
	padding:3px;
}

.debug_sql {
	font-family: 'Courier New', Monospace;
	border: 1px solid #00f;
	background: #99f;
	margin:2px;
	padding:3px;
}

.debug_error {
	font-family: 'Courier New', Monospace;
	border: 1px solid #f00;
	background: #f66;
	font-weight: bold;
	margin:2px;
	padding:3px;
}

/**
 * For the p containing the image of Thomas Damgaard
 */
.me img {
  float: right;
	margin: 0 0 5px 10px;
}





/* Blog related */



.article {
  border: 0px solid #ccc;
  padding: 0.5em;
  margin: 0 0 3em 0;
}

.article h2 {
  border-bottom: 1px solid #c00;
  padding-bottom: 0.2em;
  margin-top: 0;
  margin-bottom:0;
  color: #000;
}

.article h3 {
  color: #888;
  font-size: 85%;
  margin-top: 0.3em;
  margin-bottom:0;
  font-weight: normal;
  border:0;
}

.article h4 {
  font-weight: normal;
  font-size: 90%;
}

.article p {
  margin-top: 0.5em;
  margin-bottom:0;
}


/* Tables */
th, td {
  border-bottom: 0.01em solid #333;
  padding: 0.2em;
}





/* Compatibility hacks */
/* trick to hide the border in Netscape 4 */
a img { 
		  color: white; 
}

@media all {                   /* hide the next rule from Netscape 4 */
  a img { color: inherit; }    /* undo the color change above */
}

/* ns 4 */
th, td { 
  font-family: sans-serif;
}



/* Pastebin */
textarea.pastebin {
  width: 99%;	
}

ul.tagcloud li {
  display: inline;
  margin: 0.1em;
}

/* For pastebin on thomasdamgaard.dk/paste
 * Remove when no longer needed */
.depricated-domain-warning {
  background: #ffa;
  border-bottom: 1px solid #000;
  padding: 0.6em;
  position: absolute;
  top: 0;
  width: 98%;
  left: 0;
}

