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

.lp-header > .sv-vertical {
  background: #214676;
  width: 100%;
}

.lp-header .sv-searchform-portlet {
  margin: 15px auto;
  max-width: 600px;
  overflow: hidden;
  padding: 0 15px;
  position: relative;

  order: 4;
}


.lp-header .sv-searchform-portlet input[type='text'] {
  border: none;
  border-radius: 24px 0 0 24px;
  box-sizing: border-box;
  outline: none;
  padding: 12px;
  width: calc(100% - 20px);
}

.lp-header .sv-searchform-portlet input[type='search'] {
  border: none;
  border-radius: 24px 0 0 24px;
  box-sizing: border-box;
  outline: none;
  padding: 12px;
  width: calc(100% - 20px);
}

.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: #fff;
  border: none;
  border-radius: 0 24px 24px 0;
  bottom: 0;
  margin: 0;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 0;
}

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


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

.lp-header .sv-searchform-portlet .lp-icon {
  fill: #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 {
  fill: #333;
}

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

/*
.lp-search form {
  position: relative;
}
*/
.lp-search input[type='text'] {
  padding: 12px;
}

.lp-search button {
  position: relative;
}

.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 {
  fill: #777;
}

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

/*
---------------------------------------------------------
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 #ccc;
  display: inline-block;
  margin: 0 4px 10px 0;
}

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

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

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

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

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

/*
---------------------------------------------------------
SÖKRESULTAT
--------------------------------------------------------- */
/*
.sv-search-result li {
  padding: 10px !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;
}
*/

/*
---------------------------------------------------------
SÖK + Sök facetterad
--------------------------------------------------------- */

/* Ny facettsök */

.lp-search-hits {
  display: flex;
  margin-top: 2rem;
}

/* Nytt sökresultat */

.lp-search-result,
.lp-search.sv-facetedsearch-portlet form {
  width: 65.81196581196582%;
}

.lp-search-result__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Sortering + */

.lp-search-details {
  align-items: baseline;
  display: flex;
  margin: 1.5rem 0 3rem;
  width: 65.81196581196582%;

  flex-wrap: wrap;
  justify-content: space-between;
}

.lp-search-sort {
  align-items: center;
  display: flex;
  font-size: 1.4rem;
}

p.lp-search-sort__name {
  margin-top: 0.4em;
}

.lp-search-sort__options {
  display: flex;
  list-style-type: none;
  margin: 0.4em 0 0;
  padding: 0;
}

.lp-search-sort__option {
  margin: 0 0 0 1rem;
}

.lp-search-sort__option--selected {
  font-weight: bold;
}

/* Nya facetter */

.lp-search-facets {
  display: grid;
  margin-bottom: 3rem;
  margin-left: 3rem;
  width: 31.62393162393162%;

  gap: 0 3rem;
  grid-auto-rows: max-content;
  grid-template-columns: repeat(auto-fit,minmax(28rem, 1fr));
  order: 2;
}

