/*
## 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;
}

.article a, #calendarWrapper a {
  text-decoration: none;
  color: #005CA9;
}

a {
  text-decoration: none;
  color: #313335;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 75% Tahoma, Arial, Helvetica, sans-serif;
  background-color: #e3e3e3;
  color: #313335;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
  color: #313335;
}

h1 { font-size: 185%; }
h2 { font-size: 160%; }
h3 { font-size: 150%; }
h4 { font-size: 125%; }
h5 { font-size: 120%; }

/*
OLD
h1 { font-size: 200%; font-weight: bold; }
h2 { font-size: 167%; }
h3 { font-size: 150%; }
h4 { font-size: 116%; }
h5 { font-size: 116%; }
*/

img {
  display: block;
}

input {
  font-size: 100%;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 0 auto;
  width: 850px;
  background: #ededed;
}

#header {
  height: 164px;
  background: transparent url(../GFX/addiscoLogo.gif) scroll repeat-x top left;
  position: relative;
}

#searchForm {
  position: absolute;
  bottom: 15px;
  right: 6px;
  z-index: 2;
  width: 172px;
}

#searchForm label {
  font-size: 117%;
  margin-right: 8px;
}

#searchForm .query {
  width: 130px; 
  padding: 2px 0; 
  border: 0;
  margin-right: 5px;
  background-color: #e3e3e3;
}

#searchForm .button {
  padding: 0 1px;
}

#instructions {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  line-height: 150%;
}

#instructions code {
  font-size: 125%;
}

.queryString {
  margin-bottom: 10px;
}

.totalHits {
  margin-bottom: 8px;
}

#breadcrumbs {
  color: #a1a1a1;
  padding: 0 20px 10px;
}

#breadcrumbs a {
  color: #a1a1a1;
}

#breadcrumbs a.active {
  color: #444;
}

#main {
  margin: 20px 0;
}

#mainCal {
  padding: 20px 0 15px;
  background: #ededed url(../GFX/fpMainBg.gif) scroll repeat-y top left;
}

#leftColumn {
  float: left;
  width: 200px;
  margin-left: 20px;
}

#leftColumn h1.currentFolderName {
  font-weight: normal;
  margin-bottom: 8px;
}

#mainColumn {
  float: right;
  width: 590px;
  margin-right: 20px;
}

#mainColumnCal {
  margin: 0 20px 20px 20px;
}

#content {
  padding: 0;
}

#logo img {
  display: inline;
  height: 115px;
  width: 335px;
}

/* TODO: add styles for customer footer */

#footer {
  padding: 16px 20px;
  background-color: #d3d7da;
  border-top: 1px solid #b1b5b8;
  color: #313335;
}

.footerContent {
  float: left;
  width: 666px;
}


/******************
## 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 ##
*************************/

img.articleIngressPicture {
  margin-bottom: 12px;
}

#content .summary {
  border-bottom: 1px solid #e3e3e3;
}

#content .odd {
}

#content .even {
}

#content .summary {
  padding: 15px 0;
}

#content .summary.first {
  padding: 0 0 15px;
}

#content .summary h1,
#content .summary h2 {
  font-size: 185%;
  margin-bottom: 8px;
}

#content .summary h1 a:hover,
#content .summary h2 a:hover {
  text-decoration: none;
}

#content .summary img {
  display: inline;
  float: left;
}

#content .summary em {
  display: block;
  color: #ababab;
  float: right;
}

#content .summary p.text {
  margin-bottom: 5px;
}

#content .summary .summaryBox {
  width: 420px;
  float: right;
}

#content .article .text, 
#content .summary .text,
.fpWhite p.text  {
  color: #313335;
  font-size: 125%;
}

.readmore {
  font-size: 115%;
  color: #004c8c;
}

/* TODO: get latest css from standardmaler.no, and add style to own stylesheet */
/*************************
## OBJECT COMMENTS VIEW ##
*************************/
#comments {
   margin: 15px 0 0;
   padding: 15px 0;
   border-top: 1px solid #E3E3E3;
}

#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: 5px 0;
}

form#commentForm fieldset {
  padding: 0;
}

#commentForm input.block {
  width: 40%;
}

/*****************
## IDIUM FOOTER ##
*****************/

.idium {
  width: 130px;
  float: right;
}

.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 */


/*****************
## COMMENTS ##
*****************/

#commentForm #comment, #commentForm #signature {
  padding: 2px;
  border-width: 1px;
  border-style: solid;
  border-color: #ccc #fff #fff #ccc;
}

#content #commentForm #comment {
  width: 100%;
}

