/*
## 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: #213D8E;
}

a:hover {
}

.article ul, ol {
  padding-left: 20px;
}

.clearleft {
  clear:left;
}

li {list-style:none;}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75%  "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  background-color: #fff;
  color:#4A4531;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
}

h1 { 
  font-size: 200%; 
}
h2 { 
  font-size: 167%; 
}
h3 { 
  font-size: 150%; 
}
h4 { 
  font-size: 116%; 
}

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 960px;
  border: 5px solid #fff;
  background: #fff;
  position:relative;
}

#wrapper #toplogo {
  left:12px;
  position:absolute;
  top:5px;
}

#navTop  {
  background:url("aboveheaderimg.png") repeat-x scroll left bottom transparent;
  font-size:102%;
  height:102px;
  text-align:right;
}

#navTop li {
  display:inline;
  line-height:28px;
}

#navTop li a {
  color:#4A4531;
  padding:0 2px;
}

#navTop a:hover{
  color:#C9DA22;
}

#header {
  height:267px;
  background:url(defaultheader.jpg) no-repeat;
}

#navMain {
  background:url(navmainbg.png) repeat-x;
  height:33px;
}

#navMain li{
 float:left;
  
}
#navMain a {
  border-right:1px solid #8F8B7C;
  color:white;
  display:block;
  font-size:115%;
  height:31px;
  line-height:29px;
  margin:1px 0;
  padding:0 23px;
}
#navMain a.first{
  
}
#navMain a.current,#navMain a:hover{
  background:url(navcurrentbg.png) repeat-x;
}



#searchForm label {
  font-size: 117%;
  margin-right: 8px;
}



#breadcrumbs {
  float: left;
  color: #a1a1a1;
}

#breadcrumbs a {
  color: #a1a1a1;
}

#breadcrumbs a.active {
  color: #444;
}

#main {
  margin-top:25px;
}

#rightColumn  {
  background:none repeat scroll 0 0 #ECF2B0;
  float:right;
  width:203px;
  position:relative;
}

#searchForm {
  position:relative;
  height:70px;
}



#searchForm .button {
  left:156px;
  position:absolute;
  top:12px;
}

#searchForm .query {
  border:1px solid #333333;
  left:12px;
  padding:3px 0 4px 5px;
  position:absolute;
  top:12px;
  width:129px;
}
#rightColumn #fylkeChoice {
  background:#C9DA2B;
  height:90px;
}

#rightColumn #fylkeChoice h3 {
color:#5F5F5F;
font-size:146%;
padding:13px;
}

#rightColumn #fylkeChoice select {
margin:0 12px;
width:70%;
}


#leftColumn {
  position:absolute;
  width: 170px;
}

#mainColumn {
  padding-left:187px;
  width:500px;
}

#mainColumn .calendar.wrap {
  width:300px;
}
#mainColumn .events {
  width:500px;
}
ol.events {
 padding-left:0px;
}
#mainColumn.hasnosubfolders {
  padding-left:0px;
  width:750px;
}


#content {
  padding: 0 10px 0 15px;
}

#footer {
  background:url("aboveheaderimg.png") repeat-x scroll 0 0 transparent;
  clear:both;
  font-size:128%;
  line-height:150%;
  padding-top:19px;
  margin-top:10px;
  position:relative;
}

#footer p{

}

/* 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;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/


#content .odd {
}

#content .even {
}

#content .summary,
#content .article {
  padding: 20px 0;
}

#content .summary{
  clear:left;
}


#content .summary h1,
#content .summary h2 {
  font-size: 150%;
  color:#4a4531;
}
#content .summary img {
  float:left;
  padding:0 10px 10px 0;
}

#content .summary p {
  font-size:120%;
  line-height:132%;
  padding:0 0;
}

#content .article .text {
  font-size: 125%;
}

/* 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:10px auto;
  position:absolute;
  right:-17px;
  top:31px;
  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: #000;
}


/*************
## 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 */

#frontArticles  {
  font-size:112%;
}

#frontArticles li.big img {
  float:left;
  padding:0 20px 0 0;
}

#frontArticles li.big h1 {
  font-size:167%;
}
#frontArticles li p {
  line-height:145%;
  margin-bottom:8px;
}
#frontArticles li.medium {
  float:left;
  margin:20px 0 20px 0;
  width:375px;
}

#frontArticles li.medium p {
margin:0 53px 8px 0;
}

#frontArticles li.medium img {
  padding:0 0 12px;
}

#frontArticles li h2 {
  font-size:130%;
  padding-bottom:8px;
}

#frontArticles li p {
  margin-bottom:8px;
}

#frontArticles li.small {
  font-size:115%;
  margin:9px 0;
}

/*************
## CALENDAR ##
*************/

#smallCalendar h2 {
  color:#000000;
  font-size:18px;
  padding:22px 13px 10px;
}

.calendar.wrap {
  font-size:1.2em;
}

.monthNav {
  margin:8px 0;
  height:20px;
}
.monthNav li {
  float:left;
  width:50%;
  text-align:center;
  text-transform:capitalize;
}
.monthNav .prev,
.monthNav .next {
  width:25%;
}
.monthNav .prev {
  text-align:left;
}
.monthNav .next {
  text-align:right;
}

