ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.menu li {
  padding: 0;
  margin: 0;
}
ul.menu:after {
  clear: both;
  content: "";
  display: block;
}
li.menu-item .fa {
  line-height: inherit;
}


/**
 * Navbar
 */

#navbar2 {
    width: 1170px;
    background: #fff;
    padding: 0;
    line-height: 60px;
    user-select: none;
    margin: 0 auto;
}
#navbar {
    width: 1170px;
    background: #fff;
    padding: 0;
    margin: 0 auto;
    height: 0px;         /* säkra höjden */
    visibility: hidden;   /* gömmer men behåller utrymme */
}

#navbar1 {display:none;}

#navbar .toggle {
  float: left;
  cursor: pointer;
}
.quick-menu {
  float: left;
  margin-left: 40px;
  font-size: 16px;
  font-weight: 400;
}
.quick-menu > span,
.quick-menu > a {
  display: block;
  float: left;
  margin-right: 40px;
  cursor: pointer;
  user-select: none;
}
.quick-menu > .menu-wrapper {
  float: left;
}
.quick-menu .menu li {
  display: block;
  float: left;
  margin-right: 40px;
}
.quick-menu span.menu-link {
  cursor: pointer;
}
.quick-menu span.menu-link:hover {
  text-decoration: underline;
}

/**
 * Nav
 */
#nav {
  position: absolute;
  left: -400px;
  top: 0;
  bottom: 0;
  background: #fff;
  z-index: 150;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  transition: left 0.2s ease-out, box-shadow 0.2s ease;
}
#nav.open {
  left: 0;
  box-shadow: 0 0 11px rgba(0,0,0,0.2);
}
#nav > .inner {
  display: grid;
  grid-template-columns: 400px 1fr;
}
#nav .head {
  position: relative;
  border-bottom: 1px solid #e9e9e9;
  padding: 33px 50px;
}
#nav .head .logo {
  display: block;
  width: 130px;
  height: 42px;
  background: url("../images/logo_solutions_op.png") no-repeat center center;
  background-size: contain;
}
#nav .head .close {
  position: absolute;
  right: 60px;
  top: 40px;
  cursor: pointer;
}
#nav .main,
#nav .tree,
#nav .sub {
  padding: 40px 50px;
}
#nav .tree {
  display: none;
  animation: fade 0.2s ease;
}
#nav.p-open .product-tree,
#nav.i-open .industry-tree,
#nav.k-open .knowledge-tree {
  display: block;
}
#nav.k-open .main,
#nav.i-open .main,
#nav.p-open .main {
  display: none;
}
#nav .support-info {
  border-top: 1px solid #e9e9e9;
  padding: 30px 50px;
}
#nav .sub {
  display: none;
  animation: fade 0.2s ease;
}
#nav .sub.active {
  display: block;
}
#nav.r-open > .inner {
  width: 750px;
}
#nav.r-open .left {
  border-right: 1px solid #e9e9e9;
}
#nav .main .menu-item {
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 15px;
}
#nav .main .menu-item:hover {
  text-decoration: underline;
}
#nav .main a {
  display: block;
}
#nav .tree .back {
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 35px;
}
#nav .tree .back .icon {
  margin: 2px 15px 0 0;
}
#nav .tree .back > div {
  display: inline-block;
  vertical-align: middle;
}
#nav .tree .menu-item {
  display: block;
  margin-top: 15px;
  cursor: pointer;
}
#nav .tree .menu-item:hover {
  text-decoration: underline;
}
#nav .sub .a {
  display: block;
  font-weight: 700;
  margin-bottom: 25px;
}
#nav .sub .menu-item {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
}
#nav .sub .bback {
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 30px;
}
#nav .sub .bback .icon {
  margin: 2px 15px 0 0;
}
#nav .sub .bback > div {
  display: inline-block;
  vertical-align: middle;
}
#nav .support-info .title {
  font-size: 20px;
  margin-bottom: 30px;
}
#nav .support-info .info {
  color: #828282;
}
#nav .support-info .more {
  display: block;
  margin-top: 30px;
}


/**
 * Footer menu
 */
.footer-menu {
  font-size: 20px;
}
.footer-menu > .menu {
  float: left;
}
.footer-menu .menu-depth-1 > li {
  float: left;
  margin-right: 80px;
}
.footer-menu .menu-depth-1 > li:last-child {
  margin-right: 0;
}
.footer-menu .menu-depth-2 > li {
  display: block;
  margin-top: 5px;
}
.footer-menu .menu-depth-1 > li > .menu-link {
  font-weight: 700;
}


/**
 * Login/logout
 */
.user-controls {
  float: left;
  font-weight: 400;
  font-size: 12px;
  margin-right: 15px;
}
.user-controls .icon {
  float: left;
  font-size: 28px;
  line-height: 30px;
  padding-right: 10px;
}
.user-controls .text {
  float: right;
  line-height: 15px;
}
.user-controls .with-sub {
  position: relative;
  cursor: pointer;
}
.user-controls .with-sub.active .sub {
  display: block;
}
.user-controls .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  margin-top: 10px;
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 30px;
  padding: 20px 30px;
  z-index: 110;
  animation: fade 0.2s ease forwards;
}
.user-controls .sub:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid #000;
}

/**
 * Lang swithcer
 */
