/*
## 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;
}

#content p,
#content ol,
#content ul
{
  line-height: 15px;
}

#content ol li,
#content ul li
{
  padding-bottom: 5px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #df791f;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Verdana, Tahoma, Arial, Helvetica, sans-serif;
  background-color: #ffffff;
}

html, body {
  height:100%;
  margin:0 0 1px;
  padding:0;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
  color: #9fb8ce;
}

h1 { 
  font-size: 200%; 
}
h2 { 
  font-size: 167%; 
}
h3 { 
  font-size: 150%; 
}
h4 { 
  font-size: 116%; 
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 950px;
  background: #fff;
}

#header {
  height: 103px;
  clear:both;
}

#searchForm {
  position: absolute;
  right: -5px;
  top: 45px;
  z-index:99;
}

#productSearchForm {
  display:inline;
  float:none;
  margin-top:0px;
}

a.product {
  display:block;
  margin-bottom:10px;
}

#searchForm label,
#productSearchForm label {
  font-size: 100%;
  margin-right: 8px;
  color:#115A7D;
}

#searchForm .query,
#productSearchForm .query {
  width: 130px;
  border:1px solid #bec8d4;
  margin-right:5px;
}

#searchForm .button,
#productSearchForm .button {
  background-color:#d6e1eb;
  font-size:100%;
  border:none;
  color: #115a7d;
}

#breadcrumbs {
  float: left;
  color: #a1a1a1;
  margin-left:20px;
  margin-top:10px;
  margin-bottom:20px;
  clear:left;
}

#breadcrumbs a {
  color: #a1a1a1;
}

#breadcrumbs a.active {
  color: #444;
}

#main {
  clear:both;
  position:relative;
}

#leftColumnWrapper {
  float: left;
}

#leftColumn {
  float: left;
  background:url(../GFX/left_bg_2.jpg) no-repeat;
  width: 215px;
  min-height:547px;
}

#mainColumn {
  float: left;
  width: 695px;
  margin-left:40px;
  margin-bottom:20px;
}

#content {
  padding: 56px 10px 0 20px;
  clear:both;
  color:#115a7d;
}

.pageTitle {
  color: #9fb8ce;
}

/* TODO: add styles for customer footer */

/******************
## 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 .odd {
  float: left;
  width: 278px;
}

#content .even {
  float: right;
  width: 277px;
}*/

#content .summary,
#content .article {
  color: #115a7d;
}

#content .summary {
  width:480px;
  overflow:hidden;
  height:auto;
  margin-bottom:10px;
}

#content .summary h1,
#content .summary h2{
  font-size: 120%;
  color:#DF791F;
}

#content .summary h1,
#content .summary h2 {
  margin-bottom: 5px;
}

#content .article .text {
  margin-bottom:24px;
}

#content .summary .text {
  color: #115a7d;
  font-size:100%;
  line-height:1.5em;
  text-align:justify;
  float:right;
  width:350px;
}

#content .summary .textLink {
  width:350px;
  float:left;
}

#content .summary img {
  float:left;
  margin-right:10px;
}

#content .summary .readmore,
#content .summary span.readmore a {
  float:right;
  color: #115a7d;
  font-size:85%;
}

#content .summary span.readmore {
    width: 100%;
  display: block;
}

.frontpage #content .article {
  margin-top: 0;
}

.frontpage #content .first {

}

.webshop h1, .webshop h2, webshop h3 {   
  font-size: 200%; 
}


/* 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%;
}

/*****************
## WEBSHOP ##
*****************/
#content .productgrouptitle {
  font-size:95%;
  color: #115a7d;
  text-transform: uppercase;
  margin-bottom:30px;
}

#webshopGrid {
  position:absolute;
  top:85px;
}

#webshopGrid .gridCol {
  float:left;
  width:112px;
  margin:0 10px 10px 0;
}

#webshopGrid .gridCol a {
  font-size:75%;
  color: #115a7d;
}

#webshopGrid .gridCol .image {
  height: 92px;
}

.imageWrapper {
  float:left;
  margin-right:10px;
  width:120px;
}

#content .summary .imageWrapper img {
  float:none;
  margin-right:0px;
}

/*****************
## PAGINATOR ##
*****************/

.totalHits {
  margin-bottom:20px;
}

.pageTitlePag .paginator{
  width:480px;
}

.paginator {
  float:left;
  width:500px;
  padding:10px 0;
}

.results .paginator {
  width:480px;
}

.results .next {
  margin-left:10px;
}

.paginator li {
  list-style-type:none;
  display:inline;
}

.paginator li.active {
  color:#115A7D;
}

#paginatorNav {
  float:right;
  margin-top:20px;
}

/*****************
## IDIUM FOOTER ##
*****************/

.idium {
  clear: left;
  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: 8px;
  color: #9fb8ce;
  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: 11px;
  font-weight: bold;
  margin: -8px 0 0;
  /*padding: 0 0 0 6px;*/
  text-transform: lowercase;
  word-spacing: 3px;
  color: #115a7d;
}


/*************
## 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 */
