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

header {
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

.lp-logo,
.lp-logo-jkpg {
  margin: 2rem 4rem 2rem 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);
}



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

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