@charset "UTF-8";

/* CSS for Sorgmottagningen, by iPatch Datakonsult, mathias@ipatch.se */

* {
  margin: 0;
  border: 0 none;
  padding: 0;
}

html {
  overflow-y: scroll;         /* Centered design needs a constantly visible scrollbar to not "jump" between short and long pages */
}

body {
  color: #676767;
  background-color: #dfd8d2;
  font-family: Arial, sans-serif;
  font-size: 76%;              /* Sets the base font size for the document, 76% gives same result across different browsers, use em for all other elements */
  font-weight: normal;
  line-height: 1.2em;
}

div#wrapper {
  margin: 0 auto;
  width: 1000px;               /* Width 1000px, important for background images */
  font-size: 1em;
}

div#head {
  height: 110px;
  position: relative;
  background-image: url('../img/head-bg.png');
  background-position: bottom;
  background-repeat: no-repeat;
}

div#content {
  background-color: #ffffff;
  background-image: url('../img/main-bg.png');
  background-repeat: repeat-y;
}

div#main {                        /* Available width for content 910px */
  padding: 0 45px;
  position: relative;
  overflow: hidden;             /* Testing instead of clear div */
  width: 910px;                 /* Testing instead of clear div */
}

div#main-top {
  height: 35px;
  background-image: url('../img/main-top-bg.png');
  background-position: top;
  background-repeat: no-repeat;
}

div#main-bottom {
  height: 50px;
  background-image: url('../img/main-bottom-bg.png');
  background-position: bottom;
  background-repeat: no-repeat;
}

h1#logo {
  display: none;
}


ul#first-menu {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

ul#first-menu li {
  display: inline-block;
  padding: 10px 0 0 0;
  list-style-type: none;
}

ul#first-menu a {
  display: inline-block;
  padding: 3px 8px;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  color: #676767;
  text-decoration: none;
}

ul#first-menu a:hover {
  color: #000000;
}

ul#first-menu li.selected {
  background-color: #ffffff;
  background-image: url('../img/first-menu-selected-top-shadow.png');
  background-position: top;
  background-repeat: repeat-x;
}

ul#first-menu li.selected a {
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}

ul#first-menu li.selected a:hover {
  color: #676767;
}


ul#secondary-menu {
  margin-bottom: 35px;
}

ul#secondary-menu li {
  padding-right: 10px;
  display: inline-block;
}

div#intro {
  color: #ffffff;
  position: absolute;
  top: 50%;
  margin-top: -5.5em;
  width: 910px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
}

div#intro p {
  margin-bottom: 1em;
}

div.text-column {
  padding: 0 40px;
  width: 270px;
  float: left;
}

div.text-column a {
  color: #676767;
  text-decoration: underline;
}

div.text-column p {
  margin-bottom: 1.5em;
  overflow: hidden;
}

div.text-column p:first-child {
  margin-top: 30px;
}

div.text-column *:last-child {
  margin-bottom: 0;
}

div.text-column h2 {
  margin: 30px 0 25px 0;
  font-size: 1em;
  font-weight: bold;
}

div.text-column h3 {
  margin: 30px 0 1.2em 0;
  font-size: 1em;
  font-weight: bold;
}

div.text-column h4 {
  color: #676767;
  margin: 30px 0 1.2em 0;
  font-family: Arial, sans-serif;
  font-size: 62%;
  font-weight: normal;
}

div.wider {
  width: 350px;
}

img.portrait {
  float: left;
  margin-right: 20px;
}

div.image-column {
  float: right;
  max-width: 555px;
}

div.image-column img {
  display: block;
  max-width: 555px;
}

