/*MAX AND MIN*/
@media screen and (max-width: 991px) and (min-width: 768px){
	[class *= product-] > .container-all .content-mid .col-xs-12.col-sm-6:nth-child(2n + 1){
		clear: both;
	}
	.header-right , .header-center {
		display: flex;
		float: left;
		justify-content: center;
		margin-bottom: 20px;
	}
	.header-center{
		width: 60%;
	}
	.header-right{
		width: 40%;
	}
	
}

/*MIN*/
@media (min-width: 768px){
	.box-number-info.box-bg-img {
		min-height: 500px;
	}
	.inner-md-video-info {
		padding: 50px;
	}
	.video-info-title {
		font-size: 40px;
	}
	.md-video .video-iframe {
		height: 480px;
	}

	/*product-info*/
	.product-info {
	    display: flex;
	    justify-content: center;
	}
	.over-img-pro-detail {
		flex: 0 0 auto;
    	width: 50%;
	}
	.product-info .product-info-content {
	    flex: 1 1 auto;
	    margin-left: 10%;
	    max-width: 400px;
	}

	/* news item */
	#content .box-news-content, .slide-news-related .box-news-content {
		padding: 0 35px;
		margin-bottom: 20px;
	}
}
@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-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;
	}

	.md-project-latest .container {
		padding: 0;
	}
	.md-project-latest .right-only-desktop {
		order: 1;
	}
	.md-project-latest .project-content {
		margin-left: 15%;
    	margin-right: 15%;
	}
	.instafeed-lightbox .lightbox-instagram {
	    width: 1000px;
	    margin-left: -500px;
	    margin-top: -315px;
	    height: 625px;
	}
	.instafeed-lightbox img {
	    max-width: 620px;
	}
	.instafeed-lightbox .lightbox-instagram .description {
	    width: 375px;
	}
}
@media (min-width: 1024px){
	.over-img-pro-detail {
		width: 35%;
	}
}
@media (min-width: 1100px){
	.inner-md-video-info {
		padding: 70px;
	}
	.video-info-title {
		font-size: 46px;
	}
}


