/* Default magento ===================================================== */
/*
==================================
=== MEDIA QUERY 780px and up ===
==================================
*/
@media only screen and (min-width: 780px) {
	.sections.nav-sections #store\.menu{
		max-width: 1920px;
		margin: 0 auto;
		padding: 0 35px 0 250px;
		box-sizing: border-box;
	}
	.sections.nav-sections #store\.menu:before, 
	.sections.nav-sections #store\.menu:after {
		display: table;
		content: '';
		clear: both;
	}
	.nav-sections-items nav.navigation{
		max-width: none;
		float: right;
		text-align: right;
		width: auto;
		background-color: transparent;
	}
	.sections.nav-sections .block-search{
		display: block;
		float: right;
		line-height: 86px;
	}
	.block-search .control{
		margin: 0;
		padding: 0;
	}
	.nav-sections{
		background-color: rgba(238,238,238,0.9);
		z-index: 2;
	}
	.navigation ul{
		padding: 0;
	}
	.navigation ul li.active a.level-top span,
	.navigation ul li a.level-top span{
		line-height: 86px;
	}
	.page-header .header.panel{
		padding-left: 250px;
		min-height: 64px;
	}
	.block-search .action.search {
		padding: 0;
	}
	.block-search .action.search:before {
		vertical-align: text-bottom;
	}
}


/*
== MEDIA QUERY 1440px and more ==
*/
@media only screen and (min-width: 1440px) {

}
/*
=== MEDIA QUERY 981px - 1240px ===
*/
@media only screen and (min-width: 981px) and (max-width: 1240px) {

}
/*
=== MEDIA QUERY 781px - 980px ===
*/
@media only screen and (min-width: 781px) and (max-width: 980px) {

}
/*
=== MEDIA QUERY 641px - 780px ==
*/
@media only screen and (min-width: 641px) and (max-width: 780px) {

}
/*
=== MEDIA QUERY 481px - 640px ==
*/
@media only screen and (min-width: 481px) and (max-width: 640px) {

}
/*
=== MEDIA QUERY 480px and less ==
*/
@media only screen and (max-width: 480px) {

}

/* ===================================================================== */


/* Custom queries ====================================================== */
/*
==================================
=== MEDIA QUERY 1440px and below ===
==================================
*/
@media only screen and (max-width: 1440px) {
	/* ===================================================================== */
	/* Header 1440px ======================================================= */
	.sections.nav-sections .block-search {
		padding-left: 0;
	}

	body .nav-sections {
		position: absolute;
		top: 65px;
		width: 100%;
	}

	/* ===================================================================== */
	/* Home | Innovation 1440px ============================================ */
	.home-innovation {
		font-size: 0;
		display: flex;
		align-items: flex-end;
		width: 100%;
		margin: 0 auto;
		padding: 0 35px;
		max-width: 1280px;
	}

	.home-innovation .block.image {
		flex-basis: 60%;
	}

	.home-innovation .block.text {
		flex: 1;
	}

	.blue-container .d-line.right::before {
		left: 0;
		width: 60px;
		transform: translateX(-30px);
	}

	/* ======================================================================== */
	/* Template Builder CMS Page 1440px ======================================= */
	.templ-vid {
		right: calc(100% - 1130px / 2);
	}

	.templ-full-slider {
		right: 0;
		width: 100%;
		height: auto;
	}

	.templ-full-slider * {
		width: 100%;
	}

	.templ-full-slider .mgz-carousel-nav-size-large .owl-nav [class*=owl-] {
		width: 25%;
	}

	.templ-row-4 {
		width: 100%;
		right: 0;
		height: auto;
	}

	.templ-txt-block-2 {
		padding: 50px;
	}

	.templ-img-block-2 {
		padding: 40px;
	}

	.templ-img-block-2 .mgz-hover-main {
		object-fit: cover;
		width: 100%;
	}

}