.lang-switcher {
  float: left;
  padding-top: 5px;
  margin-left: 20px;
  line-height: 20px;
}
.lang-switcher > * {
  float: left;
}
.lang-switcher .current {
  padding-right: 5px;
}
.lang-switcher .options {
  width: 0;
  overflow: hidden;
  transition: width 0.2s ease;
}
.lang-switcher .options > .inner {
  padding: 0 5px;
  white-space: nowrap;
  border-left: 1px solid transparent;
  display: inline-block;
  vertical-align: bottom;
  transition: border-color 0.2s ease;
}
.lang-switcher.open .options > .inner {
  border-color: #ccc;
}
.flag {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 1px solid #979797;
  text-align: center;
  border-radius: 50%;
  background-color: #ebebeb;
  background-position: center center;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  cursor: pointer;
  vertical-align: bottom;
}
.flag-sv {
  background-image: url("../images/flag-sv.png");
}
.flag-fi {
  background-image: url("../images/flag-fi.png");
}
.flag-en {
  background-image: url("../images/flag-en.png");
}



/**
 * Drop down menu
 */
div.menu-dropdown {
  float: left;
  width: 20%;
}
.menu-dropdown .select-custom-title {
  border: none;
  color: #000;
  background: #ffdc2e;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}
.menu-dropdown .select-custom.empty .select-custom-title-inner {
  color: inherit;
}
.menu-dropdown .select-custom-title-inner {
  overflow: initial;
}
.menu-dropdown .select-custom .fa {
  position: static;
  float: none;
  margin-left: 10px;
  font-size: 18px;
  line-height: 21px;
  vertical-align: bottom;
}
.is-ie .menu-dropdown .select-custom .fa {
  position: relative;
  right: auto;
  top: -5px;
}
.menu-dropdown .select-custom-options {
  background: #ffdc2e;
  border: none;
  color: #000;
  font-weight: 400;
}
.menu-dropdown .select-custom .select-custom-option {
  background: none;
  padding: 10px 25px;
}
.menu-dropdown .select-custom .select-custom-option:hover {
  background: #000;
  color: #ffdc2e;
}


/**
 * Scroll menu
 */
div.menu-dropdown ~ .menu-scroll {
  width: 80%;
  float: right;
}
.menu-scroll a {
  display: table-cell;
  width: 1%;
  text-align: center;
  height: 50px;
  line-height: 48px;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-left-width: 0;
  font-weight: 700;
  text-decoration: none;
  color: rgba(0,0,0,0.6);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.menu-scroll a:first-child {
  border-left-width: 1px;
}
.menu-scroll a:hover {
  color: #fff;
  background: #393939;
  border-color: #393939;
}

/**
 * Admin menu
 */
#menu-admin {
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
#menu-admin ul.menu {
  background: #111;
}
#menu-admin ul.menu li {
  list-style-type: none;
  margin: 0;
}
#menu-admin ul.menu li.menu-item-settings,
#menu-admin ul.menu li.menu-item-logout {
  float: right;
}
#menu-admin ul.menu-depth-1 {
  width: 100%;
}
#menu-admin ul.menu-depth-1 li {
  float: left;
  position: relative;
}
#menu-admin ul.menu li .menu-link {
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: normal;
  line-height: 22px;
  display: block;
  text-decoration: none;
}
#menu-admin ul.menu li span.menu-link {
  cursor: default;
}
#menu-admin ul.menu li .menu-link:hover {
  background: #ffcb05;
  color: #000;
}
#menu-admin ul.menu ul.menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  width: 150px;
}
#menu-admin ul.menu li:hover > ul.menu {
  display: block;
}
#menu-admin ul.menu ul.menu li {
  width: 100%;
}
#menu-admin ul.menu ul.menu ul.menu {
  top: 0;
  left: 150px;
}


/**
 * Mobile menu
 */
.menu-mobile-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 15%;
  height: 50px;
  font-size: 16px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
.menu-category-btn {
  position: absolute;
  left: 10px;
  top: 0;
  height: 50px;
  font-size: 16px;
  line-height: 50px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-category-btn .fa {
  margin-left: 3px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  z-index: 1000;
  background: #393939;
  color: #fff;
  -webkit-transform: translate3d(100%,0,0);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.7,0,0.3,1);
  transform: translate3d(100%,0,0);
  transition: transform 0.3s cubic-bezier(0.7,0,0.3,1);
}
.menu-mobile-open .mobile-menu {
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
}
.is-ios .mobile-menu {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu .close {
  width: 50px;
  height: 50px;
  background: url("../images/support_close.png") no-repeat center center;
  background-size: 12px auto;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.mobile-menu .group .title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  padding: 15px;
  background: #000;
  border-bottom: 1px solid #474747;
}
.mobile-menu .group a {
  display: block;
  padding: 15px;
  font-size: 16px;
  font-weight: 400;
  border-bottom: 1px solid #474747;
  text-decoration: none;
}
.mobile-menu .group.knowledge a {
  background: #81a8b8;
}

.category-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  z-index: 1000;
  background: #393939;
  color: #fff;
  -webkit-transform: translate3d(-100%,0,0);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.7,0,0.3,1);
  transform: translate3d(-100%,0,0);
  transition: transform 0.3s cubic-bezier(0.7,0,0.3,1);
}
.menu-category-open .category-menu {
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
}
.is-ios .category-menu {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.category-menu .close {
  width: 50px;
  height: 50px;
  background: url("../images/support_close.png") no-repeat center center;
  background-size: 12px auto;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.category-menu .title a .fa {
  width: 16px;
}
.category-menu .title .expand {
  width: 40px;
}