.months {
  padding:6px 4px;
}

.prev{
  float:left;
  font-size:95%;
  text-align:left;
  width:25%;
}


.next {
  float:right;
  font-size:95%;
  width:14%;
}

.thisMonth {
  float:left;
  font-weight:bold;
  text-align:center;
  width:50%;
}

/*********************
## Calendar - Small ##
*********************/

.box.calendar {
  font-size:1.2em;
  margin:30px 10px;
}

.box.calendar h2 {
  font-size:126%;
  padding:0 0 15px 0;
  text-align:left;
}

.smallEvent {

}
.smallEvent .nextEvent{

}
.smallEvent .date {
margin:7px 0 0;
}


/***************************
## Calendar - Calendarian ##
***************************/


.calendarOverview {
  border-collapse:collapse;
  clear:left;
  font-size:78%;
  margin:0 0 12px;
  text-align:center;
  width:100%;
}
.calendarOverview th {
  font-weight:normal;
  padding:5px;
}
.calendarOverview td {
  background:none repeat scroll 0 0 #FEFEFE;
  border:1px solid #E0E1E2;
  padding:4px 2px;
  text-align:right;
}

.calendarOverview td.inthepast {
  background:#eeeeee;
  color:#989797;
}
.calendarOverview td.inthepast a {
  color:#989797;
}

.calendarOverview td a {
  text-decoration:underline;
}
.calendarOverview td.today {
  color:#C8D62D;
  font-weight:bold;
}

.calendarOverview td.event {
  padding:0;
}

/************************
## Calendar - Weekdays ##
************************/

.weekdays th {
  background:#C9DA22;
  color: #fff;
  border:1px solid #C9DA22;
}

/*********
## Days ##
*********/

.day a {
  color:#000000;
  display:block;
  padding:0;
}
.day a:hover,
.day.today a {
  color:#fff;
  background:#C9DA22;
  text-decoration:none;
}
.day.hidden {
  color:#eee;
  background:#eee;
}

/****************
## Events list ##
****************/

.smallCalendar {
margin:16px 0 0 15px;
}

#event {
  padding:10px;	
}

#event table td { 
  padding:0 5px 0 0;
}

.events .event {
  margin:0 0 8px;
}

ol.events {
  padding:5px 6px;
}

.events dt,
span.date{
  color:#4A4531;
  display:block;
}



span.seeMore {
  display:block;
  padding:10px;
}
.events dd {
  color:#4A4531;
  font-size:85%;
}

.events dd a {
  font-size:125%;
  font-weight:normal;
  padding:10px 0 0 0;
}

.events li {
  margin:15px 0;
}

.calendar.master .events dt {
  margin:0;
}

#navSub {

}
#navSub li{
  padding:7px 0;
}

#navSub li a {
  color:#494531;
  font-size:15px;
  padding-left:22px;
  display:block;
}

#navSub li a:hover,#navSub li a.current{
  background:url(carrevert.png) no-repeat 0 5px;
}
#navSub ul{
  padding-left:33px;
}
#navSub ul ul{
  padding-left:10px;
}
#navSub li li{
  padding:3px 0;
}
#navSub li li a{
  padding-left:0;
  font-size:13px;
}
#navSub li li a:hover,#navSub li li a.current{
  color:#B1C30C;
  background:none;
}
#navSub {

}

/* ############ */
/* LIGHTBOX CSS */
/* ############ */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 1000; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 49%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../GFX/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../GFX/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

/* ############ */
/* EOF LIGHTBOX CSS */
/* ############ */

#gallery {

}

#gallery .galleryContent {
  background:none repeat scroll 0 0 #ECF2B0;
  height:264px;
  padding-top:25px;
  width:483px;
}
#gallery .item {
 float:left;
 padding:1px;
}
#gallery .item img{

}

.paginator *{
  padding:10px
}

.paginator .prev {
  float:left;
}
.paginator .next {
  float:right;
}
.paginator .pages {
  text-align:center;
}
.paginator .pages span{
  padding:2px 5px;
}

.newsletter {
  background:#C9DA2B;
  height:116px;
  position:relative;
}
.newsletter #newuser_email {
  border:1px solid #7D7D7D;
  height:18px;
  left:13px;
  padding:2px 4px;
  position:absolute;
  top:45px;
  width:172px;
}

.newsletter .button {
left:150px;
position:absolute;
top:74px;
}

.newsletter h2 {
  color:#5F5F5F;
  font-size:17px;
  padding:10px 0 0 5px;
}

.newsletter p.response {
  font-size:90%;
  left:3px;
  position:absolute;
  top:70px;
  width:145px;
}

#bliMedlem {
  background:none repeat scroll 0 0 #FF6600;
  color:#5F5F5F;
  display:block;
  font-size:139%;
}

#bliMedlem p a {
  color:#FFFFFF;
  display:block;
  left:16px;
  position:absolute;
  top:6px;
}

#bliMedlem img {
  left:165px;
  position:absolute;
  top:3px;
}
.bliMedlemContent {
  height:34px;
  position:relative;
}