/*
---------------------------------------------------------
TOPPMENY
---------------------------------------------------------*/

.lp-topmenu ul {
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
}

.lp-topmenu li {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;

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

.lp-topmenu li > a {
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  height: 100%;
  padding: 2.2rem 1rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
  z-index: 1;
}

.lp-topmenu li > a:before {
  background-color: #4d4d4d;
  bottom: 0;
  content: ' ';
  display: block;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  -webkit-transform: skew(-20deg);
  transform: skew(-20deg);
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  width: 100%;
  z-index: -1;
}

.lp-topmenu li > a:hover,
.lp-topmenu li > a:focus {
  text-decoration: underline;
}

.lp-topmenu li > a.lp-current:before {
  opacity: 1;
}


.lp-topmenu li > a:hover:before,
.lp-topmenu li > a:focus:before {
  opacity: 1;
}


/*
---------------------------------------------------------
UNDERMENY 1/3 - Standardinställningar
--------------------------------------------------------- */

/* Döljer alla huvudsidors menyer */
.lp-menu .lp-level-1 > li {
  display: none;
}

/* Men visar huvudusidan man är inne på */
.lp-menu .lp-level-1 > li.lp-open {
  display: block;
}

/* Döljer pilknappen på första nivån så att man inte kan stänga menyn */
.lp-menu .lp-level-1 > li > button {
  display: none;
}

/* Döljer alla nivåer initialt */
.lp-menu .lp-level-1 ul {
  display: none;
}

/* Men visar undersidor när man har klickat på pilknappen */
.lp-menu .lp-open > ul {
  display: block;
}

/* Döljer tillbakalänk vid utpekning av egen startpunkt för undermeny */
.lp-menu a.lp-back-link {
  display: none;
}

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

.lp-menu li.lp-has-children {
  position: relative;
}

/* Döljer länken till menyn i mobilen */
.lp-skip-to-menu-mobile {
  display: none;
}

/* Döljer stängknapp för off canvas-meny */
.lp-close-button {
  display: none;
}


/*
---------------------------------------------------------
UNDERMENY 2/3
--------------------------------------------------------- */
.lp-menu {
  margin-top: 7.9rem; /*TODO: Dubbelkolla när rätt font*/
}

.lp-menu a {
  color: #fff;
  display: block;
  font-size: 1.7rem;
  line-height: 1.5;
  padding: 1.7rem 4.4rem 1.7rem 1rem;
  text-decoration: none;
}

.lp-menu ul li ul li ul a {
  color: #b8b8b8;
}

.lp-menu a:hover,
.lp-menu a:focus {
  text-decoration: underline;
}

.lp-menu .lp-current > a {
  font-weight: bold;
}

/* Nivåer */
.lp-level-1 > li > a {
  background: #2a2a2a;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0.97;
  padding: 2.5rem 3rem;
  text-transform: uppercase;
}

.lp-level-2 > li > a {
  background: #2a2a2a;
  padding-left: 3rem;
}

.lp-level-3 > li > a {
  background: #2a2a2a;
  padding-left: 4rem;
}

.lp-level-4 > li > a {
  background: #2a2a2a;
  padding-left: 5rem;
}

.lp-level-5 > li > a {
  background: #2a2a2a;
  padding-left: 6rem;
}

.lp-level-6 > li > a {
  background: #2a2a2a;
  padding: 1rem 3.6rem 1rem 7rem;
}


/*
---------------------------------------------------------
UNDERMENY 3/3 - Knappar
--------------------------------------------------------- */

.lp-menu button {
  background: #2a2a2a;
  border: none;
  height: 59px;
  outline: none;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
}

.lp-menu button:hover,
.lp-menu button:focus {
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.lp-has-children > button .lp-icon {
  color: #fff;
  font-size: 2rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Closed/Opened */
.lp-has-children > button .lp-icon--close,
.lp-has-children.lp-open > button .lp-icon--open {
  display: none;
}

.lp-has-children.lp-open > button .lp-icon--close,
.lp-has-children > button .lp-icon--open {
  display: inline;
}

/* Avvikelser */
.lp-level-6 button {
  height: 36px;
}


/*
---------------------------------------------------------
PUFFAR PÅ STARTSIDAN
--------------------------------------------------------- */
.lp-link-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-link-boxes li {
  background-color: #fff;
  margin-bottom: 3rem;
  margin-right: 2.272727272727273%;
  padding: 0;
  position: relative;
  width: 31.81818181818182%;
}

.lp-link-boxes li:nth-child(3n) {
  margin-right: 0;
}

.lp-link-boxes img {
  width: 100%;
}

.lp-link-box-content {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 28.8rem;
  padding: 2.4rem 3rem 6rem;
}

.lp-link-box-content h2 {
  color: #000;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.lp-link-box-content p {
  color: #292b2c;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}


.lp-link-box-content a {
  background-color: #000;
  border-radius: 1.4rem;
  bottom: 3rem;
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  padding: 0.7rem 1.4rem;
  position: absolute;
  text-decoration: none;
}

.lp-link-box-content a:focus,
.lp-link-box-content a:hover {
  background-color: #535353;
}


/*
---------------------------------------------------------
PUFFNAVIGERING PÅ HEROSIDOR
--------------------------------------------------------- */
.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 {
  text-decoration: none;
}

.lp-nav-boxes h2 a:focus,
.lp-nav-boxes h2 a:hover {
  text-decoration: underline;
}

.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: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: 0.7rem 1.4rem;
  background-repeat: no-repeat;
  background-size: 18px;
  border-radius: 1.4rem;
  color: #fff;
  font-size: 1.3rem;
  height: auto;
  padding: 0.7rem 1.4rem 0.7rem 3.2rem;
}

/*
---------------------------------------------------------
VERTKTYGSMENY
---------------------------------------------------------*/

.lp-site-tools {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.lp-site-tools li {
  display: inline-block;
  margin: 0 0 0 1rem;
  padding: 0;
}

.lp-site-tools li:first-child {
  margin: 0;
}

.lp-site-tools li > a {
  display: block;
  text-decoration: none;
}

.lp-site-tools li > a:hover,
.lp-site-tools li > a:focus {
  text-decoration: underline;
}

.lp-site-tools .lp-icon {
  margin: 0 0.5rem 0 0;
}

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


/*
---------------------------------------------------------
FLERNIVÅLÄNK
--------------------------------------------------------- */

.sv-multilevellink-portlet {
  margin: 0 0 2rem;
}

.sv-multilevellink-portlet .lp-multilevellink-title {
  vertical-align: middle;
}

.sv-multilevellink-portlet a.litenxtext {
  color: #1e69aa;
  text-decoration: none;
}

.sv-multilevellink-portlet a.litenxtext:hover,
.sv-multilevellink-portlet a.litenxtext:focus {
  text-decoration: underline;
}

.sv-multilevellink-portlet .lp-icon {
  font-size: 1.2rem;
  margin: 0 0.1rem 0 0.3rem;
}


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

footer .sv-jcrmenu-portlet  a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.75px;
  line-height: 2rem;
  text-decoration: none;
  text-transform: uppercase;

  -webkit-font-smoothing: antialiased;
}

footer .sv-jcrmenu-portlet a:hover {
  text-decoration: underline;
}

footer .sv-jcrmenu-portlet.lp-footer-menu-first-row a {
  font-weight: 700;
}

footer .sv-jcrmenu-portlet li {
  margin-right: 1rem;
}

footer .lp-logo img {
  margin: 4rem auto 0.5rem;
  width: 70px !important; /* Ã¤ndra till halva bildbredden fÃ¶r retinaupplÃ¶sning */
}

footer p.normal {
  color: #f0f0f0;
  font-size: 12px;
}