.lp-search-facet .lp-expandable-content__wrap {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.lp-search-facet .lp-expandable-content__toggler {
  align-items: center;
  background-color: #005a99;
  color: #fff;
  display: flex;
  width: 100%;

  justify-content: space-between;
}

.lp-search-facet .lp-expandable-content__toggler p.brodtext {
  color: #000;
  margin: 0;
}

.lp-search-facet .lp-expandable-content__toggler:hover,
.lp-search-facet .lp-expandable-content__toggler:focus {
  background-color: #214676;
}

.lp-search-facet .lp-expandable-content__toggler .lp-icon {
  height: 2.5rem;
  width: 2.5rem;

  fill: #fff;
}

.lp-search-facet .lp-expandable-content__toggler p.normal {
  font-size: 1.6rem;
  margin: 0;
}

.lp-search-facet__items.lp-expandable-content__content {
  align-items: center;
  background-color: #fff;
  display: flex;
  margin: 0;
  padding: 2rem;

  flex-wrap: wrap;
  gap: 1rem;
}

.lp-search-facet .lp-search-facet__items a {
  align-items: center;
  background: transparent;
  border: 1px solid #eee;
  border-radius: 2px;
  color: #333;
  display: inline-flex;
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lp-search-facet .lp-search-facet__items a:hover,
.lp-search-facet .lp-search-facet__items a:focus,
.lp-search-facet .lp-search-facet__item--selected a {
  background: #214676;
  color: #fff;
}
.lp-search-facet .lp-search-facet__items a:hover .lp-icon,
.lp-search-facet .lp-search-facet__items a:focus .lp-icon,
.lp-search-facet .lp-search-facet__item--selected a .lp-icon {
  color: #000;
}

.lp-search-facet .lp-search-facet__items span {
  background: #ededed;
  color: #333;
  display: inline-block;
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
}

.lp-search-facet__items.lp-expandable-content__content .lp-search-facet__item--selected a:after {
  background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23fff%22%20aria-hidden%3D%22true%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M24%204C12.972%204%204%2012.972%204%2024s8.972%2020%2020%2020%2020-8.972%2020-20S35.028%204%2024%204zm0%203c9.407%200%2017%207.593%2017%2017s-7.593%2017-17%2017S7%2033.407%207%2024%2014.593%207%2024%207zm6.486%208.979a1.5%201.5%200%200%200-1.047.46L24%2021.88l-5.44-5.44a1.5%201.5%200%200%200-1.076-.455%201.5%201.5%200%200%200-1.045%202.577L21.88%2024l-5.44%205.44a1.5%201.5%200%201%200%202.122%202.12L24%2026.122l5.44%205.44a1.5%201.5%200%201%200%202.12-2.122L26.122%2024l5.44-5.44a1.5%201.5%200%200%200-1.075-2.581z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: '';
  filter: brightness(100);
  height: 1.2em;
  margin: 0 0 0 0.5em;
  width: 1.2em;
}

/* Sökformulär och knapp*/
.lp-search form div {
  display: flex;
  flex-direction: row;
}

.lp-search input[type='search'] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 24px 0 0 24px;
  box-sizing: border-box;
  font-size: 1.6rem;
  margin: 0; /* Fix för extra margin i Safari*/
  outline: 0;
  padding: 1rem 2rem;

  -webkit-appearance: none;
  appearance: none;
}

.lp-search input[type='search']::-webkit-search-cancel-button {
  background: var(--lp-icon-lp-close-circle-dark) no-repeat 50% 50%;
  background-size: contain;
  height: 1.2em;
  margin-right: -0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  width: 1.2em;

  -webkit-appearance: none;
  pointer-events: none;
}

.lp-search input[type='search']:focus::-webkit-search-cancel-button {
  cursor: pointer;
  opacity: 1;

  pointer-events: all;
}

.lp-search input[type='submit'],
.lp-search form button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0 24px 24px 0;
  margin: 0 0 0 -1px;
  padding: 0 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.lp-search input[type='submit']:hover,
.lp-search form button:hover {
  background: #214676;
  color: #fff;
}

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

.lp-search form button:hover .lp-icon {
  fill: #fff;
}

/* Sökresultat */
.lp-search .sv-search-result > li {
  padding: 1.5rem !important;
}

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

.lp-search .sv-search-result li h2.subheading,
.lp-search .sv-search-result li span.subheading {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 1rem 0 0;
}

.sv-search-result > li > div:first-child {
  align-items: center;
  display: flex;

  flex-wrap: wrap;
}

.sv-search-result > li > div > img {
  margin-right: 0.8rem;
}

.lp-search .sv-search-result a.subheading {
  font-size: 2.4rem;
}

.lp-search .lp-search-result__item__path {
  align-items: center;
  display: flex;
  list-style: none;
  margin-top: 10px;
  padding-left: 0;

  flex-wrap: wrap;
  gap: 0.3em 0;
}

.lp-search .lp-search-result__item__path li {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.lp-search .lp-search-result__item__path li:nth-child(odd) {
  background-color: transparent;
}

.lp-search .lp-search-result__item__path a:after {
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%207%2015\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23777\'%3E%3Cg%20%20id%3D%22done%22%20opacity%3D%22.802%22%3E%3Cg%20id%3D%22Start-niv%C3%A5-1%22%20transform%3D%22translate(-112%20-148)%22%3E%3Cpath%20id%3D%22Startsida%2FR%C3%A5d%26amp%3Bst%C3%B6d%22%20d%3D%22M113.88%20162.56l4.272-13.92h-.96l-4.272%2013.92z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  height: 0.8em;
  margin-left: 0.4em;
  width: 0.8em;
}


/* Döljer "föregående" och "nästa" i pagineringen när det inte är någon länk utan bara disabled-knappar */

.lp-search .pagination span.next.current,
.lp-search .pagination span.prev.current {
  display: none;
}

@media (max-width: 1024px) {
  .lp-search-hits {
    flex-wrap: wrap;
  }
  .lp-search-facets {
    margin-left: 0;
    width: 65.81196581196582%;

    order: 1;
  }
  .lp-search-result {
    order: 2;
  }
}


@media (max-width: 667px) {
  .lp-search-result,
  .lp-search.sv-facetedsearch-portlet form,
  .lp-search-details,
  .lp-search-facets {
    width: 100%;
  }
}


/*
=========================================================
SEARCH CSS
=========================================================
 * Innehåller styling av modulen Sök och Sök Facetterad
 * som är modifierad med exempelvis SVG-ikon
 *
 * Copyright (C) Limepark AB.
 * https://limepark.se/licensvillkor
=========================================================*/
/*
---------------------------------------------------------
VARIABLER
--------------------------------------------------------- */
.lp-search {
  --lp-font-size-medium: clamp(1.8rem, 2.2vw, 2.2rem);
  --lp-font-size-small: clamp(1.6rem,1.8vw,1.8rem);
  --lp-spacing: 3.5rem;
  --lp-spacing-small: calc(var(--lp-spacing) * 0.75);
  --lp-spacing-x-small: calc(var(--lp-spacing) * 0.5);
}

/*
---------------------------------------------------------
SÖK + Sök facetterad
--------------------------------------------------------- */

/* Ny facettsök */

.lp-search-hits {
  display: flex;
  margin-top: 2rem;
}

/* Nytt sökresultat */

.lp-search-result,
.lp-search .sv-facetedsearch-portlet form {
  width: 65.81196581196582%;
}

.lp-search-result__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Sortering + */

.lp-search-details {
  align-items: baseline;
  display: flex;
  margin: var(--lp-spacing-x-small) 0 var(--lp-spacing);
  width: 65.81196581196582%;

  flex-wrap: wrap;
  justify-content: space-between;
}

.lp-search-details .lp-search-hit-count,
.lp-search-details .lp-search-sort {
  font-size: var(--lp-font-size-small);
}

.lp-search-sort {
  align-items: center;
  display: flex;
}

p.lp-search-sort__name {
  margin-top: 0.4em;
}

.lp-search-sort__options {
  display: flex;
  list-style-type: none;
  margin: 0.4em 0 0;
  padding: 0;
}

.lp-search-sort__option {
  margin: 0 0 0 1rem;
}

.lp-search-sort__option--selected {
  font-weight: bold;
}

/* Nya facetter */

.lp-search-facets {
  display: grid;
  margin-bottom: var(--lp-spacing-small);
  margin-left: 3rem;
  width: 31.62393162393162%;

  gap: 0 var(--lp-spacing-small);
  grid-auto-rows: max-content;
  grid-template-columns: repeat(auto-fit,minmax(28rem, 1fr));
  order: 2;
}

.lp-search-facet .lp-expandable-content__toggler p.normal {
  font-size: var(--lp-font-size-small);
  margin: 0;

  flex-grow: 1;
}

.lp-search-facet__items.lp-expandable-content__content {
  align-items: center;
  background-color: #fff;
  display: flex;
  margin: 0;

  flex-wrap: wrap;
  gap: 1rem;
}

.lp-search-facet--has-selected .sv-search-facet-item {
  display: none;
}

.lp-search-facet--has-selected .sv-search-facet-item-selected {
  display: block;

  flex: 1 1 auto;
}

.lp-search-facet.lp-search-facet--has-selected .sv-search-facet-item-selected a {
  display: flex;

  justify-content: space-between;
}

.lp-search-facet .lp-search-facet__items a {
  align-items: center;
  border: 1px solid rgba(0,0,0,0.418);
  border-radius: 8px;
  color: #333;
  display: inline-flex;
  font-size: var(--lp-font-size-x-small);
  padding: 0.4em 0.8em 0.5em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lp-search-facet .lp-search-facet__items a:hover,
.lp-search-facet .lp-search-facet__items a:focus,
.lp-search-facet .lp-search-facet__item--selected a {
  background-color: #214676;
  border-color: #214676;
  color: #fff;
}
.lp-search-facet .lp-search-facet__items a:hover .lp-icon,
.lp-search-facet .lp-search-facet__items a:focus .lp-icon,
.lp-search-facet .lp-search-facet__item--selected a .lp-icon {
  color: #fff;
}

.lp-search-facet .lp-search-facet__items span {
  background-color: #ededed;
  color: #333;
  display: inline-block;
  font-size: var(--lp-font-size-x-small);
  padding: 0.5rem 1rem;
}

.lp-search-facet__items.lp-expandable-content__content .lp-search-facet__item--selected a:after {
  background-color: #fff;
  content: '';
  height: 1.2em;
  margin: 0 0 -0.1em 0.5em;
  width: 1.2em;

  -webkit-mask-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2032%2032\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000\'%3E%3Cpath%20%20d%3D%22M16%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203zm0%202c6.087%200%2011%204.913%2011%2011s-4.913%2011-11%2011S5%2022.087%205%2016%209.913%205%2016%205zm-3.781%205.781L10.78%2012.22%2014.562%2016l-3.78%203.781%201.437%201.438L16%2017.437l3.781%203.782%201.438-1.438L17.437%2016l3.782-3.781-1.438-1.438L16%2014.562l-3.781-3.78z%22%2F%3E%3C%2Fsvg%3E');
  mask-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2032%2032\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000\'%3E%3Cpath%20%20d%3D%22M16%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203zm0%202c6.087%200%2011%204.913%2011%2011s-4.913%2011-11%2011S5%2022.087%205%2016%209.913%205%2016%205zm-3.781%205.781L10.78%2012.22%2014.562%2016l-3.78%203.781%201.437%201.438L16%2017.437l3.781%203.782%201.438-1.438L17.437%2016l3.782-3.781-1.438-1.438L16%2014.562l-3.781-3.78z%22%2F%3E%3C%2Fsvg%3E');
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Sökformulär och knapp*/
.lp-search form div {
  display: flex;
  flex-direction: row;
}

.lp-search input[type='search'] {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.418);
  border-radius: 8px 0 0 8px;
  box-sizing: border-box;
  font-size: var(--lp-font-size-small);
  margin: 0; /* Fix för extra margin i Safari*/
  outline: 0;
  padding: 1rem 2rem;

  -webkit-appearance: none;
  appearance: none;
}

.lp-search input[type='search']::-webkit-search-cancel-button {
  background-color: #333;
  height: 1.2em;
  margin-right: -0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  width: 1.2em;

  -webkit-appearance: none;
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2032%2032\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000\'%3E%3Cpath%20%20d%3D%22M16%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203zm0%202c6.087%200%2011%204.913%2011%2011s-4.913%2011-11%2011S5%2022.087%205%2016%209.913%205%2016%205zm-3.781%205.781L10.78%2012.22%2014.562%2016l-3.78%203.781%201.437%201.438L16%2017.437l3.781%203.782%201.438-1.438L17.437%2016l3.782-3.781-1.438-1.438L16%2014.562l-3.781-3.78z%22%2F%3E%3C%2Fsvg%3E');
  /* background: var(--lp-icon-lp-close-circle) no-repeat 50% 50%; */
  mask-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2032%2032\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000\'%3E%3Cpath%20%20d%3D%22M16%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203zm0%202c6.087%200%2011%204.913%2011%2011s-4.913%2011-11%2011S5%2022.087%205%2016%209.913%205%2016%205zm-3.781%205.781L10.78%2012.22%2014.562%2016l-3.78%203.781%201.437%201.438L16%2017.437l3.781%203.782%201.438-1.438L17.437%2016l3.782-3.781-1.438-1.438L16%2014.562l-3.781-3.78z%22%2F%3E%3C%2Fsvg%3E');
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.lp-search input[type='search']:focus::-webkit-search-cancel-button {
  color: #000;
  cursor: pointer;
  opacity: 1;

  pointer-events: all;
}

