﻿* {
  margin                            : 0;
  padding                           : 0;
}

html, body {
  height:100%;
/*FREDRIK HAR LAGT TILL EN RAD SOM FIXAR BAKGRUNDSBUGGEN (dock påverkas även förstasidan)
  background-image                  : url('images/bakgrunn_hemmabaker.gif');*/
}

body {
  /* background-color                  : #ffdf00;
 background-image                  : url('images/bg.gif');*/
  background-repeat                 : repeat-y;
  text-align                        : center;
  font-family                       : Verdana, Arial, Sans-Serif;
  font-size                         : .6em;

}

img {
  border                            : none;
}

hr {
  clear                             : both;
  visibility                        : hidden;
}

.bodybageri{
  background-image                  : url('images/bakgrunn_bakeri.gif');
  background-repeat                 : repeat;
}

.bodyhemmabageri {
  background-image                  : url('images/bakgrunn_hemmabaker.gif');
  background-repeat                 : repeat;
}

#frmMain
{
    min-height:100%;
}

#jastbolaget
{
    height:100%;   
}



div#jastbolaget div#portalselector select {
  float                             : right;
}


div#jastbolaget a:link,
div#jastbolaget a:active,
div#jastbolaget a:visited {
  font-weight                       : bold;
  text-decoration                   : none;
  color                             : #00f;
}

div#jastbolaget a:hover {
  color                             : #727171;
}

div#jastbolaget a.edit {
  clear                             : both;
  display                           : block;
}

div#front {
  width                             : 600px;
  margin                            : 10% auto;
  color                             : #003ec4;
  text-align                        : center;
}

div#front h1 {
  font-size                         : 1.5em;
  margin-bottom                     : .2em;
}

div#front p {
  margin-bottom                     : .5em;
}

div#front #pictures p {
  display                           : inline;
  margin-right                      : 5px;
}

div#front #pictures a.edit img {
  width                             : auto;
  height                            : auto;
}

div#front ul {
  list-style-type                   : none;
  width                             : 510px;
  margin                            : 0 auto;
}

div#front ul li {
  text-align                        : left;
  width                             : 252px;
  float                             : left;
}

div#front ul li a:link,
div#front ul li a:active,
div#front ul li a:visited {
  color                             : #003ec4;
  font-weight                       : bold;
  text-decoration                   : none;
}

#bageri {
  background-image                  : url('images/bakgrunn_bakeri.gif');
  background-repeat                 : repeat;
  height:100%;
}

#hemmabageri {
  background-image                  : url('images/bakgrunn_hemmabaker.gif');
  background-repeat                 : repeat;
  height:100%;
}

div#wrapper {
  width                             : 776px;
  margin-left         	            : auto;
  margin-right                      : auto;
  text-align                        : left;
  position:relative;
}

div#top {
  padding                           : 4px 0 4px 8px;
  position                          : relative;
  background-color                  : none;
}

div#top select {
  position                          : absolute;
  top                               : 8px;
  right                             : 0;
}

#top img {
  background-color                  : none;
  background-image                  : none;
  border:0;
  margin:0;
  
}

div#content-wrapper {
  /*background-color                  : #fff;*/
  background-image                  : url('images/content_bg.gif');
  background-repeat                 : repeat-y;
  position                          : relative;
  /*height                            : auto !important;*/
  height                            : 100%; /*100%;82em;*/
  min-height                        : 100%; /*100%;82em;*/
}

div#content {
  float                             : right;
  margin-right                      : 95px;
  /*margin-right                      : 185px;*/
  padding                           : 8px;
  color                             : #202020;
  width                             : 434px;
}

* > div#content {
  margin-right                      : 190px;
}

div#content h2 {
  color                             : #666;
  font-weight                       : normal;
  font-size                         : 1.5em;
}

div#content div.article {
  margin-bottom                     : 1em;
}

div#content div.article p {
  margin-bottom                     : 1em;
}

div.ingress {
  font-weight                       : bold;
  margin-bottom                     : 1em;
}


div#ingress {
  font-weight                       : bold;
  margin-bottom                     : 1em;
}
div#banners {
  padding                           : 3px;
  width                             : 171px;
  position                          : absolute;
  top                               : 1em;
  right                             : 7px; 
}

/* Menu */

div#menu {
  width                             : 120px;
  list-style-type                   : none;
  margin                            : 8px 0 8px 4px; /*Fredrik 8px 0 8px 4px*/
}

div#bageriMeny {
  background-color                  : #b9bdc0 !important;
}

/* Menu level 1 */

div#menu ul.keyword-menu {
  list-style-type                   : none;
}

div#menu ul.keyword-menu ul {
  list-style-type                   : none;
  display                           : none;
}

