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

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

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

div.flexslider {
	background: none;	
}

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

/* Ändra så max-width passar sidans bredd */
@media all and (max-width: 1190px) {
    .l-autocomplete {
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
    }
}

@media all and (max-width: 1200px) {
	.l-holder, .l-header, .l-menubar, .l-footer-top, .l-footer {
		margin-left: 15px;
		margin-right: 15px;
	}
	
	.l-footer-top__left, .l-footer-top__left h1, .l-footer-top__left h2, .l-footer-top__left h3, .l-footer-top__right h3 {
		font-size: 14px;	
	}
	
	.l-footer-top__right {
		width: 250px;	
	}
	
	#footerNewsletterForm {
		width: 150px;	
	}
}

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

	.l-product-col-1 {
		width: 55%;
	}
	
	.l-footer-top__right, .l-footer-top__left {
		float: none;
		display: block;
		overflow: hidden;
		margin: 0;
	}
	
	.l-footer-top__right {
		margin-bottom: 20px;	
	}
}

/* Large */
@media all and (max-width: 768px) {
	body {
		background: #fff;
	}
	
	.l-menubar-holder, .l-header-holder {
		display: none;	
	}
	
	.l-top-menu__open {
		display: block;
		background: #212121;	
		color: #fff;
		text-align: center;
		position: absolute;
		top: 65px;
		left: 0px;
		right: 0px;
	}
	
	.not-mobile{
		display:none;	
	}
	
	.view-home .l-holder {
		padding-top: 35px;
	}
	
	.l-top-menu__open a {
		color: #fff;	
	}
	
	.l-top-menu__open h1, .l-top-menu__open h2, .l-top-menu__open h3, .l-top-menu__open p, .l-top-menu__open span {
		display: inline-block;	
		margin: 0 5px;
		font-size: 14px !important;
	}
	
	div.checkout-area-addresses, div.checkout-area-paymentoptions{
		width: 100% !important;
	}

	
	.site-search__btn {
		font-size: 17px;
		margin-left: -10px;
		margin-top: 4px;
		width: 25px;
		height: 25px;

		background: none;
		color: #fff;	
	}
    
    .site-banner {
        display: inline-block;
	}
    
	.filter-section {
        display: none;
    }
    .filter-select {
        display: block;
        margin-bottom: 15px;
    }
    .filter-select select {
        width: 100%;
    }

	.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 {
		margin-left: 0;
		margin-right: 0;
	}

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

	.l-content {
		margin-top: 30px;
	}

	.l-holder {
		margin: 0;
		margin-top: 65px; /* Same as .l-mobile-header height */
		box-shadow: none;
		border-radius: 0;
		padding: 0 15px;
	}

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

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

		background: #000;
	}

	.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-search-col-1 {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .l-search-col-2 {
        margin-bottom: 20px;
    }
 
    .l-autocomplete {
		top: 0;
		left: 0;
		z-index: 1000; /* Top menu has 999 */
		
		height: 100%;
        margin-left: 0;
		margin-right: 0;
		
		padding: 0;
		padding-bottom: 250px;
		
        box-shadow: none;
    }
    .is-autocomplete-open body {
        background: #fff;
    }
    .is-autocomplete-open .l-autocomplete {
        display: block;
    }
	.is-autocomplete-open .l-autocomplete .searchbar-mobile.hide-on-desktop {
        display: block !important;
    }
    .is-autocomplete-open .l-mobile-header,
    .is-autocomplete-open .l-mobile-nav,
    .is-autocomplete-open .l-holder {
        display: none;
	}
	.is-autocomplete-result {
		padding: 15px;
	}

	.is-autocomplete-active .is-autocomplete-clear {
		display: none;
	}
}

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

