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

code {
  font-size: 133%;
  background-color: #EEE;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: underline;
  color: #1f6dbd;
}

a:hover {
  text-decoration: none;
}

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

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

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

h1 a, h2 a, h3 a, h4 a, h5 a {
  color: #222;
  text-decoration: none;
}

#content h2 {

}

#content h3 {
  font-weight: bold;
  font-size: 125%;
}

#content h4 {
  font-size: 125%;
}

#content h5 {
  font-style: italic;
  font-size: 108%;
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 950px;
  position: relative;
  background-color: transparent;
}

#header {
  background: transparent url(../GFX/header.gif) repeat-x 0 0;
}

#logo {
  float: left;
  padding-right: 5px;
  background-color: #FFF;
}

#searchForm {
  float: right;
  width: 285px;
  padding: 20px 0 45px 0;
}

#newSearchForm {
  width: 100%;
  padding-top: 20px;
}

#searchForm label,
#newSearchForm label {
  float: left;
  margin-left: 5px;
  padding-left: 3px;
  display: inline;
  width: 70px;
  background: transparent url(../GFX/searchButtonBack.gif) no-repeat 0 0;
}

#leftColumn  label {
  margin: 2px 0 0 0;
}

#searchForm label input,
#newSearchForm label input {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 100%;
  background: transparent url(../GFX/searchButton.gif) no-repeat 100% 0;
  border: none;
  font-size: 130%;
  color: #FFF;
}

#searchForm .query,
#newSearchForm .query {
  float: left;
  width: 180px;
  padding: 5px;
  font-size: 135%;
}


#newSearchForm  .query {
  width: 160px; 
}

#searchForm .default,
#newSearchForm .default {
  color: #c7c7c7;
}

#instructions {
  padding-top: 20px;
}

#instructions p {
  margin-bottom: 12px;
}

#instructions h3 {
  margin-bottom: 20px;
}

#breadcrumbs {
  padding: 5px 0;
  width: 100%;
  clear: both;
  color: #585858;
}

#breadcrumbs a {
  padding: 0 15px;
  background: transparent url(../GFX/menuArrow.gif) no-repeat 5px 50%;
  color: #585858;
  text-decoration: none;
}

#breadcrumbs a:hover {
  text-decoration: underline;
}

#breadcrumbs a.active {
  font-weight: bold;
}

#main {
  margin-top: 20px;
  background: transparent url(../GFX/main.gif) repeat-y 180px 0;
}

#leftColumn {
  float: left;
  display: inline;
  width: 170px;
  padding-right: 10px;
  min-height: 10px;
  height: auto!important;
  height: 10px;
}

#mainColumn {
  float: left;
  display: inline;
  width: 550px;
  padding: 0 20px;
}

#rightColumn {
  float: right;
  display: inline;
  width: 170px;
}

#rightColumn a.readmore {
    display: block;
    padding-bottom: 15px;
}

#content {

}

#footer {
  text-align: center;
  padding: 35px 0 11px 0;
  background: transparent url(../GFX/footer.gif) repeat-x 0 100%;
  color: #5e5c4b;
}

#footer a {
  color: #5e5c4b;
  font-weight: bold;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}



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

#idium {
  margin: 10px auto;
  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: 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: #000000;
}

/******************
## COMMON STYLES ##
******************/
h4.boxTitle {
  color: #fff;
  background: #a1a1a1;
  padding: 5px 20px;
  margin-bottom: 0;
}

h3.title {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid #9A00B7;
  color: #9A00B7;
  font-size: 133%;
  /*text-transform: capitalize;*/
}

div.box {
  margin-bottom: 20px;
}

#rightColumn div.box {
  padding: 10px;
  background-color: #F5E0FD;
}

#rightColumn div.box a {
  color: #9A00B7;
}

div.box .content {
  padding: 15px 10px;
}

/****************
## CREATE USER ##
****************/

form#createUser {
  padding: 10px 0;
}

#content #createUser fieldset {
  padding: 0;
  border: none;
}

#content #createUser legend {
  display: none;
}

#content #createUser input {
  margin-bottom: 10px;
  font-size: 166%;
}

