/*
=========================================================
FOOTER CSS
=========================================================
 * Innehåller styling för sidfot
 * 
 * Copyright (C) Limepark AB.
 * https://limepark.se/licensvillkor
=========================================================*/


.lp-footer {
  box-sizing: border-box;
  margin: clamp(1.6rem,6vw,8rem) 0;
  position: relative;
}

.lp-footer-illustration {
  margin-bottom: var(--lp-spacing-x-large);
}

.lp-footer .lp-main-grid {
  padding-bottom: 0;
  padding-top: 0;
}

.lp-footer h2.subheading {
  font-size: clamp(1.8rem, 2vw, 2rem);
  color: var(--env-font-color);
  margin-bottom: 2.5rem!important;
}

.lp-footer a {
  color: var(--lp-color-1);
}

.lp-footer .sv-related-portlet li.normal {
  font-weight: 800;
  margin-top: var(--lp-spacing-x-small)
}

.lp-footer .sv-related-portlet li.normal:first-child {
  margin-top: 0;
}

.lp-footer .sv-related-portlet li.normal:nth-child(2n) {
  font-weight: 400;
  margin-top: 0;
}

/* Grid */

.lp-footer-grid {
  display: grid;

  gap: var(--lp-spacing-small);
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}

.lp-footer .lp-footer-grid > .sv-layout:first-child p.normal {
  font-weight: 800;
  margin-top: var(--lp-spacing-x-small);
  margin-bottom: 0;
}

/*
---------------------------------------------------------
SIDFOTSMENY
---------------------------------------------------------*/

.lp-footer-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lp-footer-menu li {
  border-bottom: 1px solid var(--lp-color-3);
  padding: 1.2rem 0;
}

.lp-footer-menu li:first-child {
  border-top: 1px solid var(--lp-color-3);
}

.lp-footer-menu li > a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.lp-footer-menu li > a:hover {
  text-decoration: underline;
}

.lp-footer-menu .lp-icon {
  margin-right: 1rem;
  color: var(--lp-color-1);
  height: 1.1em;
  width: 1.1em;
}


/* Tar bort bilden som visas för externa länkar */
.lp-footer-menu img {
  display: none;
}

/*
---------------------------------------------------------
UNDERWEBB SEKTION
---------------------------------------------------------*/

.lp-subweb-footer-section {
  display: flex;
  align-items: center;
  margin-top: var(--lp-spacing-x-large);
  gap: var(--lp-spacing-large);
}

.lp-subweb-footer-section img {
  max-width: 95px;
}