/*  

CSS for sigurdrasmussen.dk

*/

/****************************************

  Global styles

*****************************************/

/* Reset to avoid annoyances */
html, body, fieldset, h1, h2, h3, ul, ol, li, form, dl, dt, dd {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Font selection and base font size */
body, table, input, select, textarea, fieldset, legend {
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
}

body {
  text-align: center;
}

h2 {
  font-size: 1.17em;
}

/* Remove default border on images and align images with text */
img, a img {
  border: 0;
  vertical-align: middle;
}

/* Only display scrollbars when content overflows */
textarea {
  overflow: auto;
}

/* Align input fields and buttons with middle of text */
input {
  vertical-align: middle;
}

/* Numbers are usually right aligned */
input.number {
  text-align: right;
}

/* Select should be as wide as inputs as default */
select {
  /*width: 120px;*/
}
/* Some selects should just auto fit width */
select.default {
  width: auto;
}

/* Default table: Autofit to parent container and apply borders */
table {
  width: 100%;
  border: 1px solid #000;
  border-collapse: collapse;
}

/* Alternating rows color 0 */
table tr.row0 {
  background: #fff;
}

/* Alternating rows color 1 */
table tr.row1 {
  background: #ccc;
}

/* For all cells */
table td, table th {
  padding: 4px;
  border: 1px solid #000;
  border-collapse: collapse;
}

table td.number, table th.number {
  text-align: right;
}

/* Table header cells */
table thead td, table thead th {
  padding: 4px;
  border: 1px solid #000;
  border-collapse: collapse;
}

/* Table body cells */
table tbody td, table tbody th {
  padding: 4px;
  border: 1px solid #000;
  border-collapse: collapse;
}

/* Table footer cells */
table tfoot td, table tfoot th {
  padding: 4px;
  border: 1px solid #000;
  border-collapse: collapse;
}

/* Lists */

/* When listing items we usually want a bottom margin */
ul.items li {
  margin-bottom: 20px;
}

/* List in lists are usually indented */
ul li ul {
  margin-left: 10px;
}

/* List in lists with items usually don't have a bottom margin */
ul.items li ul li {
  margin-bottom: 0;
}

/* We rarely use standard bullets */
li {
  list-style: none;
}

/* A normal bulleted list */
ul.list {
  margin-left: 10px;
}
ul.list li {
  list-style-type: disc;
  margin: 0 0 4px 10px;
}

/* A normal ordered list */
ol.list {
  margin: 10px 0 10px 20px;
}
ol.list li {
  list-style-type: decimal;
  margin: 0 0 4px 10px;
}

/****************************************

  Generic styles and fixes

*****************************************/

/* Center page with fixed width */
.center {
  margin: auto;
  text-align: left;
  /* 900px @ 12px */
  width: 75em;
}

/* Clear floats - Clearfix */
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

/* For IE 6. Hide from IE/Mac - Holly Hack \*/
* html .clearfix {
  height: 1%;
}
/* End hide from IE-mac */

/* Clear individual floating 'rows' */
.clear {
  clear: both;
  margin: 0;
  padding: 0;
  width: 0;
  height: 0;
  font-size: 0;
}

/* Generic row */
.row {
}

/* Generic column */
.row column {
  float: left;
}

/****************************************

  Site specific styles

*****************************************/
#header {
  border-bottom: 1px solid #000;
  margin-bottom: 1em;
}

#header img {
  width: 75em;
  height: 12.5em;
}

#body {
  background: url('../gfx/dot.gif') repeat-y 13.5em 0;
}

#footer {
  margin-top: 1em;
  border-top: 1px solid #000;
  padding-top: 1em;
  text-align: center;
  color: #a0a0a0;
}

#leftNav {
  float: left;
  padding-right: 1em;
}

#leftNav ul li {
  width: 12.5em;
  margin-bottom: 1em;
}

#content {
  width: 60.5em;
  padding-left: 1em;
  float: right;
}