/*
## layout.css - Contains style for page layout
*/
c
/* Normalizes margin and padding */
* { 
  margin: 0;
  padding: 0;
}

/* Normalizes article content elements */
#content dl.fileObject,
#content p,
#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;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Helvetica, Arial, Helvetica, sans-serif;
  background: #fff url(../GFX/bg.gif) repeat-x scroll top left;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
}

h1 { font-size: 180%; }
h2 { font-size: 160%; }
h3 { font-size: 140%; }
h4 { font-size: 120%; }

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  padding: 0 30px;
  width: 900px;
  background: #fff url(../GFX/wrapperbg.gif) no-repeat scroll top center;
  position: relative;
}

#header {
  height: 150px;
  margin-right: 20px;
  background: #fff url(../GFX/transparent.gif) no-repeat scroll top left;
}

#searchForm {
/*
  width: 142px;
  background-color: #dfddd7;
  margin: 15px 0 0 0;
  padding: 10px;
  position: relative;
  left: -11px;
*/
  display: block;
  width: 142px;
  background-color: #dfddd7;
  margin: 15px 0 0 -11px;
  padding: 10px;
}

#searchForm label {
  font-size: 0.9em;
  color: #000;
}

#searchForm .searchtip {
  margin: 4px 0 1px;
  font-size: 0.9em;
  color: #000;
}

#searchForm .searchtip a {
  text-decoration: none;
}

#searchForm .searchtip a:hover {
  text-decoration: underline;
}

#searchForm .query {
  width: 134px;
  font-size: 0.9em;
  margin-top: 4px;
  padding-left: 2px;
  background-color: #f4f3f0;
  border-top: 2px solid #61615e;
  border-left: 1px solid #878784;
  border-right: 1px solid #878784;
  border-bottom: 1px solid #878784;
}

#searchForm .button  {
  padding: 0px 4px 1px 4px;
  background-color: #c6c8cc;
  border: 0;
  float: right;
  margin: 5px 4px 0 0;
}

#searchForm .button:hover {
  background-color: #b2b2b2;
}


#breadcrumbs {
  padding: 5px 0 5px 5px;
  color: #000;
  margin: 15px 20px 0 0;
  background-color: #E0E98B;
}

#breadcrumbs a {
  color: #000;
  font-weight: bold;
}

#breadcrumbs a.active {
  color: #444;
}

#main {}

#leftColumn {
  float: left;
  width: 300px;
  margin-top: 27px;
}

#leftTopBg {
  height: 540px;
  background: #fff url(../GFX/leftTopBg.gif) no-repeat scroll top left;
  margin: 20px 0 0 20px;
}

#mainColumn {
  float: right;
  width: 585px;
  margin: 47px 0 0 15px;
}

#content {
  padding: 0 20px 0 0;
  line-height: 150%;
}

#footer {
  background-color: #f1f1f2;
  margin: 5px 20px 0 20px;
  font-size: 0.9em;
  line-height: 150%;
}

#footerOver {
  height: 23px;
  margin: 20px 20px 0 20px;
  background-color: #E0E98B;
}

#leftMenu {
  position: absolute;
  top: 0;
  left: 115px;
  width: 191px;
  z-index: 3;
}

#leftMenuTop {
  background: transparent url(../GFX/leftMenuTopBg.png) no-repeat scroll top left;
  height: 31px;
}

#leftMenuMiddle {
  background: transparent url(../GFX/leftMenuMiddleBg.png) no-repeat scroll top left;
  padding-left: 33px;
}

#leftMenuBottom {
  background: transparent url(../GFX/leftMenuBottomBg.png) no-repeat scroll top left;
  height: 59px;
}

img#map {
  position: absolute;
  top: 260px;
  left: -10px;
  height: 196px;
  width: 203px;
  z-index: 2;
}

img#leftPhoto {
  position: absolute;
  top: 406px;
  left: 30px;
  height: 147px;
  width: 184px;
  z-index: 1;
}

.containerTop { 
  background-color: #E0E98B;
  margin: 15px 0 5px 20px;
  padding: 5px 0 5px 10px;
}

.containerTop h3 { 
  color: #000;
  font-size: 1.0em;
  font-weight: bold;
  margin: 0;
}