/*MAX*/
@media (max-width: 991px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
	#box-search-header {
		padding: 0 20px;
	}
	button.main-search-close {
		top: -59px;
    	right: 20px;
	}
	.header-mid-logo {
		padding: 5px 10px;
	}
	.header-bottom .message {
		width: 100%;
		padding: 5px 0;
	}
	.header-bottom .store_message_wrapper {
		font-size: 13px;
	}
	.slideshow .owl-carousel {
		width: 100%;
		float: left;
	}
	.faq{ padding: 30px 0; }
	.project-banner-image {
	    margin-bottom: 30px;
	}
	.over-slide-pro.box-content {
		margin-left: -20px;
		margin-right: -20px;
	}

	/*menu*/
	.nav-mobi {
		display: inline-block;
	}
	a.mobile-nav-toggle {
	    display: block;
	    text-align: right;
	    height: 44px;
	    line-height: 44px;
	    padding-top: 10px;
	    padding-right: 15px;
	}
	.nav-toggle-mb {
		background: transparent;
	    border: 0;
	    cursor: pointer;
	    outline: none;
	    width: 44px;
	    height: 44px;
	    line-height: 56px;
	    padding: 0;
	}
	.nav-toggle-mb svg {
	    width: 24px;
    	height: 24px;
	}
	.nav-toggle-mb span.icon {
		background-color: #fff;
		display: block;
		width: 18px;
		height: 2px;
		border-radius: 1px;
	}
	.nav-toggle-mb span.icon+.icon{ margin-top: 3px; }
	.menu-mobi {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1;
		width: 300px;
		height: 100%;
		-webkit-transform: translate3d(-100%, 0, 0);
		-moz-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
		transition: all 0.5s;
		z-index: 9999;
	}
	body.oppen .menu-mobi {
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	.inner-menu-mobi {
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #fff;
		overflow: auto;
		padding-bottom: 10px;
	}
	body.oppen .menu-mobi ul {
	    list-style: none;
	    margin: 0;
	    padding: 0;
	}
	.inner-menu-mobi ul li a {
		display: block;
		padding: 0.7em 1em 0.7em 1.8em;
		outline: none;
		color: rgb(90, 83, 87);
		line-height: 24px;
		font-size: 16px;
	}
	body.oppen .bg-mb {
		width: 100%;
		height: 100%;
		opacity: 1;
		content: '';
		-webkit-transition: opacity 0.3s;
		-moz-transition: opacity 0.3s;
		transition: opacity 0.3s;
		background: rgba(0,0,0,0.3);
		position: absolute;
		top: 0;
		right: 0;
		z-index: 9999;
	}
	.inner-menu-mobi ul.lv1 ul {
		display: none;
		margin-left: 10px;
	}
	.inner-menu-mobi ul.lv1 li.has-child {
		position: relative;
	}
	.inner-menu-mobi ul.lv1 li.has-child span.mb-toggle {
		display: inline-block;
		position: absolute;
		top: 15px;
		right: 10px;
	}
	.inner-menu-mobi ul.lv1 li.has-child span.mb-toggle:before{
		content: "\f067 ";
		font-family: "FontAwesome";
		line-height: 34px;
		font-size: 14px;
		position: absolute;
		top: -8px;
		right: -10px;
	    cursor: pointer;
	    color: rgb(90, 83, 87);
	    width: 45px;
	    text-align: center;
	}
	.inner-menu-mobi ul.lv1 li.has-child span.mb-toggle.pluss:before{
		content: "\f068";
	}
	/*end menu*/
	.box-heading p{ font-weight: 400; }
	.box-news-latest { margin-bottom: 20px; }
	.note-sale .col-xs-6:nth-child(2n + 1) {
		clear: both
	}
	.news-by-categories.box-white2 .info-news,
	.news-by-categories.box-white2 .image {
		width: 100%
	}
	.footer-all .col-sm-6 {
		margin-bottom: 30px;
	}
	.footer-all .col-sm-6:nth-child(2n+1) {
		clear: both;
	}
}
@media (max-width: 767px){
	.box-product_ .btn-group {
		top: -50px;
	    opacity: 1;
	    visibility: visible;
	}

	.box-number-info.box-bg-white {
	    padding: 65px 0;
	}
	.box-number-info h2 {
		font-size: 32px;
	}
	.item-option-cat .inner-infor-cp {
		text-align: center;
		padding: 5px 5px 50px;
	}
	.item-option-cat .inner-infor-cp .sub-title {
		font-size: 19px;
	}
	.item-option-cat .inner-infor-cp h3.name {
		font-size: 25px;
	}
	.faq .card .inner-card-body { padding: 15px 0; }
	#banner3.banner_content_top{ display: none; }
	.products_cat_0.product-cat-right .col-pro-cat,
	.product-by-type.box-pro-special .col-pro-cat{ width: 50%; }
	.products_cat_0.product-cat-right .col-pro-cat:nth-child(2n+1),
	.product-by-type.box-pro-special .col-pro-cat:nth-child(2n+1){ clear: both; }
	.box-heading .nav-tabs>li {
	    width: 50%;
	    text-align: center;
	}
	.box-heading .nav-tabs>li>a {
		font-size: 11px;
    	padding: 10px;
	}
	.search-and-language #search{display: none;}
	#cart>.content, #cart:hover > .content{ display: none; }
	.contact_us_home h2 { font-size: 20px; }
	.faq .box-border .card{
		-webkit-box-flex: unset;
		-ms-flex: unset;
		flex: unset;
		width: 100%;
	}
	.contact_us_home{ padding: 25px 0; }
	.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%; }
	.search > span{
		float: right;
	}


	/*insta*/
	.instafeed-lightbox .lightbox-instagram {
	    height: 98%;
	    overflow: scroll;
	    width: unset;
	    max-height: unset;
	    top: unset;
	    left: unset;
	    margin-top: 8px;
	    margin-left: 8px;
	    margin-right: 8px;
	    position: relative;
	}
	.instafeed-lightbox .lightbox-instagram .instafeed-post-image img {
	    position: static;
	    width: 100%;
	    max-width: unset;
	}
	.instafeed-lightbox .lightbox-instagram .description {
	    width: unset;
	    position: relative;
	}
	.instafeed-lightbox .lightbox-instagram .box-content {
	    max-height: none;
	}
	.form-change .box-content {
		max-width: 380px;
		padding: 60px 20px;
	}

	/* product filter */
	.filter-product-page {
	    padding-top: 0;
	}
	.product-filter-group {
	    position: fixed;
	    top: 0;
	    right: -100%;
	    width: calc(100% - 60px);
	    z-index: 9999;
	    background: #fff;
	    height: 100vh;
	    overflow: auto;
	    padding: 10px 20px;
	    transition: all 0.5s;
	}
	.product-filter-group.show {
	    right: 0;
	    transition: all 0.5s;
	}
	.product-filter-group .dropdown {
	    display: block;
	    margin: 0;
	}
	.product-filter-group .dropdown.open button.btn:before {
		bottom: -10px;
	}
	.product-filter-group .dropdown.open button.btn:after {
		bottom: -15px;
	}
	.product-filter-group .dropdown form.dropdown-menu {
	    position: relative;
	    margin-bottom: 10px;
	    width: 100%;
	    top: auto;
	    left: auto;
	}
	.show-product-filter-group {
	    float: right;
	    width: 50%;
	}
	.show-product-filter-group button {
	    width: 100%;
	    border: 0;
	    background: transparent;
	    position: relative;
	    text-align: left;
	    font-size: 14px;
	    padding: 10px 0 11px 15px;
	}
	.show-product-filter-group button:before {
		content: "";
	    background-image: url(../image/filter.svg);
	    width: 16px;
	    height: 16px;
	    position: absolute;
	    top: 50%;
	    right: 0;
	    margin-top: -8px;
	}

	.close-product-filter-group.show {
	    position: fixed;
	    width: 60px;
	    left: 0;
	    top: 0;
	    height: 100%;
	    background: rgba(0,0,0,0.2);
	    z-index: 999;
	}
	.close-product-filter-group.show span {
		height: 40px;
		width: 60px;
	    background: #000;
	    position: relative;
	    display: inline-block;
	}
	.close-product-filter-group.show span:before {
		content: '';
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    left: calc(55% - 5px);
	    display: block;
	    width: 2px;
	    height: 25px;
	    transform-origin: bottom center;
	    background: #fff;
		-ms-transform: translateX(-9px) translateY(5px) rotate(45deg);
	    -webkit-transform: translateX(-9px) translateY(5px) rotate(45deg);
	    transform: translateX(-9px) translateY(5px) rotate(45deg);
	}
	.close-product-filter-group.show span:after {
		content: '';
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    left: calc(55% - 5px);
	    display: block;
	    width: 2px;
	    height: 25px;
	    transform-origin: bottom center;
	    background: #fff;
		-ms-transform: translateX(9px) translateY(5px) rotate(-45deg);
	    -webkit-transform: translateX(9px) translateY(5px) rotate(-45deg);
	    transform: translateX(9px) translateY(5px) rotate(-45deg);
	}

	.product-filter.pull-right {
	    float: left!important;
	    width: 50%;
	    border-right: 1px solid #e8e9eb;
	    padding-right: 15px;
	}
	.product-filter.pull-right .sort select {
	    width: 100%;
	    padding: 13px 0;
	}
}
@media screen and (max-width: 480px){
	.md-project-latest .title {
		font-size: 29px;
	}
	.box-heading-featured h4 {
		font-size: 24px;
	}
	.box-heading-featured a {
	    margin: -10px 0px;
	    padding: 6px;
	}

	#footer .footer-all ul.footer-link {
	    column-count: 1;
	}
	.owl-carousel .owl-buttons [class*=owl-]{
		top: calc( 50% - 19px);
	}
	.owl-carousel .owl-buttons .owl-prev, .owl-carousel:hover .owl-buttons .owl-prev{
		left: 10px;
		right: unset;
	}
	.owl-carousel .owl-buttons .owl-next, .owl-carousel:hover .owl-buttons .owl-next{
		right: 10px;
	}
	nav .pull-right .box-nav{
		display: none;
	}
	.note-sale-content {
		flex-wrap: wrap;
    	text-align: center;
	}
	.note-sale-content .icon {
		margin: 0 0 6px;
	}
	.note-sale-content h3 {
		font-size: 11px;
		width: 100%;
	}
}
@media screen and (max-width: 320px){
	.menu-mobi {
		width: 270px;
	}
	#box-search-top .search input[type="text"] {
	    width: 145px;
	}
}

