/*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;
	}

	[class *= product-] > .container-all .content-mid .col-md-3:nth-child(4n + 1),
	[class *= product-] > .container-all .content-mid .col-md-4:nth-child(3n + 1),
	[class *= product-] > .container-all .content-mid .col-md-6:nth-child(2n + 1)
	{
		clear: both;
	}

	/* menu	*/
	#menu ul {
		list-style: none;	    
		margin: 0;
		padding: 0;
	}
	#menu ul li {
		display: inline-block;
		position: relative;
	}
	#menu ul li a {
	    color: #383b97;
	}	
	#menu li:hover > a,
	#menu li > a:hover,
	#menu > ul > li.current > a.top {
		color: #d3902b;
	}
	#menu > ul > li {
		margin: 0 9px;
	}
	#menu > ul > li.has-chid:before,
	.search-header:before {
		bottom: -2px;
	    opacity: 0;
	    left: 50%;
	    border: solid transparent;
	    content: '';
	    height: 0;
	    width: 0;
	    position: absolute;
	    border-width: 11px;
    	margin-left: -11px;
    	border-bottom-color: #fff;
    	z-index: 2;
	}
	#menu > ul > li.has-chid:hover:before,
	.search-header:hover:before {
		opacity: 1;
	}
	#menu > ul > li > a.top {
	    display: inline-block;
	    text-transform: uppercase;
	    font-weight: 700;
	    line-height: 35px;
	    padding: 10px 0;
	}
	#menu ul ul,
	.search-header-form {
		position: absolute;
		top: 100%;
		left: -15px;
		opacity: 0;
		visibility: hidden;
		min-width: 250px;
		background: #fff;
		padding: 5px;
		-webkit-box-shadow: 1px 1px 15px rgba(0,0,0,.15);
    	box-shadow: 1px 1px 15px rgba(0,0,0,.15);
	}	
	#menu ul li:hover > ul,
	.search-header:hover .search-header-form {
		opacity: 1;
		visibility: visible;
	}
	#menu ul ul li {
		width: 100%;
	}
	#menu ul ul a {
	    display: block;
	    font-size: 14px;
	    text-transform: uppercase;
	    padding: 10px 0;
	    margin: 0 10px;
	    border-bottom: 1px solid #ececec;
	}
	#menu ul ul li:last-child a {
		border-bottom: 0;
	}
	#menu ul ul ul {
	    left: auto;
	    right: 100%;
	    top: 0;
	}
	/* end menu	*/
	/* form search header */
	.search-header {
	    position: relative;
	    margin-left: 10px;
	    cursor: pointer;
	}
	.search-header span.icon-search {
	    display: inline-block;
	    width: 32px;
	    height: 32px;
	    line-height: 30px;
	    text-align: center;
	    border: 1px solid #383b97;
	    border-radius: 50%;
	    color: #383b97;
	}
	.search-header:hover span.icon-search{
		border-color: #dd3333;
		background: #dd3333;
		color: #fff;
	}
	.search-header-form {
	    left: auto;
	    right: -15px;
	}
	/* end form search header */

}
@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;
    }

    .row-md-mar20 {
	    margin-right: -20px;
	    margin-left: -20px;
	}
	.row-md-mar20 > div[class*="col-"] {
	    padding-left: 20px;
	    padding-right: 20px;
	}
	.row-md-mar20 > .col-md-9 {
		width: 70%;
	}
	.row-md-mar20 > .col-md-3 {
		width: 30%;
	}

    #popup-quick-view .modal-dialog {
	    width: 875px;
	    height: 100vh;
	    display: flex;
	    align-items: center;
	}
}