#createUser label {
  display: block;
  /*font-weight: bold;*/
}

#content #createUser input.submit {
  width: auto;
  font-size: 100%;
}


/**********
## LOGIN ##
**********/

#logout {
  position: absolute;
  left: 255px;
  padding-top: 50px;
}

#logout a {
  display: inline;
  float: left;
  margin-right: 10px;
  padding: 5px 0;
}

#content #loginForm {
  padding: 20px 0;
  width: 250px;
  float: left;
  display: inline;
}

#content #loginForm fieldset {
  padding: 0;
  border: none;
}

#content #loginArticle {
  clear: both;
}

#content input {
  margin-bottom: 5px;
}

#loginForm label {
  display: block;
  font-weight: bold;
}

#loginForm .submit {
  display: block;
}

#loginAlternatives {
  float: right;
  width: 250px;
  padding: 20px;
  border-left: 1px solid #EEE;
}

#loginAlternatives #createUser {
  display: block;
  padding: 10px 0;
  font-size: 166%;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content .summary {
  background: transparent url(../GFX/horisontalLine.gif) repeat-x 0 100%;
}

#content .summary.odd,
#content .article.odd {
  float: left;
  clear: left;
  width: 261px;
}

#content .summary.even,
#content .article.even {
  float: right;
  clear: right;
  width: 260px;
}

#content .rows .summary,
#content .rows .article {
  float: none;
  width: 100%;
}

#content .summary,
#content .article {
  padding: 20px 0;
}

#content .summary h1,
#content .summary h2 {
  font-size: 200%;
}

#content .article .text {
  font-size: 133%;
  line-height: 1.3em;
}

#content .summary .text {
  font-size: 116%;
  line-height: 1.3em;
}

#content .summary .readmore ,
#rightColumn .summary .readmore {
  /*display: block;*/
  padding-left: 20px;
  background: transparent url(../GFX/arrowBlue.gif) no-repeat 0 1px;
  font-size: 116%;
  text-decoration: none;
}

#content .summary .readmore:hover ,
#rightColumn .summary .readmore:hover {
  text-decoration: underline;
}

#content  .summaryImage,
#rightColumn .summaryImage {
  margin-bottom: 12px;
  display: block;
}

#content .summaryImage .summaryImage {
  margin-bottom: 0;
}

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

.article-content {
  line-height: 1.5em;
}

#content em,
#content .summary em {
  font-style: italic;
}

#rightColumn .summary,
#rightColumn .article {
  padding: 20px 0;
  clear: both;
  /*background: transparent url(../GFX/horisontalLine.gif) repeat-x 0 100%;*/
  display: block;
}

#rightColumn .readmore {
  color: #980EBA;
}

#rightColumn .text {
  margin-bottom: 12px;
}

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

.queryString {
  float: left;
}

.totalHits {
  float: right;
}

.paginator {
  clear: both;
  padding: 30px 0 20px 0;
}

.paginator .pages {
  float: left;
  display: inline;
  padding: 0;
}

.pages li {
  display: inline;
  float: left;
  padding: 0 2px;
}

.pages li a {
  padding: 5px;
  display: block;
  background: #2E84CB;
  color: #FFF;
}

.paginator .next {
  display: inline;
  float: left;
  padding: 5px;
  margin-right: 2px;
  background: #2E84CB;
  color: #FFF;
}

.paginator .prev {
  display: inline;
  float: left;
  margin-right: 4px;
  padding: 5px;
  background: #2E84CB;
  color: #FFF;
}

.paginator li.active {
  padding: 0 10px;
  background-color: none;
  line-height: 2em;
}

.paginator li.buffer {
  line-height: 3em;
}

.paginator li {
  color: #2E84CB;
  background-color: transparent;
}


/*******************
## FORM ELEMENTS ##
*******************/

label.button {
  float: left;
  padding-left: 3px;
  display: inline;
  width: 60px;
  background: transparent url(../GFX/button.gif) no-repeat 0 0;
  cursor:pointer;
  cursor:hand;
}

