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

.filter-select {
    display: none;
}

/* ==========================================================================
   Grid
   ========================================================================== */

/* Large */
@media all and (max-width: 768px) {
    .grid-item-1-4 {
        width: 50%;
    }
    .grid-item-1-6 {
        width: 31.33%;
    }
}

/* medium */
@media all and (max-width: 480px) {
    .grid {
        margin-left: 0;
    }

    .grid-item {
        padding-left: 0;
    }
    .grid-item-1-2,
    .grid-item-1-3,
    .grid-item-2-3,
    .grid-item-1-4 {
        width: 100%;
    }

    .grid-item-1-6 {
        width: 50%;
    }
}


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

@media all and (max-width: 1024px) {
	.l-holder {
		margin-left: 15px;
		margin-right: 15px;
		width: auto;
		max-width: 1000px;
	}

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

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

	.l-topbar li {
		padding: 0 8px;
		font-size: 10px;
	}
}

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

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

	.l-topbar,
	.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;
	}

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

		background: #fff;
		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: #f6f7f8 url(../design/menubar_bg.png) bottom repeat-x;
		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;

		background: #f6f6f6;
		box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
	}

	.l-footer-col-1 {
		width: 100%;
	}
	.l-footer-col-2,
	.l-footer-col-3 {
		display: none !important;
	}

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

@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 */
	}
	.l-mobile-header {
		height: 50px;
	}
	.l-mobile-nav {
		top: 50px; /* Same as .l-mobile-header height */
	}

	.l-content {
		margin-left: 10px;
		margin-right: 10px;
	}

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

/* ==========================================================================
   Modules
   ========================================================================== */
@media all and (max-width: 960px) {
    .dropdown .category-wrapper {
		width: 100%;
	}
	.dropdown img {
		display: none;
	}
	.dropdown-mega__colums {
	    min-width: 200px;
	}
}
/* 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: 155px;
		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: #6f6f6f;
		border-radius: 50%;

		line-height: 17px;
		font-size: 9px;
		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;
	}

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

    .listSelectionContent {
	    width: 100%;
	}

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

	#produktdata {
		display: none;
	}

	a.cartplus,
	a.cartminus,
	a.cartx {
		display: block;
		width: 20px;
		height: 20px;
		line-height: 20px;
		background-position-y: center;
	}
}

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

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

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

    .list-selection-holder {
	    width: 100%;
	    margin-bottom: 10px;
	}
	.listSelectionContent {
	    width: 48%;
	}
}

@media all and (max-width: 375px) {
	.listSelectionContent {
	    width: 100%;
	}
}

/** Menu modules **/

/* Large */
@media all and (max-width: 768px) {
	.site-search {
		float: none;
		width: auto;
		max-width: 440px;
		margin-left: auto;
		margin-right: auto;
	}

	.mobile-module {
		margin-bottom: 30px;
	}
	.mobile-module__heading {
		margin: 0;
		padding: 8px 18px;
		font-size: 16px;
		color: #585858;
		text-transform: uppercase;
	}

	.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;
		border-top: 1px solid #e2e2e2;
	}

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

	/* Toggle menu */
    li .mobile-listmenu {
        display: none;
    }
    .is-listmenu-opened > .mobile-listmenu {
        display: block;
    }

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

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

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

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