/*
---------------------------------------------------------
SÖKRUTA SIDHUVUD 
--------------------------------------------------------- */

header .sv-searchform-portlet {
  margin: 1rem 0;
  overflow: hidden;
  position: relative;
  width: 25%;
}

header .sv-searchform-portlet input[type='text'] {
  border: 1px solid #ccc;
  border-radius: 21px;
  box-sizing: border-box;
  font-size: 1.6rem;
  line-height: 1;
  outline: none;
  padding: 1rem 2rem;
  width: 100%;
}

header .sv-searchform-portlet input[type='text']:hover {
  border-color: #999;
}

header .sv-searchform-portlet input[type='text']:focus {
  background-color: #eee;
  border-color: #999;
}

header .sv-searchform-portlet button {
  background: transparent;
  border: none;
  bottom: 0;
  font-size: 1.6rem;
  line-height: 1;
  margin: 0;
  padding: 1rem 1.5rem;
  position: absolute;
  right: 0;
  top: 0;
}

header .sv-searchform-portlet button:hover,
header .sv-searchform-portlet button:focus {
  cursor: pointer;
}

header .sv-searchform-portlet button:focus {
  background: #ccc;
  border-radius: 50%;
  outline: none;
}

header .sv-searchform-portlet button:focus .lp-icon,
header .sv-searchform-portlet button:hover .lp-icon {
  color: #333;
}

/*header .sv-searchform-portlet input[type='text']:hover + button {
   border: 1px solid #999;
}

header .sv-searchform-portlet input[type='text']:focus + button {
   background-color: #ccc;
   border: 1px solid #999;
}
*/
header .sv-searchform-portlet .lp-icon {
  color: #777;
}

header .sv-searchform-portlet input[type='text']:hover + button .lp-icon,
header .sv-searchform-portlet input[type='text']:focus + button .lp-icon {
  color: #333;
}


/*
---------------------------------------------------------
SÖKRUTA VANLIG SÖKMODUL / FACETTERAD
--------------------------------------------------------- */

.lp-search form {
  position: relative;
}

.lp-search input[type='text'] {
  padding: 1.2rem;
}

.lp-search button {
  bottom: 0;
  margin: 0;
  padding: 1.2rem;
  position: absolute;
  right: 0;
  top: 0;
}

.lp-search input[type='text']:hover + button {
  border: 1px solid #999;
}

.lp-search input[type='text']:focus + button {
  background-color: #ccc;
  border: 1px solid #999;
}

.lp-search .lp-icon {
  color: #777;
}

.lp-search input[type='text']:hover + button .lp-icon,
.lp-search input[type='text']:focus + button .lp-icon {
  color: #333;
}


/*
---------------------------------------------------------
FACETTER
--------------------------------------------------------- */

.lp-facets {
  margin: 1rem 0 0;
}

.lp-facet-sort,
.lp-facet-field {
  display: inline-block;
  margin: 0 1rem 0 0;
}

.lp-facets h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.lp-facets ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lp-facets li {
  display: inline-block;
  margin: 0 0.4rem 1rem 0;
}

.lp-facets a,
.lp-facets span {
  border: 1px solid #ccc;
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1.4;
  padding: 5px 10px;
  text-decoration: none;
}

.lp-facets a:hover,
.lp-facets a:focus {
  background: #ccc;
}

.lp-facets span {
  color: #565656;
  font-style: italic;
}

.lp-sort-active,
.lp-facet-selected a {
  background: #ccc;
  color: #000;
}

.lp-facets .lp-icon {
  height: 1.2rem;
  margin: 0 0.5rem 0 0;
  width: 1.2rem;
}


/*
---------------------------------------------------------
SÖKRESULTAT
--------------------------------------------------------- */

.sv-search-result li {
  padding: 1rem !important;
}

.sv-search-result li:nth-child(odd) {
  background: #f5f5f5;
}

.sv-search-result li div:last-child span:last-child a:first-child {
  display: none;
}