label.button input {
  padding-top: 3px;
  padding-bottom: 4px;
  width: 100%;
  background: transparent url(../GFX/buttonRight.gif) no-repeat 100% 0;
  border: none;
  font-size: 116%;
  color: #FFF;
  cursor:pointer;
  cursor:hand;
}

.checkout label.button {
  float: right;
  width: 100px;
}


/******************
## ARTICLE TOOLS ##
******************/

.article #tools {
  padding: 20px 0;
  list-style: none;
}

.article #tools li {
  display: inline;
  float: left;
  padding: 0 15px 0 25px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

.article #tools li.linkObjectComments { background-image: url(../GFX/comment.gif); }
.article #tools li.linkPrint { background-image: url(../GFX/print.gif); }
.article #tools li.linkTipafriend { background-image: url(../GFX/tipafriend.gif); }
.article #tools li.linkFacebook { background-image: url(../GFX/iconFacebook.gif); }
.article #tools li.linkTwitter { background-image: url(../GFX/iconTwitter.gif); }


/****************
## TIP A FRIEND ##
****************/

#content #tipsForm fieldset {
  padding: 20px 0;
  border: none;
}

#tipsForm h3 {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid #9A00B7;
  color: #9A00B7;
  font-size: 133%;
}

#tipsForm .col {
  float: left;
  display: inline;
  width: 33%;
}

#tipsForm .col label {
  display: block;
}


#tipsForm .col input {
  font-size: 167%;
  padding: 5px;
  color: #9A00B7;
  width: 160px;
}

#tipsForm .row label {
  margin-top: 5px;
  float: left;
  padding-left: 3px;
  display: inline;
  width: 100px;
  background: transparent url(../GFX/searchButtonBack.gif) no-repeat 0 0;
}

#tipsForm .row label input {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 100%;
  background: transparent url(../GFX/searchButton.gif) no-repeat 100% 0;
  border: none;
  font-size: 145%;
  color: #FFF;
}


/* TODO: get latest css from standardmaler.no, and add style to own stylesheet */
/*************************
## OBJECT COMMENTS VIEW ##
*************************/
#comments {
  padding: 10px 0;
}

#comments h2 {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid #9A00B7;
  color: #9A00B7;
  font-size: 133%;
}

#comments #commentsList {
  margin: 0;
  padding: 0;
  list-style: none;
}

#comments li {
  padding: 20px 0;
}

#comments em {
  width: 34px;
  padding: 5px 0;
  text-align: center;
  float: left;
  margin-right: 10px;
  background: transparent url(../GFX/date.gif) no-repeat 0 0;
  color: #FFF;
  font-size: 83%;
  text-transform: lowercase;
  font-family: arial, helvetica, sans-serif;
}

#comments em span {
  display: block;
  clear: both;
  font-size: 200%;
  font-weight: bold;
  line-height: 21px;
}

#comments .by {
  text-transform: uppercase;
  color: #E0DFD7;
}

#comments .by span {
  color: #3D64B7;
}

#comments .body {
  padding-left: 44px;
}

#content form#commentForm {
  width: 100%;
  margin: 0;
  padding: 20px 0;
}

#content form#commentForm fieldset {
  padding: 0;
  border: none;
}

#commentForm input.block {
  width: 40%;
  font-size: 167%;
  padding: 5px;
  color: #9A00B7;
}

#commentForm textarea#comment {
x  color: #9A00B7;
}

#commentForm .row label {
  float: left;
  margin-left: 5px;
  padding-left: 3px;
  display: inline;
  width: 70px;
  background: transparent url(../GFX/searchButtonBack.gif) no-repeat 0 0;
}

#commentForm .row label input {
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 0!important;
  width: 100%;
  background: transparent url(../GFX/searchButton.gif) no-repeat 100% 0;
  border: none;
  font-size: 145%;
  color: #FFF;
}

/**************
## LANGUAGE ##
**************/

#lang {
  float: right;
  clear: right;
}

#lang li {
  float: left;
  display: inline;
  padding: 0 2px;
}

#lang li a {
  display: block;
  width: 30px;
  height: 20px;
  background-repeat: no-repeat;
}

#lang li a span {
  display: none;
}

#lang .eng a {
  background-image: url(../GFX/eng.gif);
}

