/* stylelint-disable property-no-unknown */
/*
=========================================================
LP MODULES CSS
=========================================================
 * Innehåller kundanpassad styling av Limeparks moduler
 *
 * Copyright (C) Limepark AB.
 * https://limepark.se/licensvillkor
=========================================================*/


/*
---------------------------------------------------------
LISTNING, SÖKBARA & PUBLIKA SIDOR
--------------------------------------------------------- */

.lp-page-status-list {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
}

.lp-page-status-list li {
  background-color: #ededed;
  margin: 0 0 1rem;
  padding: 1rem;
}

.lp-page-status-list .lp-page-status-tag {
  font-size: var(--lp-font-size-x-small);
  margin-left: 1rem;
}

.lp-page-status-list li a {
  align-items: baseline;
  display: flex;
  font-size: var(--lp-font-size-small);
  font-weight: 700;
  text-decoration: none;
}

.lp-page-status-list li a:before {
  background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23222%22%20aria-hidden%3D%22true%22%20viewBox%3D%220%200%2019.66%2030.58%22%3E%3Cpath%20d%3D%22M19.29%2014.44L5.22.36a1.19%201.19%200%200%200-1.71%200L.36%203.51a1.19%201.19%200%200%200%200%201.71l10.07%2010.07L.36%2025.37a1.19%201.19%200%200%200%200%201.71l3.15%203.15a1.19%201.19%200%200%200%201.71%200l14.07-14.08a1.19%201.19%200%200%200%200-1.71z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: '';
  display: block;
  height: 0.5em;
  margin-right: 0.5rem;
  width: 0.5em;
}

/*
---------------------------------------------------------
LÄNK TILL SIDANS TOPP
--------------------------------------------------------- */

a.lp-page-top {
  align-items: center;
  background-color: var(--lp-element--background);
  border: none;
  border-right: 0;
  border-radius: 50%;
  bottom: var(--lp-spacing);
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 0%);
  box-sizing: border-box;
  color: var(--lp-element--contrast);
  display: flex;
  height: 48px;
  margin: 0;
  position: fixed;
  right: var(--lp-spacing);
  text-align: center;
  text-decoration: none;
  transform: translateY(calc(100% + var(--lp-spacing)));
  transition: var(--lp-transition-default);
  width: 48px;
  z-index: 10;

  justify-content: center;
}

a.lp-page-top.lp-scrolled {
  transform: translateY(0);
}

a.lp-page-top:hover,
a.lp-page-top:focus {
  background-color: var(--lp-element--background-dark);
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
}

a.lp-page-top .lp-icon {
  margin: 0;
  transform: rotate(-90deg);
}

/*
---------------------------------------------------------
VARIABELTABELL / FÖRHANDSVISNING AV TEMA
--------------------------------------------------------- */

.lp-variables-table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 5rem;
  width: 100%;
}

.lp-variables-table caption {
  font-size: var(--lp-font-size-medium);
  font-weight: 500;
  margin-bottom: 0.3em;
  text-align: left;
}

.lp-variables-table th {
  text-align: left;
}

.lp-variables-table thead th {
  background-color: #dedede;
}

.lp-variables-table p {
  margin: 0;
}

.lp-variables-table thead th,
.lp-variables-table tbody td {
  padding: 1.2rem 2rem;
}

.lp-variables-table tbody {
  border: 1px solid #dedede;
}

.lp-variables-table tbody tr {
  border-bottom: 1px solid #dedede;
}

.lp-variables-table thead + tbody tr:nth-child(odd) td {
  background-color: #ededed;
}

.lp-variables-element-default tbody tr:nth-child(1) td:last-child {
  background-color: var(--lp-element-primary--background);
  color: var(--lp-element-primary--contrast);
}

.lp-variables-element-default tbody tr:nth-child(2) td:last-child {
  background-color: var(--lp-element-primary--background-dark);
  color: var(--lp-element-primary--contrast);
}

.lp-variables-element-default tbody tr:nth-child(3) td:last-child {
  background-color: var(--lp-element-primary--background-light);
  color: var(--lp-element-primary--contrast);
}

.lp-variables-element-primary tbody tr:nth-child(1) td:last-child {
  background-color: var(--lp-element--background);
  color: var(--lp-element--contrast);
}

.lp-variables-element-primary tbody tr:nth-child(2) td:last-child {
  background-color: var(--lp-element--background-dark);
  color: var(--lp-element--contrast);
}

.lp-variables-element-primary tbody tr:nth-child(3) td:last-child {
  background-color: var(--lp-element--background-light);
  color: var(--lp-element--contrast);
}

.lp-variables-element-secondary tbody tr:nth-child(1) td:last-child {
  background-color: var(--lp-element-secondary--background);
  color: var(--lp-element-secondary--contrast);
}

.lp-variables-element-secondary tbody tr:nth-child(2) td:last-child {
  background-color: var(--lp-element-secondary--background-dark);
  color: var(--lp-element-secondary--contrast);
}

.lp-variables-element-secondary tbody tr:nth-child(3) td:last-child {
  background-color: var(--lp-element-secondary--background-light);
  color: var(--lp-element-secondary--contrast);
}

