/*
## layout.css - Contains style for page layout
*/

/* Normalizes margin and padding */
* { 
  margin: 0;
  padding: 0;
}

/* Normalizes article content elements */
#content p,
#content dl.fileObject,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content .image-box,
#content ol,
#content ul,
#content .flashContent,
#content .mediaPlayer,
#content .user-table,
#content .bordered-user-table,
#content .outlined-user-table,
#content .outlined-horizontal-user-table,
#content .horizontal-user-table,
#content .outlined-vertical-user-table,
#content .vertical-user-table,
#content .user-box,
#content form {
  margin-bottom: 12px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #ec1a25;
}

/*a:hover {

}*/

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Tahoma, Verdana, Arial, Helvetica, sans-serif;
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
}

h1 { 
  font-size: 200%; 
}
h2 { 
  font-size: 167%; 
}
h3 { 
  font-size: 150%; 
}
h4 { 
  font-size: 116%; 
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/***********************
###### FORSIDE CSS #####
************************/

#fnews {
  margin-top: 20px;
  padding: 0 70px 10px 15px;
  background-color: #fff;
  float:left;
  color: #464646;
  border-right: 1px solid #ec1c24;
  width: 530px;
  float:left;
}

.box {
  margin: 10px 0 25px;
}

#fnews img {
  float: left;
  margin-right: 15px;
}

#fnews h2 {
  padding-bottom:5px;
}

#fnews h2 a{
  font-weight: bold;
  font-size: 14px;
  color: #464646;
}

#fnews h1 {
 padding: 0 0 5px 0;
 font-size: 23px;
}

#fnews p {
  margin-bottom: 5px;
}

.newFrontpage #content .topImg {
  height: 533px;
  width: 960px;
  background-image: url(../GFX/forsidebilde.jpg);
  background-repeat: no-repeat;
  margin-left: -15px;
  border-bottom: 2px solid #ec1c24;
}

.newFrontpage #content .frontpagetext {
  float: right;
  width: 300px;
}


#snarveier {
 padding: 10px 0 0 10px;
}

#snarveier .sboks {
  height: 150px;
}

#snarveier .sboks img { 
  float:left; 
  margin:10px;
}

#snarveier .sboks a img { 
  float:none; 
  margin:0; 
  display:inline;
  padding:0 10px;
  vertical-align:middle;
}

#snarveier h1 {
  padding-top: 45px;
}

#snarveier h1 a {
  color: #464646;
  /*background-image: url(../GFX/button_narrow.gif);
  background-repeat: no-repeat;  
  width: 26px;
  height: 25px;*/
}


/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 960px;
  border: 5px solid #fff;
  background: #fff;
  padding-top: 40px;
}

#header {
  height: 85px;
  background-image: url(../GFX/header.jpg);
  background-repeat: no-repeat;
}

#header .headerposition {
width: 317px;
height: 85px;
float:left;
}

#navTitle {
 margin-top: 15px;
 padding:0;
}

#navTitle h1 {
  font-size:20px;
}

#navTitle a  {
   color: #464646;
}


#searchForm {
  float: right;
  width: 169px;
  padding: 6px 0;
}

#searchForm label {
  font-size: 117%;
  margin-right: 8px;
}

#searchForm .query {
  width: 134px;
}

#breadcrumbs {
  float: left;
  color: #a1a1a1;
}

#breadcrumbs a {
  color: #a1a1a1;
}

#breadcrumbs a.active {
  color: #444;
}


/* Top */

#navTop {
  padding:10px;
  float:right;
  margin-top: -35px;
}

#navTop li {
  float:left;
  list-style: none;
}

#navTop li.first {
  border-right: 1px solid #464646;
}

#navTop li.last {
  padding: 0;
  margin: 0;
}

#navTop li a {
  color: #464646;
  border: none;
  line-height: 12px;
  padding: 0 10px;
  text-decoration: none;
  display: block;
}

#navTop li a:hover,
#navTop li a:active,
#navTop li a.current {
  text-decoration:underline;
}


#navTop li:hover {
  cursor:pointer;
}

#main {}

#leftColumn {
  float: left;
  width: 240px;
}

.newFrontpage #mainColumn {
  float: left;
  width: 960px;
}


#mainColumn {
  float: right;
  width: 705px;
}

#content {
  padding: 0 10px 0 15px;
}

/* TODO: add styles for customer footer */

#footer {
  border-top: 2px solid #ec1a25;
  height: 25px;
  margin-top: 10px;
}

#footer .footerContent{
  padding-top: 10px;
}



/******************
## COMMON STYLES ##
******************/
h4.boxTitle {
  color: #fff;
  background: #a1a1a1;
  padding: 5px 20px;
  margin-bottom: 0;
}

div.box {
  border-bottom: 1px solid #f0f0f0;
}

div.box .content {
  padding: 15px 10px;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .summary,
#content .article {
 /* border-bottom: 1px solid #f0f0f0;*/
 color: #464646;
}

#content .odd {
  /*float: left;*/
}

#content .even {
 /* float: right;*/
}

#content .summary,
#content .article {
  padding: 20px 0;
}

#content .summary h1,
#content .summary h2 {
  font-size: 150%;
  color: #464646;
}

#content .summary p,
#content .article p {
  line-height: 1.4em;
}

#content .article .text {
  font-size: 110%;
}

/* TODO: get latest css from standardmaler.no, and add style to own stylesheet */
/*************************
## OBJECT COMMENTS VIEW ##
*************************/
#comments {
   padding: 20px 0;
   border-bottom: 1px solid #F0F0F0;
}

#comments dt {
  background: url(../GFX/quote.gif) top left no-repeat;
  padding-left: 25px;
}

#comments dd {
  padding-left: 25px;
  margin-top: 4px;
  margin-bottom: 14px;
}

form#commentForm {
  width: 100%;
  margin: 0;
  padding: 20px 0;
}

form#commentForm fieldset {
  padding: 0;
}

#commentForm input.block {
  width: 40%;
}

/*****************
## IDIUM FOOTER ##
*****************/

.idium {
float:right;
margin:10px 0;
margin:10px 0;
width:175px;
}

.idium a:hover,
.idium a:active {
  text-decoration: none;
}

.idium,
.idium a {
  font-family: 'Century Gothic', Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #898989;
  text-transform: uppercase;
  text-decoration: none;
margin-top:-15px;
}

.idium img {
  float: left;
  margin-top: -3px;
}

.idium span {
  font-family: Century Gothic,Verdana,Arial,helvetica,sans-serif;
  font-size: 13px;
  font-weight: bold;
  margin: -8px 0 0;
  padding: 0 0 0 6px;
  text-transform: lowercase;
  word-spacing: 3px;
  color: #000;
}


/*************
## CLEARFIX ##
*************/
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1px;
}
.clearfix {
  display: block;
 }
/* End hide from IE-mac */