.lp-search input[type='submit'],
.lp-search form button {
  background-color: #3c71b6;
  border: 1px solid #3c71b6;
  border-radius: 0 8px 8px 0;
  margin: 0 0 0 -1px;
  padding: 0 1.5rem;
  transition: all 0.3s ease;
}

.lp-search input[type='submit']:hover,
.lp-search form button:hover {
  background-color: #214676;
}

.lp-search form button .lp-icon {
  color: #fff;

  fill: #fff;
}

.lp-search form button:focus-visible {
  background-color: #3c71b6;
  box-shadow: inset 0 0 0 calc(2px * 2) #fff;
  outline-offset: calc(-1 * 2px);
}

/* Sökresultat */
.lp-search .sv-search-result > li {
  padding: var(--lp-spacing-small) !important;
}

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

.lp-search .sv-search-result li h2.subheading,
.lp-search .sv-search-result li span.subheading {
  font-size: var(--lp-font-size-medium);
  line-height: 1.2;
  margin: 0 1rem 0 0;
}

.sv-search-result > li > div:first-child {
  align-items: center;
  display: flex;

  flex-wrap: wrap;
}

.sv-search-result > li > div > img {
  margin-right: 0.8rem;
}

.lp-search .sv-search-result a.subheading {
  font-size: var(--lp-font-size-medium);
}


