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

header .sv-searchform2-portlet {
  margin: 1rem auto 3rem;
  width: 100%;
}

header .sv-searchform2-portlet div {
  margin: 0 auto;
  max-width: 570px;
  width: 100%;
}

header .sv-searchform2-portlet .sv-searchform2-content-container + .sv-searchform2-content-container {
  width: auto;
}

header .sv-searchform2-portlet form {
  margin: 0;
}

header .sv-searchform2-portlet label {
  display: block !important;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
}

header .sv-searchform2-portlet label[for*='empty'] {
  display: none !important;
}

header .sv-searchform2-portlet input[type='text'] {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Open Sans',arial,helvetica,sans-serif;
  font-size: 1.8rem;
  height: 50px !important;
  margin: 0 !important;
  padding: 10px;

  -webkit-appearance: none;
}

header .sv-searchform2-portlet input[type='text']:hover {
  border: 1px solid #999;
  outline: none;
}

header .sv-searchform2-portlet input[type='text']:focus {
  border: 1px solid #e1001a;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}





/* Sökresultat */

header .sv-searchform2-portlet .sv-searchform2-form .sv-searchform2-result-container {
  -webkit-box-shadow: none;
  box-shadow: none;
  z-index: 2;
}

header .sv-searchform2-portlet .sv-searchform2-facet-column0 {
  margin: 0;
  padding: 10px;
}

header .sv-searchform2-portlet .sv-searchform2-facet-column1 {
  margin: 0;
  padding: 10px;
}

header .sv-searchform2-portlet .sv-searchform2-result-container h2.subheading {
  font-size: 2rem;
  margin: 0 0 10px;
}

header .sv-searchform2-facet-column0 li.sv-searchform2-search-hit {
  padding: 4px 4px 6px !important;
}

header .sv-searchform2-facet-column1 li.sv-searchform2-search-hit {
  padding: 8px 0 !important;
  position: relative;
}

header .sv-searchform2-portlet img[src*='svplaceholder'] + .sv-searchform2-user-container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 40px;
  position: relative;
}

header .sv-searchform2-portlet .sv-searchform2-user-img {
  border-radius: 50%;
  left: 0;
  position: absolute;
  top: 12px;
}

header .sv-searchform2-user-container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 40px !important;
}


header .sv-user-search-list li.active,
header .sv-user-search-list li:focus {
  background: #fdf2f6;
  text-decoration: none;
}

header .sv-user-search-list li.active a,
header .sv-user-search-list li:focus a,
header .sv-user-search-list li.active li,
header .sv-user-search-list li:focus li {
  color: #222 !important;
}

header .sv-searchform2-portlet .sv-searchform2-userfield-list {
  list-style-type: none;
}

header .sv-searchform2-portlet .sv-searchform2-result-container a.normal,
header .sv-searchform2-portlet .sv-searchform2-result-container li.normal {
  color: #222 !important;
  font-size: 1.5rem;
  text-decoration: none;
}

header .sv-searchform2-portlet .sv-searchform2-result-container li p.normal a {
  color: #222 !important;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

header .sv-searchform2-portlet .sv-searchform2-result-container li.sv-searchform2-more-hits
p.normal a {
  font-weight: normal;
}



/* Custom fallback for profile images. (PLEASE REVIEW ME) */

header .sv-searchform2-portlet img[src*='svplaceholder'] {
  display: none;
}

header .sv-searchform2-portlet img[src*='svplaceholder'] + div:before {
  background: url('/profilbild.png') no-repeat center/100%;
  border-radius: 50%;
  content: '';
  display: block;
  height: 30px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 30px;
}

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



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

.lp-facets {
  margin: 10px 0 0;
}

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

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

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

.lp-facets li {
  border: 1px solid #fdf2f6;
  display: inline-block;
  margin: 0 4px 10px 0;
}

.lp-facets a,
.lp-facets span {
  display: inline-block;
  font-size: 1.3rem;
  line-height: 160%;
  padding: 5px 10px;
  text-decoration: none;
}

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

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

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

.lp-facets .lp-icon {
  margin: 0 5px 0 0;
}

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

.sv-search-result li {
  padding: 20px !important;
}

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

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

.sv-search-result li a.subheading {
  font-size: 2rem;
}

.sv-search-result li p.normal {
  font-size: 1.5rem;
}

.sv-search-result li span.litenxtext {
  font-size: 1.2rem;
}

.sv-search-result li span.litenxtext a {
  color: #222;
}


/*
---------------------------------------------------------
FANCY SEARCH
--------------------------------------------------------- */

.lp-fancy-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 570px;
}

.lp-fancy-search > * {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.lp-fancy-search label {
  width: 100%;
}

.lp-fancy-search input[type='text'] {
  border: 1px solid rgba(155,155,155,0.28);
  border-radius: 4px 0 0 4px;
  border-right: none !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.6rem;
  outline: none;
  padding: 12px;
  width: calc(100% - 80px);
}

.lp-fancy-search button {
  background-color: #e1001a;
  border: none;
  border-radius: 0 5px 5px 0;
  color: #fff;
  margin: 0;
  padding: 12px 25px;
}

.lp-fancy-search input[type='text']:hover {
  border-color: #999;
}

.lp-fancy-search input[type='text']:focus {
  background: #fdf2f6;
  border-color: #e1001a;
}
