/* =general
*********************************************************************/

html, body { 
  background: gray;/* url("grafikk/bg.png") 50% 10px no-repeat;*/
  color: white;
  font: 13px/1.5em tahoma, arial, sans-serif;
}

img { 
  border: none;
}

p { 
  margin: 5px 0px;
}

div#container { 
  width: 710px;
  margin: 0 auto;
  background: black;
  border: 3px solid #ED2022;
}

/* =links
*********************************************************************/

a { 
  color: #ED2022;
  font-weight: bold;
  text-decoration: none;
}

a:hover { 
  text-decoration: underline;

}

a:visited { 

}

#nav a { 
  color: black;
  letter-spacing: 1px;
  font-weight: bold;
  display: block;
}

th a { 
  color: white;
  letter-spacing: 1px;
  font-weight: bold;
  display: block;
}


/* =lists
*********************************************************************/

ul { 
  margin: 0;
  padding: 0;
}

li { 
  margin: 0;
  padding: 0;
}

#sidebar li { 
  text-align: left;
  list-style: none;
  margin: 1px;
  padding: 0 3px;
  background: white;
  color: black;
}

#nav li { 
  padding-left: 17px;
  background: white url("grafikk/red_star.png") 0% 50% no-repeat;
}

#nav li:hover {
  background: silver  url("grafikk/red_star.png") 0% 50% no-repeat;
}


/* =tables
*********************************************************************/

table { 
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: bold;
}

tr { 
  margin: 0;
  padding: 0;
}

th { 
  margin: 0;
  padding: 0 3px;
  background: gray;  
}

td { 
  margin: 0;
  padding: 0 3px;
  background: silver;
}

/* =headings
*********************************************************************/

h1, h2, h3, h4, h5, h6 { 

}

h1 { 
  background: url("grafikk/h1_head.png") 0% 50% no-repeat;
  padding-left: 60px;
  line-height: 30px;

}

h2 { 
  margin: 15px 0 5px 0;
}

h3 { 
  font-size: 1em;
  margin: 10px 1px 0;
}

/* =header
*********************************************************************/

div#header { 
  border-bottom: 3px solid #ED2022;
}

#header img { 
  border: none;
  margin: 0;
  padding: 0;
}

/* =navigation
*********************************************************************/

/* =sidebar
*********************************************************************/

div#sidebar { 
  width: 135px;
  margin: 15px 30px 0 0;
  float: right;
  word-wrap: break-word;
}

/* =content
*********************************************************************/

div#content { 
  margin: 15px 180px 15px 30px;
}

p.dato { 
  font-size: 0.8em;
  line-height: 1em;
  padding: 0;
  margin: 0;
}

p.ingress { 
  font-weight: bold;
}

div#content img { 
  float: right;
  margin: 0px 0px 1em 5px;
}

div#content img.linker { 
  float: left;
  clear: left;
  margin: 0px 5px 1em 0px;  
}

div#content div.linkTekst { 
  margin-left: 120px;
}

/* =footer
*********************************************************************/

div#footer { 
  text-align: center;
  color: #DDD;
  font-size: 0.8em;
  border-top: 1px solid #ED2022;
  padding: 5px;
}

div#footer p { 
  margin: 3px;
  padding: 0;
  line-height: 1em;
}

/* http://www.positioniseverything.net/easyclearing.html
---------------------------------*/

.clearfix:after {
  content: "."; 
  display: block; 
  position: relative;
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {display: inline block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



.clear {
  clear: both;
  display: block;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}
