

/*
=========================================================
DECORATIONS CSS
=========================================================
 * Innehåller styling av dekorationer
 *
 * Copyright (C) Limepark AB.
 * https://limepark.se/licensvillkor
=========================================================*/


/*
---------------------------------------------------------
BILDPUFFAR
--------------------------------------------------------- */

.lp-boxes {
  display: grid;
  margin: var(--lp-spacing) 0;

  grid-gap: var(--lp-spacing);
  grid-template-columns: var(--lp-grid-default);
}

.lp-boxes > div {
  border-radius: var(--lp-border-radius);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.lp-boxes > .sv-layout > .sv-text-portlet,
.lp-boxes > .sv-layout > .sv-layout {
  background: var(--lp-color-4);
  height: 100%;
  padding: var(--lp-spacing-small) var(--lp-spacing) var(--lp-spacing);
}

.lp-boxes .sv-text-portlet:not(:last-child) {
  margin: 0 0 1.5rem !important;
}

.lp-boxes h2.subheading,
.lp-boxes h3.heading3 {
  margin: 0 !important;
}

.lp-boxes h2.subheading a,
.lp-boxes h3.heading3 a {
  align-items: center;
  box-sizing: border-box;
  color: var(--lp-color-4-contrast);
  display: flex;
  font-size: var(--lp-font-size-3);
}

.lp-boxes .sv-image-portlet img {
  min-width: 100%;
  object-fit: cover;
}

/*
---------------------------------------------------------
KONTAKTRUTA
--------------------------------------------------------- */

.lp-contact-box {
  background-color: var(--lp-color-3);
  border-radius: var(--lp-border-radius);
  margin: var(--lp-spacing) 0;
  padding: var(--lp-spacing);
}

.lp-contact-box a {
  font-weight: 600;
}

/*
---------------------------------------------------------
PUFF
--------------------------------------------------------- */

.lp-box {
  background-color: var(--lp-color-6);
  border-radius: var(--lp-border-radius);
  margin-bottom: var(--lp-spacing);
  padding: var(--lp-spacing);
}

.lp-box .sv-text-portlet:last-child > .sv-text-portlet-content > .normal:last-child,
.lp-box.sv-text-portlet > .sv-text-portlet-content > .normal:last-child {
  margin-bottom: 0;
}

.lp-box .subheading,
.lp-box .heading3 {
  color: var(--lp-color-1);
}

.lp-box .normal,
.lp-box .small,
.lp-box a:not(.env-button) {
  color: var(--lp-color-4-contrast);
}

/*
---------------------------------------------------------
HITTA DIREKT
--------------------------------------------------------- */
.lp-find-now {
  margin-bottom: var(--lp-spacing-large);
}

.lp-find-now h2 {
  font-size: 1.6rem;
}

.lp-find-now__list {
  list-style: none;
  padding: 0;
  margin-top: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--lp-spacing-x-small); 
}

.lp-find-now-item {
  border: 1px solid var(--lp-color-3);
  width: fit-content;
  padding: var(--lp-spacing-xx-small) var(--lp-spacing-x-small);
  border-radius: var(--lp-border-radius);
}

.lp-find-now-item a {
  text-decoration: none;
  color: var(--lp-color-1);
}

.lp-find-now-item:hover a {
  text-decoration: underline;
}

/*
---------------------------------------------------------
BILDPUFFAR
--------------------------------------------------------- */

.lp-boxes,
.lp-boxes-white {
  display: grid;
  margin: 0 0 2rem; /* tidigare 3 rem först*/

  grid-gap: var(--lp-spacing);
  grid-template-columns: var(--lp-grid-default);
}

.lp-boxes > div,
.lp-boxes-white > div {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--lp-border-radius);
  overflow: hidden;
  transition: all .3s ease;
}

.lp-boxes > div:hover,
.lp-boxes-white > div:hover {
  transform: scale(1.02);
}

.lp-boxes > .sv-layout > .sv-layout,
.lp-boxes-white > .sv-layout > .sv-layout {
  background: var(--lp-color-3);
}

.lp-boxes > .sv-layout > .sv-layout > .sv-layout,
.lp-boxes-white > .sv-layout > .sv-layout > .sv-layout {
  display: flex;
  justify-content: space-between;
  gap: var(--lp-spacing-x-small);
}

.lp-boxes > .sv-layout > .sv-text-portlet,
.lp-boxes-white > .sv-layout > .sv-text-portlet,
.lp-boxes > .sv-layout > .sv-layout,
.lp-boxes-white > .sv-layout > .sv-layout {
  height: 100%;
  padding: var(--lp-spacing);
  border-radius: 0 0 var(--lp-border-radius) var(--lp-border-radius);
}

.lp-boxes .sv-text-portlet:not(:last-child),
.lp-boxes-white .sv-text-portlet:not(:last-child) {
  margin: 0!important;
}

.lp-boxes h2.subheading,
.lp-boxes-white h2.subheading {
  margin: 0 !important;
}

.lp-boxes h2.subheading a,
.lp-boxes-white h2.subheading a {
  align-items: flex-start;
  box-sizing: border-box;
  color: var(--lp-font-color);
  display: flex;
  -ms-flex-align: center;
  font-size: 2.2rem;
  text-decoration: none;
  justify-content: space-between;
}

.sv-theme-Standardtema .lp-boxes h2.subheading a,
.sv-theme-Standardtema .lp-boxes-white h2.subheading a {
  color: var(--lp-color-1);
}

.lp-boxes .sv-text-portlet-content .normal,
.lp-boxes-white .sv-text-portlet-content .normal {
  margin-bottom: 0 !important;
  margin-top: var(--lp-spacing-xx-small);
}

.lp-boxes .lp-icon,
.lp-boxes-white .lp-icon {
  margin-top: .6rem;
  color: var(--lp-font-color);
}

.sv-theme-Standardtema .lp-boxes .lp-icon,
.sv-theme-Standardtema .lp-boxes-white .lp-icon {
  color: var(--lp-color-1);
}

/* Vita bildpuffar */
.lp-boxes-white > .sv-layout > .sv-layout {
  background: #fff;
}

.lp-boxes-white > div {
  box-shadow: var(--lp-box-shadow);
}

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

div.sv-layout div.lp-expandable-content {
  margin: 1.5rem 0 0 0;
}

div .lp-expandable-content__toggler > .lp-toggler-icon {
  width: 13px;
}

div .lp-expandable-content__wrap .lp-expandable-content__toggler:after {
  background-color: var(--lp-color-3);
  opacity: 1;
}

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

div .lp-expandable-content__toggler .subheading,
div .lp-expandable-content__toggler .heading3 {
  color: var(--lp-color-1);
  font-weight: 600;
}

div .lp-expandable-content__content {
  border-top: 1px solid var(--lp-border-color);
  margin: 0 var(--lp-spacing-x-small) 0 var(--lp-spacing-x-small);
  padding: 2rem 0 2rem 0;
  border-radius: 0;
}

/*
---------------------------------------------------------
LAYOUT FÖR SCREEN9
--------------------------------------------------------- */

.pagecontent .lp-screen9-wrapper a[href^='http']:after {
  display: none;
}

