@media only screen and (max-width: 1640px){
	.container {width: 1420px;}
	.midheader .rheader {padding-left: 10px;}
	.service ul li {padding: 0 63px;}
	header .navbar-light .navbar-nav>li.nav-item>a {
		padding: 0 25px;
	}
}
@media only screen and (max-width: 1439px){
	.container {width: 1170px;}
	.midheader .searchbar {width: 566px;}
	.service ul li {padding: 0 32px;}
	.slider .sliderpart .carousel-inner h3 {font-size: 36px;}
	.slider .sliderpart .carousel-item {height: 468px;}
	.slider .sliderpart .carousel-item img {height: 100%; object-fit: cover;}
	.categories .catbox .catname h5 {font-size: 16px;}
	.products .productbox .prodinfo h3 {min-height: 89px;}
	.testslider .testbox {padding: 40px 20px 100px;}
}
@media only screen and (max-width: 1639px) and (min-width: 1200px) {
	.productbox {
		width: 25%;
	}
	.productbox .productinner {
		padding-left: 5px;
		padding-right: 5px;
	}
	.cbtn,
	#n_category .cbtn,
	#n_content .cbtn {
		padding: 0 10px;
	}
}
@media only screen and (max-width: 1199px) and (min-width: 992px) {
	.container {width: 970px;}
	.midheader .searchbar {
		width: 456px;
	}
	header .navbar-light .navbar-nav>li.nav-item>a {
		padding: 0 15px;
	}
	.service ul li {
		padding: 0 15px;
	}
	.cbtn {
		padding: 0 10px;
	}
	.newsletter-section {
		width: 100%;
		margin-left: 0;
	}
	#n_category .cbtn,
	#n_content .cbtn {
		padding: 0 10px;
	}
	.productbox {
		width: 25%;
	}
	#n_category .productbox,
	#n_content .productbox {
		width: 33.33%;
	}
	#n_product form.buying-options .row>div:first-child {
		width: 150px;
	}
	#n_product form.buying-options .row>div:nth-child(2) {
		width: calc(100% - 260px);
	}
	/* .dah_subcategory_items {
		width: calc(100%/4);
		flex: 0 0 calc(100%/4);
		margin-bottom: 30px;
	} */
	.bestproducts .productbox:nth-child(6),
	.latestproducts .productbox:nth-child(6) {
		display: none;
	}
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
	.container {width: 750px;}
	.newsletter-section {
		width: 100%;
		margin-left: 0;
	}
	header .navbar-light .navbar-nav>li.nav-item>a {
		padding: 0 4px;
	}
	.service ul li {
		padding: 0 20px;
		width: 25%;
		text-align: center;
		background-image: none;
		vertical-align: top;
	}
	.service ul li h3 {
		width: 100%;
	}
	.service ul li .icon {
		display: inline-block;
		margin-right: 0;
		margin-bottom: 5px;
		width: 100%;
	}
	.productbox {
		width: 33.33%;
	}
	.cbtn {
		padding: 0 13px;
	}
	/* .bestproducts .productbox:nth-child(6),
	.latestproducts .productbox:nth-child(6) {
		display: none;
	} */
	.newsletter-section {
		width: 100%;
		margin-left: 0;
	}
	.newsletter-section>div>div:first-child {
		min-width: 110px;
		flex: 110px;
	}
	.newsletter-section>div>div:last-child {
		width: calc(100% - 110px);
	}
	.midheader .searchbar {
		width: 436px;
	}
	.wrapper-product-title {
		margin-top: 50px;
	}
	#n_category .cbtn,
	#n_content .cbtn {
		padding: 0 13px;
	}
	#n_category .productbox,
	#n_content .productbox {
		width: 50%;
	}
	/* .dah_subcategory_items {
		width: calc(100%/4);
		flex: 0 0 calc(100%/4);
		margin-bottom: 30px;
	} */
}
@media only screen and (max-width: 767px){
	.container {width: auto;}
	.wrapper-product-title {
		margin-top: 50px;
	}
	.productbox,
	#n_category .productbox,
	#n_content .productbox {
		width: 50%;
	}
	.bestproducts .productbox:nth-child(6),
	.latestproducts .productbox:nth-child(6) {
		display: none;
	}
	/* .dah_subcategory_items {
		width: calc(100%/2);
		flex: 0 0 calc(100%/2);
		margin-bottom: 30px;
	} */
	.newsletter-section {
		width: 100%;
		margin-left: 0;
	}

	.newsletter-section>div>div:first-child {
		min-width: 0;
		flex: 0;
		display: none !important;
	}

	body:not(#n_home):not(#n_product) footer.wrapper-footer {
		margin-top: 30px;
	}

	.newsletter-section>div>div:last-child {
		width: 100%;
		padding: 15px;
	}
	.fabout-part {
		text-align: left;
	}
	.copyrights-section img.img-fluid {
		margin-top: 15px;
	}
	/*.service ul li {
		padding: 0 5px;
		width: 50%;
		background-image: none;
	}
	.service ul li:nth-child(2) {
		background-image: none;
	}
	.service ul li .icon {
		min-width: 75px;
		margin-right: 0;
		text-align: center;
	}*/
	.categories .row,
	.products>.row.products-row,
	.products-row {
		margin-left: -5px;
		margin-right: -5px;
	}
	.categories .row>.col-12,
	.categories .row>.col-6,
	.products>.row.products-row > .col-12,
	.products>.row.products-row>.col-6,
	.productbox,
	#n_category .productbox,
	#n_content .productbox {
		padding-left: 5px;
		padding-right: 5px;
	}
	.categories .row>.col-6,
	.products>.row.products-row>.col-6,
	.productbox,
	#n_category .productbox,
	#n_content .productbox {
		margin-top: 10px;
	}
	.bannerpart .banner0,
	.sliderpart {
		margin-bottom: 10px;
	}
	.sliderpart {
		margin-top: 10px;
	}
	#n_product form.buying-options .row>div:first-child {
		width: 150px;
	}
	#n_product form.buying-options .row>div:nth-child(2) {
		width: calc(100% - 220px);
		margin: 0 10px;
	}
	#n_product .card-header,
	#n_product .card-header .btn {
		font-size: 16px;
		font-weight: 700;
		text-transform: uppercase;
		background-color: #fff;
		border-color: #fff #fff #007bc3;
		color: #007bc3;
		text-decoration: none;
		padding-left: 0 !important;
		padding-right: 0 !important;
		border-radius: 0;
	}
	#n_product .card-header .btn[aria-expanded=false] {
		color: #4b4b4b;
		border-color: #fff #fff #e7eaeb;
	}
	#n_product .card-body {
		padding: 0 0 10px;
        border-bottom: 1px solid #e7eaeb;
        float: left;
	}
	#n_product .card-header { border: none;}
	#n_product .card {
		border: none;
		margin-bottom: 10px;
	}
	#n_product .card-header .btn i.fa-dah {
		float: right;
		color: #007bc3;
		padding-right: 5px;
	}
	#n_product .main-image {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
    }
    .specific { 
        flex-wrap: wrap;
        margin: -5px;
    }
    .specific>label._itmspec_listitm.btn {
        flex: 0 0 calc(50% - 10px);
        margin: 5px;
    }
    #n_product form.buying-options .btn {
        font-size: 14px;
        padding-left: 0;
        padding-right: 0;
    }
	#thumbnail-slider-prev,
	#thumbnail-slider-next {
		display: none;
	}
	.ctitle h3 {
		font-size: 26px;
	}
	.categories {
		padding-top: 30px;
	}
	.products,
	.testimonials {
		padding: 30px 0;
	}
	.productbox .productinner {
		padding: 5px 0;
	}
	.categories .catbox .catname h5 {
		font-size: 14px;
		line-height: 1.4;
		min-height: 60px;
		vertical-align: middle;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.midheader .rheader {
		position: absolute;
		top: 100%;
		z-index: 10000;
		background: #fff;
		margin: 0 auto;
		padding: 15px;
		left: 0;
		/* overflow: hidden; */
    }
    .nsearchinput-pl.well {
        max-height: 80vh;
        overflow-y: scroll;
    }
	.midheader .rheader .searchbar {
		width: 100%;
	}
	section#shipbox .row.btn-stack {
		margin-left: -5px;
		margin-right: -5px;
	}
	section#shipbox .row.btn-stack > .col-12 {
		padding-left: 5px;
		padding-right: 5px;
	}
	.midheader .row {
		align-items: center;
		margin-left: 0;
		margin-right: 0;
	}
	.midheader .row>.col:not(.rheader) {
		padding: 0;
		width: 45px;
		flex: 0 0 45px;
	}
	.midheader .row>.col.logo {
		flex: 0 0 calc(100% - 135px);
		width: calc(100% - 135px);
		padding-right: 15px;
	}
	.midheader .row>.col:not(.rheader) button {
		font-size: 25px;
		padding: 2px 0;
		background: #fff;
		line-height: 1;
	}
	.midheader .row>.col a.navbar-toggler {
		padding: 0;
		font-size: 27px;
		position: relative;
	}
	.midheader .row>.col a.navbar-toggler span.badge {
		position: absolute;
		top: 0;
		right: -5px;
		font-size: 12px;
		background: #4b4b4b;
		color: #fff;
		width: 15px;
		height: 15px;
		text-align: center;
		padding: 0;
		line-height: 15px;
	}
	.brandlist-img,
	.clink>a.btn.btn-default {
		margin-top: 10px;
	}
	.brandlist-img { height: calc(100% - 10px); }
	.brandlistwrap { 
		padding-left: 5px;
		padding-right: 5px;
	}
	.brandlistwrap-row {
		margin-left: -5px;
		margin-right: -5px;
	}
	.service ul li {
		padding: 0 20px;
		width: 25%;
		text-align: center;
		background-image: none;
		vertical-align: top;
	}

	.service ul li h3 {
		width: 100%;
	}

	.service ul li .icon {
		display: inline-block;
		margin-right: 0;
		margin-bottom: 5px;
		width: 100%;
	}

}
@media only screen and (max-width: 574px){
	.newsletter-section form .input-group {
		display: inline-block;
		width: 100%;
	}
	.newsletter-section form .input-group input.form-control,
	.newsletter-section form .input-group .btn {
		border-radius: .25rem;
		width: 100%;
		margin-bottom: 10px;
	}
	/* .service ul li {
		width: 100%;
		border-bottom: 1px solid #dedede;
		background-image: none;
		padding: 20px 0;
	} */
	.service ul li {
		width: 50%;
		border-bottom: 1px solid #dedede;
		background-image: none;
		padding: 10px 0;
	}
	.service ul li:last-child {
		border-bottom: 0px solid #dedede;
	}
	section.service {
		background-color: #ececec;
	}
	.service ul {
		padding: 0px;
	}
	.productbox .wlist,
	.productbox .productinner:hover .wlist {
		display: none;
	}
	section#shipbox .col-12.col-sm-auto {
		width: 50%;
		max-width: 50%;
		flex: 0 0 50%;
	}

	#shipbox #ship_country,
	#shipbox #ship_zip,
	#shipbox button.btn {
		width: 100%;
	}
}
@media only screen and (max-width:450px) {
    #n_product form.buying-options .btn img {
        display: none;
    }
}
@media only screen and (max-width: 1199px) {
	.slider .sliderpart .carousel-item {
		height: auto;
	}

	.slider .sliderpart .carousel-item img {
		height: auto;
		object-fit: unset;
		max-width: 100%;
	}
}