

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


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

.lp-boxes {
  display: flex;
  margin: 3rem -1.5rem 2rem;

  flex-wrap: wrap;
  justify-content: center;
}

.lp-boxes > div {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 0 3rem;
  max-width: 400px;
  min-width: 250px;
  padding: 0 1.5rem;
  position: relative;
  width: 25%;

  flex: 1 1 auto;
}

.lp-boxes .sv-image-portlet {
  /* fix för IE11 */
  flex: 0 0 auto;
}

.lp-boxes > .sv-layout > .sv-text-portlet,
.lp-boxes > .sv-layout > .sv-layout {
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  background-color: rgba(43,216,181,0.8);
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  padding: 2rem;
  position: absolute;
  width: calc(100% - 3rem);
}

.lp-boxes > .sv-layout:nth-child(3n+1) > .sv-text-portlet,
.lp-boxes > .sv-layout:nth-child(3n+1) > .sv-layout {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  background-color: rgba(43,216,181,0.4);
}

.lp-boxes > .sv-layout:nth-child(3n+2) > .sv-text-portlet,
.lp-boxes > .sv-layout:nth-child(3n+2) > .sv-layout {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  background-color: rgba(255,212,197,0.4);
}

.lp-boxes > .sv-layout:nth-child(3n+0) > .sv-text-portlet,
.lp-boxes > .sv-layout:nth-child(3n+0) > .sv-layout {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  background-color: rgba(3,82,157,0.4);
}

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

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

.lp-boxes h2.subheading a {
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  -ms-flex-align: center;
  font-family: 'PT Sans Narrow', 'open sans', arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.lp-boxes .sv-text-portlet p.normal {
  color: #fff;
  font-family: 'PT Sans Narrow', 'open sans', arial, sans-serif;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0;
}

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

.lp-box {
  background-color: #ffd4c5;
  margin-bottom: 3rem;
  padding: 3rem;
}
