/* DEFAULTS
   ----------------------------------------------------------*/

body
{
  font-family: Verdana, "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 0.80em;
  margin: 0px;
  padding: 0px;
}

input, select, textarea
{
  font-family: Verdana, "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.0em;
}

a, .senaste a
{
  text-decoration: underline;
}

a img
{
  border: 1px solid black;
}

a:hover, a:focus, .senaste a:hover, .senaste a:focus
{
  text-decoration: underline;
}

a:not([href*="\/\/"])
{
  /* CSS for internal links */
}

a[href*="\/\/"]:after
{
  /* CSS for external links */
  content: url(/resources/images/icon-external-link.png);
  padding-left: 2px;
}

p
{
  margin-bottom: 10px;
  /*line-height: 1.6em;*/
}

th, td
{
  font-size: 1.0em;
  text-align: left;
}


/* HEADINGS
   ----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
  font-size: 1.5em;
  text-transform: none;
  margin-bottom: 0px;
}

h1
{
  font-size: 2em;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

h2
{
  font-size: 1.5em;
  font-weight: 600;
}

h3, h4
{
  font-size: 1.1em;
  font-weight: 800;
}

h3:first-child, h4:first-child
{
  margin-top: 0px;
}

p:first-child
{
  margin-top: 0px;
}

h5, h6
{
  font-size: 1em;
}


/* PRIMARY LAYOUT ELEMENTS
   ----------------------------------------------------------*/

.page
{
  max-width: 960px;
  margin: 20px auto 0px auto;
}

.page-wider
{
  max-width: 1100px;
  margin: 20px auto 0px auto;
}

.page-widest
{
  max-width: 1500px;
  margin: 20px auto 0px auto;
}

.main
{
  padding: 0px 20px;
  margin: 12px 0px 4px 0px;
}

.enspalt
{
  position: relative;
  clear: both;
  /*  width: 920px;*/
  width: 100%;
  margin: 10px 21px 10px 0px;
}

.tvaaspalt
{
  position: relative;
  clear: both;
  max-width: 920px;
  margin: 10px 0px;
  overflow: auto;
}

.vspalt
{
  max-width: 631px;
  float: left;
  margin: 10px 21px 10px 0px;
  padding: 0px 10px;
}

.hspalt
{
  max-width: 226px;
  float: left;
  margin: 10px 0px 10px 20px;
}


/* Base mobile layout */
.wrap
{
  width: 100%;
  margin: 0 auto;
}

#main-content
{
  width: 100%;
  float: left;
  margin-bottom: 20px;
  position: relative;
  top: 0;
  left: 0;
}

#sidebar-left, #sidebar-right
{
  width: 50%;
  float: left;
  margin-bottom: 20px;
}

/* 3 column layout */
@media only screen and (min-width: 992px)
{
  .wrap
  {
    width: 920px;
    margin: 0 auto;
  }
  
  #main-content
  {
    width: 100%;
    float: left;
  }
  
  #sidebar-left
  {
    width: 25%;
    float: left;
  }
  
  #sidebar-right
  {
    width: 25%;
    float: left;
  }
}

/* Move sidebar position */
@media only screen and (min-width: 992px)
{
  .wrap, #main-content, #sidebar-left, #sidebar-right
  {
    position: relative;
  }
  
  #main-content, #sidebar-left, #sidebar-right
  {
    top: 0;
  }
  
  #sidebar-right
  {
    right: -50%;;
  }
}


/* MENU
   ----------------------------------------------------------*/

#skiptocontent a
{
  padding: 6px;
  position: absolute;
  top: -50px;
  right: 0px;
  border-bottom-left-radius: 8px;
  background: transparent;
  -webkit-transition: top 1s ease-out, background 1s linear;
  transition: top 1s ease-out, background 1s linear;
  z-index: 100;
}

#skiptocontent a:focus
{
  position: absolute;
  right: 0px;
  top: 0px;
  background: transparent;
  outline: 0;
  -webkit-transition: top .1s ease-in, background .5s linear;
  transition: top .1s ease-in, background .5s linear;
}