.container {
  margin: 0 0 0 20px;
  background-color: #f1f1f2;
  padding: 10px;
}

#leftColumn .container .article-content { 
  line-height: 150%;
}

.mainContainerTop {
  background-color: #E0E98B;
  padding: 5px 20px 5px 10px;
  margin-right: 15px;
  font-weight: bold;
}

.mainContainerDown {
  margin: 10px 15px 0 0;
  line-height: 150%;
}

#newsletter input[type="text"] {
  margin: 5px 5px 5px 0;
  background-color: #f1f1f2;
  border: 1px solid #787879;
  width: 99%;
  padding: 2px 0 2px 3px;
  display: block;
}

#newsletter input[type="submit"] {
  padding: 0px 4px 1px 4px;
  background-color: #d4d5d7;
  border: 0;
  float: right;
  margin-right: 5px;
}

#newsletter input[type="submit"]:hover {
  background-color: #b2b2b2;
}

.totalHits {
  margin: 10px 0;
}

#frontpageArticles {
width: 100%;

}

#frontpageArticles .summary h1 {
  margin-bottom: 10px;
}

#frontpageArticles .summary {
width: 100%;
}

#frontpageArticles .summary img {
  padding-bottom: 0;
  max-width: 275px;
  max-height: 200px;
  text-align: center; 
}

#content #frontpageArticles .summary {
  padding: 15px 0;
}

#storeList {
  margin-top: 15px;
  padding-left: 5px;
}

#storeListLeft {
  float: left;
  width: 200px;
}

#storeListRight {
  float: left;
  width: 200px;
}

#storeList div {
  padding-bottom: 3px;
}

#fpSmallLeft {
  margin-top: 10px;
  float: left;
  width: 275px;
}

#fpSmallRight {
  margin-top: 10px;
  float: right;
  width: 275px;
}

#fpSmallLeft .containerTop{
  font-weight: bold;
  margin: 10px 0;
  width: 255px;
}

#fpSmallRight .containerTop {
  font-weight: bold;
  margin: 10px 0px;
  position:relative; 
  zoom:1;
  margin-left: -10px; 
}

#fpSmallLeft div.readmore {
  margin-top: 5px;
  padding-left: 10px;
}

#fpSmallRight div.readmore {
  margin-top: 5px;
  padding-left: 0;
}

#fpSmallRight .containerMiddle {padding-left: 0;}

.containerMiddle {
  padding: 0 8px 0 10px;
}

.fpRightCol {width: 280px; float: right;}

#content .fpRightCol h1 {
  margin: 0;
}

#content .fpRightCol p {
  margin: 5px 0 4px 0;
}


.blogPost {
  margin-bottom: 15px; 
  padding: 0 0 10px 10px; 
  border-bottom: 1px solid #C7C7C7;
}

.blogPost .date, .blogPost .title {
  font-weight: bold; 
  padding-right: 6px;
}

.blogPost .blogSummary {
  margin: 5px 0;
}

/* 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;
}


/******************
## SEARCH STYLE ##
******************/

.results .queryString {
  margin: 10px 0;
}

.results .totalHits {
  margin-bottom: 15px;
}

.paginator {
  height: 25px;
}

.paginator .prev {
  float: left;
}

.paginator .next {
  float: right;
}

.paginator .pages {
  text-align: center;
}

.paginator .pages span {
  padding: 0 5px;
}

.paginator .pages span.active {
  font-weight: bold;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .summary,
#content .article {
  border-bottom: 1px solid #c7c7c7;
}

.summary2 {
  padding: 15px 0;
}

#content h1 {
  margin-bottom: 5px;
}

#content img {
  display: inline;
  float: left;
  padding: 0 10px 10px 0;
}

#content em {
  display: block;
  margin-bottom: 10px;
}

#content .odd {
}

#content .even {
}

#content .summary,
#content .article {
  padding: 15px 0;
}

#content .summary h1,
#content .summary h2 {
  font-size: 150%;
}

#content .article .text {
  font-size: 125%;
}

.results {
  padding: 20px 0;
}

.noMargin .article-content {
  float: left;
  margin: 0;
}

/* 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: 5px auto;
  width: 141px;
  float:right;
}

.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;
}


.noMargin {
  padding: 0;
}

#content p .article-content {
  margin-bottom: 0;
}

/*************
## 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 */