/*
=========================================================
HEADER CSS
=========================================================
 * Innehåller styling för sidhuvudet
 * 
 * Copyright (C) Limepark AB.
 * https://limepark.se/licensvillkor
=========================================================*/


.lp-header {
  background-color: var(--lp-color-1);
  margin: 0;
  padding: 0;
}

.lp-js .lp-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.lp-header-layout {
  align-items: center;
  display: flex;

  gap: 3rem;
  justify-content: space-between;
}

/* Sök + verktygsmeny */

.lp-header-layout > .sv-layout {
  display: flex;
  flex-direction: column;

  gap: 3rem;
  justify-content: flex-end;
}

/* Knappar */

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

  justify-content: flex-end;
}

/* Rad 1 med logotyp */
.lp-header > .sv-layout:nth-child(1) {
  padding: 0;
}


/* Rad 2 med huvudmeny */
.lp-header > .sv-layout:nth-child(2) {
  background-color: #ddd;
}

/* Logotyp */
.lp-logo {
  margin: 0;
}

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

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

/*
---------------------------------------------------------
SÖK OCH KONTAKT
---------------------------------------------------------*/

.lp-header .lp-search {
  margin: 0;
}

.lp-header .lp-search input[type='search'] {
  background: #fff;
}

.lp-header .lp-site-tools .lp-icon {
  font-size: 2.5rem;
  margin: 0;
}

.lp-header .lp-site-tools a {
  align-items: center;
  display: flex;
  padding: 3.2rem 2.5rem;

  flex-wrap: wrap;
  gap: 0 1.5rem;
  justify-content: center;
}


.lp-header .lp-site-tools li > a:hover,
.lp-header .lp-site-tools li > a:focus {
  background-color: var(--lp-color-3);
  color: var(--lp-color-3-text);
  text-decoration: none;
}