#lang .nor a {
  background-image: url(../GFX/nor.gif);
}

#lang .swe a {
  background-image: url(../GFX/swe.gif);
}

#lang .current {
  opacity:.30;
  filter: alpha(opacity=30);
  -moz-opacity: 0.3;
}


/****************
## NEWSLETTER ##
****************/

#newsletter {
  padding: 20px 0px 0px 0px;
  /*background: transparent url(../GFX/horisontalLine.gif) repeat-x 0 100%;*/
}

#newsletter h3 {
  display: block;
  padding: 3px 0;
  border-bottom: 1px solid #9A00B7;
  color: #ba60d6;
  font-size: 160%;
  text-transform: capitalize;
  font-face: Arial, Helvetica, sans-serif;
}

.newsletterEncourage {
padding: 3px 0;
font-size: 80%;
color: #666;
}

#newsletter form,
#newsletter p {
  display: block;
  padding: 10px;
  background-color: #F5E0FD;
}

#rightColumn.master #newsletter input.text {
  width: 150px;
  padding: 5px 0;
  color: #797A7A;
}

#rightColumn.frontpage #newsletter input.text {
  width: 257px;
  padding: 5px 0;
  color: #797A7A;
}

#newsletter label {
  width: 100%;
}

#newsletter label input.submit {
  padding-top: 3px;
  padding-bottom: 5px;
  width: 100%;
  background: transparent url(../GFX/newsletterButton.gif) no-repeat 0 0;
  border: none;
  font-size: 108%;
  color: #FFF;
}

.summary .summary #smallernewsletter label input.submit {
  padding-top: 3px;
  padding-bottom: 5px;
  width: 142px;
  backgrogund: transparent url(../GFX/newsletterButton.gif) no-repeat 0 0;
  border: none;
  font-size: 108%;
  color: #FFF;
}
.summary .summary #smallernewsletter input.text{
  width:142px;
}

/**************
## RELATIONS ##
**************/

#relations {
  clear: both;
  /*background: transparent url(../GFX/horisontalLine.gif) repeat-x 0 100%;*/
}

#relations ul {
  list-style: none;
  padding: 0;
}

#relations li {
  border-bottom: 1px solid #E4E4E4;
}

#relations li a {
  display: block;
  padding: 7px 5px;
  text-decoration: none;
  color: #727171;
}

#relations li a:hover {
  text-decoration: underline;
}

/**********
## VIDEO ##
**********/

#ply {
  z-index: 1001;
  position: relative;
}

#lightbox{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  background-color:#fff;
  z-index: 1000;
}

#playlistContainer {
  z-index: 1001;
  position: relative;
  overflow: auto;
  background-color: #FAFAFA;
  border: 1px solid #DDD;
}

#playlistContainer ul {
  margin: 0;
  padding: 0;
}

#playlistContainer li {
  height: 40px;
  padding: 5px;
  border-bottom: 1px solid #DDD;
}

#playlistContainer img {
  float: left;
}

ul#videoCategory {
  margin: 0;
  padding: 1px 0 0 0;
  background: #46ACEF url(../GFX/player.gif) repeat-x 0 0;
}

#videoCategory li {
  display: inline;
  float: left;
  font-size: 108%;
  font-weight: bold;
}

#videoCategory li.subject {
  padding: 12px 20px;
  color: #FFF;
  text-transform: uppercase;
  background: #00C7FF url(../GFX/playerSubject.gif) repeat-x 0 0;
}

#videoCategory li a {
  display: block;
  padding: 12px 30px;
  border-right: 1px solid #46ACEF;
  color: #FFF;
  text-decoration: none;
}

#videoCategory li a:hover {
  text-decoration: underline;
}


div.facebook,
div.twitter_right_col,
div.youtube_right_col {
    display: block;
    padding: 10px 0;
}

div.facebook img,
div.twitter_right_col img,
div.youtube_right_col img {
    margin-right: 5px;
}

div.facebook a,
div.twitter_right_col a,
div.youtube_right_col a {outline:none;}

#rightColumn.master .facebook img,
#rightColumn.master .twitter_right_col img,
#rightColumn.master .youtube_right_col img {
    width: 170px;
}

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