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

.lp-topmenu {
   margin: 20px 0 0;
}

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

.lp-topmenu li {
   display: block;
   -webkit-box-flex: 1;
   -moz-box-flex: 1;
   box-flex: 1;
   -webkit-flex: 1 auto;
   -moz-flex: 1 auto;
   -ms-flex: 1 auto;
   flex: 1 auto;
   margin: 0 20px;
   padding: 0;
}

.lp-topmenu li > a {
   width: auto;
   padding: 5px 0 30px;
   display: block;
   border-bottom: 5px solid #fff;
   color: #39393a;
   text-decoration: none;
   text-transform: uppercase;
   text-align: center;
   font-size: 1.6rem;
   font-weight: 600;
   -webkit-transition: all .3s ease;
   -moz-transition: all .3s ease;
   -ms-transition: all .3s ease;
   -o-transition: all .3s ease;
   transition: all .3s ease;
}

.lp-topmenu li > a.lp-current,
.lp-topmenu li > a:hover,
.lp-topmenu li > a:focus {
   border-bottom: 5px solid #f6840c;
}

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

.lp-topmenu li > a img {
   display: none;
}

.lp-topmenu li:last-child > a {
   color: #83af08;
}


/*
---------------------------------------------------------
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 {
   margin: 0;
   padding: 0;
   list-style-type: none;
}

.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 a {
   display: block;
   padding: 6px 44px 5px 15px;
   font-size: 1.6rem;
   line-height: 160%;
   text-decoration: none;
}

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

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

.lp-menu li > a img {
   display: none;
}

/* Nivåer */
.lp-level-1 > li > a {
   padding: 12px 15px;
   background: #fff2c8;
   border-top: 1px solid #e4e4e4;
   border-bottom: 1px solid #e4e4e4;
}

.lp-level-2 > li > a {
   padding-left: 30px;
}

.lp-level-3 > li > a {
   padding-left: 60px;
}

.lp-level-4 > li > a {
   padding-left: 90px;
}

.lp-level-5 > li > a {
   padding-left: 120px;
}



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

.lp-menu button {
   height: 36px;
   width: 44px;
   padding: 0;
   border: none;
   position: absolute;
   top: 0;
   right: 0;
   background: none;
}

.lp-has-children > button .lp-icon {
   fill: #4a4a4a;
   -webkit-transition: all 0.3s ease;
   transition: all 0.3s ease;
}

.lp-open.lp-has-children > button .lp-icon {
   -webkit-transform: rotate(90deg);
   -ms-transform: rotate(90deg);
   transform: rotate(90deg);
}


/*
---------------------------------------------------------
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 10px;
   padding: 0;
}

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

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

.lp-site-tools .lp-icon {
   margin: 0 5px 0 0;
}


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


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

.sv-multilevellink-portlet {
   margin: 20px 0 0;
}

.sv-multilevellink-portlet .lp-icon {
   width: 7px;
   height: 7px;
   margin: 0 1px 0 3px;
   fill: #777;
}

.sv-multilevellink-portlet a.normal {
    text-decoration: none;
}

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