.top-search
{
  position: relative;
  float: right;
  /*  display: none;*/
}

.menu-search
{
  display: none;
}

#search-form-1, #search-form-2
{
  float: left;
  display: inline-block;
  margin: 35px 0 0 0;
}

#search-form-1 input[type="text"], #search-form-2 input[type="text"]
{
  width: 170px;
  border: 1px solid;
  padding: 3px;
  /**vertical-align: 1.0em;**/
  font-size: 1.0em;
  border-radius: 5px;

  padding-left: 25px;
  background: url("/resources/images/search-icon-16px.png") #ffffff 2% no-repeat;
}

#search-form-1 input[type="submit"], #search-form-2 input[type="submit"]
{
  width: 0px;
  height: 0px;
  opacity: 0;
}

#header-image2
{
  display: none;
}

@media only screen and (max-width: 700px)
{
  #header-image1
  {
    display: none;
  }

  #header-image2
  {
    display: inline;
  }
}


/* POP-UP
   ----------------------------------------------------------*/

#helpIcon1
{
  z-index: 3;
}

#helpIcon2
{
  z-index: 2;
}

#helpIcon3
{
  z-index: 1;
}

.helpIcon
{
  background: #FFF;
  position: relative;
  width: 16px;
  height: 16px;
  line-height: 23px;
  display: inline-block;
  /*border: 1px solid #dadada;*/
  margin: 0 0 0 5px;
  text-align: left;
}

.helpText
{
  background: none repeat scroll 0 0 #EEEEEE;
  border: 1px solid #DADADA;
  color: #333333;
  overflow: hidden;
  left: 0;
  line-height: 20px;
  position: absolute;
  top: 30px;
}

.popupBox
{
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0s linear 0.3s, opacity 0.3s linear;
  -moz-transition: visibility 0s linear 0.3s, opacity 0.3s linear;
  -o-transition: visibility 0s linear 0.3s, opacity 0.3s linear;
  transition: visibility 0s linear 0.3s, opacity 0.3s linear;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transition-delay: 1s;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  transition-delay: 1s;
}

.popupHoverElement:hover > .popupBox, .popupHoverElement:focus > .popupBox
{
  visibility: visible;
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}


/* TOOLTIP
   ----------------------------------------------------------*/

/* Requires
   onclick="void(0)"
   on parent div to work on ios */

/* Tooltip container */
.tooltip
{
  position: relative;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
  font-size: 1em;
}