/* Döljer "föregående" och "nästa" i pagineringen när det inte är någon länk utan bara disabled-knappar */

.lp-search .pagination span.next.current,
.lp-search .pagination span.prev.current {
  display: none;
}

/* Nollställ filtrering */

.lp-search-details {
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 1.5rem 2rem;
  position: relative;

  isolation: isolate;
}

.lp-search-details p,
.lp-search-details .lp-search-sort__options {
  margin: 0;
}

.lp-search-details .lp-search-hit-count {
  margin-top: 0 !important;
}

.lp-search-details:after {
  background-color: #3c71b6;
  content: '';
  display: block;
  opacity: 0.1;
  position: absolute;
  z-index: -1;

  inset: 0;
}

p.lp-search__reset-filters {
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;

  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}

p.lp-search__reset-filters span:first-child {
  min-width: min(35rem, 100%);

  flex: 1 1 1px;
}

p.lp-search__reset-filters a:after {
  background-color: #333;
  content: '';
  display: inline-block;
  height: 1.2em;
  margin-bottom: -0.2em;
  margin-left: 0.3em;
  width: 1.2em;

  -webkit-mask-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2032%2032\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000\'%3E%3Cpath%20%20d%3D%22M16%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203zm0%202c6.087%200%2011%204.913%2011%2011s-4.913%2011-11%2011S5%2022.087%205%2016%209.913%205%2016%205zm-3.781%205.781L10.78%2012.22%2014.562%2016l-3.78%203.781%201.437%201.438L16%2017.437l3.781%203.782%201.438-1.438L17.437%2016l3.782-3.781-1.438-1.438L16%2014.562l-3.781-3.78z%22%2F%3E%3C%2Fsvg%3E');
  mask-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2032%2032\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23000\'%3E%3Cpath%20%20d%3D%22M16%203C8.832%203%203%208.832%203%2016s5.832%2013%2013%2013%2013-5.832%2013-13S23.168%203%2016%203zm0%202c6.087%200%2011%204.913%2011%2011s-4.913%2011-11%2011S5%2022.087%205%2016%209.913%205%2016%205zm-3.781%205.781L10.78%2012.22%2014.562%2016l-3.78%203.781%201.437%201.438L16%2017.437l3.781%203.782%201.438-1.438L17.437%2016l3.782-3.781-1.438-1.438L16%2014.562l-3.781-3.78z%22%2F%3E%3C%2Fsvg%3E');
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/*
---------------------------------------------------------
EXPANDERBART INNEHÅLL
--------------------------------------------------------- */

