/*
## 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;
}

.frontpage #content .summaryContent p {
  margin-bottom:0px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #ee2e23;
}

a:hover {
  text-decoration: underline;
}

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: #ffffff;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
}

h1 { 
  font-size: 2em; 
}
h2 { 
  font-size: 1.8em; 
}
h3 { 
  font-size: 1.6em; 
}
h4 { 
  font-size: 1.4em; 
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 960px;
  background-color: #ffffff;
}

#header {
  height: 124px;
  background:url(../GFX/header2.jpg) no-repeat 20px 5px;
}

#logo {
  /*background:url(../GFX/logo.jpg) no-repeat;*/
  width:207px;
  height:48px;
  float:left;
  margin-left:20px;
  margin-top:30px;
}

#logo a {
  display:block;
  width:100%;
  height:100%;
  text-indent:-9999px;
}

#searchForm {
  clear:right;
  float: right;
  width: 250px;
  margin-top:50px;
}

#searchForm label {
  font-size: 117%;
  margin-right: 8px;
}

#searchForm .query {
  width: 180px;
  border:1px solid #998c7d;
  padding:5px 10px;
  float:left;
  margin-top:2px;
}

#searchForm .button {
  background:url(../GFX/search_button.png) no-repeat;
  border:none;
  width:29px;
  height:29px;
  margin-left:10px;
}

#breadcrumbs {
  color: #b9b0a5;
  font-size:0.833em;
  margin-left:30px;
  margin-bottom:10px;
}

#breadcrumbs a {
  color: #b9b0a5;
}

#main {
  margin-bottom:30px;
}

#leftColumn {
  float: left;
  width: 170px;
}

.frontpage #mainColumn,
.searchresult #mainColumn {
  width: 670px;
  margin-left:0px;
}

#mainColumn {
  float: left;
  width: 470px;
  margin-left:30px;
}

#mainColumn.full {
  width: 670px;
  margin-left:0px;
}

#innerMain {
  float: left;
}

#rightColumn {
  float: left;
  width: 259px;
  margin-left:30px;
  border-left:1px solid #b9b0a5;
}

#slideshow {
  background:url(../GFX/slideshow_bg.jpg) no-repeat;
  height:252px;
  width:650px;
  margin-bottom:10px;
  padding:10px;

}

.center {
width: 380px;
margin: 0 auto;
overflow: hidden;

}
#pics {
  position:relative;
  height:100%;
  width:100%;
}

#footer {
  border-top:1px solid #b9b0a5;
}

#footerbar {
  background:url(../GFX/footer_bg.jpg) repeat-x;
  padding:10px;
  color:#ffffff;
}

/* TODO: add styles for customer footer */

/******************
## SIDEBAR ##
******************/

.sidebarHeader {
  background:url(../GFX/sidebar_header_bg.jpg) no-repeat;
  padding:6px 10px;
}

.sidebarHeader a,
.sidebarHeader span {
  color:#ffffff;
  font-size:1.333em;
}

#rightColumn .summary,
#rightColumn .article {
  padding:10px 10px 0;
}

#rightColumn .summary.last,
#rightColumn .article.last {
  padding:10px;
}

#rightColumn .summary h1,
#rightColumn .summary h2,
#rightColumn .article h1,
#rightColumn .article h2 {
  font-size:1.167em;
  margin-bottom:5px;
}

#newsletter {
  padding:10px;
}

#newsletter label {
  margin-bottom:5px;
  display:block;
}

#newsletter input[type=text] {
  float:left;
  border:1px solid #b9b1a6;
  padding:5px;
}

#newsletter input[type=submit] {
  float:left;
  margin-left:10px;
  background:#ee2e23;
  border:none;
  padding:5px 8px;
  color:#ffffff;
}

p.error,
p.alert {
  color:#ee2e23;
}

/******************
## 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 ##
*************************/
.pageTitle,
#content .article h1,
#content .article h2 {
  color:#b9b0a5;
  border-bottom:1px solid #b9b0a5;
  padding-bottom:5px;
  font-size:2em;
}

#content .article h2 {
  font-size:1.8em;
}

#content .summary {
  margin-bottom:20px;
}

.frontpage #content .summary {
  float:left;
  margin-right:10px;
  margin-bottom:0px;
}

.frontpage #content .summary.last {
  margin-right:0px;
}

#content .summary .summaryContent {
  float:left;
  width:360px;
}

.full #content .summary .summaryContent {
  width:560px;
}

.searchresult #content .summary .summaryContent {
  width:560px;
}

.frontpage #content .summary .summaryContent {
  width:138px;
  border-left:1px solid #a79c8f;
  border-right:1px solid #a79c8f;
  padding:0 10px 10px;
  float:none;
  height:220px;
  overflow:hidden;
}

.frontpage .summaryContent img {
  margin:0 auto 10px;
}

.frontpage #content .summary .borderTop {
  background:url(../GFX/borderTop_small.jpg) no-repeat;
  width:160px;
  height:10px;
}

.frontpage #content .summary .borderBottom {
  background:url(../GFX/borderBottom_small.jpg) no-repeat;
  width:160px;
  height:10px;
}

.frontpage #content .summary h1,
.frontpage #content .summary h2 {
  font-size: 1.167em;
}

#content .summary h1,
#content .summary h2 {
  font-size: 1.667em;
  font-weight:bold;
}

#content .article .text {
  font-size: 125%;
}

#content .summary img {
  float:left;
  margin-right:10px;
}

.frontpage #content .summary img {
  float:none;
  margin:0 auto 10px;
}

/*************************
## SEARCH RESULTS ##
*************************/

.search_result {
  clear:left;
}

.queryString {
  float:left;
}

.totalHits {
  float:left;
  margin-left:5px;
}

.paginator {
  clear:left;
  padding:20px 0;
  overflow:hidden;
}

.paginator .pages {
  float:left;
}

.paginator .prev,
.paginator .next {
  float:right;
  margin-left:10px;
}

.paginator .pages span {
  padding:0 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%;
}

/*****************
## IDIUM FOOTER ##
*****************/

.idium {
  margin: 10px auto;
  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;
}

.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 */