/*Utseende för header*/

#header-widget-language{
	display: none;
}

#masthead{
	height: 80px !important;
	padding: 0 !important;
	border: none;
	position: fixed;
	width: 100%;
}

#masthead > div{
	display: flex;
	justify-content: space-between;
	height: 100%;
}

#masthead > div > div{
	height: 100%;
}

#masthead > div > div:last-of-type{
	position: absolute;
	right: 0;
	top: 0;
}

/*Utseende för header logga*/
#header-logo{
	padding: 10px 0 10px 20px;
}

#header-logo a, #header-logo img{
	height: 100%;
	width: auto;
	max-width: unset;
}

/*Utseende för header meny*/
#header-menu{
	display: table;
}

#header-menu > div{
	display: table-cell;
  	text-align: center;
  	vertical-align: middle;
}

#header-menu ul{
	list-style: none;
	margin: 0;
}

#header-menu li{
	display: inline-block;
	text-transform: uppercase;
	font-weight: 600;
}

#header-menu li:not(:last-of-type){
	margin-right: 2em;
}

#header-menu a{
	color: unset;
}

/*Utseende för widgets*/
#header-widgets, #header-hamburger-widgets{
	display: table;
	padding-right: 20px;
}

#header-widgets > div, #header-hamburger-widgets > div{
	display: table-cell;
  	text-align: center;
  	vertical-align: middle;
	position: relative;
}

#header-widgets a, #header-hamburger-widgets a{
	background-color: transparent;
	color: unset;
	padding: 0 1em;
}

#header-widgets i{
	font-size: 1.4em;
}

#search-bar{
	position: fixed;
	top: 0;
	z-index: 1000;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
}

#search-bar *{
	margin: 0;
}

#search-bar >.site-search{
	display: initial;
}

#close-search-bar-outside{
	height: 100%;
}

#search-bar:not(.search-visible){
	display: none;
}

#search-bar .search-field{
  height: 6em;
}

#search-bar .woocommerce-product-search::before{
	top: 2.5em;
}

#search-bar a{
	color: var(--primary);
	z-index: 1001;
	position: absolute;
	top: 1.75em;
	right: 1.75em;
}

#search-bar a::before{
	content: "\f00d";
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
}

#header-hamburger{
	width: 80px;
	display: none;
}

@media screen and (max-width: 1200px) {
	#header-hamburger{
		display: block;
	}
	
	#header-menu{
		display: none;
	}
	
	#header-widgets{
		display: none;
	}
}

#header-hamburger > button{
	height: 80px;
	width: 80px;
	background-color: transparent;
	z-index: 10;
	position: fixed;
}

#header-hamburger > button > i{
	font-size: 1.5em;
}

#header-hamburger-menu{
	width: 0;
	height: 100vh;
	position: fixed;
	right: 0;
	top: 0;
	transition: 300ms;
	max-width: 500px;
}

.hamburger-active{
	width: 85% !important;
	z-index: 2;
}

#header-hamburger-overlay{
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #000000;
	opacity: 0.5;
	display: none;
	z-index: 1;
}

.hamburger-overlay-active{
	display: block !important;
}

#header-hamburger-menu > div:last-of-type{
	margin-top: 80px;
}

#header-hamburger-menu ul{
	list-style: none;
	margin: 0;
	margin-left: 25px;
}

#header-hamburger-menu li{
	margin-bottom: 1em;
}

#header-hamburger-menu a{
	margin-bottom: 1em;
	font-weight: 600;
	text-transform: uppercase;
}

#header-hamburger-menu{
	margin-bottom: 1em;
	font-weight: 600;
	text-transform: uppercase;
}

#header-hamburger-menu:not(.hamburger-active) a{
	display: none;
	transition: 300ms;
}

#header-hamburger-widgets{
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 25px;
	margin-top: calc(40px - 1em);
	font-size: 24px;
}

#header-hamburger-widgets i{
	font-size: 0.8em;
}

#header-hamburger-widgets a{
	padding: 0 0.8em;
}

#header-hamburger-widgets a:first-of-type{
	padding-left: 0;
}

#header-hamburger-widget-search{
	cursor: pointer;
}

#header-widget-cart{
	position: relative;
}

#header-widget-cart>span{
	position: absolute;
	left: 0;
	right: 0;
	color: black;
	top: -0.55em;
	font-size: 0.85em;
	font-weight: bold;
}

#header-widgethamburger--cart>span{
	position: relative;
	left: -17px;
	color: black;
	top: -0.35em;
	font-size: 0.55em;
	font-weight: bold;
}

#header-widget-language i{
	position: relative;
}

@media screen and (max-width: 450px) {
	#header-hamburger-widgets i{
		font-size: .75em;
	}
	
	#header-hamburger-widgets a{
		padding: 0 .5em;
	}
}