/*MAX AND MIN*/
@media (min-width: 992px) and (max-width: 1199px) {
    .col-md-6:nth-child(2n + 1),
    .col-md-4:nth-child(3n + 1),
    .col-md-3:nth-child(4n + 1) {
        clear: both;
    }
}
@media (min-width: 769px) and (max-width: 991px) {
    .col-sm-6:nth-child(2n + 1),
    .col-sm-4:nth-child(3n + 1),
    .col-sm-3:nth-child(4n + 1) {
        clear: both;
    }
}

/*MIN*/
@media (min-width: 768px){

}
@media (min-width: 992px){
	.col-md-20 {
		width: 20%;
		float: left;
	}
	.col-md-20:nth-child(5n+1) {
	    clear: both;
	}
	.common-home .box-menu .box-box{
		display: none !important;
	}
	.menu-home-cat > ul > li:hover > ul{
		display: block;
	}
	[class *= product-] > .container-all .content-mid .col-xs-12.col-sm-6.col-md-3:nth-child(4n + 1),
	[class *= product-] > .container-all .content-mid .col-xs-12.col-sm-6.col-md-4:nth-child(3n + 1),
	[class *= product-] > .container-all .content-mid .col-xs-12.col-sm-6.col-md-6:nth-child(2n + 1)
	{
		clear: both;
	}

	/* menu	*/
	#menu {
	    float: right;
	    display: block!important;
	}
	#menu ul ul {
	    position: absolute;
	    opacity: 0;
	    visibility: hidden;
	    background: #ebeaea;
	    z-index: 1;
	}
	#menu ul li:hover > ul {
		opacity: 1;
		visibility: visible;
		display: block!important;
	}
	#menu ul ul li a {
		padding: 10px 26px;
		border-bottom: 1px solid #c82027;
		display: block;
		white-space: nowrap;
	}

	/* header categories */
	body.common-home .header-categories .list {
		display: block!important;
	}
	.header-categories:hover .list {
		display: block;
	}
	.header-categories .list > ul {
		height: 100%;
	}
	.header-categories .list > ul > li {
		height: calc(100% / 12);
		padding: 0 10px 0 13px;
	}
	.header-categories .list > ul > li > a.name {
    	width: calc(100% - 48px);
	}
	.header-categories .toggle-menu {
		width: 10px;
    	text-align: right;
	}
	.header-categories .list > ul > li > ul {
		position: absolute;
		top: 0;
		left: 100%;
		background: #fff;
		display: none;
	    width: calc(1248px * 0.75);
	    border-radius: 0 0 10px 10px;
	    height: 100%;
	    -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
	    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
	    overflow: auto;
	    padding: 15px;
	}
	.header-categories .list > ul > li:hover > ul {
	    display: inline-block;
	}
	.header-categories .list > ul > li > ul > li {
	    width: 25%;
	    margin-bottom: 15px;
	    float: left;
	}
	.header-categories .list > ul > li > ul > li > a {
	    font-weight: bold;
	}
	.header-categories .list > ul > li > ul > li ul a {
		line-height: 22px;
		display: block;
	}

	/* module */
	.md-info-home .info-content {
		padding-right: 30px;
	}

	.news-by-categories .order-1 {
		order: 1;
	}
	.news-by-categories .order-2 {
		order: 2;
	}
	.news-by-categories .order-3 {
		order: 3;
	}
	.news-by-categories .order-4 {
		order: 4;
	}

	/* product info */
	.over-image-product {
		padding-right: 50px;
	}

	/* contact page */
	body.information-contact form {
	    padding-right: 50px;
	    width: 100%;
	    display: inline-block;
	}

}
@media (min-width: 1200px){
	.col-lg-6:nth-child(2n + 1),
    .col-lg-4:nth-child(3n + 1),
    .col-lg-3:nth-child(4n + 1) {
        clear: both;
    }
}

