/*
## 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: #ee0000;
}

a:hover {
  text-decoration: none;
  color: #000;
}

ul, ol {
  padding-left: 20px;
}

/** 0.75em sets medium size to 12px in standard browsers **/
body {
  font: 0.75em Georgia, Verdana, Arial, Helvetica, sans-serif;
  background: url("../filestore/background.gif");
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 10px auto;
  width: 800px;
}

#header {
  height: 110px;
  border-top: 20px solid #000;
  border-bottom: 1px solid #000;
  margin-bottom: 25px;
  overflow: none;
  position: fixed;
  top: 10px;
  clear: both;
  z-index: 100;
}

#main {
  width: 800px;
}

#leftColumn {
  width: 155px;
  position: fixed;
  top: 165px;
  float: left;
}

#mainColumn {
  float: right;
  width: 620px;
}

#content {
  z-index: 1;
  position: absolute;
  width: 620px;
  top: 165px;
}

#content table.image-box {
  margin-bottom: 0px;
  margin-top: 20px;
}

#content img {
  border: 5px solid #fff;
}

/* TODO: add styles for idium footer and customer footer */

/******************
## COMMON STYLES ##
******************/

.readmore {
  font-size: 1.17em;
}

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;
}

/*********************
## NEWSARCHIVE LIST ##
*********************/
#content.newsArchive .summary {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

#content.newsArchive .last{
  padding-bottom: 0px;
}

#content.newsArchive {
  background-color: #e0e0e0;
}

#content.newsArchive {
  padding-bottom: 20px;
}

#content.newsArchive .summary h1,
#content.newsArchive .summary h2 {
  font-size: 1.33em;
  font-style: italic;
  margin-top: 0px;
  margin-bottom: 0px;
}

#content.newsArchive .article h1,
#content.newsArchive .article h2 {

}

#paginate {
  float: right;
  font-size: 1.17em;
}

#paginate a {
  color: #000;
}

#paginate a:hover {
  color: #ee0000;
}

#paginate .next {
  margin-left: 20px;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .article img.summaryImg,
#content .summary img.summaryImg {
  margin-bottom: 15px;
}

#content .summary,
#content .article {
  background-color: #e0e0e0;
  padding: 20px;
  margin-bottom: 20px;
}

#content .article.expanded {
  padding-bottom: 0;
  margin-bottom: -12px;
}

#content .odd {

}

#content .even {

}

#content .summary h1,
#content .summary h2,
#content .article h1,
#content .article h2 {
  font-size: 2.00em;
  font-style: italic;
  margin-bottom: 6px;
}

#content .article h1,
#content .article h2 {

}

#content .summary h1.title a,
#content .summary h2.title a {
  color: #000000;
}

#content .summary h1.title a:hover,
#content .summary h2.title a:hover {
  color: #ee0000;
}

#content .article .text {
  font-size: 1.17em;
}

#content .summary p {
  font-size: 1.17em;
  margin-bottom: 5px;
}

/* 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%;
}

/**************
## TEFT LOGO ##
**************/
body > div#teftLogo {
  position: fixed;
}

#teftLogo {
  height: 100%;
  overflow: auto;
  position: absolute;
  top: 400px;
  right: 0px;
  float: right;
}

#teftLogo a {
  vertical-align: bottom;
}

/*************
## 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 */