/*
==================================
=== MEDIA QUERY 1200px and below ===
==================================
*/
@media only screen and (max-width: 1200px) {
	/* ===================================================================== */
	/* Header 1200px ======================================================= */
	.rootmenu > .rootmenu-list {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.rootmenu .level3-name.sub-cat-name {
		width: 12vw;
	}

	.rootmenu > .rootmenu-list > li .megamenu {
		width: calc(100vw - 70px);
		left: -250px;
	}

	#maincontent {
		margin-top: 225px;
	}

	/* ====================================================================== */
	/* Product Page 1200px ================================================== */
	.product.catalog-product-view .page-wrapper > .breadcrumbs {
		margin-top: 260px;
	}

	/* ====================================================================== */
	/* Cart Page 1200px ===================================================== */
	.cart.table-wrapper .col.item {
		width: 380px;
	}

	.cart-container .form-cart {
		width: auto;
	}

	/* ===================================================================== */
	/* Category Page 1200px ================================================ */
	.category #maincontent {
		margin-top: 250px;
	}

	/* ===================================================================== */
	/* Checkout Page 1200px ================================================ */
	.checkout-index-index #maincontent {
		margin-top: 250px;
	}

	/* ===================================================================== */
	/* Checkout Success Page 1200px ======================================== */
	.checkout-onepage-success #maincontent {
		margin-top: 250px;
	}

	/* ===================================================================== */
	/* Account Page 1200px ================================================= */
	.customer-account-login #maincontent, .customer-account-create #maincontent, .account #maincontent {
		margin-top: 250px;
	}

	.account.page-layout-2columns-left .column.main {
		width: calc(70% - 10px);
    	padding-left: 10px;
	}

	.account.page-layout-2columns-left .sidebar-main, .account.page-layout-2columns-left .sidebar-additional {
		width: calc(30% - 10px);
		padding-right: 10px;
		box-sizing: border-box;
	}

	/* ===================================================================== */
	/* Shared Wish List 1200px ============================================= */
	.wishlist-shared-index #maincontent {
		margin-top: 250px;
	}

	/* ======================================================================== */
	/* Template Builder CMS Page 1200px ======================================= */
	.cms-page-view #maincontent {
		margin-top: 200px;
	}

	.cms-page-view .templ-txt-block-1 {
		height: 100%;
		width: 50%;
	}

	.cms-page-view .templ-vid {
		right: 0;
		width: 100%;
	}
}

/*
==================================
=== MEDIA QUERY 1024px and below ===
==================================
*/
@media only screen and (max-width: 1024px) {
	/* ===================================================================== */
	/* Header 1024px ======================================================= */
	.sections.nav-sections #store\.menu {
		padding: 10px 20px 0 20px;
	}

	.sections.nav-sections #store\.menu > .page-main {
		padding-left: 0;
	}

	.page-header .header.panel {
		display: flex;
	}

	body .nav-sections {
		top: 109px;
	}

	.header-actions {
		text-align: right;
		align-self: center;
    	margin-left: auto;
	}

	.minicart-wrapper, .header-usps ul li {
		display: block;
	}

	.header-usps {
    	align-self: center;
		width: calc(100% - 200px);
	}

	.header.panel .header.links {
		margin: 0 15px 0 0px;
	}

	.header.panel .logo {
		max-height: 115px;
	}

	.rootmenu > .rootmenu-list > li > .megamenu {
		width: calc(100vw - 4vw);
		top: 100px;
		left: 0;
	}

	.rootmenu .level3-name.sub-cat-name {
		width: 100%;
	}

	.page-header .switcher .options ul.dropdown a, .page-footer .switcher .options ul.dropdown a {
		text-align: left;
	}

	.rootmenu > .rootmenu-list > li:hover .megamenu {
		margin-top: -55px;
	}

	/* Minicart 1024px */
	.minicart-items .product-item-details {
		padding-left: 0;
	}

	.minicart-wrapper .product .actions {
		float: left;
		margin: 0;
		text-align: left;
		order: 1;
		margin-left: auto;
	}

	#mini-cart .product-item .product-item-photo + .product-item-details .product-item-name {
		padding-right: 0;
	}

	#mini-cart .product-item-details {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}
	
	#mini-cart .product-item-pricing {
		order: 2;
	}
	/* ===================================================================== */
	/* Footer 1024px ======================================================= */
	.footer.content .footer-body section {
		width: 50%;
	}

	.footer.content .footer-body section.footer-newsletter {
		margin-top: 30px;
		width: 100%;
	}

	/* ===================================================================== */
	/* Home | 1st Blocks 1024px ============================================ */
	.direct-to .left {
		width: 100%;
		display: flex;
		justify-content: space-between;
	}

	.direct-to .left .link-up, .direct-to .left .link-down {
		height: 100%;
		width: calc(50% - 10px);
	}

	.direct-to .right {
		width: 100%;
		margin-top: 20px;
	}

	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content{
		height: 350px;
	}

	/* ===================================================================== */
	/* Home | Innovation 1024px ============================================ */
	.home-innovation {
		align-items: revert;
	}

	.home-innovation .block.image {
		flex-basis: auto;
		position: relative;
    	overflow: hidden;
	}

	.home-innovation .block.image img {
		display: block;
		position: absolute;
		bottom: 0;
		right: 50%;
		top: 50%;
		min-height: 100%;
		min-width: 100%;
		max-width: none;
		transform: translate(50%, -50%);
	}

	.blue-container {
		margin-left: 0;
	}

	/* ===================================================================== */
	/* Home | Branche 1024px =============================================== */
	.svg-link .link-title {
		top: 85%;
	}

	/* ===================================================================== */
	/* Category Page 1024px ================================================ */
	.column.main > .block.filter {
		padding-right: 22px;
	}

	.category.page-layout-1column #amasty-shopby-product-list {
		width: calc(78% - 22px);
	}

	.page-products.page-layout-1column .products-grid .product-item {
		padding: 10px;
	}

	/* ====================================================================== */
	/* Product Page 1024px ================================================== */
	.page-layout-1column .product.media {
		width: 50%;
	}

	.page-layout-1column.product .product-info-main {
		width: 40%;
	}

	a.action.primary, button.action.primary, .cart.table-wrapper .actions-toolbar > .action, .cart.table-wrapper .action-gift {
		padding: 8px;
	}

	.block.related .products-grid .product-item, .block.upsell .products-grid .product-item, .block.crosssell .products-grid .product-item {
		width: calc(50% - (15px/2));
		margin-left: 0;
	}

	.block.related .products-grid .product-item:nth-child(3n + 3), .block.upsell .products-grid .product-item:nth-child(3n + 3), .block.crosssell .products-grid .product-item:nth-child(3n + 3) {
		margin-right: 0;
	}

	.block.related .products-grid .product-item:nth-child(2n + 2), .block.upsell .products-grid .product-item:nth-child(2n + 2), .block.crosssell .products-grid .product-item:nth-child(2n + 2) {
		margin-left: 15px;
	}

	.product .product-info-price {
		margin-bottom: 50px;
	}

	/* ====================================================================== */
	/* Cart Page 1024px ===================================================== */
	.cart-summary {
		width: 30%;
		padding: 40px 25px 50px;
	}

	.cart.table-wrapper .item .col.item {
		padding: 30px 8px 30px;
	}

	.cart.table-wrapper .product-item-photo {
		padding-right: 10px;
	}

	.cart.table-wrapper .col.item {
		width: 265px;
	}

	.cart-container .checkout-methods-items .action.primary {
		padding: 6px 10px;
	}

	/* ===================================================================== */
	/* Checkout Page 1024px ================================================ */
	.checkout-index-index .shipping-address-item {
		width: calc(100% / 2 - 10px);
		padding: 20px;
	}

	/* ===================================================================== */
	/* Account Page 1024px ================================================= */
	.account .nav.items {
		font-size: 16px;
	}

	.account .nav.items > * {
		word-break: break-word;
	}

	.account.sales-order-creditmemo.page-layout-2columns-left .column.main {
		width: 100%;
	}

	.account.sales-order-creditmemo.page-layout-2columns-left .sidebar-main {
		width: 100%;
    	padding-right: 0;
	}

	.wishlist-index-index .products-grid .product-item:nth-child(4n + 4) {
		margin-right: 0;
	}

	/* ======================================================================== */
	/* Template Builder CMS Page 1024px ======================================= */
	.cms-page-view #maincontent {
		margin-top: 210px;
	}

	.cms-page-view .templ-txt-block-1 > * {
		padding: 30px 30px !important;
	}

	.cms-page-view .templ-vid {
		right: 0;
		width: 100%;
	}

	.mgz-element-empty_space {
		height: 40px !important;
	}

	.templ-product-items .product-item .product-item-details {
		padding-right: 0;
	}

	.cms-page-view .product-item .product-item-name {
		padding-right: 25px;
	}

}

