

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


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

.lp-boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 3rem -1.5rem 2rem;

  flex-wrap: wrap;
}

.lp-boxes > div {
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  flex-direction: column;
  margin: 0 0 3rem;
  min-width: 250px;
  padding: 0 1.5rem;
  position: relative;
  width: 33.3333%;

  -webkit-box-flex: 1;
  flex: 1 1 auto;
}

.sv-column-6 .lp-boxes > div {
  width: 50%;
}

.lp-boxes .sv-text-portlet {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  flex-direction: column-reverse;
  height: 100%;
  min-height: 240px;
  z-index: 1;
}

.lp-boxes .sv-layout:after {
  background-color: #00664a;
  bottom: 0;
  content: '';
  left: 1.5rem;
  position: absolute;
  right: 1.5rem;
  top: 0;
}

.sv-column-6 .lp-boxes .sv-text-portlet {
  min-height: 180px;
}

.lp-boxes .sv-text-portlet-content {
  background-color: rgba(0,97,70,0.9);
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2025%2025\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23fff\'%3E%3Cg%20%20id%3D%22Design%22%3E%3Cg%20id%3D%22Start---nytt-f%C3%B6rslag--uppdatering%22%20transform%3D%22translate(-555%20-2491)%22%3E%3Cpath%20d%3D%22M567.5%202491c-6.892%200-12.5%205.608-12.5%2012.5s5.608%2012.5%2012.5%2012.5%2012.5-5.608%2012.5-12.5-5.608-12.5-12.5-12.5zm0%201.923a10.564%2010.564%200%200%201%2010.577%2010.577%2010.564%2010.564%200%200%201-10.577%2010.577%2010.564%2010.564%200%200%201-10.577-10.577%2010.564%2010.564%200%200%201%2010.577-10.577zm.691%204.417l-1.382%201.352%203.846%203.846h-9.886v1.924h9.886l-3.846%203.846%201.382%201.352%206.16-6.16-6.16-6.16z%22%20id%3D%22Shape%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
  background-position: right 15px bottom 17px;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  transition: 0.2s;
}

.lp-boxes .lp-clickable-area:hover .sv-text-portlet-content {
  background-position: right 12px bottom 17px;
}

.lp-boxes h2.mellanrubrik,
.lp-boxes h3.underrubrik {
  color: #fff;
  font-size: 2.2rem;
  margin: 0 !important;
}

.lp-boxes h2.mellanrubrik a,
.lp-boxes h3.underrubrik a {
  -webkit-box-align: center;
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  font-size: 2.2rem;
  padding: 1.5rem 5.5rem 1.5rem 2rem;
}

.lp-boxes h3.underrubrik a:hover,
.lp-boxes h2.mellanrubrik a:hover {
  text-decoration: underline;
}


.sv-column-6 .lp-boxes h3.underrubrik a,
.sv-column-6 .lp-boxes h2.mellanrubrik a {
  font-size: 2rem;
}

.lp-boxes p.brodtext {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0 !important;
  margin-top: -2rem !important;
  padding: 1.5rem 5.5rem 1.5rem 2rem;
}

.sv-edit-mode .lp-boxes br {
  display: none;
}

/* Bildpuff utan bild */
.lp-boxes .lp-box-no-img h3.underrubrik,
.lp-boxes .lp-box-no-img h2.mellanrubrik {
  height: 100%;
}

.lp-boxes .lp-box-no-img h3.underrubrik a,
.lp-boxes .lp-box-no-img h2.mellanrubrik a {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  height: 100%;
  padding: 1.5rem 4rem;
  text-align: center;
  text-decoration: underline;

  -webkit-box-pack: center;
  justify-content: center;
}

.lp-boxes .lp-box-no-img h3.underrubrik a:hover,
.lp-boxes .lp-box-no-img h2.mellanrubrik a:hover {
  text-decoration: none;
}

.lp-boxes .lp-box-no-img .sv-text-portlet-content {
  height: 100%;
}


/*
---------------------------------------------------------
INNEHÅLLSFÖRTECKNING
--------------------------------------------------------- */


.sv-decoration-summary {
  background: #f0efec;
  margin: 0 0 3rem;
  padding: 2rem 2rem 1rem;
}

/*
---------------------------------------------------------
BILDDEKORATIONER
--------------------------------------------------------- */

.lp-fullgrid-image {
  margin: 4rem -17.545%;
}


.lp-floatright-image {
  float: right;
  margin: 0 -17.545% 2rem 3rem;
  max-width: 420px;
  max-width: 50%;
}


/*
---------------------------------------------------------
NYHETSLISTNINGAR
--------------------------------------------------------- */

.lp-news .sv-archive-portlet {
  border-bottom: 7px solid #86bc24;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.lp-news .sv-archive-portlet li {
  margin: 1.5rem 0;
}

.lp-news .sv-archive-portlet h3.underrubrik {
  color: #222;
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0.5rem 0 0;
}

/*.lp-news .sv-archive-portlet h3.underrubrik strong {
  font-weight: bold;
}*/


.lp-news .sv-archive-portlet .brodtext,
.lp-news .sv-archive-portlet .ingress {
  color: #222;
  font-size: 1.4rem;
}

.lp-news .sv-archive-portlet .ingress::before {
  content: ' | ';
}

.lp-news .sv-archive-portlet + .sv-text-portlet p.brodtext a {
  -webkit-box-align: center;
  align-items: center;
  border-bottom: none;
  color: #006b4e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.lp-news .sv-archive-portlet + .sv-text-portlet p.brodtext a:hover {
  text-decoration: underline;
}

.lp-news .sv-archive-portlet + .sv-text-portlet p.brodtext a:after {
  background: no-repeat 50% 50%;
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2025%2025\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23006B4E\'%3E%3Cg%20%20id%3D%22Design%22%3E%3Cg%20id%3D%22Start---nytt-f%C3%B6rslag--uppdatering%22%20transform%3D%22translate(-555%20-2491)%22%3E%3Cpath%20d%3D%22M567.5%202491c-6.892%200-12.5%205.608-12.5%2012.5s5.608%2012.5%2012.5%2012.5%2012.5-5.608%2012.5-12.5-5.608-12.5-12.5-12.5zm0%201.923a10.564%2010.564%200%200%201%2010.577%2010.577%2010.564%2010.564%200%200%201-10.577%2010.577%2010.564%2010.564%200%200%201-10.577-10.577%2010.564%2010.564%200%200%201%2010.577-10.577zm.691%204.417l-1.382%201.352%203.846%203.846h-9.886v1.924h9.886l-3.846%203.846%201.382%201.352%206.16-6.16-6.16-6.16z%22%20id%3D%22Shape%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E');
  background-size: 1.8rem 1.8rem;
  content: '';
  display: inline-block;
  height: 1.8rem;
  margin: 0 0 0 0.5rem;
  transition: 0.2s;
  width: 1.8rem;
}

.lp-news .sv-archive-portlet + .sv-text-portlet p.brodtext a:hover::after {
  margin: 0 0 0 0.8rem;
}

.lp-news .sv-archive-portlet .sv-clear-both {
  display: none;
}
