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

.lp-header .sv-searchform-portlet {
  margin: 20px 0;
  overflow: hidden;
  position: relative;
}

.lp-header .sv-searchform-portlet input[type='text'] {
  border: 1px solid #ccc;
  box-sizing: border-box;
  outline: none;
  padding: 12px;
}

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

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

.lp-header .sv-searchform-portlet button {
  background: #eee;
  border: 1px solid #ccc;
  bottom: 0;
  margin: 0;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 0;
}

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

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

.lp-header .sv-searchform-portlet .lp-icon {
  color: #777;
}

.lp-header .sv-searchform-portlet input[type='text']:hover + button .lp-icon,
.lp-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: 12px;
}

.lp-search button {
  border: none;
  bottom: 1px;
  color: rgba(190, 151, 0, 0.6);
  margin: 0;
  min-width: 80px;
  padding: 12px;
  position: absolute;
  right: 1px;
  top: 1px;
}

.lp-search button:hover,
.lp-search button:focus {
  background: #faf5e6;
}

.lp-search button .lp-icon {
  color: #000;
}

.lp-search input[type='text']:hover + button {
  color: rgba(190, 151, 0, 0.6);
}

.lp-search input[type='text']:focus + button {
  color: rgba(190, 151, 0, 1);
}

.lp-search button:hover .lp-icon,
.lp-search button:focus .lp-icon {
  color: #000;
}


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


.lp-searchwrapper > div {
  display: -webkit-box;
  display: flex;
  margin: 30px 0 0;

  flex-wrap: wrap;
}

.lp-facets {
  box-sizing: border-box;
  margin: 0 0 30px;
  padding: 0 0 0 30px;
  width: 35%;

  -webkit-box-flex: 1;
  -webkit-box-ordinal-group: 3;
  flex: 1 1 auto;
  order: 2;
}

.lp-searchwrapper ol {
  margin: 0 0 30px;
  width: 65%;

  -webkit-box-flex: 1;
  -webkit-box-ordinal-group: 2;
  flex: 1 1 auto;
  order: 1;
}


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

.lp-facets h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 15px 0 5px;
}

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

.lp-facets li {
  display: inline-block;
  margin: 0 4px 10px 0;
}

.lp-facets a,
.lp-facets span {
  border: 2px solid #faf5e6;
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1.4em;
  padding: 5px 7px;
  text-decoration: none;
}

.lp-facets a {
  background: #faf5e6;
}

.lp-facets a:hover,
.lp-facets a:focus {
  background: #d19700;
  border-color: #d19700;
  color: #000;
}

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

.lp-sort-active,
.lp-facet-selected a {
  background: #d19700;
  border-color: #d19700 !important;
  color: #000 !important;
}

.lp-facet-selected span {
  color: #000;
}

.lp-facets .lp-icon {
  height: 0.8em;
  margin: 0 5px 0 0;
  width: 0.8em;
}

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

.sv-search-result li {
  border-bottom: 1px solid #dfcb80;
  padding: 30px !important;
}

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

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

/*
---------------------------------------------------------
PAGINERING
--------------------------------------------------------- */

.pagination a,
.pagination span {
  background: #faf5e6;
  border: 1px solid #faf5e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a:focus {
  background: #faf5e6;
  border: 1px solid #d19700;
}

.pagination .current {
  background: #d19700;
  border: 1px solid #d19700;
  color: #000;
}

.pagination .current.prev,
.pagination .current.next {
  background-color: #fff;
  border: 1px solid #ededed;
  color: #767676;
  font-weight: normal;
}
