/* 
    Document   : default.css
    Created on : Mar 31, 2008, 2:41:25 PM
    Author     : Lars O. Overskeid <lo@skalar.no>
*/

* {
    margin-top: 0px;
    padding-top: 0px;
}

table {
    border-collapse: collapse;
}

table, table tr, table td, table th {
    border-color: #ddd;
}

table th { text-align: left; }
table.no-borders td, table.no-borders th {
    border-style: none;
}
html {
    margin: 0;
    background: #3b5a6f;
}

body {
    height: 100%;
    color: #515151;
}

a {
    color: #273C49;
}

h1 {
    font-size: 27px; 
    font-weight: normal;
    margin: 0 0 10px 0;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    
}
a.has_icon {
    padding: 6px 0;
    text-decoration: none;
    
}

a.has_icon img {
    padding-right: 4px;    
    vertical-align: text-bottom;
}

#doc4 {
    background: #fff;
}

/* HEADER */
#hd {
    background: url('/images/layout/header_bg.jpg') no-repeat right top;
    height: 140px;
    position: relative;
}

#hd #ads {
  position: absolute;
  left: 400px;
  width: 130px;
  top: 40px;
  height: 60px;
}

#hd #ads a {
	display: none;
}

#menu_container {
  background: url('/images/layout/menu_bg.jpg') no-repeat right top;
}

#stickies_container {
    padding: 0 20px;
    /*float: left;*/
    width: 90%;
}

/* BODY */
#bd {
    min-height: 400px;
    _height: 400px;
}

/* FOOTER */
#ft {
    padding: 12px;
    font-size: 0.8em;
    line-height: 1.2em;
    color: #ddd;
    background: #3b5a6f;
    text-align: center;
    text-transform: uppercase;
}

#ft a, #ft a:hover, #ft a:visited {
    color: #ddd
}

.default_padding {
    padding: 20px;
}

/* MENU */

ul#menu { 
        width: 100%; height: 43px; background: url("/images/menu/menu-bg.gif") top left repeat-x; 
        float: left; margin: 0;
        font-size: 0.95em;
        list-style-type: none; padding: 0; }
ul#menu li { display: block; float: left; margin: 0 0 0 3px; }
ul#menu li a { height: 38px; color:#555; text-decoration: none; display: block; float: left; line-height: 200%; padding: 8px 7px 0; margin: 0;}
ul#menu li a:hover { color: #222;}
ul#menu li a.current{ color: #FFF; background: #FFF url("/images/menu/current-bg.gif") top left repeat-x; padding: 5px 15px 0; }
	

/* PRODUCT STUFF */

div.product a.main_image {
    float: left;
    margin: 0 10px 10px 0;
}

div.product div.attachments {
    float: right;
    margin: 0 10px 10px 10px;
    background-color: #eee;
    max-width: 240px;
    min-width: 150px;
}

div.product div.attachments_horizontal {
    
}
div.product div.attachments_horizontal a {
    text-decoration: none;
}

div.product div.attachments a {
    clear: left;
    float: left;
    margin: 10px;
    width: 100%;
    text-decoration: none;
}
div.product div.attachments a img {
    padding-right: 7px;    
    vertical-align: text-bottom;
}

/* CALENDAR STUFF */
table.month_calendar {
    float: left;
    margin-right: 20px;
    margin-bottom: 30px;
    width: 290px;
    border-collapse: separate;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #231f20;
}

table.month_calendar caption {
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 30px;
}

table.month_calendar td {
    border:none;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    padding: 2px;
    padding-left: 6px;
}

table.month_calendar tr {
    border: none;
    line-height: 1.2em;
}

table.month_calendar tr.week_seperator td {
    border-top: 1px solid #231f20;
}

table.month_calendar tr.weekend td {
    background: #dbe7ec;
}

table.month_calendar span.event {
    margin-right: 4px;
}

.event_category_box{
    padding: 0 5px 0 5px;
    margin-left: 0;
    margin-right: 1px;
    margin-top: 2px;
}

table.month_calendar span.weekno {
    font-size:0.7em;
}

table.month_calendar td.day {
    font-size:0.9em;
    text-align: center;
    color: #777;
    width: 35px;
    padding-left: 2px;
}

table.month_calendar span a {text-decoration: none;}
table.month_calendar span a:hover {text-decoration: underline;}

div#calendar_nav a {
    text-decoration: none;
}

div#calendar_nav span {
    vertical-align:bottom;
    padding: 2px 10px 2px 10px;
    line-height: 2.3em;
}

div#calendar_nav {
    margin: 20px 0 20px 270px;
}

div#event_categories_list {
    margin: 0 auto 70px auto;
    width: 700px;
}

div#event_categories_list h4{
    margin-bottom: 5px;
}