/* Tooltip text */
.tooltip .tooltiptext
{
  visibility: hidden;
  width: 130px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -65px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after
{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext
{
  visibility: visible;
  opacity: 1;
}


/* MISC
   ----------------------------------------------------------*/

/* Hide (not display: none;, for accessibility) */
.hide
{
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.clear
{
  clear: both;
}

.alignleft
{
  text-align: left;
}

.aligncenter
{
  text-align: center;
}

.alignright
{
  text-align: right;
}

.strike
{
  text-decoration: line-through;
}

fieldset
{
  padding: 0px 5px 0px 5px;
  margin: 0px 0;
}

a.anchor:not([href])
{
  text-decoration: none;
}

.anfang
{
  display: inline;
  float: left;
  font-size: 2.1em;
  line-height: 0.5em;
  margin: 0.2em 0.1em 0.2em 0em;
  text-transform: uppercase;
}

.footnote
{
  font-size: smaller;
}

.breadcrumbs
{
  font-size: smaller;
}

.list-padding li
{
  padding-bottom: 1em;
}

.image-blurred-edge
{
  position: relative;
  top: 0px;
  right: 0px;
  width: 204px;
  height: 153px;
  /* you need to match the shadow color to your background or image border for the desired effect*/
  box-shadow: 0 0 8px 8px white inset;
}

.faktaruta
{
  width: 185px;
  background-color: #E8E8E8;
  /*    font-family: Verdana;*/
  /*    font-size: 11px;*/
  font-weight: normal;
  line-height: 14px;
  padding-left: 10px;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  float : right;
  margin-right: 26px;
  margin-top: 26px;
  margin-left: 10px;
  margin-bottom: 12px;
  border: solid;
  border-color: #B3B3B3;
  border-width: 1px;
}

.faktaruta li
{
  line-height: 1.2em;
  margin-left: -15px;
}

.arrow-list ul
{
  list-style: none;
  margin: -1px;
}

.arrow-list li
{
  line-height: 1.2em;
}

#arrow-list-current
{
  margin-left: -30px;
  font-weight: bold;
}

/* To get rid of the border that appears around the visited link in FF and IE when using the back arrow to return from that linked page */
:focus
{
  outline: 0;
}

footer
{
  padding: 15px 0px 0px 0px;
  margin: 0px auto;
  text-align: center;
  line-height: normal;
  font-size: 0.85em;
}


/* index
   ----------------------------------------------------------*/

.home-main-section
{
  padding-top: 15px;
}

.home-main-section h2
{
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-top: 65px;
  margin-bottom: 40px;
}

@media only screen and (min-width: 1200px)
{
  .container
  {
    width: 1170px;
  }
}

@media only screen and (min-width: 992px)
{
  .container
  {
    width: 970px;
  }
}

@media only screen and (min-width: 768px)
{
  .container
  {
    width: 750px;
  }
}

.container::before, .container::after, .row::before, .row::after
{
  display: table;
  content: " ";
}

.container::after, .row::after
{
  clear: both;
}

.container
{
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row
{
  margin-right: -15px;
  margin-left: -15px;
}

.list-entry
{
  margin-bottom: 32px;
}

@media only screen and (max-width: 767px)
{
  .list-entry
  {
    max-width: 345px;
    margin-left: auto;
    margin-right: auto;
  }
}

.list-entry a
{
  height: 100%;
  color: #3c3a38;
}

.list-entry > a > div:hover
{
  /*border-color: #00660C;*/
  /*box-shadow: 10px 5px 50px 1px black;*/
  box-shadow: 0px 0px 50px 1px black;
}

.list-entry .image
{
  height: 100px;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-size: contain;
}

.list-entry .ancestor-image
{
  height: 100px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 20%;
}

.list-entry-inner
{
  min-height: 250px;
  background-image: url("/resources/images/background-gray.jpg");
}

@media only screen and (min-width: 768px)
{
  .col-sm-6
  {
    width: 50%;
    float: left;
  }
}

@media only screen and (min-width: 992px)
{
  .col-md-3
  {
    float: left;
  }
}

.col-md-3, .col-sm-6
{
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.list-entry a
{
  text-decoration: none;
  background-color: transparent;
}

/*
.list-entry > a > div
{
  border-bottom: 3px solid #fff;
}
*/

.list-entry .senaste a
{
  text-decoration: underline;
}

.list-entry .text
{
  padding: 24px 18px 15px 22px;
}

.list-entry h3
{
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.list-entry p
{
  padding: 0;
  margin: 5px 0 0 0;
}


/* ff, fm, mf, mm
   ----------------------------------------------------------*/

#anor-tabell
{
  margin: 25px auto 75px auto;
}

#anor-tabell table
{
  border-collapse: collapse;
  table-layout: fixed;
}

#anor-tabell th, #anor-tabell td
{
  padding-left: 3px;
  border: 1px solid black;
}

#anor-tabell img
{
  width: 50px;
  height: 62px;
}

#anor-footer
{
  padding: 30px 40px 0px 40px;
  text-align: center;
  font-size: smaller;
}

.anor-id
{
  margin: 13px 0px 0px;
}

.anor-namn-yrke
{
  margin: 0px;
}

.anor-namn
{
  font-weight: bold;
}

.anor-tilltalsnamn
{
  font-style: italic;
}

.anor-bio, .anor-refs
{
  margin: 0px 10px;
}

.anor-rel
{
  margin-left: 10px;
}

.anor-rel-sek
{
  margin-left: 10px;
  font-size : x-small;
}

.generation
{
  width: 50%;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid #000;
  line-height: 0.1em;
  margin: 60px auto 20px auto;
}

.generation span
{
  padding: 0 10px;
}


/* gardar
   ----------------------------------------------------------*/

.hemman table
{
  margin: 0 auto; /* centers table in parent div */
}

.hemman td
{
  padding: 5px;
}

.hemman #karta-tuna
{
  max-width: 1460px;
  max-height: 500px;
  height: 500px;
  margin: 0px;
  z-index: 1;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)
{  
  /* IE10+ specific styles go here */
  .hemman #karta-tuna
  {
    height: 380px;
  }
}

.custom-popup .leaflet-popup-content
{
  margin: 10px;
  color: #dde4ec;
}

.custom-popup .leaflet-popup-content-wrapper
{
  background-color: #00B32D;
}

.fastighet
{
  padding: 15px;

  /* Box with rounded corners */
  /*
     border-radius: 25px;
     border: 1px solid #808080;
     margin: 10px 0px 10px 10px;*/
}

.fastighet h3
{
  display: inline;
}

.fastighet h3 + span
{
  display: inline;
  font-weight: normal;
  font-size: x-small;
}


/* avskrifter
   ----------------------------------------------------------*/

.avskrifter-index p
{
  font-weight: bold;
}

.avskrifter-index td
{
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
}

.avskrifter-index tr
{
  border-bottom: 1px solid #ccc;
}

.avskrifter-index a
{
  border: 1px solid black;
  color: #dde4ec;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.avskrifter-header
{
  padding: 0px 0px 5px 0px;
  text-align: left;
}

.avskrifter-footer
{
  padding: 20px 0px 0px 0px;
  text-align: left;
}

@media only screen and (max-width: 600px)
{
  .vspalt
  {
    float: inherit;
  }
  
  /* Force table to not be like tables anymore */
  .avskrifter-index table,
  .avskrifter-index thead,
  .avskrifter-index tbody,
  .avskrifter-index th,
  .avskrifter-index td,
  .avskrifter-index tr
  {
    display: block;
  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
  .avskrifter-index thead tr
  {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .avskrifter-index tr
  {
    border: 1px solid #ccc;
  }

  .avskrifter-index td
  {
    /* Behave like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 12.75pt;
    white-space: normal;
    text-align: center;
  }

  .avskrifter-index td:empty
  {
    border: none;
    padding: 0;
    min-height: 0;
  }
}


.mtl, .vigda
{
  text-align: center;
  font-family: Verdana;
  overflow: auto;
}

.mtl table, .vigda table
{
  border: 1px solid #ccc;
  border-collapse: collapse;
}

.mtl tr, .vigda tr
{
  vertical-align: bottom;
}

.mtl th, .mtl td, .vigda th, .vigda td
{
  border: 1px solid #ccc;
  vertical-align: middle;
  padding: 1px;
}

.mtl-kalla, .vigda-kalla
{
  font-size: smaller;
  text-align: left;
}


.vigda-horn-hycklinge
{
  text-align: center;
  font-family: Verdana;
  overflow: auto;
}

.vigda-horn-hycklinge h4
{
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 10px;
}
     
.vigda-horn-hycklinge table
{
  border: 1px solid #ccc;
  border-collapse: collapse;

  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}

.vigda-horn-hycklinge tr
{
  vertical-align: bottom;
}

.vigda-horn-hycklinge th, .vigda-horn-hycklinge td
{
  border: 1px solid #ccc;
  vertical-align: middle;
  padding: 1px;
}

.vigda-horn-hycklinge th
{
  width: 25%;
}

.vigda-horn-hycklinge-kalla
{
  text-align: center;
  font-size: smaller;
}


/* dodatuna
   ----------------------------------------------------------*/

#dodatuna-button
{
  border: 1px solid black;
  color: #dde4ec;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.dodatuna-form input, .dodatuna-form textarea
{
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

.dodatuna
{
  text-align: center;
  font-family: Verdana;
  /* overflow: auto;*/
}

.dodatuna table
{
  border: 1px solid #ccc;
}

.dodatuna th
{
  border: 1px solid #ccc;
  padding-top: 1px;
  padding-right: 1px;
  padding-left: 1px;
  mso-ignore: padding;
  font-size: 10.0pt;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  font-family: Arial, sans-serif;
  mso-font-charset: 0;
  mso-number-format: "\@";
  text-align: left;
  vertical-align: top;
  mso-background-source: auto;
  mso-pattern: auto;
  white-space: normal;
}

.dodatuna td
{
  border: 1px solid #ccc;
  padding-top: 1px;
  padding-right: 1px;
  padding-left: 1px;
}

.dodatuna-extern
{
  padding-top: 1px;
  padding-right: 1px;
  padding-left: 1px;
  mso-ignore: padding;
  font-size: 10.0pt;
  font-weight: 400;
  font-style: italic;
  text-decoration: none;
  font-family: Arial, sans-serif;
  mso-font-charset: 0;
  mso-number-format: General;
  text-align: left;
  vertical-align: top;
  mso-background-source: auto;
  mso-pattern: auto;
  white-space: normal;
}

.dodatuna-intern
{
  padding-top: 1px;
  padding-right: 1px;
  padding-left: 1px;
  mso-ignore: padding;
  font-size: 10.0pt;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  font-family: Arial, sans-serif;
  mso-font-charset: 0;
  mso-number-format: General;
  text-align: left;
  vertical-align: top;
  mso-background-source: auto;
  mso-pattern: auto;
  white-space: normal;
}

.dodatuna-efternamn-konstr span::before
{
  content: "[";
}

.dodatuna-efternamn-konstr span::after
{
  content: "]";
}

.flex-outer li,
.flex-inner
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flex-outer > li > label,
.flex-outer li p
{
  flex: 1 0 120px;
  max-width: 220px;
}

@media only screen and (max-width: 437px)
{
  .flex-outer > li > label,
  .flex-outer li p
  {
    margin-top: 10px;
  }
}

.flex-outer > li > label + *,
.flex-inner
{
  flex: 1 0 220px;
}

.flex-outer > li > #fornamn, #efternamn, #adress, #fodelsefors, #titel
{
  max-width: 500px;
}
.flex-outer > li > #fodelsedatum, #dodsdatum, #civdatum
{
  max-width: 500px;
}
.flex-outer > li > #fodelselan
{
  max-width: 500px;
}

.flex-inner label
{
  margin-left: 5px
}

.flex-inner li
{
  width: 100px;
  margin: 8px
}

.flex-inner
{
  max-width: 500px;
  justify-content: space-between;
}

.flex-outer li input:not([type='checkbox']),
.flex-outer li textarea
{
  padding: 5px;
  margin: 2px;
}


@media only screen and (max-width: 1100px)
{
  /* Force table to not be like tables anymore */
  .dodatuna table,
  .dodatuna thead,
  .dodatuna tbody,
  .dodatuna th,
  .dodatuna td,
  .dodatuna tr
  {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .dodatuna thead tr
  {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .dodatuna tr
  {
    border: 1px solid #ccc;
  }

  .dodatuna td
  {
    /* Behave like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 40%;
    min-height: 12.75pt;
    white-space: normal;
  }

  td.dataTables_empty
  {
    /* Hide td if empty */
    display: none;
  }

  .dodatuna td:before
  {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    /*  top: 6px;*/
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }

  /*
     Label the data
   */
  .dodatuna td:nth-of-type(1):before { content: "Förnamn"; }
  .dodatuna td:nth-of-type(2):before { content: "Efternamn"; }
  .dodatuna td:nth-of-type(3):before { content: "Flicknamn"; }
  .dodatuna td:nth-of-type(4):before { content: "Dödsdatum"; }
  .dodatuna td:nth-of-type(5):before { content: "Adress"; }
  .dodatuna td:nth-of-type(6):before { content: "Dödsförsamling"; }
  .dodatuna td:nth-of-type(7):before { content: "Yrke/titel"; }
  .dodatuna td:nth-of-type(8):before { content: "Civilstånd"; }
  .dodatuna td:nth-of-type(9):before { content: "Civilståndsdatum"; }
  .dodatuna td:nth-of-type(10):before { content: "Födelsedatum"; }
  .dodatuna td:nth-of-type(11):before { content: "Födelseförsamling"; }
  .dodatuna td:nth-of-type(12):before { content: "Födelselän"; }
  .dodatuna td:nth-of-type(13):before { content: "Noteringar"; }
  .dodatuna td:nth-of-type(14):before { content: "Källor"; }
}


/* efterlysningar
   ----------------------------------------------------------*/

.efterlysningar-header
{
  padding: 0px 0px 5px 0px;
  text-align: left;
}

.efterlysningar table
{
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #ccc;
}

.efterlysningar th
{
  padding: 10px;
  border: 1px solid #ccc;
}

.efterlysningar td
{
  padding: 10px;
  border: 1px solid #ccc;
}

.efterlysningar-bild
{
  text-align: center;
}

@media only screen and (max-width: 700px)
{
  /* Force table to not be like tables anymore */
  .efterlysningar table,
  .efterlysningar thead,
  .efterlysningar tbody,
  .efterlysningar th,
  .efterlysningar td,
  .efterlysningar tr
  {
    display: block;
  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
  .efterlysningar thead tr
  {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .efterlysningar tr
  {
    border: 1px solid #ccc;
  }

  .efterlysningar td
  {
    /* Behave like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30%;
    min-height: 12.75pt;
    white-space: normal;
  }

  td.dataTables_empty
  {
    /* Hide td if empty */
    display: none;
  }

  .efterlysningar td:before
  {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    /*  top: 6px;*/
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }

  /*
     Label the data
   */
  .efterlysningar td:nth-of-type(1):before { content: "Bildnr"; }
  .efterlysningar td:nth-of-type(2):before { content: "Bild"; }
  .efterlysningar td:nth-of-type(3):before { content: "Beskrivning"; }
  .efterlysningar td:nth-of-type(4):before { content: "Fotograf"; }

  .efterlysningar-bild
  {
    text-align: left;
  }
}


/* lankar
   ----------------------------------------------------------*/

.links#left-col
{
  float: left;
  width: 100%;
}

.links#right-col
{
  float: none;
  width: 100%;
}

@media only screen and (min-width: 992px)
{
  .links#left-col
  {
    float: left;
    width: 50%;
  }

  .links#right-col
  {
    float: left;
    width: 50%;
  }
}

.links ul
{
  list-style: disc;
  width: auto;
}

.links li
{
  margin-bottom: 20px;
}

.links p
{
  font-weight: bold;
}


/* kontakt
   ----------------------------------------------------------*/

.error[generated=true]
{
  color: #dc0000;
  font-size: 0.8em;
  padding: 5px 0 2px 5px;
}

#response
{
  margin-bottom: 20px;
  text-align: center;
}

#response .success
{
  color: #08a300;
}

#response .failure
{
  color: #dc0000;
}

#contactform td
{
  padding: 10px 0 10px 0;
}

#contactform input, #contactform textarea
{
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contact-button
{
  border: 1px solid black;
  color: #dde4ec;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  cursor: pointer;
}

#email-2
{
  display: none;
}


/* Responsive navigation
   ----------------------------------------------------------*/
/* Sync nav-width (870px) with nav-core.css and nav-layout.css */
@media only screen and (max-width: 869px) /*nav-width - 1*/
{
  .top-search
  {
    display: none;
  }

  .menu-search
  {
    display: inline-block;
    padding-left: 10px;
  }

  #search-form-1, #search-form-2
  {
    float: none;
    display: inline-block;
    margin-top: 0px;
  }

  .page, .page-wider, .page-widest
  {
    /* Needed since header becomes fixed */
    margin-top: 67px;
  }

  .anchor
  {
    /* Needed since header becomes fixed */
    margin-top: -78px;
    padding-top: 78px;
  }
}