/*
==================================
=== MEDIA QUERY 779px and below ===
==================================
*/
@media only screen and (max-width: 779px) {
	.navigation, .breadcrumbs, 
	.header.content, .page-wrapper > .widget, 
	.page-wrapper > .page-bottom, 
	.block.category.event, .top-container, .page-main{
		padding-left: 15px;
		padding-right: 15px;
	}

	/* ===================================================================== */
	/* Header 779px ======================================================== */
	.minicart-wrapper .text {
		display: none;
	}

	.header.panel .logo {
		left: 0;
		max-height: 100%;
		position: relative;
		margin: 5px 0 10px;
	}

	.header.panel .logo img {
		width: 180px;
	}

	.sections.nav-sections {
		width: calc(100% - 54px);
		top: auto !important;
		z-index: 99999;
	}

	.page-header {
		width: 100%;
	}

	.nav-toggle {
		left: 0;
		right: 0;
		top: 0;
		position: relative;
		order: 4;
		padding: 0;
		margin-left: 20px;
	}

	.nav-toggle:before {
		color: #fff;
		transition: all .3s ease-in-out;
	}

	.nav-toggle:hover:before {
		color: #D50F21;
	}

	.page-header .header.panel {
		align-items: center;
		padding-right: 15px;
	}
	.panel.header .minicart-wrapper{
		margin-top: 0;
	}
	.header-usps {
		margin-left: 12px;
		margin-right: 12px;
	}
	.minicart-wrapper .action.showcart .counter.qty{
		margin-right: 5px;
	}

	.page-header {
		margin-bottom: 0;
		border-bottom: 0;
	}

	.rootmenu > .rootmenu-list {
		flex-flow: nowrap column;
    	align-items: baseline;
	}

	.sections.nav-sections #store\.menu {
		align-items: baseline;
		flex-flow: wrap column;
	}

	.sections.nav-sections .block-search {
		order: 1;
		width: 100%;
	}

	.block-search .minisearch input#search {
		position:static;
	}

	.block-search .minisearch .label {
		display:none;
	}

	.block-search #search_mini_form {
		display: flex;
		align-items: center;
	}

	.block-search .field.search {
		flex: 1;
	}

	.block-search .control {
		border-top: 0;
	}

	.block-search .actions {
		position: relative;
	}

	.block-search .action.search {
		display: block;
		background: transparent;
		border: 0;
		padding: 0;
		right: 15px;
		position: absolute;
		top: -10px;
	}

	.block-search .action.search span {
		display: none;
	}

	.sections.nav-sections #store\.menu > .page-main, #rw-menutop > * {
		width: 100%;
		padding-right: 0;
		margin-top: 30px;
	}

	.rootmenu > .rootmenu-list.mobile-sub > li > a {
		border-left: 0 !important;
		border-right: 0 !important;
		border-bottom: 1px solid #11213E;
	}

	.rootmenu > .rootmenu-list.mobile-sub > li:first-child > a {
		border-top: 1px solid #11213E;
	}

	.rootmenu > .rootmenu-list > li > .rootmenu-click > .rootmenu-arrow {
		background: transparent !important;
	}

	.rootmenu-list > li > a.active {
		background: transparent !important;
	}

	.rootmenu > .rootmenu-list > li > .megamenu, .root-col-1.clearfix.level2-popup > * {
		width: 100%;
		top: 0;
	}

	.root-col-1.clearfix.level2-popup {
		display: block;
	}

	.rootmenu .level3-popup {
		padding-left: 0 !important;
	}

	.rootmenu .level3-popup > li {
		border-bottom: 1px solid #EEEEEE;
	}

	.rootmenu .level3-popup > li:first-child {
		border-top: 1px solid #11213E;
	}

	.rootmenu .level3-name.sub-cat-name:before {
		content: none;
	}

	.page-main .rootmenu > .rootmenu-list .rootmenu-submenu {
		border: 0;
	}

	.page-main .rootmenu > .rootmenu-list .halfmenu, 
	.page-main .rootmenu > .rootmenu-list > li > .megamenu {
		border: 0;
		box-shadow: none;
		background-color: #FFF;
		padding: 0;
		margin-top: 0;
	}

	.rootmenu > .rootmenu-list .root-col-1 {
		padding: 0;
	}

	.rootmenu > .rootmenu-list .linksmenu ul > li > a, .rootmenu > .rootmenu-list .rootmenu-submenu li a {
		padding: 10px 10px;
	}

	.rootmenu > .rootmenu-list .rootmenu-click > .rootmenu-arrow {
		margin-right: 0;
	}

	.sections.nav-sections #store\.menu[aria-hidden*="true"] {
		display: none !important;
	}

	.switcher-language {
		color: #11213E;
	}

	.nav-sections .switcher-trigger strong:after {
		right: -25px;
		top: -18px;
	}

	#store\.settings > .header.links.account {
		display: block;
		border: 0;
	}

	#store\.settings > .header.links.account a {
		color: #11213E;
	}

	#store\.settings > .header.links.account a:hover {
		color: #D50F21;
	}

	.nav-sections .switcher .label {
	}

	.nav-sections-item-title {
		width: 50%;
	}

	.home .top-container {
		margin-top: 87px;
	}

	/* ===================================================================== */
	/* Checkout Page 779px ================================================= */
	.checkout-index-index .nav-toggle {
		display: block;
	}

	/* ===================================================================== */
	/* Home | Innovation 779px ============================================= */
	.home-innovation {
		flex-direction: column;
	}

	.home-innovation .block.image {
		flex-basis: 100%;
		position: relative;
		width: 100%;
	}

	.home-innovation .block.image img {
		position: relative;
		transform: none;
		right: 0;
    	top: 0;
	}

	.home-innovation .block.text {
		width: 100%;
		margin-top: 20px;
	}

	/* ===================================================================== */
	/* Home | Branche 779px ================================================ */
	.home-branche {
		padding: 0 35px;
	}

	.home-branche .content ul li {
		width: calc(100% / 3 - 10px);
		margin-bottom: 15px;
	}

	.home-branche .content ul li:nth-child(3n + 3) {
		margin-right: 0;
	}

	/* ===================================================================== */
	/* Home | Text 779px =================================================== */
	.home-text .text-container > .block.text {
		padding-right: 15px;
	}

	/* ===================================================================== */
	/* Home | Product 779px ================================================ */
	.page-layout-1column .home-product .block.widget .products-grid .product-item {
		width: calc(50% - (15px/2));
	}

	.page-layout-1column .home-product .block.widget .products-grid .product-item:nth-child(2n + 2) {
		margin-right: 0;
	}

	.page-layout-1column .home-product .block.widget .products-grid .product-item:nth-child(3n + 3) {
		margin-left: 0;
	}

	/* ===================================================================== */
	/* Shop Page 779px ===================================================== */
	.cl-one-col .category {
		width: calc((100% / 2) - 20px);
	}

	/* ===================================================================== */
	/* Category Page 779px ================================================= */
	.category #maincontent {
		margin-top: 110px;
	}

	.category.page-layout-1column #amasty-shopby-product-list {
		width: 100%;
	}

	.toolbar.toolbar-products {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		flex-wrap: wrap;
		margin-bottom: 0;
	}

	.action.primary.open-filter-model {
		margin-left: auto;
		padding: 8px 15px;
		flex: 1;
    	white-space: nowrap;
	}

	.field.limiter {
		margin-right: 10px;
	}

	.toolbar.toolbar-products > * {
		margin-bottom: 20px;
	}

	.products.wrapper.grid.products-grid + .toolbar > button.action.primary.open-filter-model {
		display: none;
	}

	.modal-slide, .modal-popup {
		top: 112px;
	}

	.filter-options .filter-options-title {
		cursor: pointer;
	}

	/* ====================================================================== */
	/* Product Page 779px =================================================== */
	.product.catalog-product-view .sections.nav-sections #store\.menu > .page-main {
		padding: 0;
	}

	.product.catalog-product-view .page-wrapper > .breadcrumbs {
		margin-top: 150px;
	}

	.product-top-content {
		flex-flow: column nowrap;
	}

	.page-layout-1column.product .product-info-main, .page-layout-1column .product.media {
		width: 100%;
	}

	.product.catalog-product-view #maincontent {
		margin-top: 0;
	}

	.product.catalog-product-view .fotorama__stage, .gallery-placeholder._block-content-loading {
		height: 300px !important;
	}

	.product.info.detailed .product.data.items {
		flex-direction: column;
	}

	.product.data.items > .item.title {
		margin: 0 0 20px 0;
	}

	/* ====================================================================== */
	/* Cart Page 779px ====================================================== */
	.cart-container {
		display: flex;
		flex-direction: column-reverse;
	}

	.cart #maincontent {
		margin-top: 130px;
	}

	.cart .item-info {
		display: flex;
		justify-content: space-between;
		align-items: end;
	}

	.cart.table-wrapper .item .col.item {
		margin: 0;
		padding: 15px 0;
	}

	.cart.table-wrapper .product-item-details {
		margin-left: 70px;
	}

	.cart.table-wrapper td.col.qty, .cart.table-wrapper td.col.subtotal {
		text-align: center;
	}

	.cart.table-wrapper .col.actions {
		width: 20%;
	}

	.cart-summary {
		margin-top: 25px;
		width: 100%;
	}

	/* =================================================================== */
	/* Checkout Page 779px =============================================== */
	.checkout-index-index #maincontent {
		margin-top: 150px;
	}

	.checkout-index-index .opc-estimated-wrapper .action.showcart {
		background-color: transparent;
		border: none;
		padding: 0;
		float: right;
		margin-top: 10px;
	}

	.checkout-index-index .opc-estimated-wrapper .action.showcart:after {
		color: #11213E;
	}

	.checkout-index-index .opc-estimated-wrapper .action.showcart:hover:after {
		color: #D50F21;
	}

	.opc-block-summary {
		margin-top: 140px;
	}

	/* ====================================================================== */
	/* Checkout Success Page 779px ========================================== */
	.checkout-onepage-success #maincontent {
		margin-top: 150px;
	}

	/* ===================================================================== */
	/* Account Page 779px ================================================== */
	.customer-account-login #maincontent, .customer-account-create #maincontent, .account #maincontent {
		margin-top: 150px;
	}

	.account #maincontent {
		padding-top: 0;
	}

	.block-dashboard-addresses .block-content {
		display: flex;
	}

	.block-dashboard-addresses .block-content > * {
		flex-basis: 100%;
		display: flex;
		flex-direction: column;
	}

	.account.sales-order-history .pager {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.account.wishlist-index-index .pager {
		display: flex;
    	justify-content: space-between;
	}

	.account.wishlist-index-index .pager .limiter {
		position: relative;
	}

	.account.wishlist-index-index .products-grid.wishlist .product-item-photo {
		margin: 0;
	}

	.products-grid.wishlist .product-image-container {
		max-width: 100%;
	}

	.wishlist-index-index .product-item-info .product-item-name, .products-grid.wishlist .product-item .price-box {
		margin: 0;
	}

	.products-grid.wishlist .product-item-actions {
		display: flex;
		flex-wrap: wrap;
	}

	.account.customer-address-index .block-content {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.account.customer-address-index .block-content > * {
		width: 50%;
	}

	.account.customer-address-index .items.addresses {
		display: flex;
		width: 100%;
	}

	.account.sales-order-view .block-content, .account.sales-order-invoice .block-content, .account.sales-order-shipment .block-content {
		display: flex;
		flex-flow: row wrap;
		width: 100%;
		justify-content: space-between;
	}

	.account.sales-order-view .block-content > *, .account.sales-order-invoice .block-content > *, .account.sales-order-shipment .block-content > * {
		width: 50%;
	}

	.account.sales-order-view .block.block-order-details-view {
		margin-bottom: 0;
	}

	.account.sales-order-view .columns .column.main, .account.sales-order-invoice .columns .column.main, .account.sales-order-shipment .columns .column.main {
		padding-bottom: 0;
	}

	/* ===================================================================== */
	/* Shared Wish List 779px ============================================== */
	.wishlist-shared-index #maincontent {
		margin-top: 150px;
	}

	/* ===================================================================== */
	/* Contact Page 779px ================================================== */
	.contact #maincontent {
		margin-top: 130px;
	}

	/* ======================================================================== */
	/* Template Builder CMS Page 779px ======================================== */
	.cms-page-view #maincontent {
		margin-top: 100px;
	}

	.cms-page-view .templ-row-inner-2 > * {
		flex-direction: column;
		height: auto;
	}

	.templ-row-inner-2 .inner-content.mgz-container > div:first-of-type {
		/* height: 537px !important; */
		height: auto;
	}

	.cms-page-view .templ-txt-block-1 {
		width: 100%;
	}

	.templ-img-block-2 {
		padding: 0 40px 40px;
	}

	.templ-txt-block-2 {
		padding: 40px;
	}

	.templ-product-items .mgz-grid > .mgz-grid-page .product-item {
		width: calc(50% - (15px/2));
	}

	.templ-product-items .mgz-grid > .mgz-grid-page .product-item:nth-child(3n + 3) {
		margin-left: 0;
	}

	.templ-prod-inner-title > * {
		display: flex;
	}

	.templ-prod-inner-title > * > div:last-of-type {
		flex-basis: 80%;
	}

}