div#event_categories_list .event_category_box{
    margin-left: 4px;
    margin-right: 4px;
}

div#event_categories_list .event_category{
    width: 140px;
    float:left;
}

#eventviewer {
    width: 700px;
    height: 400px;
    background-color: white;
    border: 2px solid #777;
    padding: 15px 10px 10px 10px;
    text-align: left;
}

/* News article  */

.news_article_preview {
float: left;
width: 290px;
padding: 10px;
height: 90px;
overflow: hidden;
}

.news_article_preview a, .news_article a {
  color: #515151;
  text-decoration: none;
}

.news_article_preview a:hover {
  color: black;
}

.news_article a.image:hover {
  background-color: #cfcfcf;
}


.news_article_preview a.image {
    float: left;
    margin: 0 10px 10px 0;
    width: 74px;
    text-align: right;
}
.news_article_preview a.image img {
    border: 5px solid #eee;

}
.news_article a.image {
    float: left;
    padding: 5px;
    background-color: #eee;    
}

.news_article a.embedded { margin: 0 10px 10px 0; }
.news_article .images { margin: 10px 0; }
.news_article .images a { margin-right: 10px; }
.news_article .attachments { margin: 10px 0 0 0; }
.news_article .attachments a { padding: 5px; }
.news_article .attachments a:hover { background-color: #eee; }


.member_site_page a.image {
    float: left;
    padding: 5px;
    background-color: #eee;    
}

.member_site_page a.embedded { margin: 0 10px 10px 0; }
.member_site_page .images { margin: 10px 0; }
.member_site_page .images a { margin-right: 10px; }
.member_site_page .attachments { margin: 10px 0 0 0; }
.member_site_page .attachments a { padding: 5px; }
.member_site_page .attachments a:hover { background-color: #eee; }

.news_article_preview a.title {
    font-weight: bold;
    font-size: 14px;
}

.news_article_preview p.timestamp {
    font-size: 11px;
    color: #666;
    padding: 4px 0;
    margin: 0;
}




#breadcrumbs_container {
    width: 100%;
    margin: 0;
}
#breadcrumbs {
	overflow:hidden;
	height:32px;
	line-height:32px;
	color:#666;
        border: 1px solid #bbb;
        border-right: none;
        border-left: none;
        background:url(/images/bg-stripe-4.png);
        display: block;
        padding: 0 10px;
}
#breadcrumbs a, #breadcrumbs em, #breadcrumbs span, #breadcrumbs h1 {
	float:left;
	overflow:hidden;
	height:32px;
	padding:0 10px;
	font-style:normal;
}
#breadcrumbs a {
    font-size: 12px;
    text-decoration: none;
    color:#666;
}

#breadcrumbs a:hover {
    color: #8E001C;
}

#breadcrumbs h1 { font-size: 14px; }
#breadcrumbs em { font-weight: bold; }
#breadcrumbs span {
	background:url('/images/bg-breadcrumb.png') no-repeat left center;
	overflow: hidden;
	padding:0 0 0 10px;
	width:0px;

	filter:alpha(opacity=40);
	opacity:0.4;
}


div.product_preview {
    margin: 5px 0;
    float: left;
}

div.product_preview a {
    text-decoration: none;
}

div.product_preview div.image {
    float: left;
    border: 1px solid #bbb;
    background: white;
    height: 128px;
    overflow: hidden;
    margin-right: 5px;
    padding: 5px;
    width: 128px;
    position: relative;
}

div.product_preview div.public_toggle {
    background-color: #f1f1f1; 
    padding: 5px; 
    bottom: 5px; 
    right: 5px;
    position: absolute; 
    width: 118px; 
    text-align: center;
}

div.product_preview div.content {
    float: left;
    width: 198px;
    background: #f1f1f1;
    position: relative;
    border-left: none;
    height: 140px;
}

    
div.product_preview div.content a.name {
    text-align: right;
    font-size: 14px;
    padding: 5px 10px;
    border-bottom: 5px solid white;
    display: block;
    background: #ddd;
    color: #444;
    min-height: 36px;
}

div.product_preview div.content a.price {
    text-align: right;
    font-size: 18px;
    padding: 10px;
    color: #333;
    display: block;
}

div.product_preview div.content p.owner {
    text-align: right;
    font-size: 12px;
    padding: 10px;
    color: #aaa;
    display: block;
}



/* product category colors */

.product_categories a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    display: block;
}


