/*
## 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: underline;
  color: #f26122;
}

a:hover {
  text-decoration: none;
  color: #f7931e;
}


ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/

html {
  background-color: #f26122;
}

body {
  font: 75% Tahoma, Verdana, Arial, Helvetica, sans-serif;
  background: url(backgroundSwirl.jpg) left top no-repeat;
  color: #727272;
  line-height: 150%;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

img {
  display: block;
}

input {
  font-size: 100%;
}

#content p.text {
  margin-bottom: 0px;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 960px;
  border: none;
  padding: 30px 0;
}

#header {
  height: 138px;
  background: url(headerBackground.gif) left top no-repeat;
  position: relative;
}

.logo {
  position: absolute;
  width: 235px;
  left: 35px;
  top: 35px;
}


#searchForm {
  position: absolute;
  left: 714px;
  top: 83px;
}

#searchForm input {
  border:1px solid #727272;
  float:left;
  font-size:120%;
  height: 19px;
  padding: 2px;
  width:175px;
}

#searchForm .button {
  float: left;
  background-color: #727272;
  font-size: 120%;
  height: 25px;
  margin-left: 3px;
  padding: 3px;
  width: 46px;
  border: none;
  color: #fff;
}

#searchForm label {
  display: none;
}

.searchInfo {
  background-color: #f7d1bf;
  padding: 10px;
}

.queryString span {
  font-weight: bold;
}

.paginator {
  padding-top: 10px;
  padding-bottom: 20px;
}

.prev {
  padding-right: 15px;
}

.search_result {
  margin-bottom: 15px;
}

 #content h2.searchResult {
  margin-bottom: 2px;
}

.search_result h2 a {
  text-decoration: none;
}
  
.pages span {
  padding-right: 5px;
}

#instructions {
  background-color: #e4e4e4;
  padding: 10px;
  margin-bottom: 20px;
}

#main {
  background-color: #fff6ea;
}

#rightColumn {
  float: right;
  width: 225px;
  padding-top: 20px;
}

#rightColumn h3 {
  font-size: 150%;
  color: #f26122;
  padding-bottom: 6px;
}

.rightColumnArticle {
  padding-bottom: 20px;
}

.newsItem a {
  padding-bottom: 0;
  color: #727272;
  text-decoration: none;
}

.newsItem a:hover {
  color: #f7931e;
}

.date {
  color: #b3b3b3;
  padding-bottom: 5px;
}

#mainColumn {
  float: left;
  width: 700px;
  padding-top: 25px;
}

#content {
  padding: 0 0 0 25px;
}

/* TODO: add styles for idium footer and customer footer */

/******************
## COMMON STYLES ##
******************/

div.breaker {
  display: block;
  width: 100%;
  clear: both;
}

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 .summaryImage {
  float: left;
  margin-right: 10px;
}

#content .summaryContent {
  float: left;
}

#content .summary,
#content .article {
  border-bottom: 1px solid #f0f0f0;
}

#content .odd {
  float: left;
  width: 320px;
}

#content .even {
  float: right;
  width: 320px;
}

#content .summary,
#content .article {
  padding-bottom: 25px;
}

#content .summary h1 a,
#content .summary h2 a {
  color: #727272;
  text-decoration: none;
}

#content .summary h1,
#content .summary h2 {
  font-weight: bold;
  font-size: 1.17em;
  margin-bottom: 5px;
}

#content .article .text {
  font-size: 125%;
}

/* 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%;
}


/********************
## FRONTPAGE STYLE ##
********************/

#content h1.title {
  font-size: 2.0em;
  color: #f26122;
  padding-bottom: 10px;
}

#frontpageOlderNews .summaryContent {
  width: 100%;
}

#content #frontpageOlderNews .summary h2 {
  margin-bottom: 0px;
}

#frontpageOlderNews h2 a {
  font-size: 90%;
}

.summaryContent {
  width: 180px;
}

#frontpageLatestNews .odd {
  clear: left;
}

div.frontpageActivity div.title {
  background: url(./filestore/activity_title_bg.gif) top right no-repeat;
}

div.frontpageActivity div.title img {
  float: left;
}

div.frontpageActivity {
  margin-top: 10px;
  margin-bottom: 20px;
}

div.frontpageActivity div.title p {
  float: left;
  margin-top: 40px;
  margin-left: 10px;
}

div.frontpageActivity div.title a {
  font-size: 2.0em;
  color: #fff;
  text-decoration: none;
}

div.frontpageActivity div.description {
  margin-top: 20px;
}

#frontpageOlderNews div.summary img {
  display: none;
}

/********************
## FOOTER STYLE ##
********************/

#footer {
  padding-top: 5px;
  color: #fff;
}

#footer a {
  color: #fff;
  text-decoration: underline;
}

#footer a:hover {
  text-decoration: none;
}

/*************
## 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 */