/*MAX*/
@media (max-width: 1199px) {
	
}
@media (max-width: 991px) {
	.box-heading h2 {
		padding: 8px;
		font-size: 16px;
	}
	.box-heading .item-cat-view-more a {
		font-size: 12px;
	}

	/* header */
	.header-top .container {
		position: relative;
	}
	.header-mid {
		padding-top: 10px;
		padding-bottom: 0;
	}
	.header-mid .col-xs-12.col-md-2.pull-right,
	.header-mid .col-xs-12.col-md-3 {
		width: auto;
	}
	#cart-top-all .cart-inner {
		margin-top: 0;
	}
	.nav-toggle-mb {
	    border: 1px solid #ddd;
	    float: left;
	    height: 40px;
	    line-height: 38px;
	    width: 40px;
	    text-align: center;
	    border-radius: 4px;
	    font-size: 22px;
	    color: #C82027;
	    cursor: pointer;
	}
	#menu {
    	position: absolute;
	    width: 100%;
	    top: 50px;
	    left: 0;
	    display: none;
	    z-index: 9;
	}
	#menu > ul > li {
		width: 100%;
	}
	#menu > ul > li > a {
		font-size: 14px;
	    font-weight: 400;
	    margin-left: 0;
	    display: inline-block;
	    padding: 5px 15px;
	}
	#menu ul .fa {
		display: none;
	}
	#menu ul span.toggle-mb {
	    position: absolute;
	    width: 38px;
	    height: 38px;
	    line-height: 38px;
	    top: 0;
	    right: 5px;
	    font-size: 16px;
	    text-align: center;
	    transition: all 0.5s;
	    cursor: pointer;
	}
	#menu ul span.toggle-mb.active {
		transform: rotate(180deg);
	}
	#menu ul span.toggle-mb:before {
		font-family: FontAwesome;
		content: "\f078";
	}
	#menu ul ul {
		display: none;
	}
	#menu ul ul li a {
	    padding: 10px 26px 10px 45px;
	    display: block;
	}
	.pull-left.over-logo {
	    width: 100%;
	    margin: 0 0 5px;
	}
	/* header categories */
	.header-categories .list {
		overflow-y: auto;
	}
	.header-categories .list > ul > li {
		flex-wrap: wrap;
	}
	.header-categories .list > ul > li > a.name {
    	width: calc(100% - 68px);
	}
	.header-categories .list > ul a {		
	    display: inline-block;
	    line-height: 35px;
	}
	.header-categories .toggle-menu {
		width: 30px;
    	text-align: center;
    	font-size: 18px;
	}
	.header-categories .toggle-menu.fa-angle-right:before {
		content: "\f107";
	}
	.header-categories .list > ul ul {
		display: none;
		width: 100%;
	}
	.header-categories .list > ul ul li {
	    width: 100%;
	    display: flex;
	    justify-content: space-between;
	    align-items: center;
	    padding-left: 45px;
	    flex-wrap: wrap;
	}
	.header-categories .list > ul ul ul li {
	    padding-left: 20px;
	}

	.product-info.row .description h1 {
		margin-top: 25px;
	}

	/* module */
	.md-info-home .info-content {
		margin-top: 20px;
	}

	/* news cat */
	.box-news-content {
		flex-wrap: wrap;
	}
	.box-news-content .image {
	    width: 100%;
	}
	.box-news-content .info-p {
		width: 100%;
	    padding-left: 0;
	    margin-top: 8px;
	}

	/* footer */
	.footer-top p.title-newsletter {
		font-size: 18px;
	}
	.footer-top p.title-newsletter i {
	    font-size: 20px;
	}
	.inner-footer-mid {
		flex-wrap: wrap;
		flex-direction: column;
		align-items: start;
    	gap: 8px;
	}
}
@media (max-width: 767px){	
    .col-xs-6:nth-child(2n + 1),
    .col-xs-4:nth-child(3n + 1),
    .col-xs-3:nth-child(4n + 1){
        clear: both;
    }
    #cart-top-all .cart-inner-icon {
    	margin-left: 0;
    }
	.box-product_ .btn-group {
		top: -50px;
	    opacity: 1;
	    visibility: visible;
	}
	.image-additional.slick-slider {
		width: 100%;
		position: unset;
	}
	.image-additional.slick-slider .slick-list {
		display: none;
	}
	.image-product.slick-slider {
		width: 100%;
	}
	.image-additional.slick-slider button.slick-prev {
	    left: 10px;
	    z-index: 9;
	    width: auto;
	    height: auto;
	}
	.image-additional.slick-slider button.slick-next {
	    right: 10px;
	    z-index: 9;
	    width: auto;
	    height: auto;
	}
	.image-additional .slick-prev:before, .image-additional .slick-next:before {
	    font-size: 45px;
	    color: black;
	}
	#powered{ text-align: center; }
	#powered .pull-left, #powered .pull-right{ width: 100%; }
}
@media screen and (max-width: 480px){

}
@media screen and (max-width: 320px){
	
}