#content #commentForm .button.submit {
  padding: 0 2px 1px;
}


/*****************
## FRONTPAGE ##
*****************/

#mainFp {
  background: #ededed url(../GFX/fpMainBg.gif) scroll repeat-y top left;
  padding: 20px 0 15px;
}

.fpTop {
  position: relative;
}

ul.fpLinks {
  padding-top: 20px;
  float: left;
  list-style-type: none;
}

ul.fpLinks li a {
  display: block;
  padding: 6px 12px;
  background-image: url(../GFX/transWhite80.png);
  margin-bottom: 15px;
  font-size: 150%;
}

.fpWhite {
  width: 290px;
  padding: 10px 20px 25px;
  float: right;
  background-image: url(../GFX/transWhite80.png);
  cursor: default;
}

.fpWhite h1, .fpWhite p.text {
  margin-bottom: 10px;
  line-height: 140%;
}

#mainColumnFp {
  float: left;
  margin-left: 20px;
  width: 305px;
}

#rightColumn {
  float: right;
  margin-right: 20px;
  width: 175px;
}

#leftColumnFp {
  float: left;
  width: 270px;
  margin: 0 20px;
}

.fpArticle {
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.fpArticle img {
  margin-bottom: 13px;
}

.fpArticle h2 {
  margin-bottom: 10px;
}

.fpArticle h2.small a, .fpArticle h2.small {
  margin: 0 5px 0 0;
  display: inline;
}

.fpArticle h2 a {
  color: #000;
}

.fpArticle h2 a:hover {
  text-decoration: none;
}

.fpArticle p.text {
  font-size: 120%;
  color: #313335;
  line-height: 145%;
  margin-bottom: 8px;
}

.fpSum {
  float: left;
  width: 125px;
  /*margin: 0 20px 20px 0;*/
  margin-right: 20px;
  padding-bottom: 20px;
/*background: transparent url(../GFX/quote.gif) scroll no-repeat right 80px;*/
}

.fpSum p.text {
  line-height: 130%;
}

.fpSum a {
  color: #005ca9;
  margin-bottom: 5px;
  display: block;
  background: transparent url(../GFX/quote.gif) scroll no-repeat right top;
  padding-right: 20px;
}

.fpSum .fpPhoto a {background: none; padding-right: 20px}

.fpPhoto {
/*height: 75px;*/
  width: 125px;
  overflow: hidden;
  margin-bottom: 5px;
}

.fpMore a{
  background: url(../GFX/fpMore.gif);
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
  display: block;
}

#newsletter {
  background: transparent url(../GFX/newsletterBg.gif) scroll repeat-x top left;
  border-top: 1px solid #e1e1e1;
  padding: 8px 15px 15px;
}

#newsletterForm {
  margin-top: 10px;
}

#newsletterForm #newuser_email {
  width: 234px;
  padding: 2px;
  display: block;
  border-width: 1px;
  border-style: solid;
  border-color: #ccc #fff #fff #ccc;
}

#newsletterForm .button {
  float: right;
  margin-top: 10px;
  padding: 0 2px 1px;
}

#newsletter h2, #question h3 {
}

div.result {
  background-color: #005ca9;
}

#ajaxpoll {
}

#ajaxpollInside {
  background: transparent url(../GFX/questionBg.gif) scroll repeat-x top left;
  padding: 5px 10px 10px;
}

#ajaxpoll .poll {
  padding-top: 5px;
}

.question p, .question .votes {
  padding-top: 10px;
}

div.alternative {
  padding: 6px 0 4px;
  border-bottom: 1px solid #ccc;
}

div.alternative input {
  float: right;
}

#todaysQuestion .button {
  padding: 0 1px 1px 1px;
  margin-top: 12px;
  float: right;
}

#calendarFP {
  margin: 15px 0 0 2px;
}

/*****************
## CALENDAR ##
*****************/

/* CALENDAR */
#calendarWrapper {
}

#mainCal #mainColumn {width: 500px;}
#mainCal #mainColumn #breadcrumbs {padding-left: 0;}

#calendarContainer {
  width: 173px;
}

#calendarWrapper .events, #calendarWrapper #event {
  margin: 15px 0 0;
  padding: 15px 0;
  border-top: 1px solid #E3E3E3;
}

#event h4 {
  font-size: 150%;
}

.events span.date {
  font-weight: bold;
  font-size: 120%;
  display: block;
  margin-bottom: 5px;
}

.events dl {margin-bottom: 12px;}

