/* Hidden in desktop */
.l-mobile-header,
.l-mobile-nav {
	display: none;
}

.l-menubar {
	/* overwrite inline style... */
	max-width: 1000px !important;

	/* Sticky without js
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	position: sticky;
	*/
}

.filter-select {
    display: none;
}


/* ==========================================================================
   Layout
   ========================================================================== */

@media all and (max-width: 1024px) {
	.l-holder {
		margin-left: 15px;
		margin-right: 15px;
		width: auto;
		max-width: 1000px;
	}
	.is-menubar-sticky {
		margin-left: 15px;
		margin-right: 15px;
		width: auto;
	}
	
	.site-nav__item {
		font-size: 16px;
		padding-left: 10px;
		padding-right: 10px;	
	}
}

/* XLarge */
@media all and (max-width: 960px) {
	.l-sidebar {
		display: none;
	}

	.l-product-col-1 {
		width: 55%;
	}
}

/* Large */
@media all and (max-width: 768px) {
	body {
	}

	.l-inner,
	.view-home .l-inner,
	.view-checkout .l-inner {
		margin-left: 0;
		margin-right: 0;
	}

	.l-menubar-wrapper,
	.l-menubar {
		display: none;
	}

	.l-menubar,
	.l-footer {
		margin-left: 0;
		margin-right: 0;
	}

	.l-sidebar-primary {
		display: none;
	}

	.l-content {
		margin-top: 15px;
		margin-left: 15px;
		margin-right: 15px;
		padding: 15px;
	}

	.l-holder {
		margin: 0;
		margin-top: 65px; /* Same as .l-mobile-header height */

		box-shadow: none;
		border-radius: 0;
	}

	.l-mobile-header {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;

		display: block;
		width: 100%;
		height: 65px;

		background-color: #bfe894;
		background-image: url(../design/header_banner.png);
		background-repeat: no-repeat;
		background-position: right 60px center;
		background-size: contain;
		box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	}

	.l-header {
		display: none;
	}

	.l-mobile-nav {
		position: absolute;
		z-index: 99;
		top: 65px; /* Same as .l-mobile-header height */
		bottom: 0;
		left: 0;
		right: 0;

		display: none;
		padding-top: 20px;
		padding-bottom: 70px;
		overflow-y: auto;

		background-color: #F6F6F6;

		-moz-user-select: -moz-none;
		-webkit-user-select: none;
		-ms-user-select: none;
		-o-user-select: none;
		user-select: none;
		-webkit-overflow-scrolling: touch !important;
	}

	html.is-mobile-nav-open,
	.is-mobile-nav-open body {
		height: 100%;
		overflow: hidden;
	}
	.is-mobile-nav-open .l-holder {
		height: 100%;
		margin-top: 0;
	}
	.is-mobile-nav-open .l-mobile-nav {
		display: block;
	}

	.l-footer {
		padding-top: 20px;
		padding-bottom: 20px;
		margin-bottom: 0;

		border-style: none;
		border-bottom-color: #e2e2e2;
		border-radius: 0;
		box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
	}

	.l-footer-col-1 {
		width: 30%;
		margin-right: 0;
	}
	.l-footer-col-2 {
		width: 30%;
		margin-left: 4.5%;
	}
	.l-footer-col-3 {
		clear: both;
	}
}

@media all and (max-width: 600px) {
	.checkout-area-addresses,
	.checkout-area-paymentoptions,
	.checkout-area-send {
		width: 100%;
		padding-right: 0;
	}
	.checkout-stepnumber {
		display: none;
	}

	.l-product-col-1 {
		width: auto;
		margin-right: 0;
		float: none;
	}
	.l-product-col-2 {
		overflow: hidden;
	}
}

