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

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #3e0202;
}

a:hover {
  text-decoration: none;
  color: #8a0c0c;
}

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

/** 0.75em sets medium size to 12px in standard browsers **/
body {
  font: 0.75em Lucida Sans Unicode, Lucida Grande, Lucida Sans, Lucida, Tahoma, Verdana, Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #3a3a3a;
}

h1, h2, h3, h4, h5 {
  font-size: 1em;
  font-weight: normal;
}

h1 { font-size: 2em; }
h2 { font-size: 1.67em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.16em; }

img {
  display: block;
}

input {
  font-size: 1em;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 15px auto;
  width: 960px;
}

#header {
  height: 119px;
  background: url('./header_bg.gif') top left no-repeat;
  border-bottom: 3px solid #3e0202;
  position: relative;
}

#header .logo {
  position: relative;
  top: 28px;
  left: 32px;
}

#header #searchForm {
  position: absolute;
  top: 15px;
  right: 15px;
}

#header #searchForm fieldset {
  float: right;
}

#header #searchForm input {
  font-size: 1.13em;
  padding: 2px;
  border: 1px solid #ffffff;
}

#slideshow {
  border-top: 5px solid #3e0202;
  border-bottom: 5px solid #3e0202;
  position: relative;
}

#slideshow .logo {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 1000;
}

#leftColumn {
  float: left;
  width: 235px;
}

#mainColumn {
  float: right;
  width: 655px;
  margin: 0px 15px;
}

#content {
  padding-top: 20px;
}

#footer {
  border-top: 5px solid #3e0202;
  padding: 10px;
  font-size: 0.92em;
  text-align: right;
  text-transform: uppercase;
}

#footer a {
  color: #3a3a3a;
}

#changeLanguage {
  float: right;
  position: absolute;
  bottom: -42px;
  right: 15px;
}

/********************
## FRONTPAGE STYLE ##
********************/

.frontpage #mainColumn,
.search #mainColumn {
  width: 930px;
}

.frontpage #content h1,
.frontpage #content h2 {
  font-size: 1.75em;
}

.frontpage #promotedFolders .first {
  margin-left: 0px !important;
}

.frontpage #promotedFolders .promoFolder {
  width: 290px;
  float: left;
  margin-left: 29px;
}

.frontpage #promotedFolders .promoFolder .promoImage {
  border: 1px solid #3e0202;
  padding: 20px 10px;
  margin-bottom: 10px;
  height: 160px;
}

.frontpage #promotedFolders .promoFolder .promoImage img {
  margin: 0 auto;
}

.frontpage #promotedFolders .promoFolder h3 {
  min-height: 27px;
  padding: 2px 5px 5px 35px;
  background: url('./heyerdahl_symbol.gif') no-repeat;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/

#content .article a {
  text-decoration: underline;
}

#content h1,
#content h2 {
  color: #3e0202;
}

#content .summary,
#content .article {
  font-size: 1.08em;
  margin-bottom: 20px;
}

#content .summary,
#content .summary {
  color: #3e0202;
  font-size: 1.5em;
}

#content .summary,
#content .article {
  line-height: 1.67em;
}

#content .summaryImage {
  float: right;
  margin-left: 20px;
}

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