.product_categories a.pc_even { background: #dfdfdf; }
.product_categories a.pc_odd { background: #e4e4e4; }
.product_categories a.pc_active { 
    background: #7C96A1; 
    color: white; 
}

.product_categories a:hover {
    background-color: #8E001C;
    color: white;
}

.product_categories a.sub_category {
    padding: 5px 10px 5px 40px;
    background: #eee;
    font-size: 13px;
    color: #777;
}


.product_categories a.sub_category:hover {
    color: #333;
}


.rorkjop_pagination {
  text-align: center;
  padding: .3em; }
  .rorkjop_pagination a, .rorkjop_pagination span {
    padding: .2em .5em; }
  .rorkjop_pagination span.disabled {
    color: #AAA; }
  .rorkjop_pagination span.current {
    font-weight: bold;
    color: white; 
    background: #8E001C;
    border: 1px solid #8E001C;
      }
  .rorkjop_pagination a {
    border: 1px solid #DDDDDD;
    color: #7C96A1;
    text-decoration: none; }
    .rorkjop_pagination a:hover, .rorkjop_pagination a:focus {
      border-color: #7C96A1;
      background: #7C96A1;
      color: white; }
  .rorkjop_pagination .page_info {
    color: #aaa;
    padding-top: .8em; }
  .rorkjop_pagination .prev_page, .rorkjop_pagination .next_page {
    border-width: 0px; padding: .3em .6em; }   
  .rorkjop_pagination .prev_page {
    margin-right: 1em; }
  .rorkjop_pagination .next_page {
    margin-left: 1em; }

    
/* COMPANIES */
div.company_category {
    width: 210px;
    float: left;
    margin-bottom: 20px;
}

div.company_category ul {
    width: 420px;
}

div.company_category li {
    /*float:left;*/
    width:210px;
    list-style:circle;
}

div.company_category a {
    text-decoration: none;
}

div.company_category span {
    font-weight:bold;
}

div.reseller {
    width: 410px;
    float: left;
    padding: 20px;
}

/* Resource Categories - Fagtorget */

div.resources_column {
    width: 345px;
    float: left;
}

ul.resources_list a {
    text-decoration: none;
}

ul.resources_list a img {
    margin-right: 5px;
    vertical-align: text-bottom;
}

ul.resources_list li {
    margin-bottom: 10px;
    line-height: 1.1em;
    list-style: none;
}
ul.resources_list li div {
    padding-left: 48px;
    font-size: 85%;
    color: #777;
}

ul.resource_list_member li div {
    padding-left: 21px;
}

div#resource_list_container {
    float:left;
    width:690px;
}

div#resource_panel.resource_panel_member {
    float: left;
    width: 180px;
    border-right: 1px solid #ccc;
    margin: 0 40px 50px 0;
    min-height: 200px;
    padding: 0 0 30px 0;

}

div#resource_panel a {
    text-decoration: none;
}

div#resource_panel a img {
    vertical-align: text-bottom;
    margin-right: 5px;
}

ul#resource_categories li {
    list-style: none;
    margin-bottom: 5px;
}

ul#resource_categories li img {
    margin-right: 0;
}

ul#resource_categories {
    margin: 0 0 0 5px;
    padding: 0;
}

h2 a {
    padding: 5px;
}
h2 a:hover {
    border: 1px solid #eee;
    padding: 4px;
}
h2 a img {
    vertical-align: middle;
}

.break {
    clear: both;
}

#polls {
    background-color: #eee;
    padding: 15px;
    margin-bottom: 20px;
}

#polls p {
    font-size: 0.9em;
    margin-bottom: 5px;
}

#poll {
    background-color: #eee; 
    padding: 15px; 
    margin-bottom: 20px;
}

#poll .icon, #polls .icon {
    float: left; width: 17%; height: 100%;
}

#poll .content, #polls .content {
    float: left; width: 83%;
}

#poll_chart .graph {
    float: left; width: 50%;
}

#poll_chart .legend {
    padding-top: 30px;
    float: left; width: 50%;
}

label {
width: 15em;
float: left;
text-align: left;
margin-right: 0.5em;
display: block;
}

form.clear_p p {
  clear; both
}

#membership p {
    float:left;
    width:250px;
}

#thelist, #thelist li {
  list-style: none;
  margin: 0;
  padding: 2px 0;
}
img.handle {
  margin: auto 0;
  width: 16px;
  height: 16px;
  float: left;
  cursor: move;
}

.editor {
border: 1px inset #000;
width: 60%;
}

.editor iframe, .editor textarea {
width: 100%;
border: none;
height: 10em;
}

.editor ul {
overflow: hidden;
margin: 0;
padding: 0.15em;
background: #ddd;
}

.editor ul li {
float: left;
list-style:none;
}

.editor ul li a {
display: block;
padding: 0 0.25em;
color: #000;
text-decoration: none;
border: 1px solid #ddd;
outline: none;
}

.editor ul li a:hover, .editor ul li a:focus {
border-style: outset;
}

.editor ul li a:active, .editor ul li.active a {
border-style: inset;
}

.editor ul li.active a {
background-color: #bbb;
}

.editor ul li.strong a {
font-weight: bold;
}

.editor ul li.em a {
font-style: italic;
}

