/*
## 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: #da3c25;
}
#content a {
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
html {
  /*background: #6c9cbd url(../GFX/html_body_bg.png) top left repeat;*/
  background:#CCCCCC;
}
body {
  font: 75% Georgia, Verdana, Arial, Helvetica, sans-serif;
  background: url(../GFX/body_bg_shadow.png) top center repeat-y;
}

h1, h2, h3, h4, h5 {
  font-size: 100%;
  font-weight: normal;
}
h1 a, h2 a, h3 a, h4 a, h5 a{
  text-decoration:none;
}

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: 0px solid #fff;
  background: #fff;
}
#logo{
  display:block;
  padding:15px;
}
#header {
  height: 109px;
}
#instructions {
  padding:10px;
}
#searchForm {
  padding: 10px 0 0 10px;
}
#searchForm {
  position:relative;
}

#searchForm label {
  font-size: 117%;
  margin-right: 8px;
}
 #searchForm label {
  position:absolute;
  top:15px;
  left:20px;
}

#searchForm .query {
  width: 100px;
  padding:3px;
  margin-right:5px;
}

#breadcrumbs {
  width: 920px;
  color: #1a1a1a;
  /*background:#e36d5c;*/
  background:#FFF273;
  padding:10px 20px 10px 20px;
  border:1px solid #fff;
  border-left:0px;
  border-right:0px;
}

#breadcrumbs a {
  color: #1a1a1a;
}

#breadcrumbs a.active {
  color: #444;
}

#main {}

#leftColumn {
  float: left;
  width: 180px;
}

#mainColumn {
  float: left;
  width: 579px;
  margin: 10px 0px;
  border-right:1px dashed #cecece;
}
#rightColumn {
  float:left;
  width:180px;
  padding:0 10px;
}
#content {
  padding: 0px 10px 0 15px;
}

/* 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 .summary,
#content .article {
  width:100%;
  border-bottom: 1px solid #f0f0f0;
}

#content .newsArchive {
  margin-right: 10px;
  border-bottom: none;
}

#content .odd {

}

#content .even {

}

#content .newsArchive .even {
  background-color: #f0f0f0;
}

#content .summary,
#content .article {
  padding: 10px 0;
}

#content .newsArchive .summary {
  padding: 5px;
}

#content .summary h1,
#content .summary h2 {
  font-size: 200%;
}

#content .newsArchive h1,
#content .newsArchive h2 {
  margin-bottom: 5px;
  font-size: 100%;
  font-weight: bold;
}

#content .summary h1 a,
#content .summary h2 a{
  color:#1a1a1a;
  text-decoration:none;
}

#content .article .text {
  font-size: 125%;
}

#content .first img {
  float:none;
  margin-right:0px;
  margin-bottom:10px;
}

.summary img {
  float:left;
  margin-right:15px;
}

#content .newsArchive .summary a.readmore {
  margin-left: 10px;
}

/* 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%;
}
/* Footer */
#footer {
  border-top:1px dashed #5d5d5d;
  text-align:center;
  padding:10px 20px;
  margin:0px 20px;
}
/*****************
## IDIUM FOOTER ##
*****************/

.idium {
  margin: 10px auto 0px auto;
  width: 175px;
  padding-bottom:10px;
}

.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;
}

/* CALENDAR */
#calendarWrapper {
  padding:20px 0;
}

.months {
  background:#68add7;
  text-align:center;
  padding:10px;
  color:#1a1a1a;
}
.months a{
  color:#1a1a1a;
}
.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 {
  padding:10px 5px;
  text-align:center;
}
.prevMonthSmall {
  width:10%;
  float:left;
}
.nextMonthSmall {
  width:10%;
  float:right;
}
.calendarOverview {
  width: 100%;
  border-collapse: collapse;
}
.calendarOverview th.thisMonth {
  font-size:133%;
}
.calendarOverview td {
  border: 1px solid #ccc;
  text-align: center;
}

#content .calendarOverview td {
  line-height: 3em;
  font-size: 129%;
}