.lp-variables-block tbody tr:nth-child(1) td:last-child {
  background-color: var(--lp-block--background);
  box-shadow: 0 0 0 5px var(--lp-block--border-color) inset;
  color: var(--lp-block--contrast);
}

.lp-variables-block tbody tr:nth-child(2) td:last-child {
  background-color: var(--lp-block-primary--background);
  box-shadow: 0 0 0 5px var(--lp-block-primary--border-color) inset;
  color: var(--lp-block-primary--contrast);
}

.lp-variables-block tbody tr:nth-child(3) td:last-child {
  background-color: var(--lp-block-secondary--background);
  box-shadow: 0 0 0 5px var(--lp-block-secondary--border-color) inset;
  color: var(--lp-block-secondary--contrast);
}

/*
---------------------------------------------------------
UPPRÄKNARE
--------------------------------------------------------- */

.lp-counter-grid {
  display: grid;
  padding: var(--lp-spacing-large) 0;

  gap: var(--lp-spacing) var(--lp-spacing-large);
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
}

.lp-counter-grid .sv-limepark-number-aos,
.sv-column-12 [class*='lp-max-width'] .lp-counter-grid .sv-limepark-number-aos {
  margin-bottom: 0;
}

div.lp-number-aos__default {
  --lp-number-aos-number-font-weight: 500;
}