/*
==================================
=== MEDIA QUERY 640px and below ===
==================================
*/
@media only screen and (max-width: 640px) {
	/* ===================================================================== */
	/* Header 640px ======================================================== */
	.header-usps {
		width: calc(100% - 175px);
	}

	.header-usps ul li {
		margin-right: 0;
		font-size: 14px;
	}

	.panel.header {
		padding: 5px 0;
	}

	/* ===================================================================== */
	/* Home | 1st Blocks 640px ============================================= */
	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content {
		width: calc((100%/2) - 10px);
	}

	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content:nth-child(2n + 2) {
		margin-right: 0;
	}

	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content:last-child {
		margin-right: auto;
	}

	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content {
		margin-bottom: 15px;
	}

	.block-content.catalog-category.clearfix .nav-wrapper {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}

	/* ===================================================================== */
	/* Home | Text 640px =================================================== */
	.home-text .block.image {
		position: absolute;
		width: 35%;
		right: 15px;
		top: 30px;
	}

	.home-text .block.image img {
		height: auto;
		width: auto;
	}

	.home-text .text-container > .block.text {
		padding-right: 0;
		width: 60%;
	}

	.home-text .text-container {
		position: relative;
	}

	.home-text .block.text > h1, .home-text .block.text > h2, .home-text .block.text > h3, .home-text .block.text > h4, .home-text .block.text > h5, .home-text .block.text > h6 {
		margin-bottom: 50px;
	}

	/* ===================================================================== */
	/* Category Page & Search 640px ======================================== */
	.page-products.page-layout-2columns-left .products-grid .product-item, 
	.page-products.page-layout-1column .products-grid .product-item, 
	.category.page-products.page-layout-2columns-left .product-items .product-item {
		width: calc((100% / 2) - 10px);
	}

	.page-products.page-layout-2columns-left .products-grid .product-item:nth-child(3n + 1), 
	.page-products.page-layout-1column .products-grid .product-item:nth-child(3n + 1), 
	.category.page-products.page-layout-2columns-left .product-items .product-item:nth-child(3n + 1) {
		margin-left: 15px;
	}

	.page-products.page-layout-2columns-left .products-grid .product-item:nth-child(2n + 1), 
	.page-products.page-layout-1column .products-grid .product-item:nth-child(2n + 1), 
	.category.page-products.page-layout-2columns-left .product-items .product-item:nth-child(2n + 1) {
		margin-left: 0px;
	}

	/* ====================================================================== */
	/* Cart Page 640 ======================================================== */
	.cart .item-info {
		flex-flow: row wrap;
	}

	.cart.table-wrapper .item .col.item {
		width: 100%;
	}

	.cart.table-wrapper td.col.qty, .cart.table-wrapper td.col.subtotal {
		text-align: left;
	}

	.cart.table-wrapper .col.actions {
		align-self: center;
	}

	/* ===================================================================== */
	/* Checkout Page 640px ================================================= */
	.checkout-index-index #maincontent {
		margin-top: 125px;
	}

	/* ===================================================================== */
	/* Account Page 640px ================================================== */
	.customer-account-login #maincontent, .customer-account-create #maincontent, .account #maincontent {
		margin-top: 125px;
	}

	.form.create.account .fieldset.create {
		width: 100%;
	}

	.wishlist-index-index .products-grid .product-item {
		width: calc(50% - 10px);
	}

	.wishlist-index-index .products-grid .product-items {
		justify-content: space-between;
	}

	.wishlist-index-index .products-grid .product-item:nth-child(3n + 3) {
		margin-left: 0;
	}

	.wishlist-index-index .products-grid .product-item:nth-child(2n + 2) {
		margin-left: 20px;
	}

	.account.sales-order-history #my-orders-table tbody > tr, .account.customer-account-index #my-orders-table tbody > tr, .account.sales-order-creditmemo .table.creditmemo tbody > tr {
		border-top: 1px solid #11213E;
	}

	.account.sales-order-history #my-orders-table tbody > tr:last-child, .account.customer-account-index #my-orders-table tbody > tr:last-child, .account.sales-order-creditmemo .table.creditmemo > tbody:last-of-type tr {
		border-bottom: 1px solid #11213E;
	}

	.account.sales-order-invoice .col.price, .col.qty, .col.subtotal {
		text-align: right;
	}

	.table-wrapper .table:not(.cart):not(.totals):not(.table-comparison) > tbody > tr td[data-th]:before, .table-wrapper .table:not(.cart):not(.totals):not(.table-comparison) > tbody > tr th[data-th]:before {
		color: #11213E;
	}

	.order-details-items .table-order-items tbody + tbody {
		border-top: 0;
	}

	.account.sales-order-creditmemo.page-layout-2columns-left .col.price {
		text-align: right;
	}

	.account.sales-order-creditmemo .table.creditmemo {
		margin-top: 30px;
	}

	.account.sales-order-creditmemo .col.discount, .account.sales-order-creditmemo .col.total {
		text-align: right;
	}

	.wishlist-index-index .products-grid .product-item:nth-child(5n + 5) {
		margin-left: 0;
	}

	/* ===================================================================== */
	/* Shared Wish List 640px ============================================== */
	.wishlist-shared-index tr td.product:before, .wishlist-shared-index tr td.actions:before {
		content: none !important;
	}

	.wishlist-shared-index .product.photo {
		float: none;
		margin-right: 0;
	}

	.wishlist-shared-index .product-image-container {
		width: 180px !important;
	}

	.wishlist-shared-index .product-image-wrapper {
		padding-bottom: 70% !important;
	}

	.wishlist-shared-index .wishlist.table-wrapper .data tbody {
		display: flex !important;
		flex-flow: row wrap;
		justify-content: space-between;
	}

	.wishlist-shared-index .wishlist.table-wrapper .data tbody > * {
		width: calc(50% - 10px);
		display: flex !important;
		flex-flow: column;
		justify-content: space-between;
	}

	.wishlist-shared-index .wishlist.table-wrapper .data tbody .col.product {
		display: flex;
		flex-flow: column;
		height: 100%;
	}

	.wishlist-shared-index .price-box.price-configured_price {
		margin-top: auto;
	}

	/* ====================================================================== */
	/* Footer Contact 640px ================================================= */
	.footer.content .contact-us h1, .footer.content .contact-us h2, .footer.content .contact-us h3, .footer.content .contact-us h4, .footer.content .contact-us h5, .footer.content .contact-us h6 {
		font-size: 20px;
	}

	/* ===================================================================== */
	/* Contact Page 640px ================================================== */
	.contact #maincontent {
		margin-top: 110px;
	}

	.contact .column.main {
		flex-direction: column;
	}

	.contact-index-index .column:not(.sidebar-additional) .form.contact, .contact-info {
		width: 100%;
		margin-top: 30px;
	}
	
}