/* Medium */
@media all and (max-width: 480px) {
	
	body {
		background: #fff;	
	}
	
	.l-holder {
		margin-top: 50px; /* Same as .l-mobile-header height */
	}
	.l-mobile-header {
		height: 50px;
	}
	.l-mobile-nav {
		top: 50px; /* Same as .l-mobile-header height */
	}

	.l-content {
		margin-top: 10px;
		margin-left: 10px;
		margin-right: 10px;
		padding: 0px;
		background: none;
		box-shadow: none;
		border-style: none;
		border-radius: 0px;
	}

	.l-footer-col-1,
	.l-footer-col-2 {
		width: 100%;
		margin-bottom: 15px;
		margin-left: 0;
		float: none;
		overflow: hidden;
	}
}

/* ==========================================================================
   Modules
   ========================================================================== */

/* Large */
@media all and (max-width: 768px) {
	.site-banner,
	div#topcart-hoverarea,
	.vat-selector {
		display: none;
	}

	.mini-site-logo,
	.mini-menu,
	.mini-cart {
		position: absolute;
		top: 0;
		bottom: 0;
	}

	.mini-site-logo {
		left: 65px;
		right: 65px;

		max-width: 220px;
		margin: auto;
	}
	.mini-menu,
	.mini-cart {
		width: 65px;
		color: #444;
	}
	.mini-menu {
		left: 0;
		font-size: 30px;
	}
	.mini-cart {
		right: 0;
		font-size: 22px;
	}
	.mini-cart-inner {
		position: relative;
		display: inline-block;
	}
	.mini-cart-count {
		position: absolute;
		top: -4px;
		right: -10px;

		height: 17px;
		width: 17px;

		background: #fff;
		border-radius: 50%;

		line-height: 17px;
		font-size: 9px;
		color: #333;
		text-align: center;
	}
	.is-mobile-nav-open .mini-menu {
		font-size: 22px;
	}
	.is-mobile-nav-open .mini-menu .wgr-icon:before {
		content: "\f00d";
	}

	.wgr-production {
		margin-top: 15px;
		color: #555;
	}

	.filter-section {
        display: none;
    }
    .filter-select {
        display: block;
        margin-bottom: 15px;
    }
    .filter-select select {
        width: 100%;
    }
}

/* Medium */
@media all and (max-width: 480px) {
	#produktdata,
	.checkout-thumbnail {
		display: none;
	}
	
	.l-mobile-header {
		background-image: none;
	}	

	.mini-site-logo {
		max-width: 165px;
	}

	.product-carousel {
		height: auto;
		margin-left: 50px;
		margin-right: 50px;
		margin-bottom: 15px;
		line-height: 1;
		text-align: center;
	}

	.review-col-1 {
		max-width: auto;
		margin-right: 0;
		float: none;
		margin-bottom: 10px;
	}

	#checkoutSettings {
		overflow: auto;
	}
	.checkoutExtraTable td {
		display: block;
	}
	.basic-table {
        padding: 5px;
        width: 100% !important;
    }
    .basic-table  td {
        display: block;
        padding: 0;
    }
 
    .basic-table  td input[type="text"],
    .basic-table  td textarea  {
        width: 100% !important;
        margin-bottom: 10px;
    }
 
    .media-img {
        display: none;
    }
}

/** Menu modules **/

