/*
## 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 {
  padding-bottom: 12px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #cf000c;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Tahoma, Arial, Verdana, Helvetica, sans-serif;
  background-color: #f5f5f5;
  color: #444444;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/****************
## Google Maps ##
****************/

#content #map .summary p,
#content #map .summary h1,
#content #map .summary h2,
#content #map .summary h3,
#content #map .summary h4,
#content #map .summary h5 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

#content #map {
  height: 700px;
}

#rightColumn #map div span {
  position: absolute;
  bottom: -20px;
  right: 0px;
}

#content #map .summary {
  margin: 0px;
  padding: 0px;
  border-bottom: 0px;
}

#rightColumn #map {
  height: 200px;
  margin-top: 20px;
}

#rightColumn #map img {
  cursor: pointer;
}

#content .dealer .map {
  float: right;
  padding-left: 20px;
  width: 200px;
  height: 200px;
}

#content .dealer .map img {
  cursor: pointer;
}

/*****************
## Header style ##
*****************/

#header {
  background: transparent url(../GFX/header_BG-fade.gif) repeat-x;
  height: 171px;
}

#headerContent {
  background: transparent url(../GFX/header_BG.jpg) no-repeat;
  width: 960px;
  height: 171px;
  margin: 0 auto;
}

#logo {
  margin-left: 17px;
  float: left;
}

#login {
  float: right;
  background: #a9a9a9;
  width: 190px;
  height: 100%;
  margin-left: 15px;
  padding-left: 10px;
}

#login .container {
  margin-top: 60px;
}

#login input.password,
#login input.username {
  width: 180px;
  border: 1px solid #d6d6d6;
  margin-bottom: 9px;
}

/********************
## Frontpage style ##
********************/
h3.titleBox {
  background: url(../GFX/Column_title_BG-right.gif) no-repeat top right;
  color: #ffffff;
  margin-left: 15px;
  padding-bottom: 9px;
  padding-top: 8px;
}

div.titleBox {
  background: url(../GFX/Column_title_BG-left.gif) no-repeat;
  margin-bottom: 5px;
}

#content ul.quotationList {
  list-style-image: url(../GFX/quotation.gif);
  margin-left: 15px;
  padding-top: 15px;
  padding-bottom: 0px;
}

ul.quotationList li {
  padding-bottom: 15px;
}

ul.quotationList li div.quotation a,
ul.quotationList li div.quotation {
  color: #9c9886;
}

.frontNews {
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 20px;
}

.frontNewsDate {
  color: #717171;
  margin-top: 3px;
}

.folderImageOnTop {
  margin-bottom: 10px;
  position: relative;
  height: 187px;
}

.folderTextOnTop {
  position: relative;
  top: 70px;
  z-index: 100;
  background: #e17773 none repeat scroll 0pt 50%;
  float: left;
  padding: 10px 10px 10px 30px;
  opacity: 0.9;
  filter: alpha(opacity=90);
  display: block;
  width: 232px;
}

.folderTextOnTop .rowOne {
  color: #000;
  font-size: 1.83em;
  display: block;
}

.folderTextOnTop .rowTwo {
  color: #fff;
  font-size: 1.25em;
  display: block;
}

.frontpage #mainColumn {
  width: 725px;
  padding: 0px 19px 0px 15px;
}

.front_odd {
  float: left;
  width: 345px;
}

.front_even {
  float: right;
  width: 345px;
}

.breaker {
  clear: both;
}

/********************
## Framework style ##
********************/

#wrapper {
  margin-bottom: 20px;
}

#main {
  margin: 0 auto;
  width: 960px;
  background: #fff;
}

#breadcrumbs {
  float: left;
  clear: both;
  width: 744px;
  padding: 10px 0px 16px 16px;
}

#breadcrumbs a {
  color: #444444;
}

#breadcrumbs a.current {
  color: #cf000c;
}

#main {}

#leftColumn {
  float: left;
  clear: left;
  width: 173px;
  min-height: 10px;
}

#mainColumn {
  float: left;
  width: 548px;
  padding: 0px 19px;
}

#rightColumn {
  float: right;
  width: 200px;
}

#rightColumn #subContent h3 {
  background: #393939 url(../GFX/rightColumn_title_BG.gif) no-repeat;
  color: #fff;
  font-size: 1.17em;
  padding: 8px 0px 9px 15px;
  margin-top: 10px;
  margin-bottom: 15px;
}

ul.ticList {
  list-style-image: url(../GFX/rightColumn_list.gif);
  margin-left: 10px;
  margin-bottom: 15px;
}

ul.ticList li {
  margin-bottom: 5px;
}

ul.ticList li a {
  color: #444;
}

#rightColumn #newsletterSignup p,
#rightColumn #newsletterSignup form {
  padding-left: 10px;
}

#content {
  margin-bottom: 30px;
}

/* TODO: add styles for idium footer and 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;
}

#footer {
  width: 960px;
  color: #9C9886;
  margin: 15px auto 0px;
  text-align: center;
}

#footer a {
  text-decoration: underline;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .summary,
#content .article {
  border-bottom: 1px solid #f0f0f0;
}

#content .odd {

}

#content .even {

}

#content .summary,
#content .article {
  padding: 20px 0;
}

#content .first {
  padding-top: 0px;
}

#content .summary h1.title {
  font-size: 200%;
}

#content .summary img {
  float: left;
  margin-right: 15px;
}

#content h1.title a,
#content h2.title a {
  color: #444;
}

#content .article .text {
  font-size: 125%;
}

#header #priArticle {
  float: left;
  width: 550px;
  height: 110px;
  padding: 10px;
}

#priArticle h2 a  {
  font-size: 128%;
  color: #FFF;
}

/* 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%;
}

/********************
## CHOOSE LANGUAGE ##
********************/
#chooseLanguage {
  background: #9d0912 url(../GFX/language_BG-fade.gif) repeat-x;
}

#chooseLanguage ul {
  list-style: none;
  width: 960px;
  margin: 0 auto;
  padding: 0px;
}

#chooseLanguage li {
  float: right;
  padding-left: 23px;
  margin-left: 35px;
}

#chooseLanguage li a {
  display: block;
  padding-top: 13px;
  padding-bottom: 14px;
  color: #fff;
}

#chooseLanguage li.nor {
  background: url(../GFX/nor.gif) no-repeat;
  background-position: 0% 50%;
}

#chooseLanguage li.eng {
  background: url(../GFX/eng.gif) no-repeat;
  background-position: 0% 50%;
}

#chooseLanguage li.swe {
  background: url(../GFX/swe.gif) no-repeat;
  background-position: 0% 50%;
}

#chooseLanguage li.nla {
  background: url(../GFX/nla.gif) no-repeat;
  background-position: 0% 50%;
}

/*************
## 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 */