/*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;
	}

	/* form search */
	.search-header-form {
	    margin: 0 10px 0 30px;
        width: 100%;
        max-width: 600px;
        min-width: 15px;
	}

	/*heaer bottom*/
	.header-bottom {
	    background: var(--main-color);
	}
	.header-bottom-inner {
	    display: flex;
	    flex-flow: row nowrap;
	    align-items: center;
	    justify-content: space-between;
	}

	/* menu	*/
	#menu ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	#menu ul li {
		position: relative;
	}
	#menu ul a {
		font-weight: 600;
        text-transform: uppercase;
        font-family: var(--title-font);
		white-space: nowrap;
	}
	#menu > ul {
	    display: flex;
	    align-items: center;
	}
	#menu > ul > li.current,
	#menu > ul > li:hover {
		background: var(--bg-header-bottom);
	}
	#menu > ul > li > a {
		display: inline-block;
        padding: 0 20px;
        color: #fff;
        line-height: 50px;
        font-size: 15px;
	}
	#menu > ul > li > a > span {
		position: relative;
	}
	#menu > ul > li > a > span:after {
	    content: '';
	    position: absolute;
	    left: 0;
	    bottom: -6px;
	    margin: 0 auto -2px;
	    height: 2px;
	    width: 100%;
	    background: currentColor;
	    opacity: 0;
	    transition: all 0.3s;
	}
	#menu > ul > li:hover > a > span:after {
		bottom: -2px;
		opacity: 1;
	}
	#menu > ul > li > a > i.fa {
	    vertical-align: top;
	    line-height: 48px;
	    margin-left: 5px;
	}
	#menu ul ul {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 260px;
		background: #fff;
		box-shadow: 1px 1px 15px rgba(0, 0, 0, .15);
	    opacity: 0;
	    visibility: hidden;
	    transition: opacity .25s,visibility .25s;
	}
	#menu ul li:hover > ul {
	    opacity: 1;
	    visibility: visible;
	}
	#menu ul ul a {
	    display: block;
	    padding: 8px 20px;
	    font-size: 14px;
	    position: relative;
	}
	#menu ul ul li:hover > a,
	#menu ul ul li.current > a {
	    color: var(--bg-header-bottom);
	}
	#menu ul ul a i.fa {
	    position: absolute;
	    top: 0;
	    right: 0;
	    width: 27px;
	    text-align: center;
	    line-height: 34px;
	}
	#menu ul ul.lv-2 > li > a {
		background: #f2f2f2;
	}
	#menu ul ul.lv-2 > li:hover > a {
		background: #fff;
	}
	#menu ul ul ul {
		top: 0;
		left: 100%;
	}	
	/* end menu	*/

	/* social header */
	.header-bottom-right {
	    display: flex;
	    align-items: center;
	}
	.header-social {
	    margin-left: 15px;
	}
	.header-social a {
		display: inline-block;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		border: 2px solid #ebe6e9;
		color: #fff;
		margin: 2px;
		text-align: center;
	}
	.header-social a i {
		line-height: 30px;
	}
	.header-social a:hover {
		background: var(--main-color);
		border-color: var(--main-color);
	}
	.header-social a.fb:hover {
		background: #1e77f0;
		border-color: #1e77f0;
	}
	.header-social a.yt:hover {
		background: red;
		border-color: red;
	}

	/* footer */
	.column-footer-left {
		padding-bottom: 100px;
	}
}
@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;
	}

	.footer-newsletters {
		position: absolute;
		margin-bottom: 50px;
		left: 0;
	    bottom: 0;
	}
}

