/*
## 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 li {
  margin-top: 6px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #ef2e24;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Arial, Tahoma, Verdana, Helvetica, sans-serif;
  background: #fafafb url(../GFX/backgroundImage.gif) no-repeat scroll top center;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

h3 {
  font-weight: bold;
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 47px auto;
  width: 910px;
  background: #fff;
}

#searchForm {
  padding: 6px;
  clear: both;
}

#searchForm label {
  font-size: 100%;
  padding: 3px 0;
}

#searchForm .button,
#login .button,
#logoutForm .button,
#loginForm .button {
  float: left;
  background-color: #ef2e24;
  font-size: 80%;
  height: 18px;
  margin-left: 3px;
  padding: 0 4px 5px 4px;
  width: auto;
  color: #fff;
}

#loginForm .button,
#logoutForm .button {
  margin-top: 5px;
}

#logIn .outside {
  color: #EF2E24;
} 

#searchForm input {
  border: 1px solid #bdbec1;
  float: right;
  font-size: 110%;
  height: 18px;
  padding: 2px 0 0 2px;
  margin-right: 9px;
  width: 172px;
}

#logIn input {
  border: 1px solid #bdbec1;
  float: left;
  font-size: 110%;
  height: 18px;
  padding: 2px;
  width: 152px;
  clear: both;
  margin-bottom: 5px;
}

#loginForm label {
  display: block;
  clear: both;
  margin-top: 5px;
  font-size: 75%;
}

#logIn {
  padding: 20px 10px;
}

.logIn {
  padding-left: 8px;
}


#breadcrumbs {
  float: left;
  color: #231f20;
}

#breadcrumbs a {
  color: #231f20;
}

#breadcrumbs a.active {
  color: #231f20;
}

#main {
  background: url(../GFX/leftColumnBg.gif) top left no-repeat;
}

#leftColumn {
  float: left;
  width: 195px;
  margin-top: 22px;
}

#mainColumn {
  float: left;
  width: 515px;
  background-color: #fff;
}

#rightColumn {
  float: right;
  width: 200px;
  background-color: #fff;
  padding: 20px 0;
}

#reminder {
  height: 145px;
  width: 175px;
  background-color: #ecefcf;

}

#rightColumnBox {
  width: 175px;
  background-color: #fff2d3;
  margin-top: 15px;
}

#rightColumnBox h4,
#reminder h4 {
  font-weight: bold;
  font-size: 120%;
  padding: 10px 0px;
  text-align: center;
  color: #fff;
  background-color: #ffc420;
}

#rightColumnBox h4 {
  background-color: #ffc420;
}

#reminder h4 {
  background-color: #afbd1f;
}

#rightColumnBox h2,
#reminder h2 {
  font-size: 110%;
  color: #231f20;
  margin-bottom: 3px;
}

#rightColumnBox .summary,
#reminder .summary {
  padding: 10px;
}

#rightColumnBox .summary p,
#reminder #summaries p {
  font-style: none;
  font-size: 90%;
}

#reminder h2,
#reminder .readmore {
  font-style: none;
}

#rss {
  padding: 0 10px 10px;
}

#rss a {
  color: #000;
  font-size: 80%;
  font-weight: bold;
}

#rss h2 {
  margin-top: 8px;
}

p.date {
  font-size: 90%;
  color: #a4a5a7;
  font-weight: bold;
  margin-top: -2px;
}

#advert {
  width: 175px;
  background-color: #fff;
  text-align: center;
  margin-top: 15px;
  overflow: hidden;
}

#reminder, #advert, #rightColumnBox {margin-left: 10px;}

#instructions {
  padding: 10px;
}

code {
  font-size: 120%;
  font-family: "Courier New", Courier, monospace;
}
  

#content {
  padding: 0 15px 10px;
  margin-bottom: 10px;
}

#content .results {
  margin-top: 15px;
}

#footer {
  background-color: #ef2e24;
  padding: 8px;
  margin: 0;
  font-size: 120%;
  text-align: center;
}

.footerContent a {
  color: #fff;
  font-weight: bold;
}
/* 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;
}

/******************
## HEADER STYLES ##
*******************/

#header {
  height: 132px;
  background-color: #fff;
  border-bottom: 9px solid #ef2e24;
}

.logo {
  float: left;
  margin: 0;
  width: 195px;
}

#header h1 {
  font-size: 37px;
  padding-top: 55px;
  margin-bottom: 12px;
}

.headerTitle {
  float: left;
  width: 500px;
  padding-left: 15px;
}

.headerRight {
  float: right;
  width: 200px;
}

.headerRight ul {
  height: 51px;
  margin: 13px 8px 0 0;
}

#content h1 {
  font-size: 210%;
}

#content h2 {
  font-size: 160%;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 6px;
}

#content h3 {
  font-size: 150%;
  margin-top: 12px;
  margin-bottom: 6px;
}

#content h4 {
  font-size: 125%;
  margin-top: 12px;
  margin-bottom: 6px;
}

#content h4 {
  font-size: 105%;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 6px;
}


/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .summary {
  border-bottom: 1px solid #bdbec1;
}

#content .summary .summaryImage {
  float: left;
  width: 160px;
  margin: 5px 15px 10px 0;
}

#content .summaryImage {
  float: left;
  width: 370px;
}

#content .summary,
#content .article {
  padding: 20px 0 15px;
}

#content .summary h1,
#content .summary h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 2px;
  margin-top: 0px;
  line-height: 120%;
}

#content .article .text {
  margin-bottom: 10px;
  font-weight: bold;
}

.articleInfoStrap {
  width: 99%;
  padding: 4px 2px;
  border-top: 1px solid #a1a1a1;
  border-bottom: 1px solid #a1a1a1;
  margin: 20px 0 15px;
  height: 16px;
}

span.date,
span.author {
  color: #4f494a;
  margin: 1px 35px 0 0;
  float: left;
}

span.summaryDate {
  color: #4f494a;
  margin: 1px 35px 0 0;
}

span.print {
  float: right;
}



/* 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%;
}

/*************
## 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 */