#rightColumn #smallCalendar,
#content .calendarOverview {
  margin-bottom: 12px;
}
#rightColumn #smallCalendar {
  padding-bottom:10px;
}
#rightColumn .smallEvent {
  padding:10px;
}
#rightColumn .smallEvent p{
  letter-spacing:-0.01em;
  font-size:100%;
  line-height:100%;
}
#rightColumn .smallEvent h3 {
  font-size:113%;
  padding-bottom:5px;
}
#rightColumn .smallEvent a{
  color:#000;
}

#rightColumn .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;
}
#rightColumn .smallEvent span.date span{
  display:block;
  font-size:13px;
  padding:0px;
}

#rightColumn .calendarOverview {
  font-size: 86%;
}

#rightColumn .calendarOverview td {
  line-height: 2.1em;
}

.calendarOverview td.today, 
.calendarOverview td.day a:hover  {
  background-color: #da3c25;
  color:#fff;
}
.calendarOverview td.active {
  background:#68ADD7;
  border:2px solid #6c9cbd;
}
body .calendarOverview td.hidden {
  background:#fff;
  /*border:1px solid #BDE4ED;*/
  border:1px solid #ccc;
}
.calendarOverview td.today a {
  color:#fff;
}
.calendarOverview td.hidden {
  color: #e3faff;
}

.calendarOverview .weekNum {
  width: 2em;
  background-color: #FFE800;
  color: #1a1a1a;
  border: 1px solid #ccc;
}

.weekdays th {
  padding: 5px 0;
  /*background-color: #68add7;*/
  background:#FFE800;
  /*border: 1px solid #84bcde;*/
  border: 1px solid #ccc;
  color: #1a1a1a;
  text-transform: uppercase;
}

.months th {
  padding: 5px 0;
  font-size: 86%;
  text-transform: uppercase;
  /*background:#84bcde;*/
  background:#FFF273;
}
.event {
  background-color:#E36D5C;
  color:#fff;
}
.event a {
  color:#fff;
  text-decoration:underline;
}
td.day a {
  display:block;
}
.event a:hoover {
  color:#222;
  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 dd {
  padding: 5px 0;
  margin-bottom: 5px;
  font-size: 114%;
  border-bottom: 1px solid #ccc;
}
/*************
## 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 */

/*
## menu.css - Contains style for menu
*/

/* common style for <ul> elements */
.nav,
.nav ul {
  list-style-type: none;
  padding: 0;
}

/* Top menu style */
#navMain {
  background:transparent url(../GFX/elogit_10.gif) top left repeat;
  padding-left:10px;
}
#navMain li {
  float: left;
}

#navMain li a {
  display: block;
  padding: 10px;
  color: #000;
  text-transform:uppercase;
  font-size:108%;
}

#navMain li a:hover {
  color: #fff;
}
#navMain li.current a{
  background:#b66153 url(../GFX/navMain_current.png) top left repeat;
}

/*TODO: refactor code, get rid of inline-block element */
/*Sub menu style */
#navSub {
  /*background:#68add7;*/
  background:#FFE800;
}
#navSub a {
  font-size: 108%;
  color: #000;
  padding:10px 0px;
  margin-left: 20px;
  display: block;
  display: inline-block;
}

#navSub a.current {
  color: #000;
}
#navSub li.current {
  background-color:#FFF273;
}
#navSub ul {
  padding-left: 10px;
}

#navSub ul a {
  font-weight: normal;
  margin-left: 0;
}

#navSub ul li a {
  padding-left: 10px;
}

/* OTHER */
#leftColumn .article {
  padding:10px;
}
#rightColumn .article {
  padding: 10px 0px;
}
.labour {
  margin-bottom:10px;
}
.labour li, .labour ul{
  list-style-type:none;
  padding:0px;
  margin:0px;
}
.labour li {
  padding:3px 0px;
}
.rssNav {
  padding:3px;
  border:2px solid #e62913;
  border-top:0px;
  margin-bottom:10px;
}
.rssNav li h4{
  font-weight:bold;
}
.rssNav li{
  margin-bottom:5px;
}
.rssNav li .text{
  font-size:90%;
}
#rssLabour {
  border-color:#ccc;
}
.labourImage {
  border:2px solid #ccc;
  border-bottom:0px;
}