/*MAX*/
@media (max-width: 1199px) {
	
}
@media (max-width: 991px) {
	.box-heading h2 {
		font-size: 20px;
	}

	/* header mb */
	.header-mb {
	    background: #f5f5f5;
	    padding: 3px 0;
	}
	.header-mb-inner {
	    display: flex;
	    align-items: center;
	    justify-content: space-between;
	}
	.header-mb-item {
	    display: flex;
	    align-items: center;
	}
	.header-link-item {
	    margin-right: 23px;
	}
	.header-mb-item #cart-top-all-mb a {
	    display: flex;
	    width: 40px;
	    height: 40px;
	    justify-content: center;
	    align-items: center;
	    position: relative;
	}
	.header-mb-item #cart-top-all-mb a i {
		font-size: 22px;
	}
	.header-mb-item #cart-top-all-mb a span {
		position: absolute;
		top: -1px;
		right: -3px;
		font-size: 11px;
		min-width: 20px;
		height: 20px;
		text-align: center;
		border-radius: 50%;
		background: #fff;
		color: var(--main-color);
	}

	/* header */
	.header-top-inner {
		justify-content: space-between;
	}
	.header-top-item {
	    flex-grow: 0;
	}
	.header-top .logo img {
	    max-height: 41px;
	}
	.header-top .header-info h2 {
		font-size: 15px;
	}
	.header-top .header-info p {
		font-size: 14px;
	}
	.nav-toggle-mb {
	    border: 0;
	    height: 40px;
	    width: 40px;
	    text-align: center;
	    font-size: 22px;
	    color: hsla(0,0%,40%,.85);
	    cursor: pointer;
	    position: relative;
	}
	.nav-toggle-mb span,
	.nav-toggle-mb span:before,
	.nav-toggle-mb span:after {
		content: '';
		position: absolute;
		width: 30px;
		height: 3px;
		background: #1a1a1a;
	}
	.nav-toggle-mb span {		
		left: 5px;
		top: 50%;
		margin-top: -1.5px;
		transition: transform 0.15s cubic-bezier(0,1,.8,1);		
	}
	.nav-toggle-mb span:before {
		top: -8px;
		left: 0;
		transition: top 0.15s cubic-bezier(0,1,.8,1) 0.15s, opacity 0.15s cubic-bezier(0,1,.8,1);
	}
	.nav-toggle-mb span:after {
		top: 8px;
		left: 0;
		transition: top 0.15s cubic-bezier(0,1,.8,1) 0.15s, transform 0.15s cubic-bezier(0,1,.8,1);
	}
	.nav-toggle-mb.active span {
	    transform: translateY(-50%) rotate(45deg);
	    transition-delay: 0.15s;
	}
	.nav-toggle-mb.active span:before {
	    top: 0;
	    opacity: 0;
	    transition: top 0.15s cubic-bezier(0,1,.8,1), opacity 0.15s cubic-bezier(0,1,.8,1) 0.15s;
	}
	.nav-toggle-mb.active span:after {
		top: 0;
	    transform: rotate(90deg);
	    transition: top 0.15s cubic-bezier(0,1,.8,1), transform 0.15s cubic-bezier(0,1,.8,1) 0.15s;
	}

	/* menu mobile */
	.menu-mobi {
	    position: fixed;
        width: 260px;
        background-color: hsla(0, 0%, 100%, .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.current > a {
		color: var(--main-color);
	}
	.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: 11px 45px 11px 20px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
	}
	.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: 8px 5px 8px 20px;
		font-size: 16px;
	}
	.menu-mobi span.mb-toggle {
	    position: absolute;
	    width: 38px;
	    height: 42px;
	    line-height: 42px;
	    font-family: FontAwesome;
	    right: 0;
	    top: 0;
	    text-align: center;
	    color: hsla(0, 0%, 40%, .85);
	    cursor: pointer;
	    transition: all 0.3s;
	    font-size: 14px;
	}
	.menu-mobi span.mb-toggle.up{
		transform: rotate(180deg);
	}
	.menu-mobi span.mb-toggle:before {
	    content: "\f078";
	}
	
	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 .img-right {
		margin-bottom: 30px;
	}
	
	.md_project_latest {
		padding: 80px 0;
	}
	.md_project_latest h2.desc {
		font-size: 20px;
		line-height: 40px;
	}


	#popup-quick-view .modal-dialog {
	    margin: 40px auto;
	}

	.slide-image-news {
		margin: 0;
	}

	.product-info.row .description h1 {
		margin-top: 25px;
	}

	.footer-all-inner {
		grid-template-columns: 100%;
	}

	#myModal .form-request {
		grid-template-columns: 100%;
	}
}
@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;
    }
    
	.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;
	}

	.title-newsletters p {
		font-size: 12px;
	}

	#powered{ text-align: center; }
	#powered .pull-left, #powered .pull-right{ width: 100%; }

	/* about us page */
	section.about-us-row-3 .info-about-content {
		width: 100%;
	}

	/* project */
	.item-project .info-project h3 {
		font-size: 14pz;
	}
	.footer-all {
	    padding: 30px 0;
	}
	.footer-all-left {
		grid-template-columns: 100%;
	}
}
@media screen and (max-width: 480px){
	
}
@media screen and (max-width: 360px) {
	.header-top .header-info {
		display: none;
	}
}
@media screen and (max-width: 320px){
	
}