div#menu ul.keyword-menu li {
  border-bottom                     : 1px solid #fff;
}

div#menu ul.keyword-menu a {
  display                           : block;
  height                            : 2em;
  padding                           : 6px 8px;/*Fredrik 6px 8px*/
}

div#menu ul.keyword-menu a:link,
div#menu ul.keyword-menu a:active,
div#menu ul.keyword-menu a:visited {
  color                             : #000;
  background-color                  : #ffdf00;
  text-decoration                   : none;
  font-weight                       : bold;
}
div#menu ul.keyword-menu a.bageri:link,
div#menu ul.keyword-menu a.bageri:active,
div#menu ul.keyword-menu a.bageri:visited {
  color                             : #2D3F88;
  background-color                  : #b9bdc0;
  text-decoration                   : none;
  font-weight                       : bold;
}

div#menu ul.keyword-menu a:hover {
  background-color                  : #fcf09d;
}

div#menu ul.keyword-menu a.bageri:hover {
  background-color                  : #dddddd;
}
div#menu ul.keyword-menu li.selected a:link,
div#menu ul.keyword-menu li.selected a:active,
div#menu ul.keyword-menu li.selected a:visited {
  background-color                  : #fcf09d;
}
div#menu ul.keyword-menu li.selected a.bageri:link,
div#menu ul.keyword-menu li.selected a.bageri:active,
div#menu ul.keyword-menu li.selected a.bageri:visited {
  background-color                  : #dddddd;
}


/* Menu level 2 */

div#menu ul.keyword-menu li ul a,
div#menu ul.keyword-menu li.selected ul a {
  font-size                         : .9em;
  border                            : 1px solid #e0dfdf;
 height                            : 2em; 
/* height                            : auto; */
  padding                           : 6px 8px;/*Fredrik 6px 8px*/
}

div#menu ul.keyword-menu li ul a:link,
div#menu ul.keyword-menu li ul a:active,
div#menu ul.keyword-menu li ul a:visited,
div#menu ul.keyword-menu li.selected ul a:link,
div#menu ul.keyword-menu li.selected ul a:active,
div#menu ul.keyword-menu li.selected ul a:visited {
  color                             : #555555;
  background-color                  : #fff;
}
div#menu ul.keyword-menu li ul a.bageri:link,
div#menu ul.keyword-menu li ul a.bageri:active,
div#menu ul.keyword-menu li ul a.bageri:visited,
div#menu ul.keyword-menu li.selected ul a.bageri:link,
div#menu ul.keyword-menu li.selected ul a.bageri:active,
div#menu ul.keyword-menu li.selected ul a.bageri:visited {
  color                             : #B9BCBF;
  background-color                  : #fff;
}
div#menu ul.keyword-menu li ul li a:hover,
div#menu ul.keyword-menu li.selected ul li a:hover,
div#menu ul.keyword-menu li ul li.selected a:hover,
div#menu ul.keyword-menu li ul li.selected a:link,
div#menu ul.keyword-menu li ul li.selected a:active,
div#menu ul.keyword-menu li ul li.selected a:visited {
  color                             : #000;
}

div#menu ul.keyword-menu li ul li a.bageri:hover,
div#menu ul.keyword-menu li.selected ul li a.bageri:hover,
div#menu ul.keyword-menu li ul li.selected a.bageri:hover,
div#menu ul.keyword-menu li ul li.selected a.bageri:link,
div#menu ul.keyword-menu li ul li.selected a.bageri:active,
div#menu ul.keyword-menu li ul li.selected a.bageri:visited {
  color                             : #000;
}


div#menu ul.keyword-menu li.selected ul {
  display                           : block;
}

div#footer {
  clear                             : both;
  text-align                        : center;
  font-weight                       : bold;
  color                             : #00f;
}

div#footer a:link,
div#footer a:active,
div#footer a:visited {
  text-decoration                   : underline;
  font-weight                       : bold;
}

div#footer a:hover {
  color                             : #727171;
}

div#jastbolaget table th,
div#jastbolaget table td {
  font-size                         : 0.9em;
}

* > div#jastbolaget table th,
* > div#jastbolaget table td {
  font-size                         : 0.9em;
}

div#jastbolaget table th {
  text-align                        : left;
  font-weight                       : normal;
  width                             : 13em;
}

div#jastbolaget fieldset {
  padding                           : 0 10px;
  margin                            : 0 0 1em 0;
}

div#jastbolaget fieldset legend {
  color                             : #003ec4;
  font-weight                       : bold;
}
.search {text-align:center;margin-bottom:2px;}
.searchbtn {vertical-align: text-bottom; cursor: hand}

div.ingress table {
  font-weight                       : normal;
font-size= 1em;
  margin-bottom                     : 1em;
}