/* Large */
@media all and (max-width: 768px) {
	.site-search {
		max-width: 440px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
		width: auto;
		height: 35px;
	}
	
	.site-search__input {
		height: 35px;	
	}

	.mobile-module {
		margin-bottom: 30px;
	}
	.module__heading {
		margin: 0;
		padding: 8px 18px;
		font-size: 18px;
		color: #fff;
		background-color: #54ad0b;
		background-image: -moz-linear-gradient(#5bb90e 50%, #4a9c07);
		background-image: -webkit-linear-gradient(#5bb90e 50%, #4a9c07);
		background-image: -webkit-gradient(linear, 0 100%, 0 0, color-stop(0.5, #5bb90e), to(#4a9c07));
		background-image: -o-linear-gradient(#5bb90e 50%, #4a9c07);
		background-image: linear-gradient(#5bb90e 50%, #4a9c07);
	}

	.mobile-listmenu {
		padding: 0;
		margin: 0;
		list-style-type: none;
	}
	.mobile-listmenu a {
		position: relative;

		display: block;
		padding: 10px 18px;
		border-bottom: 1px solid #e2e2e2;

		font-size: 12px;
		color: #222;
	}
	
	.mobile-listmenu .mobile-listmenu .mobile-listmenu a {
		border-style: none;	
	}
	
	.mobile-listmenu .mobile-listmenu .mobile-listmenu .mobile-listmenu a {
		font-style: italic;	
	}

	.mobile-listmenu .mobile-listmenu .mobile-listmenu {
		border-bottom: 1px solid #e2e2e2;	
	}
	
	.mobile-listmenu .mobile-listmenu .mobile-listmenu .mobile-listmenu {
		border-top: 1px solid #e2e2e2;	
	}
	
	.mobile-listmenu .selected {
		font-weight: bold;
	}

	.mobile-listmenu-level-0 {
		background-color: #fff;
	}

	.mobile-listmenu-0 > li > a {}
	.mobile-listmenu-level-0 .mobile-listmenu .mobile-listmenu {
		background: rgba(0,0,0,.02);
	}

	/* Font icon */
	.menu-node {
		left: auto;
		right: 0;
		width: 20px;
		height: 20px;
		margin-right: 8px;
		text-align: center;
		line-height: 20px;

		font-size: 18px;
	}
	
	/* Toggle menu */
    li .mobile-listmenu {
        display: none;
    }
    .is-listmenu-opened > .mobile-listmenu {
        display: block;
    }
	
	.lang-changer {
		text-align: center;
	}
	
	.cart-icons {
		display: block;
		text-align: center;
		font-size: 18px;	
	}
	
	select,
	input,
	textarea {
		font-size: 16px;	
	}
}

/* Medium */
@media all and (max-width: 480px) {
	.site-search {
		margin-left: 12px;
		margin-right: 12px;
	}

	.module__heading {
		padding-left: 12px;
		padding-right: 12px;
	}
	.mobile-listmenu a {
		padding-left: 12px;
		padding-right: 12px;
	}
	
	.checkout-hide-medium {
		margin: 0;
		padding: 0;
		width: 0px;	
	}
	
	.checkout-hide-medium span {
		display: none;	
	}
	
	.checkout-area-send .btn--primary {
		display: block;
		text-align: center;	
	}
	
	#rabattkodinput {
		width: 100px;	
	}
	
	.checkout-thumb img {
		max-width: 30px;	
	}
}

/** Grid-gallery **/

/* XLarge */
@media all and (max-width: 960px) {
	.grid-gallery > li,
	.view-home .grid-gallery > li {
		width: 31.33%;
	}
}
/* Medium */
@media all and (max-width: 480px) {
	.grid-gallery > li,
	.view-home .grid-gallery > li {
		width: 48%;
	}
}

/* ==========================================================================
   Helpers
   ========================================================================== */

/* XLarge */

@media all and (max-width: 1024px) {
	.hide-for-xxlarge {
		display: none !important;
	}
}

@media all and (max-width: 960px) {
	.hide-for-xlarge {
		display: none !important;
	}
}

/* Large */
@media all and (max-width: 768px) {
	.hide-for-large {
		display: none !important;
	}
}

/* Large */
@media all and (max-width: 600px) {
	.hide-for-600 {
		display: none !important;
	}
}

/* Medium */
@media all and (max-width: 480px) {
	.hide-for-medium {
		display: none !important;
	}
}

/* Small */
@media all and (max-width: 320px) {
	.hide-for-small {
		display: none !important;
	}
}


/**
 * Cookie control
 */
@media all and (max-width: 480px) {
	.cookie-control-wrapper {
		flex-direction: column;
	}

	.cookie-control-banner__buttons {
		flex-direction: column;

		max-width: none;
	}

	.cookie-control-banner__buttons .btn {
		margin-bottom: 3%;
		margin-left: 0;
	}
}

@media all and (max-width: 768px) {
	.cookie-control-wrapper {
		margin-bottom: 5px;
	}

	.cookie-control-controller {
		max-width: 80vw;
		padding: 6%;
	}
}