/*MAX*/
@media (max-width: 1199px) {
	
}
@media (max-width: 991px) {
	.box-heading h2 {
		font-size: 20px;
	}

	/* header */
	.header-top-left {
	    text-align: center;
	    width: 100%;
	    padding: 6px 0;
	}
	.header-bottom-left {
		width: 100%;
		position: relative;
	}
	.header-bottom .logo {
		width: 100%;
		text-align: center;
	}
	.header-bottom .logo img {
		max-height: 75px;
	}

	.nav-toggle-mb {
		position: absolute;
		top: 50%;
		left: 0;
		margin-top: -20px;
	    border: 1px solid #ddd;
	    height: 40px;
	    line-height: 38px;
	    width: 40px;
	    text-align: center;
	    border-radius: 4px;
	    font-size: 22px;
	    color: #383b97;
	    cursor: pointer;
	}

	/* menu mobile */
	.bg-mb {
	    position: fixed;
	    top: 0;
	    left: 0;
	    right: 0;
	    bottom: 0;
	    background: rgb(0 0 0 / 60%);
	    opacity: 0;
	    visibility: hidden;
	    z-index: 9999;
	}
	.bg-mb button {
	    background: transparent;
	    border: 0;
	    color: #fff;
	    width: 40px;
	    height: 40px;
	    text-align: center;
	    cursor: pointer;
	    position: absolute;
	    right: 5px;
	    top: 8px;
	}
	body.menu-mb-open .bg-mb {
		opacity: 1;
		visibility: visible;
	}
	.menu-mobi {
	    position: fixed;
	    width: 260px;
	    background-color: rgba(255,255,255,.95);
	    top: 0;
	    left: -270px;
	    height: 100vh;
	    padding: 30px 0;
	    overflow: hidden auto;
	    transition: all 0.5s;
	    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
	    box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
	    z-index: 99999;
	}
	body.menu-mb-open .menu-mobi {
		left: 0;
	}
	.search-mb {
	    padding: 20px;
	    font-size: 14px;
	}
	.menu-mobi ul.menu-lv1, ul.menu-lv1 ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.menu-mobi ul.menu-lv1 li {
		position: relative;
	}
	.menu-mobi ul.menu-lv1 > li {
		border-top: 1px solid #ececec;
	}
	.menu-mobi ul.menu-lv1 > li:hover {
		background: rgba(0,0,0,.05);
	}
	.menu-mobi ul.menu-lv1 > li > a {
		display: block;
		padding: 15px 45px 15px 20px;
		font-size: 13px;
		font-weight: 700;
		color: rgba(102,102,102,.85);
		text-transform: uppercase;
	}
	.menu-mobi ul.menu-lv1 > li:hover > a {
		color: rgba(17,17,17,.85);
	}
	.menu-mobi ul.menu-lv1 ul {
		padding-bottom: 15px;
		display: none;
	}
	.menu-mobi ul.menu-lv1 ul li {
		padding-left: 8px;
	}
	.menu-mobi ul.menu-lv1 ul li a {
		display: block;
		padding: 5px 5px 5px 20px;
		font-size: 16px;
		color: #666;
	}
	.menu-mobi span.mb-toggle {
	    position: absolute;
	    width: 38px;
	    height: 38px;
	    line-height: 36px;
	    font-family: FontAwesome;
	    right: 0;
	    top: 5px;
	    text-align: center;
	    color: rgba(102,102,102,.85);
	    cursor: pointer;
	    transition: all 0.3s;
	}
	.menu-mobi span.mb-toggle.up{
		transform: rotate(180deg);
	}
	.menu-mobi span.mb-toggle:before {
	    content: "\f078";
	}
	ul.list-inline.header-contact {
	    border-right: 0;
	    border-top: 1px solid #ececec;
	    border-bottom: 1px solid #ececec;
	    padding: 5px 0;
	    margin: 0;
	}
	.header-contact>li {
		padding: 0;
		width: 100%;
	}
	.header-contact a {
		color: #666;
	    font-weight: 700;
	    font-size: 13px;
	    padding: 5px 0 5px 20px;
	}
	ul.list-inline.header-social {
	    padding: 20px;
	}
	.list-inline>li {
		padding-right: 3px;
    	padding-left: 3px;
	}
	.header-social a {
		width: 30px;
		height: 30px;
		line-height: 28px
	}

	/* module */
	.slideshow .owl-carousel .owl-nav button {
		opacity: 0;
	}
	.info-home-1 h2 { font-size:20px; }
	.info-home-2 h2 { font-size:18px; }
	.info-home-2 { margin-bottom:0 }
	.md-video h3 { font-size:16px; }
	.support-online { padding: 0; }
	.item-support .info .text { font-size: 13px; }
	.slider-product-combo.owl-carousel .owl-nav button,
	.slide-news-related.owl-carousel .owl-nav button {
		opacity: 1;
		-webkit-box-shadow: none;
    	box-shadow: none;
    	background: transparent!important;
	}
	.slider-product-combo.owl-carousel .owl-nav button.owl-next,
	.slide-news-related.owl-carousel .owl-nav button.owl-next {
	    right: 0;
	}
	.slider-product-combo.owl-carousel .owl-nav button.owl-prev,
	.slide-news-related.owl-carousel .owl-nav button.owl-prev {
	    left: 0;
	}
	.project-featured-slide.owl-theme .owl-nav button {
		opacity: 1;
	}
	.project-featured-slide.owl-theme .owl-nav button.owl-prev {
	    left: 0;
	}
	.project-featured-slide.owl-theme .owl-nav button.owl-next {
	    right: 0;
	}

	#popup-quick-view .modal-dialog {
	    margin: 40px auto;
	}

	.slide-image-news {
		margin: 0;
	}

	.product-info.row .description h1 {
		margin-top: 25px;
	}
}
@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;
	}

	/* category news */
	.box-news-content {
		flex-wrap: wrap;
	}
	.box-news-content .image {
		width: 100%;
	}
	.box-news-content .info-p {
		width: 100%;
		padding: 10px 0 0;
	}

	.breadcrumbs-search-page {
		font-size: 16px;
		text-align: center;
	}

	/* product detail */
	.tab-title span {
		padding: 0 30px;
	}

	/* contact page */
	h2.title-contact {
		font-size: 16px;
		margin: 20px 0;
	}
	.contact-page-desc {
	    margin-bottom: 30px;
	}

	.footer-all .over-iframe-map iframe {
	    width: 100%;
	    height: 150px;
	}
	.footer-all .over-iframe-fb iframe {
		height: 150px;
	}
	#powered{ text-align: center; }
	#powered .pull-left, #powered .pull-right{ width: 100%; }
}
@media screen and (max-width: 480px){

}
@media screen and (max-width: 320px){
	
}

