@media (min-width: 768px) {
	.single-product .product > .container > div {max-width: 50% !important; margin: 0 !important}
	#wpgs-gallery.wcgs-woocommerce-product-gallery {padding-right: 30px;}
	.nav-left {max-width: 20%;}
}

@media (min-width: 480px) {
    .rwd-table th, .rwd-table td {
        padding: .5em !important;
    }
}

@media only screen and (max-width: 1407px) and (min-width: 960px ){
	.product-name {min-height: 85px;}
}

@media only screen and (max-width: 1407px) {
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {padding: 0 .5rem}
	li.product table, .tinv-wishlist table {font-size: .55rem; }
	.woocommerce-variations-table td {font-size: .7rem;}
}

@media only screen and (max-width: 1215px) {
	#top ul.menu {
		justify-content: center;
		flex-wrap: wrap;
		margin-bottom: 1rem;
	}
	#middle .user-menu {width: 100%;}	
	#middle .container {flex-wrap: wrap; justify-content: center;}	
	#middle ul.menu {justify-content: center; flex-wrap: wrap; padding: .5rem 0;}
	.content > .container {padding: 3rem 1rem;}
	
	.woocommerce aside {padding: 0;}
	.woocommerce aside .header-switch-btn {width: auto; min-width: inherit; padding: .7rem 1rem;}
	.woocommerce .content .container {padding: 1rem;}
	.woocommerce .content .woocommerce-tabs .container {padding: 0}
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {font-size: .8rem}
	
	.single-product .woocommerce-breadcrumb {padding: 1rem;}
	.single-product.logged-in .product > .container {flex-direction: column; width: 100%; align-items: center}
	.single-product.logged-in .product > .container > div {width: 100%;}
	/*#wpgs-gallery.woocommerce-product-gallery {margin: 0; max-width: 100% !important;}
*/
	
}
@media only screen and (max-width: 959px) {
	#top {text-align: center;}	
	#top ul.menu .old-website {width: 100%; border-radius: 6px;}
	#main-menu button:after {content: 'CATEGORIES'; font-size: .8rem; color: #FFF; display: inline-block; margin: 0 0 0 1rem; line-height: 24px;}
	#logo {padding: 8px 0 0;}
	#logo a {display: block;}
	#logo img {max-height: 80px; width: auto;}
	.content > .container {padding:  1rem;}
	
	.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {display: table-row;}
	.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {display: table-cell;}
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {text-align: left !important; }

	
	.woocommerce-MyAccount-navigation {min-width: inherit !important;}
	
	.woocommerce-cart .cart-collaterals, form.checkout {padding: 1rem;}
	#customer_login > div {width: 100%; margin: 0 0 2rem;} 
}
@media (min-width: 480px) and (max-width: 1215px) {
	.woocommerce ul.products li.product {padding: 0;}
	
	.content table.woocommerce-variations-table.rwd-table {margin: .5rem 0;}
	
	body:not(.single) .rwd-table tr.variations-table-row {
	    display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .rwd-table tr.variations-table-row td {justify-content: center; flex: 0 0 auto; width: auto; }
    
	li.product .rwd-table th, li.product .rwd-table td, .tinv-wishlist .rwd-table td {padding: 1px !important; font-size: 8px; margin: 0}
	
	.wishlist_item > td {padding: 0 !important}
	
    .tinv-wishlist table.tinvwl-table-manage-list tbody td:not(.sale)  {width: auto !important;}
	
	.woocommerce .quantity .qty {max-width: 2.5em;}
}
@media (min-width: 821px) and (max-width: 991px) {
    .content .is-narrow {max-width: 20%;}	

	
}
@media (min-width: 768px) and (max-width: 991px) {
	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 31.33% ; padding: 0; align-items: center; margin: 0 1% 1em;}

    .header-switch-btn {min-width: inherit; padding: .7rem ;} 
    p.user-welcome {font-size: .6rem;}
    .tinv-wishlist.woocommerce table .quantity .qty {width: 36px !important}
}
	
}
@media only screen and (max-width: 959px) and (min-width: 770px ){
	.woocommerce-cart table.cart td.actions {padding: 1rem 0; text-align: center; font-size: .8rem;}
}