/* Medium */
@media all and (max-width: 480px) {
	.l-holder {
		margin-top: 50px; /* Same as .l-mobile-header height */
	}
	
	.view-checkout .l-holder {
		padding: 0 5px;	
	}
	.l-mobile-header {
		height: 50px;
	}
	.l-mobile-nav {
		top: 50px; /* Same as .l-mobile-header height */
	}

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

	.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;
    }
	
	.l-top-menu__open {
		display: block;
		background: #212121;	
		color: #fff;
		text-align: center;
		position: absolute;
		top: 50px;
		left: 0px;
		right: 0px;
	}
 
    .media-img {
        display: none;
    }
	
	th {
		font-size: 12px;	
	}
	.graybg td {
		font-size: 11px;	
	}
	
	.basic-table__contact td{
		display: block;
		width: 100% !important;
	}
}

@media all and (max-width: 375px) {
    
    .l-content{
        margin-top: 50px;
    }
}

/* ==========================================================================
   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-menu {
		padding-left: 5px;
	}
	.mini-cart {
		padding-right: 5px;
	}


	.mini-site-logo {
		left: 120px;
		right: 120px;
		max-height: 60px;
		max-width: 250px;
		margin: auto;
	}
	.mini-menu,
	.mini-cart {
		width: 45px;
		color: #fff;
	}
	.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: #999;
		border-radius: 50%;
		font-weight:700;
		line-height: 17px;
		font-size: 11px;
		color: #fff;
		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;
	}

	.mini-search {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 45px;
	 
		width: 45px;
		padding-right: 5px;
	 
		color: #fff;
		font-size: 18px;
	}
}

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

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

	.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;
	}
}

/** Menu modules **/

/* Large */
@media all and (max-width: 768px) {
	.site-search {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 3px;
		margin-bottom: 0;
	}

    .site-search__input {
        font-size: 16px;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    .site-search__close {
        float: right;
        padding-left: 15px;
        padding-top: 11px;
        padding-bottom: 11px;
        color: #fff;
        font-weight: 600;
    }

	.mobile-module {
		margin-bottom: 30px;
	}
	.mobile-module__heading {
		margin: 0;
		padding: 8px 18px;
		font-weight: bold;
		color: #444;
		text-transform: uppercase;
		border-bottom: 1px solid #e2e2e2;
	}
	
	.mobile-listmenu-1 {
		display: none;	
	}
	
	.is-listmenu-opened .mobile-listmenu-1 {
		display: block;	
	}
	
	.mobile-listmenu-2 {
		display: none;	
	}
	
	.mobile-listmenu-1 > .is-listmenu-opened .mobile-listmenu-2 {
		display: block;	
	}

	.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 .selected {
		font-weight: bold;
	}

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

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

	/* Font icon */
	.menu-node {
		width: 20px;
		height: 20px;
		margin-right: 8px;
		color: #333;
		text-align: center;
		line-height: 20px;

		font-size: 18px;
	}
	.lang-changer {
		text-align: center;
	}
}

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

	.mobile-module__heading {
		padding-left: 12px;
		padding-right: 12px;
	}
	.mobile-listmenu a {
		padding-left: 12px;
		padding-right: 12px;
	}
	
	.product-item__delivery {
		line-height: normal;
		padding: 8px;
		height: 43px;	
	}
	.product-item .price {
		width: 100%;
		text-align: left;	
	}
	
	.product-item__heading {
		height: 39px;
		padding: 0 8px;
		white-space: normal;	
	}
}

/** Grid-gallery **/

/* XLarge */

@media all and (max-width: 1200px) {
	.view-home .grid-gallery > li {
		width: 48%;
	}
}

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

@media all and (max-width: 600px) {
	.grid-gallery > li,
	.view-home .grid-gallery > li {
		width: 48%;
	}
}

@media all and (max-width: 480px) {
    .view-search .grid-gallery > li,
    .l-autocomplete .grid-gallery > li {
        width: 48%;
    }
}


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

/* XLarge */
@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;
	}
}

/* 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;
	}
}

/* Large */
@media all and (min-width: 768px) {
	.hide-on-desktop {
		display: none !important;
	}
}

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

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

    .cookie-control-banner__buttons {
        grid-template-columns: repeat(1, 1fr);
        max-width: none;
    }
}
@media all and (max-width: 480px) {
    .cookie-control-wrapper {
        flex-direction: column;
    }
}