.months {
  background:#fff;
  text-align:center;
  padding:10px;
  color:#9e1e7b;
}
.months a{
  color:#9e1e7b;
}
.months .prev {
  width:25%;
  float:left;
}
.months .next {
  width:25%;
  float:left;
}
.months .thisMonth{
  text-transform:uppercase;
  font-size:116%;
}
#rightColumn .thisMonth {
  text-transform:uppercase;
  font-size:116%;
  width:80%;
  text-align:center;
  float:left;
}
#monthNav {
  text-align:center;
}
.prevMonthSmall {
  width:10%;
  float:left;
  text-align: center;
  margin-bottom: 5px;
}
.nextMonthSmall {
  width:10%;
  float:right;
  text-align: center;
}
.calendarOverview {
  width: 100%;
  border-collapse: collapse;
}
.calendarOverview th.thisMonth {
  font-size:133%;
}
.calendarOverview td {
  border: 1px solid #d7d9d8;
  text-align: center;
}

.thisMonth {
  float: left;
  width: 80%;
  text-align: center;
  font-size: 120%;
}

#content .calendarOverview td {
  line-height: 2.8em;
  font-size: 129%;
  border: 1px solid #d7d9d8;
}

#smallCalendar,
#content .calendarOverview {
}
#smallCalendar {
}

#calendarRSS h2 {
  color: #9e1e7b;
  font-weight: bold;
}

.smallEvent {
  padding:10px;
}
.smallEvent p{
  letter-spacing:-0.01em;
  font-size:100%;
  line-height:100%;
}
.smallEvent h3 {
  font-size:113%;
  padding-bottom:5px;
}
.smallEvent a{
  color:#000;
}

.smallEvent span.date{
  width:28px;
  height:40px;
  padding:5px;
  color:#fff;
  font-size:24px;
  line-height:22px;
  display:block;
  text-align:center;
  color:#e3faff;
  float:left;
  margin-right:15px;
  margin-bottom:2px;
}
.smallEvent span.date span{
  display:block;
  font-size:13px;
  padding:0px;
}

.calendarOverview {
  font-size: 86%;
}

.calendarOverview td {
  line-height: 2.1em;
}

.calendarOverview td.today {
  background-color: #c1c3c8;
  color:#fff;
}

.calendarOverview td.active {
  background:#dc9509;
}

body .calendarOverview td.hidden {
  background:#eee;
  border:1px solid #d7d9d8;
}
.calendarOverview td.today a {
  color:#fff;
}
.calendarOverview td.hidden {
  color: #e3faff;
}

.calendarOverview .weekNum {
  width: 2em;
  background-color: #e6e6e6;
  color: #454133;
}

.weekdays th {
  padding: 5px 0;
  background-color: #F8A707;
  border: 1px solid #de9401;
  color: #fff;
  text-transform: lowercase;
}

.months th {
  padding: 5px 0;
  font-size: 86%;
  text-transform: uppercase;
  background:#fff;
}

.event {
  background-color:#fff;
  color:#000;
}

.event a {
  color:#000;
}
  
td.day a {
  display:block;
}

td.day {
  color: #989797;
}

.event a:hoover {
  color:#fff;
  text-decoration:none;
}
.eventDescription {
 font-size:120%;
 padding-bottom:5px;
}
#event {
  padding: 10px 0;
}

#event #eventAttributes {
  margin-bottom: 12px;
}

#event #eventAttributes .variable {
  width: 100px;
  font-weight: bold;
}

#events {
  float: left;
  width: 173px;
  margin: 8px 0;
}

#events h4 {
  font-weight: bold;
  color: #9e1e7b;
  padding-bottom: 15px;
}

#events span,
#rss span {
  color: #9e9b8c;
  display: block;
}

#rss a.rssLink {
  float: right;
  width: 190px;
  text-align: right;
  padding-top: 10px;
}

#events dd {
  font-weight: normal;
  padding: 0;
}


#content .dateSelect {
  width: 60px;
  display: inline;
  margin-right: 5px;
}

.slash {
  float: left;
  padding: 0 5px;
  font-size: 20px;
}

#stopDate, #startDate {
  clear: both;
  width: 100%;
}

form .submit {
  clear: both;
}

label {
  clear: both;
  display: block;
}

#eventAttributes {
  width: 100%;
}

.thisMonth a {
  font-size: 80%;
}

#events dl {
  background-color: #fff;
  padding: 5px;
}

#events dl.gra {
  background-color: #f5f5f5;
}

#events dt {
  float: left;
  padding-right: 5px;
  font-weight: bold;
}

.events dt {
  font-weight: bold;
  font-size: 120%;
  display: block;
  margin-bottom: 5px;
}

#frontpageCalendar .extraMonth {
  display: none;
}