.editor ul li.ins a {
text-decoration: underline;
}

.editor ul li.del a {
text-decoration: line-through;
}

.editor ul li.link a {
text-decoration: underline;
color: #00f;
}

.editor ul li.unlink a {
text-decoration: underline;
color: #f00;
}

.direct_button {
  width: 200px;
  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  float:left;
  margin: 9px;
  line-height: 32px;
  height: 52px;
  background-color:#dff4ff;
}

.direct_button.inactive {
  background-color:#f5f5f5;
  line-height: 16px;
}

.direct_button span {
  display: block;
  width: 180px;
  padding: 10px;
	font-size: 0.9em;
	letter-spacing: 0px;
}

.direct_button:hover {
  background-color: #daf0fa;
}

.direct_button.inactive:hover {
  background-color: #f0f0f0;
}

.direct_button span.with_icon {
  float:right;
  width: 140px;
}

.direct_button span.with_logo {
  text-align:center;
  width: 200px;
  padding: 0;
}

.direct_button span.with_logo img{
  margin: 0 auto;
  float:none;
}

.direct_button img {
  margin: 10px 0 0 8px;
  float:left;
}

.direct_button.inactive span{
  display:block;
  float: right;
  width:140px;
  padding: 3px 0 1px 0;
  margin: 2px 0 2px 0;
}

.direct_button.inactive span.name{
  font-size: 110%;
  font-weight: bold;
}

.direct_button.inactive span.release_date{
  color: #f00;
}

.direct_button a {
  display:block;
  cursor: pointer;
  text-decoration: none;
}

#multisearch {

}

#multisearch .option {
  float: left;
  width: 90px;
  margin-left: 10px;
  padding: 2px 0;
}

#multisearch .option label {
  float: none; 
  display: inline; 
}

#calendar_feed {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee
}

#calendar_feed ul, #calendar_feed li {
  margin:0;
  padding:0;
}

#calendar_feed li {
  list-style: none;
  margin-left: 5px;
  margin-bottom: 6px;
  line-height: 13px;
}

.clear {
  clear: both;
}

#sortables li, #sortables ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sortables .chapter ul {
  min-height: 30px;
  padding: 5px 0 5px 0;
}

#sortables li.page {
  margin: 5px 0 5px 0;
}

#sortables .chapter span {
  font-weight: bold;
}

#sortables .chapter span:hover {
  color: #f00;
  cursor:move;
}

#sortables li.page:hover {
  color: #f00;
  cursor: move;
}

#sortables .chapter ul li.page {
  margin: 0 0 0 15px;
  padding: 2px 0 2px 0;
}

table.job_requests td {
  vertical-align: top;
}

#frontpage-left .product_catalog_link a {
  margin-top: 20px;
  padding: 19px 15px 19px 60px;
  border: 1px solid #ddd;
  background: #eee url(/images/katalog_forside_liten.jpg) no-repeat 5px 5px;
  display:block;
  font-size: 16px;
  margin-left: 200px;
}


.company_image {
  border: 1px solid #ddd;
  width: 64px;
  float: left;
  margin: 7px;
  height: 52px;
}

.news_article_image {
  border: 1px solid #ddd;
  width: 64px;
  float: left;
  margin: 2px;
}

#new_newsletter textarea {
	width: 400px;
	height: 180px;
}

#newsletter_description, #newsletters, #new_newsletter {
	float: left;
	width: 50%;
}

#newsletter_controls {
	float: right;
	width: 40%;
	padding-top: 20px;
}

#newsletter_controls span a {
	padding: 5px;
	display:block;
	background-color: #eee;
	width: 150px;
	text-decoration: none;
	border: 1px solid #fff;
}

#newsletter_controls span a:hover {
	background-color: #c0ffc0;
	border: 1px solid #bbb;
}

#newsletter_controls span{
	display:block;
	margin-bottom: 10px;
}

#newsletter_dialog {
	display: none;
}

#new_newsletter_element ul li{
	list-style: none;
}


.pagination {
  margin: 20px 0;
}


strong.highlight {
  font-weight: normal;
  background-color: yellow;
}

div.product_review_collection.aggregated {
  padding: 10px;
  border: 1px solid #bbb;
  background-color: #f5f5f5;
}

  div.product_review_collection.aggregated div.head_of_review > div {
    float: left;
    width: 32%
  }
  
  div.product_review_collection.aggregated div.rating p {
    height: 1em;
  }


  div.product_review_collection.aggregated span.author {
    font-style: italic;
  }

form#search_for_reviewer {
  margin: 20px 0
}




div#errorExplanation {
  padding: 10px;
  border: 2px solid darkred;
}

  div#errorExplanation h2 {
    color: darkred;
  }

  div.fieldWithErrors label {
    color: darkred;
  }
