.header {position: fixed; width: 100%; top: 0; left: 0; z-index: 999; font-weight: 500;}
.header.header-scroll {
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.2);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,.2);
	box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.main-header, .sub-header{border-bottom: 1px solid #cccccc;}
.sub-header ul {height:100%;}
.sub-header ul li, .sub-header ul li a {display: inline-block; font-size: 0.8rem; line-height: 1;}
.sub-header ul li a {padding:10px 12px;}
.sub-header .cntct {padding-right:10px;}
.sub-header .menu {padding-left:10px;}
.sub-header ul li a img {max-width: 30px; border-radius: 100%;}
.main-header .sub-menu, .main-header .sub-menu li a .expand-ul {display: none;}
.main-header .sub-menu li.menu-item-has-children a .expand-ul {display: block;}
.main-header .sub-menu li {width:100%;display:block;}
.main-header .nav ul{list-style: none;}
.logo a img{
	width: 160px;
	filter:0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.main-header a:hover{ background: #fdefee;}



.nav ul li a:hover, .nav ul li.current-menu-item > a, .nav ul li.current-menu-ancestor > a, nav .sub-menu .current-produkter-ancestor a{
	background: rgba(255,0,0,0.08);
}

/* .main-header .current-menu-ancestor, .main-header .current-menu-parent */

.main-header .li a:hover{color: #000000;}

/* Desktop */ 

@media only screen and (min-width: 1150px) {
	.sub-header > div {
		-webkit-justify-content: space-between;
		-ms-justify-content: space-between;
		justify-content: space-between;
	}
	.main-header .nav {position:relative;}
	.main-header .centerlogo .nav {right:0;}
	.main-header .centerlogo.horiz-center .nav {width:auto;}
	.main-header .centerlogo.horiz-center .nav li.lastone {margin-right:120px;}
	.main-header .centerlogo.horiz-center .nav li.firstone {margin-left:120px;}
	.main-header .centerlogo.flex-space .span{flex-grow:1;}
	.main-header > ul {height:100%;}
	.main-header .nav > ul > li, .main-header .nav > ul > li a {display: inline-block; line-height: 1; position: relative;}
	.main-header .nav > ul > li a {padding:40px 22px; display: block; font-weight: 600;}
	.header .nav ul.sub-menu li a{white-space: nowrap; padding: 10px 15px; font-weight: 100;}
	.logo {position:relative;left:5%;}
	.centerlogo .logo {position:absolute;left:50%;margin-left:-80px;height:100%;}
	.logo a:hover img {filter:grayscale(100) contrast(200%);}
	.hamburger-outer {display: none;}
	.main-header ul li.menu-item-has-children:hover >.sub-menu {
		-webkit-box-shadow: 0 5px 5px rgba(0,0,0,.2);
		-moz-box-shadow: 0 5px 5px rgba(0,0,0,.2);
		box-shadow: 0 5px 5px rgba(0,0,0,.2);
		background:#fff; 
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		display: flex;
		min-width: 200px;
	}
	.main-header ul li.meny-products.menu-item-has-children:hover >.sub-menu{
		position: fixed; 
		display: inherit !important; 
		top: 130px;
		left:5%;
		right:5%;
	}
	.header .icon-search{
		color: #fff;
		background-color: #ff0000;
		padding: 38px 40px;
		font-size: 1.3em;
		display: block;
		float: right;
		cursor: pointer;
	}


	
	.main-header .nav > ul > li .sub-menu li a {padding:15px;}
	.expand-ul {margin-left:10px;display:inline-block;}
	.main-header .meny-products .sub-menu li {width:20%; float: left;}
	.main-header .nav>ul>li .sub-menu li a {width:100%; text-transform:none; letter-spacing: normal; font-weight: 700; padding: 15px 20px;}
	.main-header .sub-menu li a img {width:80px;height:80px;border-radius:100%; margin-bottom: 20px;}
	.main-header .nav>ul>li .sub-menu li .sub-menu {display: flex; position: relative; font-weight: 400; margin: 0; line-height: 1; box-shadow: none;}
	.main-header .sub-menu li .sub-menu li {width:100%;}
	.main-header .meny-products > .sub-menu ~ .sub-menu li{border-right: 1px solid #ddd;}

	.meny-products .sub-menu .menu-item-has-children{
		padding: 20px 0px;
	}
	.meny-products .sub-menu .menu-item-has-children > a{
		font-weight: 700;
		color: #ff0000;
	}
	.meny-products .sub-menu .menu-item-has-children .sub-menu a{
		font-weight: 100;
		padding: 7px 30px;
		position: relative;
	}
	.meny-products .sub-menu .menu-item-has-children .sub-menu .current-menu-item a:before{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		background-color: #ff0000;
		width: 6px;
		height: 100%;
	}

	.meny-products .sub-menu .menu-item-has-children{
		border-right: 1px solid #cccccc;
		min-height: 300px;
	}
	.meny-products .sub-menu .menu-item-has-children:last-of-type{
		border-right: none;
	}


	.main-header .expand-ul{display: none;}

	/* .meny-products .sub-menu{
		display: none;
	}

	.main-header .sub-menu {
		position: fixed;
		border-top: 1px solid #bcf5fa;
		top: 91px;
		left: 0;
		right: 0;
		background: #fff;
		width: 90%;
		margin: 0 auto;
		-webkit-box-shadow: 0 4px 4px 0 rgb(34 45 60 / 10%);
		-moz-box-shadow: 0 4px 4px 0 rgba(34,45,60,.1);
		box-shadow: 0 4px 4px 0 rgb(34 45 60 / 10%);
	}	
	.main-header ul .meny-products.menu-item-has-children >.sub-menu li{
		width: 20%;
		border-right: 1px solid #ddd;
	}

 */

/* 
	.main-header ul .meny-products.menu-item-has-children >.sub-menu {
		position: fixed;
		background: #fff;
		left: 5%;
		right: 5%;
		padding: 60px 40px;
		-ms-align-items: initial;
		align-items: initial;
		margin-top: 1px;
	} 
	 .main-header .menu-item-has-children:not(.meny-products):hover > ul.sub-menu {
		display: block;
	}


	.main-header ul .meny-products .sub-menu .menu-item-has-children:hover .sub-menu{
		display: flex;
	}
	

	.nav ul li.meny-products .sub-menu{
		-webkit-box-shadow: 0 5px 5px rgba(0,0,0,.2);
		-moz-box-shadow: 0 5px 5px rgba(0,0,0,.2);
		box-shadow: 0 5px 5px rgba(0,0,0,.2);
		position: absolute; 
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		background:#fff; 
		left:0;
	}


	.nav ul.sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		background-color: #fff;
		box-shadow: 0 2px 3px rgb(0 0 0 / 15%);
		min-width: 180px;
	}
	
	

	.main-header ul .meny-products.menu-item-has-children .sub-menu .meny-products.menu-item-has-children{

	}

	.main-header .nav > ul > li .sub-menu li a {
		padding:15px;
		font-weight: 100;	
	}
	.expand-ul {margin-left:10px;display:inline-block;}


	.meny-products .sub-menu .menu-item-has-children .sub-menu li{ 
		width: 100%;
		display: block;
	}
	.main-header .nav > ul > li .sub-menu li a,
	.meny-products .submenu .menu-item-has-children a{
		color: #ff0000;
	} */
}

/* Mobile / iPad */

@media only screen and (max-width: 1149px) {
	.sub-header > div {
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
	}
	.logo {position:relative;left:5%;}
	.centerlogo .logo {left:0;}
	.main-header .centerlogo.flex-space {
		-webkit-justify-content: center;
		-ms-justify-content: center;
    	justify-content: center;
	}
	.main-header .menu li {position: relative; display:block; width:100%;}
	.main-header .menu li a {position:relative; display:block; padding:10px 20px;}
	.sub-menu {background:#ffeeed;}
	.sub-menu .expand-ul {background: transparent;}
	.expand-ul {
		cursor: pointer;
		position: absolute;
		right: 0;
		top: 0;
		width:50px;
		padding: 15px;
		font-size: 1rem;
		color: #000000;
		background: #ff0000;
		z-index: 999;
	}
	.hamburger-outer {
		position: absolute;
		height: 100%;
		top: 0;
		right: 0;
		z-index: 100;
		border-radius: 0;
		padding: 10px;
	}
	.c-hamburger {
		position: relative;
		overflow: hidden;
		margin: 0;
		float: right;
		top: 0;
		z-index: 99;
		padding: 0;
		width: 40px;
		height: 30px;
		font-size: 0;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		box-shadow: none;
		border-radius: none;
		border: none;
		background: transparent;
		outline: none;
		cursor: pointer;
	}
	.c-hamburger span {
		display: block;
		position: absolute;
		top: 14px;
		left: 0;
		width: 30px;
		height: 2px;
		border-radius: 2px;
		background: #000;
	}
	.c-hamburger--htx span:before, .c-hamburger--htx span:after {transition-duration: 0.3s, 0.3s; transition-delay: 0.3s, 0s;}
	.c-hamburger--htx span:before {transition-property: top, transform;}
	.c-hamburger--htx span:after {transition-property: bottom, transform;}
	.c-hamburger span:before {top: -10px;}
	.c-hamburger span:after {bottom: -10px;}
	.c-hamburger span:before, .c-hamburger span:after {
		position: absolute;
		display: block;
		left: 0;
		width: 40px;
		height: 2px;
		background: #000;
		content: "";
		border-radius: 2px;
	}
	.c-hamburger--htx.is-active span {background: none;}
	.c-hamburger--htx.is-active span:before, .c-hamburger--htx.is-active span:after {transition-delay: 0s, 0.3s;}
	.c-hamburger--htx.is-active span:before {top: 0; transform: rotate(45deg);}
	.c-hamburger--htx.is-active span:after {bottom: 0; transform: rotate(-45deg);}
	.main-header .nav ul{width: 100%;}
	.nav {
		position: fixed;
		width: 100%;
		height: 500px;
		top: 117px;
		left: 105%;
		z-index: 99;
		background: #fff;
		padding-top: 20px;
		border-top: 1px solid #eaeaea;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		-webkit-box-shadow: 0 10px 10px rgba(0,0,0,.2);
		-moz-box-shadow: 0 10px 10px rgba(0,0,0,.2);
		box-shadow: 0 10px 10px rgba(0,0,0,.2);
		-webkit-transition: all 0.25s ease;
		-moz-transition: all 0.25s ease;
		-ms-transition: all 0.25s ease;
		-o-transition: all 0.25s ease;
		transition: all 0.25s ease;
	}
	.nav.active {left: 0;}
	.nav ul {height: 100%;}
	.nav > ul >li.menu-item-has-children > ul >li.menu-item-has-children li a{padding-left: 40px;}
	.nav .icon-search{font-size: 1.5rem; padding: 10px 20px; width: 100%;}
}