@media only screen and (max-width: 820px) {    

	.columns:not(.is-desktop), .woocommerce-account .woocommerce {display: block;}
	 .content .is-narrow {max-width: none; width: 100%;} 
	 .woocommerce-account .woocommerce-MyAccount-content {float: none; width: 100%;}
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.woocommerce-MyAccount-navigation li {width: 50%; border: none; padding: 4px; margin: 0 !important;}
	.woocommerce-MyAccount-navigation li a {
		background: #7ec74d;
		color: #FFF;
		border-radius: 6px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: .5rem;
		font-size: .8rem;
		border: 1px solid #017a31;
		height: 100%;
		line-height: 1.3em;
	}
	.woocommerce-MyAccount-navigation li a:hover {background: #017a31;}
	.tinvwl-table-manage-list td.product-name a {font-size: .8rem;}
}

@media only screen and (max-width: 767px) {
	input[type="text"],
	input[type="number"],
	input[type="email"],
	input[type="search"],
	textarea,
	select {
	  font-size: 16px;
	}
	.padding-tb-5 {padding: 2rem 1rem;}

	#middle ul.menu {padding: .5rem 0; font-size: 1rem;}
	#mega-menu-wrap-header-menu .mega-menu-toggle {border-radius: 0;}
	#mega-menu-wrap-header-menu #mega-menu-header-menu li.product {margin-bottom: 6px !important;}
	#mega-menu-wrap-header-menu #mega-menu-header-menu img {display: none;}
	.page-title {padding: 1rem 1rem 0.5rem;}
	.page-title h1 {font-size: 2rem; line-height: 1.3em;}
	.content h2, .content h3.widget-title {font-size: 2rem;}
	.content .is-narrow {max-width: none;}
	.woocommerce .woocommerce-breadcrumb {font-size: .7rem; padding: .5rem 1rem; margin: 0; line-height: 1.3em;}
	
	.home .content ul.products {padding: 0 2rem;}

	.woocommerce ul.products li.product a {display: block; overflow: hidden;}
	.content > .container  {padding: 2rem 1rem;}
	.copyright {padding: 1rem; font-size: .7rem; line-height: 1.3em;}
	
	.single .rwd-table tr {display: table-row;}
	.rwd-table td {font-size: .7rem; white-space: nowrap; padding: 6px !important;}
	.single .rwd-table td {display: table-cell;}
	.rwd-table td:before {display: none;}
	.tinv-wishlist table.tinvwl-table-manage-list tbody td {display: table-cell;}
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.variations-table-value-at {text-align: left}
	.content table.woocommerce-variations-table {margin: 0 0 .5rem;}
	.woocommerce-cart table.shop_table {margin-right: 0;}
	.woocommerce-cart table.cart td.actions .coupon {display: flex; flex-wrap: wrap; text-align: left; justify-content: space-between; margin: 0 0 1rem;}
	.woocommerce-cart table.cart td.actions .coupon label {display: block; width: 100%;}
	.woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce table.cart .actions .tinv-wraper.woocommerce.tinv-wishlist.tinvwl-cart-add-to-cart, .woocommerce-page table.cart td.actions .coupon .input-text+.button {float: none; margin: 0;}
	 .woocommerce-page table.cart td.actions .coupon .input-text+.button {width: 50%;}
	 .woocommerce-cart table.cart img {width: 150px;}
	.woocommerce table.cart .actions .tinv-wraper.woocommerce.tinv-wishlist.tinvwl-cart-add-to-cart {margin: 8px 0 0;}
	
	.woocommerce-page table.cart .columns {display: flex;}
	.woocommerce-page table.cart .product-thumbnail {display: block;  flex: 0 0 25%;}
	.woocommerce-page table.cart .product-thumbnail img {border: 1px solid #eee;}
	.woocommerce-page table.cart .product-summary {width: 75%}
/* 	.woocommerce table.shop_table_responsive tr td .columns,.woocommerce-page table.shop_table_responsive tr td .columns {text-align: center} */
	.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {display: none;}
	#order_review {margin: 0; padding: 1rem;}
	#order_review img {display: block; margin: 0 auto; width: auto; float: none;}
	
	.woocommerce-checkout #payment ul.payment_methods, .woocommerce-checkout #payment div.form-row {padding: 0;}
	#customer_login {display: block;}
	.woocommerce-account .woocommerce {display: block;}

	
	.single-product .product > .container {display:block;}
	
	.woocommerce-cart table.shop_table {width: 100%}
	.woocommerce-cart .cart-collaterals {padding: 1rem;}
	.woocommerce-cart table.cart td.actions > * {margin-bottom: .5rem;}
	
	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {margin: 0 1% 3vw}
	.woocommerce ul.products li.product a img {aspect-ratio: 1/1; height: auto;}
}
@media (min-width: 568px) and (max-width: 767px) {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 31% ;   }
}
@media only screen and (max-width: 740px) {
/* 	.content ul.products li.product, .woocommerce.logged-in .content ul.products li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 48%; margin: 0 1% 1rem;} */
	.woocommerce ul.products li.product .woocommerce-loop-product__title, .tinvwl-table-manage-list td.product-name a {font-size: .8rem !important;}
}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	#wpmenucartli {text-align: center;}
	#top ul.menu a {font-size: .65rem; line-height: 1.5em; padding: 0 .4rem;}
	.rwd-table td {display: table-cell; }
	#kp-blog-archive .post {display: block;}
	#kp-blog-archive .post > * {width: 100%;}
	#kp-blog-archive .post .featured-thumbnail { margin: 0 0 1rem;}
	#kp-blog-archive .post .featured-thumbnail img {width: 100%;}
	#kp-blog-archive article {padding: 1rem 0;}
	.content h2 {font-size: 1.6rem;}
	.woocommerce ul.products {display: block; margin: 0}
	.woocommerce ul.products[class*=columns-] li.product:nth-child(2n), .woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n) {float: none;}
	
	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product, .woocommerce.logged-in .content ul.products li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 98% !important;}


	
    .rwd-table .variations-table-row td {justify-content: center; flex: 0 0 auto; width: auto;}
    li.product .rwd-table td, .tinv-wishlist .rwd-table td {font-size: .7rem; padding: .5em .75em !important;}
	.variations-table-value-ca .woocommerce-variation-add-to-cart {display: flex; flex-direction: column;}
	.single-product .product > .container {padding: 0;}
	.tinv-wishlist.woocommerce table .quantity .qty {width: 38px !important;}
}



