.lp-js .lp-box button {
  display: none;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.lp-js .lp-box button.default-show {
  display: block;
}
.lp-nav-boxes .lp-box li:nth-child(n+5) {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.lp-nav-boxes .lp-box.lp-show-more li:nth-child(n+5) {
  max-height: 70px;
}

.lp-nav-boxes .lp-box.lp-show-more button {
  border: none;
  height: 0;
  padding: 0 25px;
}

/*
---------------------------------------------------------
PUFFNAVIGERING PÅ INGÅNGSSIDOR
--------------------------------------------------------- */
.lp-nav-boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  list-style: none;
  margin: 0;
  padding: 0;

  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}

.lp-nav-boxes > li {
  background-color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 3rem;
  margin-right: 2.272727272727273%;
  width: 23.295454545454547%;
}

.lp-nav-boxes > li:nth-child(4n) {
  margin-right: 0;
}

.lp-nav-box-top-decoration {
  background-color: #0f408c;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 8rem;
}

.lp-nav-box-content {
  padding: 2rem 3rem 3rem;
}

.lp-nav-boxes h2 {
  font-size: 1.8rem;
  margin: 0 0 1rem;
  padding-left: 1rem;/*Som på länkarna i menyn under*/
}

.lp-nav-boxes h2 a {
  display: inline-block;
  padding-right: 1.9rem !important;
  text-decoration: none;
}

.lp-nav-boxes h2 a:focus,
.lp-nav-boxes h2 a:hover {
  text-decoration: underline;
}

.lp-nav-boxes h2 a:after {
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2026%2026\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%23292b2c\'%3E%3Cpath%20%20d%3D%22M11.414%203.586L8.586%206.414%2015.172%2013l-6.586%206.586%202.828%202.828L20.828%2013z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  content: '';
  display: inline-block;
  height: 14px;
  margin-bottom: 0.2rem;
  margin-left: 0.5rem;
  margin-right: -1.9rem;
  vertical-align: middle;
  width: 14px;
}

.lp-nav-box-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-nav-box-menu li a {
  border-top: 1px solid #ebebeb;
  color: #0f408c;
  display: block;
  font-size: 1.7rem;
  line-height: 1.5;
  padding: 1.7rem 4.4rem 1.7rem 1rem;
  text-decoration: none;
}

.lp-nav-box-menu li a:after {
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D\'0%200%2026%2026\'%20xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\'%20fill%3D\'%230f408c\'%3E%3Cpath%20%20d%3D%22M11.414%203.586L8.586%206.414%2015.172%2013l-6.586%206.586%202.828%202.828L20.828%2013z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  content: '';
  display: inline-block;
  height: 12px;
  margin-bottom: 0.2rem;
  margin-left: 0.3rem;
  margin-right: -1.5rem;
  vertical-align: middle;
  width: 12px;
}

.lp-nav-box-menu li:first-child a {
  border-top: none;
}

.lp-nav-box-menu li a:hover,
.lp-nav-box-menu li a:focus {
  text-decoration: underline;
}

.lp-nav-box-content button {
  background-color: #000;
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox=\'0%200%2050%2050\'%20xmlns=\'http://www.w3.org/2000/svg\'%20fill=\'%23fff\'%3E%3Cpath%20d=\'M25%202C12.31%202%202%2012.31%202%2025s10.31%2023%2023%2023%2023-10.31%2023-23S37.69%202%2025%202zm0%202c11.61%200%2021%209.39%2021%2021s-9.39%2021-21%2021S4%2036.61%204%2025%2013.39%204%2025%204zm-1%209v11H13v2h11v11h2V26h11v-2H26V13h-2z\'%3E%3C/path%3E%3C/svg%3E');
  background-position: 1rem 0.5rem;
  background-repeat: no-repeat;
  background-size: 20px;
  border: none;
  border-radius: 1.4rem;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.7rem 1.4rem 0.7rem 3.5rem;
}