.lp-expandable-content {
  margin: var(--lp-spacing) 0;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.lp-expandable-content__wrap .lp-expandable-content__toggler {
  padding: var(--lp-spacing-small);
}

.sv-edit-mode .lp-expandable-content > *:nth-child(even),
.lp-expandable-content__content {
  padding: var(--lp-spacing-small);
}

/* ModulavstÃĨnd i innehÃĨllsytor (ej textmoduler) */
.lp-expandable-content__content > .sv-portlet,
.sv-edit-mode .lp-expandable-content > *:nth-child(even) > .sv-portlet {
  margin-bottom: var(--lp-spacing);
}

/*
---------------------------------------------------------
WRAP
--------------------------------------------------------- */

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.sv-edit-mode .lp-expandable-content > *:nth-child(even),
.lp-expandable-content__wrap {
  border: 1px solid #949494;
  border-radius: 8px;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.lp-expandable-content__wrap {
  background-color: #fff;
  margin-bottom: var(--lp-spacing-x-small);
  overflow: hidden;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(even) {
  margin-bottom: var(--lp-spacing-x-small);
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd) {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(even) {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/*
---------------------------------------------------------
QUESTION/BUTTON
--------------------------------------------------------- */

.lp-expandable-content__wrap .lp-expandable-content__toggler {
  border: 0;
  cursor: pointer;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.lp-expandable-content__wrap .lp-expandable-content__toggler {
  background-color: transparent;
  box-sizing: border-box;
  font-weight: 700;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.lp-expandable-content__wrap .lp-expandable-content__toggler {
  align-items: center;
  display: flex;
}

.lp-expandable-content__wrap .lp-expandable-content__toggler {
  color: inherit;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd) .subheading,
.sv-edit-mode .lp-expandable-content > *:nth-child(odd) .heading3,
.sv-edit-mode .lp-expandable-content > *:nth-child(odd) .heading4,
.sv-edit-mode .lp-expandable-content > *:nth-child(odd) .normal,
.lp-expandable-content__toggler .subheading,
.lp-expandable-content__toggler .normal,
.lp-expandable-content__toggler .heading3,
.lp-expandable-content__toggler .heading4 {
  color: #333;
  font-size: var(--lp-font-size-small);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0 !important;
}

.lp-expandable-content__toggler > .sv-text-portlet {
  flex-grow: 1;
}

.lp-expandable-content__toggler > .lp-toggler-icon {
  color: #333;
  font-size: 1em;
  margin-left: 1.5em;

  flex-shrink: 0;
  order: 1;
  pointer-events: none;
}

.lp-search-facet .lp-expandable-content__toggler .lp-icon {
  fill: #333;
}


/*
---------------------------------------------------------
ANSWER
--------------------------------------------------------- */

.sv-edit-mode .lp-expandable-content > *:nth-child(even),
.lp-expandable-content__content {
  background-color: transparent;
}

.lp-expandable-content__content .sv-portlet {
  margin: 0 0 var(--lp-spacing);
}

/* Ingen marginal under sista modulen */

.lp-expandable-content__content > .sv-text-portlet-content:last-child p.normal:last-child,
.lp-expandable-content__content > .sv-text-portlet:last-child > .sv-text-portlet-content > p.normal:last-child,
.lp-expandable-content__content .sv-portlet:last-child,
.sv-edit-mode .lp-expandable-content > *:nth-child(even) > .sv-portlet:last-child,
.sv-edit-mode .lp-expandable-content > *:nth-child(even) > .sv-text-portlet:last-child .sv-text-portlet-content > p.normal:last-child,
.sv-edit-mode .lp-expandable-content > *:nth-child(even) > .sv-text-portlet-content > p.normal:last-child {
  margin-bottom: 0;
}

/*
---------------------------------------------------------
STATES
--------------------------------------------------------- */

.lp-expandable-content__wrap .lp-expandable-content__toggler:hover,
.lp-expandable-content__wrap .lp-expandable-content__toggler:focus {
  text-decoration: underline;
}

/* Closed/Opened */
.lp-expandable-content__toggler[aria-expanded='false'] .lp-toggler-icon--close {
  display: none;
}

.lp-expandable-content__toggler[aria-expanded='true'] .lp-toggler-icon--open {
  display: none;
}

/* Aktiv */

.lp-expandable-content__wrap .lp-expandable-content__toggler {
  position: relative;
  z-index: 1;

  isolation: isolate;
}

.lp-expandable-content__wrap .lp-expandable-content__toggler:after {
  background-color: #3c71b6;
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.lp-expandable-content__wrap .lp-expandable-content__toggler.lp-expandable-content--is-open:after,
.lp-expandable-content__wrap .lp-expandable-content__toggler[aria-expanded='true']:after,
.lp-expandable-content__wrap .lp-expandable-content__toggler:hover:after,
.lp-expandable-content__wrap .lp-expandable-content__toggler:focus:after {
  opacity: 0.1;
}

.lp-search-facet .lp-expandable-content__toggler:hover {
  background-color: transparent;
  transition: all 0.3s ease;
}

.lp-search-facet .lp-expandable-content__toggler:focus {
  background-color: transparent;
}