/*
==================================
=== MEDIA QUERY 480px and below ===
==================================
*/
@media only screen and (max-width: 480px) {
	/* ===================================================================== */
	/* Header 480px ======================================================== */
	.header-usps {
		display: none;
	}

	.header.panel .logo img {
		width: 95px;
	}

	/* ===================================================================== */
	/* Footer 480px ======================================================== */
	.footer.content .footer-body section {
		width: 100%;
	}

	.footer.content .footer-body {
		margin-top: 35px;
		margin-bottom: 0;
	}

	section.footer-links {
		margin-top: 30px;
	}

	/* ===================================================================== */
	/* Home | 1st Blocks 480px ============================================= */
	.home .top-container {
		margin-top: 110px;
	}

	.direct-to {
		margin-top: 30px;
	}

	.direct-to .left {
		flex-direction: column;
	}

	.direct-to .left .link-up, .direct-to .left .link-down {
		width: 100%;
	}

	.direct-title h1, .direct-title h2, .direct-title h3, .direct-title h4, .direct-title h5, .direct-title h6, .direct-title p {
		width: 100%;
		display: block;
	}

	.direct-title p {
		text-align: left;
		margin-top: 10px;
	}

	.direct-title {
		margin-bottom: 25px;
	}

	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content {
		margin-right: 0;
		width: 100%;
	}
	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content .image{
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.direct-to .category_list_widget .block-content .nav-wrapper .inner-content .text a{
		font-size: 0;
	}

	/* ==================================================================== */
	/* Home | Branche 480px =============================================== */
	.home-branche .content ul li {
		width: calc(50% - 8px);
	}

	.home-branche .content ul li:nth-child(3n + 3) {
		margin-right: 15px;
	}

	.home-branche .content ul li:nth-child(2n + 2) {
		margin-right: 0;
	}

	/* ===================================================================== */
	/* Home | Text 480px =================================================== */
	.home-text .text-container > .block.text {
		width: 100%;
	}

	.home-text .block.image {
		position: relative;
		width: 100%;
		right: 0;
		top: 0;
		margin-top: 30px;
	}

	/* =================================================================== */
	/* Home | Product 480 ================================================ */
	.page-layout-1column .home-product .block.widget .products-grid .product-item {
		width: 100%;
		margin: 0 0 15px;
	}

	.page-layout-1column .home-product .block.widget .products-grid .product-item:nth-child(3n + 1) {
		margin-left: 0;
	}

	body .home-product .product-title > * {
		width: 100%;
		margin-bottom: 10px;
		text-align: left;
	}

	.home-product .product-container .product-title {
		margin: 40px 0;
	}

	/* ===================================================================== */
	/* Shop Page 480px ===================================================== */
	.cl-one-col .category {
		width: 100%;
	}

	/* ===================================================================== */
	/* Category Page 480px ================================================= */
	.toolbar.toolbar-products {
		justify-content: space-between;
	}
	.toolbar-products .pages{
		width: 100%;
	}

	.toolbar.toolbar-products:after, .toolbar.toolbar-products:before {
		content: none;
	}

	.page-products .toolbar.toolbar-products > * {
		display: flex;
		flex-direction: column;
		margin-right: 0;
	}

	.action.primary.open-filter-model {
		width: 100%;
		align-items: center;
	}

	.page-products.page-layout-2columns-left .products-grid .product-item, 
	.page-products.page-layout-1column .products-grid .product-item, 
	.category.page-products.page-layout-2columns-left .product-items .product-item {
		/* width: 100%;
		margin-left: 0; */
		margin-bottom: 15px;
	}
	.product-item .price-box .price,
	.product-item .product-item-name,
	.product-item .packaging-info{
		font-size: 14px;
	}
	.product-item .available-threshold{
		margin: 5px 0 5px;
	}
	.product.details.product-item-details .sku{
		margin-bottom: 5px;
	}

	/* ====================================================================== */
	/* Product Page 480px =================================================== */
	.block.related .products-grid .product-item, .block.upsell .products-grid .product-item, .block.crosssell .products-grid .product-item {
		width: 100%;
	}

	.block.related .products-grid .product-item:nth-child(2n + 2), .block.upsell .products-grid .product-item:nth-child(2n + 2), .block.crosssell .products-grid .product-item:nth-child(2n + 2) {
		margin-left: 0;
	}

	/* ===================================================================== */
	/* Checkout Page 480px ================================================= */
	.checkout-index-index .shipping-address-item {
		width: 100%;
		margin-right: 0;
	}

	/* ===================================================================== */
	/* Account Page 480px ================================================== */
	.block-dashboard-addresses .block-content, .account .block-dashboard-info .block-content {
		flex-direction: column;
	}

	.account.sales-order-history .pager {
		flex-direction: column;
	}

	.wishlist-index-index .products-grid .product-item {
		width: 100%;
	}

	.wishlist-index-index .products-grid .product-item:nth-child(2n + 2) {
		margin-left: 0;
	}

	.account.customer-address-index .block-content {
		flex-direction: column;
	}

	.account.customer-address-index .items.addresses > * {
		flex-basis: 100%;
	}

	.account.sales-order-view .block-content > *, .account.sales-order-invoice .block-content > *, .account.sales-order-shipment .block-content > * {
		width: 100%;
	}

	/* =================================================================== */
	/* Shared Wish List 480px ============================================ */
	.wishlist-shared-index .wishlist.table-wrapper .data tbody {
		flex-flow: column;
	}

	.wishlist-shared-index .wishlist.table-wrapper .data tbody > * {
		width: 100%;
	}

	/* ======================================================================== */
	/* Template Builder CMS Page 480px ======================================== */
	.templ-prod-inner-title > * {
		flex-direction: column;
	}

	.templ-prod-inner-title > * > div:last-of-type {
		flex-basis: 100%;
	}

	.templ-prod-inner-title .gpfvh92 {
		float: left;
	}

	.templ-heading {
		margin-bottom: 10px;
	}

	.templ-product-items .mgz-grid > .mgz-grid-page .product-item {
		width: 100%;
	}

	.templ-product-items .mgz-grid > .mgz-grid-page .product-item:nth-child(2n + 2) {
		margin-left: 0;
	}
	
}
/* ===================================================================== */