.lp-number-aos__wrapper .lp-number-aos__font__message {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.lp-number-aos__default__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.sv-limepark-number-aos .lp-number-aos__default__link .lp-number-aos__default__additional-text {
  text-decoration: underline;

  text-decoration-thickness: 1px;
  transition: var(--lp-transition-default);
  text-underline-offset: 0.1em;
}

.lp-number-aos__default__link:hover .lp-number-aos__default__additional-text {
  text-underline-offset: 0.2em;
}

div .lp-number-aos__wrapper .lp-number-aos__default__number-unit {
  font-size: clamp(3rem,5.4vw,5.4rem);
  margin-bottom: 0;
}

div .lp-number-aos__font__message>span:first-child {
  margin-bottom: 0;
}

.lp-number-aos__wrapper .lp-number-aos__default__additional-text {
  font-size: var(--lp-font-size-small);
  font-weight: 300;
  line-height: 1.5;
}

.lp-image-section .lp-number-aos__default__link:after {
  content: none;
}

/* I bildsektion */

.lp-image-section .lp-number-aos__default__additional-text,
.lp-image-section .lp-number-aos__default__number-unit,
.lp-image-section .lp-number-aos__default__link {
  color: var(--lp-font-color--secondary);
}

.lp-image-section .lp-number-aos__default__appearance-leftborder {
  border-left: 0;
  padding-left: 0;
}

/* Anpassning för block */

.lp-counter-grid .lp-number-aos__default__appearance-block {
  text-align: center;
}

.lp-counter-grid .lp-number-aos__default__appearance-block .lp-number-aos__default__number-unit {
  margin-bottom: 0;
}

/*
---------------------------------------------------------
TAGGAR FILTRERBAR LISTNING
--------------------------------------------------------- */

.sv-limepark-filterable-list-tags .lp-filterable-tags {
  --lp-filterable-tags__tag--background: var(--lp-color--olive);
  --lp-filterable-tags__tag--background-hover: lch(from var(--lp-color--olive) calc(l * 0.9) c h);
  --lp-filterable-tags__tag--border-radius: var(--lp-button-border-radius);
  --lp-filterable-tags__tag--color: var(--lp-color--beige);
  --lp-filterable-tags__tag--font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  --lp-filterable-tags__tag--gap: 0.5em;
}

.sv-limepark-filterable-list-tags .lp-filterable-tags .lp-filterable-tags-tag span {
  padding: 0.6em 0.9em;
}

/*
---------------------------------------------------------
FILTRERBAR LISTNING - STANDARD
--------------------------------------------------------- */

div.lp-filterable-list--include-list-css {
  --lp-filterable-list__heading--font-size: var(--lp-font-size-medium);
  --lp-filterable-list__category--gap: var(--lp-spacing-xx-small);
  --lp-filterable-list__grid-gap: 2rem;
  margin-bottom: var(--lp-spacing-xx-large);
  --lp-filterable-list__image--background: var(--lp-color-brand);
}

.pagecontent > .sv-limepark-filterable-list:last-child div.lp-filterable-list--include-list-css {
  margin-bottom: 0;
}

div.lp-filterable-list--include-list-css .lp-filterable-list-item-category {
  padding: 0.4em 0.9em;
}

div.lp-filterable-list--include-list-css span.lp-filterable-list-item-category {
  background-color: var(--env-ui-color-brand-75);
  color: var(--env-ui-color-brand-75-contrast);
}

div.sv-limepark-filterable-list .lp-filterable-list-control input[type='checkbox'] + label,
div.sv-limepark-filterable-list .lp-filterable-list-control input[type='radio'] + label {
  background-color: transparent;
  border-radius: var(--lp-button-border-radius);
  font-weight: 500;
  padding: 1em 2em 1em 3.5em;
}

div.sv-limepark-filterable-list .lp-filterable-list-control input[type='checkbox'] + label:before,
div.sv-limepark-filterable-list .lp-filterable-list-control input[type='radio'] + label:before {
  background-color: transparent;
  left: 1.7em;
}

div.sv-limepark-filterable-list .lp-filterable-list-filter select {
  background-position: calc(100% - 1.5em) 55%;
  max-width: 500px;
  padding: 1em 2.5em 1em 1.5em;
  width: 100%;
}

div.sv-limepark-filterable-list .lp-filterable-list-text-search input {
  padding: 1em 2em 1em 1.5em;
}

div.sv-limepark-filterable-list .lp-filterable-list--include-filter-css .lp-filterable-list-control-group__heading,
div.sv-limepark-filterable-list .lp-filterable-list--include-filter-css .lp-filterable-list-text-search__label label,
div.sv-limepark-filterable-list .lp-filterable-list--include-filter-css .lp-filterable-list-control-group__label,
div.sv-limepark-filterable-list .lp-filterable-list--include-filter-css .lp-filterable-list-date__label label {
  margin-bottom: 0.6em;
}

div.sv-limepark-filterable-list .lp-filterable-list-item-date {
  font-weight: 300;
  margin-top: 0.8em;
}

div.sv-limepark-filterable-list .lp-filterable-list-item .lp-filterable-list-item-content__heading a {
  display: inline-block;
  padding-right: 1.4em;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

div.sv-limepark-filterable-list .lp-filterable-list-item .lp-filterable-list-item-content__heading a:after {
  background-color: var(--lp-font-color);
  content: '';
  display: inline-block;
  height: 1em;
  margin-bottom: -0.2em;
  margin-left: 0.4em;
  margin-right: -1.4em;
  transform: scale(0);
  transform-origin: left;
  transition: all 0.3s ease;
  width: 0;

  mask-image: var(--lp-icon-lp-arrow-right);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

div.sv-limepark-filterable-list .lp-filterable-list--include-list-css .lp-filterable-list-item.lp-filterable-list--clickable-area:hover .lp-filterable-list-item-content__heading a {
  text-decoration: none;
}

div.sv-limepark-filterable-list .lp-filterable-list-item.lp-filterable-list--clickable-area:hover .lp-filterable-list-item-content__heading a:after,
div.sv-limepark-filterable-list .lp-filterable-list-item.lp-clickable-area:hover .lp-filterable-list-item-content__heading a:after,
div.sv-limepark-filterable-list .lp-filterable-list-item .lp-filterable-list-item-content__heading a:hover:after {
  transform: scale(1);
  width: 1em;
}

div.sv-limepark-filterable-list .lp-filterable-list--include-list-css .lp-filterable-list-item.lp-filterable-list--clickable-area img {
  transition: all 0.5s ease;
}

div.sv-limepark-filterable-list .lp-filterable-list--include-list-css .lp-filterable-list-item.lp-filterable-list--clickable-area:hover img {
  transform: scale(1.05);
}

div.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper {
  padding-bottom: 0;
  width: 100%;
  aspect-ratio: 450 / 391;
  max-height: 39rem;
  height: auto;
}

div.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper img {
  position: static;
}

/*
---------------------------------------------------------
FILTRERBAR LISTNING - CASE
--------------------------------------------------------- */

.lp-filterable-list--template-case.lp-filterable-list--include-list-css .lp-filterable-list-item {
  border: none;
  background-color: var(--lp-block-primary--background);
}

.lp-filterable-list--template-case.lp-filterable-list--include-list-css span.lp-filterable-list-item-category {
  background-color: var(--lp-color--olive);
  color: var(--lp-color--beige);
}

.lp-filterable-list--template-case.lp-filterable-list--include-list-css .lp-filterable-list-item {
  display: flex;
  flex-direction: column;
}

.lp-filterable-list--template-case.lp-filterable-list--include-list-css .lp-filterable-list-item-content {
  flex: 1 1 1px;
  display: flex;
  flex-direction: column;
}

.lp-filterable-list--template-case.lp-filterable-list--include-list-css .lp-filterable-list-item-content__details {
  margin-top: auto;
}

.lp-filterable-list--template-case.lp-filterable-list--include-list-css .lp-filterable-list-image {
  transition: all 0.5s ease;
}

.lp-filterable-list--template-case.lp-filterable-list--include-list-css .lp-clickable-area:hover .lp-filterable-list-image {
  transform: scale(1.05);
}

/*
---------------------------------------------------------
FILTRERBAR LISTNING - NYHETER
--------------------------------------------------------- */

.lp-filterable-list--template-news.lp-filterable-list--include-list-css {
  --lp-filterable-list__box-grid: repeat(6, 1fr);
  --lp-filterable-list__heading--font-size: var(--lp-font-size-large);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item {
  background-color: var(--lp-filterable-list__primary-color);
  border: 0;
  display: flex;
  flex-direction: column;

  grid-column: span 2;
  transition: var(--lp-transition-default);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item.lp-filterable-list--clickable-area:hover {
  background-color: var(--env-ui-color-brand-90);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item--prioritized-hit {
  display: block;
  position: relative;

  grid-column: span 3;
  background-color: transparent;
}

.lp-filterable-list--template-news .lp-filterable-list-item--prioritized-hit .lp-filterable-list-image__wrapper {
  background-color: transparent;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-list:has(.lp-filterable-list-item--prioritized-hit:first-child + li:not(.lp-filterable-list-item--prioritized-hit)) .lp-filterable-list-item--prioritized-hit {
  grid-column: span 4;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item--prioritized-hit .lp-filterable-list-item-content {
  background-color: var(--env-element-font-color);
  border-radius: var(--lp-border-radius);
  bottom: var(--lp-spacing-small);
  left: var(--lp-spacing-small);
  position: absolute;
  right: var(--lp-spacing-small);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item--prioritized-hit .lp-filterable-list-item-content .lp-filterable-list-item-content__heading,
.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item--prioritized-hit .lp-filterable-list-item-content .lp-filterable-list-item-content__heading a {
  color: var(--env-element-background-color);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-content .lp-filterable-list-item-content__heading a {
  box-sizing: border-box;
  width: 100%;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-content {
  display: flex;
  flex-direction: column;

  justify-content: space-between;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item:not(.lp-filterable-list-item--prioritized-hit) .lp-filterable-list-item-content {
  height: 100%;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-content__heading,
.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-content__heading a {
  color: var(--lp-font-color--secondary);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-date {
  color: var(--env-element-font-color);
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css span.lp-filterable-list-item-category {
  background-color: transparent;
  border: 1px solid var(--env-element-font-color);
  color: var(--env-element-font-color);
  padding: 0.5em 0.8em;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-content__details {
  align-items: center;
  display: flex;
  margin-bottom: var(--lp-spacing);

  flex-wrap: wrap;
  gap: 0.6em;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-categories,
.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item-date {
  font-size: var(--lp-font-size-x-small);
  margin-top: 0;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper {
  height: 100%;
  max-height: clamp(40rem, 50vw, 66rem);
  padding-bottom: 0;
  width: 100%;

  aspect-ratio: 223 / 167;
}

.lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper img {
  display: block;
  height: 100%;
  width: 100%;
}

div.sv-limepark-filterable-list .lp-filterable-list--template-news.lp-filterable-list--include-list-css  .lp-filterable-list-item.lp-filterable-list--clickable-area a:after {
  background-color: var(--lp-font-color--secondary);
}

div.sv-limepark-filterable-list .lp-filterable-list--template-news.lp-filterable-list--include-list-css .lp-filterable-list-item--prioritized-hit.lp-filterable-list--clickable-area a:after {
  background-color: var(--env-element-background-color);
}

/*
---------------------------------------------------------
FILTRERBAR LISTNING - MODULER
--------------------------------------------------------- */

.lp-filterable-list--template-modules.lp-filterable-list--include-list-css {
  margin-top: var(--lp-spacing-x-large);

  --lp-filterable-list__image--background: var(--lp-color--dark-green);
}

.lp-filterable-list--template-modules.lp-filterable-list--include-list-css .lp-filterable-list-item {
  border: 0;
}

.lp-filterable-list--template-modules.lp-filterable-list--include-list-css .lp-filterable-list-item-content {
  background-color: var(--lp-block-secondary--background);
  color: var(--lp-block-secondary--contrast);
}

.lp-filterable-list--template-modules.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper {
  height: auto;
  max-height: 45rem;
  padding-bottom: 0;
  width: 100%;

  aspect-ratio: 1 / 1;
}

.lp-filterable-list--template-modules.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper img {
  display: block;
  height: 100%;
  width: 100%;
}


/*
---------------------------------------------------------
FILTRERBAR LISTNING - KORTVY
--------------------------------------------------------- */

.lp-filterable-list--template-cards.lp-filterable-list--include-list-css {
  --lp-filterable-list__control--background: transparent;
  --lp-filterable-list__image--background: var(--lp-color--dark-green);
}


.lp-filterable-list--template-cards.lp-filterable-list--include-list-css .lp-filterable-list-image__wrapper {
  height: auto;
  max-height: 39rem;
  padding-bottom: 0;
  position: relative;
  width: 100%;

  aspect-ratio: 450 / 391;
}


/*
---------------------------------------------------------
UTFÄLLBAR FILTRERING FL
--------------------------------------------------------- */

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list {
  --lp-filterable-list__control--font-size: clamp(1.6rem, 1.7vw, 1.8rem);
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-categories {
  border: 1px solid var(--lp-border-color);
  border-radius: var(--lp-border-radius);
  margin-bottom: var(--lp-spacing-large);
  padding: 0 var(--lp-spacing);
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-control-group--button {
  align-items: center;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: var(--lp-font-color);
  display: flex;
  font-size: var(--lp-font-size-medium);
  font-weight: 500;
  padding: var(--lp-spacing) 0;
  text-align: left;
  transition: var(--lp-transition-default);
  width: 100%;

  justify-content: space-between;
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-control-group--button:after {
  background-color: var(--lp-font-color);
  content: '';
  display: inline-block;
  font-size: var(--lp-font-size-medium);
  height: 1em;
  width: 1em;

  flex-shrink: 0;
  -webkit-mask-image: var(--lp-icon-lp-plus);
  mask-image: var(--lp-icon-lp-plus);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-control-group--button[aria-expanded='true']:after {
  -webkit-mask-image: var(--lp-icon-lp-minus);
  mask-image: var(--lp-icon-lp-minus);
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-control-group--button:hover,
.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-control-group--button:focus {
  background-color: transparent;
  color: var(--lp-font-color);
  text-decoration: underline;
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-filter {
  margin-bottom: 0;
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-categories {
  margin-top: 0;
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-control-group__wrapper {
  margin-bottom: var(--lp-spacing-small);
}

.sv-limepark-filterable-list.lp-toggle--filterable-list .lp-filterable-list-text-search:has(+ .lp-filterable-list-categories) {
  margin-bottom: var(--lp-spacing);
}

/*
---------------------------------------------------------
FILTRERBAR LISTNING - KONTAKT
--------------------------------------------------------- */

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact {
  margin-top: var(--lp-spacing);

  --lp-filterable-list__box-grid: repeat(auto-fill,minmax(min(34rem,100%),1fr));
  --lp-filterable-list__heading--font-size: clamp(2.2rem, 2.6vw, 2.8rem);
  --lp-filterable-list__grid-gap: clamp(4rem, 5vw, 6rem) 2rem;
}


.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item {
  border: 0;
  display: flex;
  flex-direction: column;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-image__wrapper {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-bottom: var(--lp-spacing-x-small);
  padding-bottom: 0;
  position: static;
  width: 100%;
  aspect-ratio: initial;
  max-height: none;
  border-radius: var(--lp-border-radius);
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-image__wrapper img {
  height: auto !important;
  position: static;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content {
  display: flex;
  flex-direction: column;
  font-weight: 300;
  padding: 0;

  flex: 1 1 auto;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content--details {
  margin-top: auto;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content__heading {
  font-weight: 500;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content-details__location,
.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content-details__mail {
  margin: 0;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content-details__mail a {
  text-decoration: underline;
  transition: var(--lp-transition-default);

  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content-details__mail a:hover {
  text-underline-offset: 0.2em;
}

.lp-filterable-list--include-list-css.lp-filterable-list--template-contact .lp-filterable-list-item-content-details__mail a:after {
  content: none;
}


/*
---------------------------------------------------------
UPPSKATTAD LÄSTID
--------------------------------------------------------- */

.limepark-reading-time__app__text::before {
  height: 1em;
  width: 1em;
}


/*
---------------------------------------------------------
LÄNKSAMLING
--------------------------------------------------------- */

/* Medföljande tema */

.sv-limepark-link-collection .limepark-link-collection__default__colorscheme-lp-theme {
  --lp-link-collection-background-color: var(--lp-element-primary--background);
  --lp-link-collection-border-color: rgb(0 0 0 / 0.1);
  --lp-link-collection-btn-background-color: var(--lp-color--green-light);
  --lp-link-collection-btn-background-color-hover: var(--lp-color--green-light-hover);
  --lp-link-collection-btn-font-color: var(--lp-font-color);
  --lp-link-collection-font-color: var(--lp-element-primary--contrast);
}

/* Generellt */

.sv-limepark-link-collection .limepark-link-collection__default {
  --lp-link-collection-padding: var(--lp-spacing);
}

.sv-limepark-link-collection .limepark-link-collection__heading {
  font-size: var(--lp-font-size-large);
}

.sv-limepark-link-collection .limepark-link-collection__listitem__link {
  font-size: var(--lp-font-size-small);
}

/* Fix i expanderbart innehåll */

.lp-expandable-content .limepark-link-collection__default__colorscheme-default {
  --lp-link-collection-padding: 0;
}

/*
---------------------------------------------------------
METADATABOX
--------------------------------------------------------- */

div.limepark-webapp-metadata-box__app {
  background-color: var(--lp-block--background);
  border-radius: var(--lp-border-radius);
  box-sizing: border-box;
  padding: var(--lp-spacing);
}

dl.limepark-webapp-metadata-box__app__list {
  display: flex;
  flex-direction: column;
  margin: 0;

  gap: 0.5em;
}

div.limepark-webapp-metadata-box__item__list-item {
  padding: 0;

  gap: 1em;
}

dt.limepark-webapp-metadata-box__item__name {
  font-weight: 500;

  flex: initial;
}

dd.limepark-webapp-metadata-box__item__value {
  font-weight: 300;
  margin: 0;
  text-align: left;

  flex: 1 1 1px;
}

.sv-template-kontaktperson .sv-image-portlet,
.sv-template-kontaktperson .pagecontent > .sv-image-portlet {
  margin: 0 auto var(--lp-spacing-large);
  max-width: 55rem;
}

.sv-template-kontaktperson .sv-limepark-webapp-metadata-box {
  margin: 0 auto;
  max-width: 55rem;
}

.sv-template-kontaktperson dt.limepark-webapp-metadata-box__item__name {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.sv-template-kontaktperson .limepark-webapp-metadata-box__item__list-item--titel .limepark-webapp-metadata-box__item__value {
  font-size: var(--lp-font-size-medium);
  margin-bottom: 1em;
}

/*
---------------------------------------------------------
OMDÖMESLISTNING
---------------------------------------------------------*/

.lp-reviews {
  align-items: start;
  display: flex;
  margin: 0 -1.5rem 5rem;
  overflow: hidden;

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

.lp-reviews__review {
  box-sizing: border-box;
  display: flex;
  margin-bottom: 15rem;
  padding: 0 1.5rem;
  width: 50%;
}

.lp-reviews__review--left {
  float: left;
}

.lp-reviews__review--right {
  float: none;
  margin-top: 20rem;
  position: relative;
  top: auto;
}

.lp-reviews__review:not(.lp-reviews__review--has-image) {
  max-width: 620px;
}

.lp-reviews__review.lp-reviews__review--has-image {
  margin-bottom: 15rem;
  margin-top: 0 !important;
  width: 100%;
}

.lp-reviews__review__image,
.lp-reviews__quote {
  flex: 1 1 1px
  ;
}

.lp-reviews__review:nth-child(4n+2) .lp-reviews__quote,
.lp-reviews__review:nth-child(4n+2) .lp-reviews__quote + .lp-reviews__review__image,
.lp-reviews__review:nth-child(4n+2) + .lp-reviews__review .lp-reviews__quote,
.lp-reviews__review:nth-child(4n+2) + .lp-reviews__review .lp-reviews__quote + .lp-reviews__review__image {
  background-color: #f9f7f1;
}

/*
---------------------------------------------------------
BILD
---------------------------------------------------------*/

.lp-reviews__review__image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 50%;
}


/*
---------------------------------------------------------
CITAT
---------------------------------------------------------*/

.lp-reviews__quote {
  background-color: rgba(139,180,63,0.2);
  margin: 0;
  min-height: 50rem;
  padding: 6rem 7rem;
  quotes: '„' '“';
}

.lp-reviews__review--has-image .lp-reviews__quote {
  min-height: 35rem;
}

.lp-reviews__quote:before {
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox=\'0%200%2062%2057\'%20xmlns=\'http://www.w3.org/2000/svg\'%20fill=\'%238BB43F\'%3E%3Cg%3E%3Cg%20transform=\'translate(-110%20-519)\'%3E%3Cg%20transform=\'translate(36%20453)\'%3E%3Cpath%20d=\'M79.167%2066C76.312%2066%2074%2068.32%2074%2071.182v20.73c0%202.863%202.312%205.182%205.167%205.182h10.439c.064%204.628-.387%2014.546-4.854%2021.903h.005a2.598%202.598%200%200%200%20.4%203.3c.911.86%202.305.94%203.309.192%200%200%2011.367-8.697%2011.367-25.395V71.182c0-2.863-2.312-5.182-5.166-5.182h-15.5zm36.166%200c-2.854%200-5.166%202.32-5.166%205.182v20.73c0%202.863%202.312%205.182%205.166%205.182h10.44c.064%204.628-.387%2014.546-4.854%2021.903h.005a2.598%202.598%200%200%200%20.4%203.3%202.578%202.578%200%200%200%203.308.192S136%20113.792%20136%2097.094V71.182c0-2.863-2.312-5.182-5.167-5.182h-15.5z\'%20transform=\'rotate(180%20105%2094.5)\'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  background-repeat: no-repeat;
  content: '';
  display: inline-block;
  height: 6rem;
  width: 6rem;
}

.lp-reviews__quote__text {
  color: #333;
  font-size: 1.8rem;
  line-height: 1.9;
  margin-bottom: 4rem;
}

.lp-reviews__project-name {
  color: #769014;
  display: block;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.5;
}

.lp-reviews__project-name--is-link {
  text-decoration: underline;
}

.lp-reviews__quote__cite {
  color: #424242;
  display: block;
  font-size: 1.8rem;
  line-height: 1.6;
}

.lp-selected-reviews__review:focus {
  outline-offset: -3px;
}

/* PERSONLIG HÄLSNING */
.sv-limepark-personal-greeting {
  background-color: var(--lp-block--background);
  border-radius: 8px;
  margin-bottom: 3rem;
  padding: 1rem 2rem;
  position: relative;
}

.sv-limepark-personal-greeting::after {
  border-color: var(--lp-block--background) transparent transparent transparent;
  border-style: solid;
  border-width: 1rem 1rem 0 1rem;
  bottom: -1rem;
  content: '';
  height: 0;
  position: absolute;
  right: 4rem;
  transform: rotate(0deg);
  width: 0;
}

/*
---------------------------------------------------------
RELATERAD LÄNKAR FÖR MODULER + INTRESSEANMÄLAN/DEMO
--------------------------------------------------------- */

.lp-link-button {
  margin: 0;
}

.lp-link-button a,
.lp-related--modules li a {
  align-items: center;
  appearance: none;
  border: 1px solid var(--env-element-secondary-background-color);
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--env-button-font-family);
  justify-content: center;
  margin: 0;
  text-align: center;
  text-decoration: none;
  padding: 1.1em 1.5em 1em;
  line-height: 1.5;
  min-height: 48px;
  border-radius: var(--env-button-border-radius);
  background-color: var(--env-element-secondary-background-color);
  color: var(--env-element-secondary-font-color);
  transition: var(--lp-transition-default);
  font-size: clamp(1.4rem,1.5vw,1.6rem);
}

.lp-link-button a:hover,
.lp-link-button a:focus,
.lp-related--modules li a:hover,
.lp-related--modules li a:focus {
  border-color: var(--env-element-secondary-background-color-dark);
  background-color: var(--env-element-secondary-background-color-dark);
  color: var(--env-element-secondary-font-color);
}

.lp-related--modules ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-related--modules li a:not(:hover, :focus):not([href*="marketplace"]) {
  border-color: var(--lp-color-brand-contrast);
  background-color: var(--lp-color-brand);
  color: var(--lp-color-brand-contrast);
}

.lp-related--modules li a:where([href^='http' i]):after {
  margin-left: 0.4em;
  background-color: var(--env-element-secondary-font-color);
  content: '';
  display: inline-block;
  height: 1em;
  width: 1em;

  -webkit-mask-image: var(--lp-icon-lp-external-link);
  mask-image: var(--lp-icon-lp-external-link);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

/* Anpassning för hero */

.lp-hero-buttons {
  max-width: 74rem;
  margin: var(--lp-spacing) auto 0;
}

.lp-hero-buttons li,
.lp-hero-buttons .lp-link-button {
  float: left;
}

.lp-hero-buttons li a,
.lp-hero-buttons .lp-link-button a {
  margin-bottom: var(--lp-spacing-small);
  margin-right: var(--lp-spacing-small);
}

.lp-hero-buttons .sv-template-layout:not(:has(.lp-link-button)) {
  display: none;
}

/*
---------------------------------------------------------
MODULEN HOS KUNDER
--------------------------------------------------------- */

.lp-customer-websites-heading {
  font-size: clamp(4rem, 8vw, 12rem); 
  font-weight: 500;
  line-height: 1.1;
  margin: var(--lp-spacing-xxx-large) 0 0.4em;
  max-width: 11ch;
}

.lp-customer-websites-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(35rem,100%),1fr));
  gap: var(--lp-spacing);
  margin-bottom: var(--lp-spacing-xxx-large);
}

.lp-customer-websites {
  background-color: var(--lp-block--background);
  border-radius: var(--lp-border-radius);
  padding: var(--lp-spacing-small);
}

.lp-customer-websites .lp-customer-websites-title {
  font-size: var(--lp-font-size-medium);
  margin: 0 0 0.3em;
}

.lp-customer-websites .lp-customer-websites-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lp-customer-websites .lp-customer-websites-list-item:not(:last-child) {
  margin-bottom: 0.2em;
}

.lp-customer-websites .lp-customer-websites-list-link {
  text-decoration: underline;
  text-underline-offset: 0.1em;
  text-decoration-thickness: 1px;
  transition: var(--lp-transition-default);
  font-weight: 300;
  font-size: var(--lp-font-size-small);
}

.lp-customer-websites .lp-customer-websites-list-link:hover {
  text-underline-offset: 0.2em;
}
   
   
/* ÖPPETTIDER */
.lp-openhours-list-app {
  margin-bottom: var(--lp-spacing-large);
}

/*
---------------------------------------------------------
TEST SCROLL SNAP
--------------------------------------------------------- */

.lp-scroll-snap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow-y: auto;
}

/*
---------------------------------------------------------
HERO MED FLIKAR
--------------------------------------------------------- */

div .limepark-hero-with-tabs__app {
  --lp-hero-with-tabs__content--margin: var(--lp-spacing);
  --lp-hero-with-tabs__content--background-color: var(--lp-color-brand);
  --lp-hero-with-tabs__content--font-color: var(--lp-color-brand-contrast);
  --lp-hero-with-tabs__content--heading-font-size: var(--lp-font-size-x-large);
  --lp-hero-with-tabs__content--preamble-font-size: var(--lp-font-size-medium);
  --lp-hero-with-tabs__content--heading-font-weight: 500;
  --lp-hero-with-tabs__content--extra-field-font-weight: 300;
  --lp-hero-with-tabs__content--padding: clamp(2.5rem, 5vw, 5rem);
  --lp-hero-with-tabs__content--extra-field-font-size: var(--lp-font-size-small);
  --lp-hero-with-tabs__tab--font-size: var(--lp-font-size-small);
  border-radius: var(--lp-hero-with-tabs__content--border-radius);
  overflow: hidden;
}

.limepark-hero-with-tabs__app .limepark-hero-with-tabs__slide__preamble {
  font-weight: 300;
  margin-top: 0.8em;
}

.limepark-hero-with-tabs__app .limepark-hero-with-tabs__slide__heading-link {
  text-decoration: none;
}

.limepark-hero-with-tabs__slide__heading-link:after {
  content: '';
  background-color: var(--lp-font-color--secondary);
  display: inline-block;
  height: 1em;
  margin-bottom: -0.2em;
  margin-left: 0.4em;
  margin-right: -1.4em;
  transform: scale(0);
  transform-origin: left;
  transition: all 0.3s ease;
  width: 0;
  mask-image: var(--lp-icon-lp-arrow-right);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.limepark-hero-with-tabs__slide__content.lp-clickable-area:hover .limepark-hero-with-tabs__slide__heading-link:after {
  transform: scale(1);
  width: 1em;
}

.limepark-hero-with-tabs__app .limepark-hero-with-tabs__slide__content {
  transition: var(--lp-transition-default);
}

.limepark-hero-with-tabs__slide__content.lp-clickable-area:hover {
  background-color: var(--env-ui-color-brand-90);
}

.limepark-hero-with-tabs__app .limepark-hero-with-tabs__tab {
  font-weight: 300;
}

/* Anpassning för flikar i botten */

div .limepark-hero-with-tabs__app__position-bottom-edge .limepark-hero-with-tabs__app__wrapper>div:first-child {
  justify-content: start;
  margin: 0 var(--lp-hero-with-tabs__content--margin);
}

/* stylelint-disable */

@container herowithtabs (max-width: 600px) {

  div .limepark-hero-with-tabs__slide__image-wrapper {
    grid-area: initial;
  }

  div .limepark-hero-with-tabs__slide__content {
    grid-area: initial;
    margin: 0;
    border-radius: 0;
  }

  div .limepark-hero-with-tabs__app .limepark-hero-with-tabs__app__wrapper > div:last-child > div > div:last-child {
    margin-bottom: 0;
  }

  div .limepark-hero-with-tabs__app__position-bottom-edge .limepark-hero-with-tabs__app__wrapper>div:first-child {
    margin: 0;
  }

  div .limepark-hero-with-tabs__app .limepark-hero-with-tabs__app__wrapper>div:first-child>button:last-child {
    border-bottom-right-radius: var(--lp-hero-with-tabs__tabs--border-radius);
    border-bottom-left-radius: var(--lp-hero-with-tabs__tabs--border-radius);
  }
}

/* stylelint-enable */

/*
---------------------------------------------------------
KOLLAGEMENY
--------------------------------------------------------- */

.lp-collage-menu .lp-collage-menu-content-wrapper .lp-collage-menu-heading {
  font-size: 1.3em;
}

.lp-collage-menu .lp-collage-menu-content-wrapper .lp-collage-menu-preamble {
  font-size: 0.9em;
}

/*
---------------------------------------------------------
BESLUTSTRÄD
--------------------------------------------------------- */
.lp-app-decision-helper__question-body {
  margin-bottom: var(--lp-spacing-small);
}

.lp-app-decision-helper__input {
  margin-bottom: var(--lp-spacing-xx-small);
}

.lp-app-decision-helper__input-field {
  border: 1px solid var(--lp-border-color-default);
  border-radius: 4px;
  box-shadow: none;
  font-size: var(--lp-font-size-small);
  height: auto;
  line-height: 1.6 !important;
  padding: 1rem var(--lp-spacing-small);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  font-weight: 300;
  width: 100%;
}

.lp-app-decision-helper button {
  background-color: var(--env-element-background-color);
  border-color: var(--env-element-background-color);
  color: var(--env-element-font-color);
  font-size: clamp(1.5rem, 1.55vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  min-height: 48px;
  padding: 1.1em 1.5em;
  transition: var(--lp-transition-default);
  border: 1px solid;
  border-radius: calc(var(--env-button-border-radius) * 1);
  font-family: var(--env-button-font-family);
  letter-spacing: var(--env-button-letter-spacing);
  text-transform: var(--env-button-text-transform);
}

.lp-app-decision-helper button:hover,
.lp-app-decision-helper button:focus {
  background-color: var(--env-element-background-color-dark);
}

.lp-app-decision-helper .lp-app-decision-helper__button--back {
  background-color: #0000;
  border-color: var(--env-element-background-color);
  color: var(--env-element-background-color);
}

.lp-app-decision-helper .lp-app-decision-helper__button--back:hover,
.lp-app-decision-helper .lp-app-decision-helper__button--back:focus {
  background-color: var(--env-element-background-color);
  color: var(--env-element-font-color);
}

.lp-app-decision-helper input[type='radio'] {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.lp-app-decision-helper input[type='radio'] + label {
  cursor: pointer;
  display: inline-block;
  font-size: var(--lp-font-size-small);
  font-weight: normal;
  line-height: 1.5;
  padding: 0.2em 0.6em 0.2em 2em;
  position: relative;
}

.lp-app-decision-helper input[type='radio'] + label:before {
  background-color: #fff;
  border: 1px solid var(--lp-font-color);
  content: '';
  height: 1.1em;
  left: 0.5rem;
  position: absolute;
  top: 0.3em;
  width: 1.1em;
}

.lp-app-decision-helper input[type='radio'] + label:before {
  border-radius: 50%;
}

.lp-app-decision-helper input[type='radio']:checked + label:before {
  background-color: var(--lp-element-primary--background);
  box-shadow: inset 0 0 0 0.2em #fff;
}

.lp-app-decision-helper__question-footer {
  margin-bottom: var(--lp-spacing-small);
  display: flex;
  gap: var(--lp-spacing-xx-small);
}