/*
---------------------------------------------------------
SIDHUVUD
--------------------------------------------------------- */

header {
  padding: 0 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

header > .sv-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

header .sv-searchform-portlet {
  margin-right: auto;
}

.lp-hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.lp-logo {
  margin: 2rem 4rem 2rem 0;
}
.lp-logo-jkpg {
  margin: 2rem 0 2rem 6rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.lp-logo img,
.lp-logo-jkpg img {
  display: block;
  height: 40px !important; /* ändra till halva bildbredden för retinaupplösning */
  width: auto !important;
  max-width: 100% !important; /* för skärumupplösning lägre än logotypens bredd */
}

.lp-logo a,
.lp-logo-jkpg a {
  display: inline-block;
}

.lp-logo a:focus,
.lp-logo-jkpg a:focus {
  background-color:rgba(0, 0, 0, 0.6);
}

@media screen and (min-width: 900px) and (max-width: 1200px) { 
  header {
    padding-bottom: 2rem
  }
}


/*
---------------------------------------------------------
SIDHUVUD SPECIFIKT FÖR STARTSIDAN
--------------------------------------------------------- */

.lp-startpage header.lp-site-color-primar-bg {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0)));
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
}