/* ------------------------- INDEX CSS ------------------------------- */
/*========================================POPUP - đâu trang=========================================*/
.engo-popup {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
	position: fixed;
	z-index: 15000;
	top: 0;
	height: 0;
	width: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}
.engo-popup.active {
	visibility: visible;
	opacity: 1;
	top: 0 !important;
	height: auto;
	width: auto;
}
.engo-popup .overlay {
	background-color: rgba(0, 0, 0, 0.9);
	color: rgba(0, 0, 0, 0.4);
	position: fixed;
	top: 0 !important;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 0;
	height: 0;
}
.engo-popup.active .overlay {
	width: 100%;
	height: 100%;
}
.engo-popup .content {
	//max-width: 800px;
	padding: 20px;
	margin: 0 auto;
	text-align: left;
	position: relative;
	background: #fff;
	//min-width: 490px;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}
.engo-popup.active .content {
	max-height: 100%;
}
@media screen and (min-width: 1200px){
	.engo-popup .content {
		max-width: 1024px;
		width: 900px;
	}
}
#popup-newletter {
	background: url(//cdn.hstatic.net/themes/200000420363/1001452336/14/pnewletter_bg.jpg?v=2915) no-repeat scroll bottom right #fff;
	text-align: left;
	padding: 20px;
	min-width: 600px;
	min-height: 350px;
	overflow: hidden;
	background-size: cover;
}
#popup-newletter h3 {
	font-size: 22px;
	color: #666;
	margin: 0px 0px 10px;
	padding: 8px 0px;
	font-weight: normal;
	text-transform: uppercase;
}
#popup-newletter .pnewle-message {
	width: 55%;
	color: #333;
}
#popup-newletter .pnewle-message span {
	font-size: 14px;
	margin-bottom: 20px;
	display: block;
	line-height: 1.5;
}
#popup-newletter .pnewle-message p {
	font-size: 12px;
	margin-bottom: 10px;
	display: block;
}
#popup-newletter .pnewle-message ul {
	margin-bottom: 20px;
}
#popup-newletter .pnewle-form {
	width: 53%;
}
#popup-newletter .pnewle-form .newsletter-input {
	font-size: 12px;
	font-style: italic;
	height: 33px;
	display: inline-block;
	width: calc(100% - 75px);
}
.form-control {
	display: block;
	width: 100%;
	height: 36px;
	padding: 7px 12px;
	font-size: 14px;
	line-height: 1.42857;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 2px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	-webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
	transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
}
#popup-newletter .pnewle-form .btn {
	background-color: #e02027;
	color: #fff;
	font-style: italic;
	font-size: 11px;
	position: relative;
	padding: 5px 12px;
	display: inline-block;
	width: 70px;
	height: 33px;
	vertical-align: top;
	border-radius: 0;
}
.social-icons {
	width: 53%;
	margin-top: 20px;
}
.social-icons .block_content ul {
	margin: 0px;
}
.social-icons .block_content ul li {
	width: 20%;
	text-align: center;
	padding: 0px;
	height: 40px;
	float: left;
}
.social-icons .block_content ul li a {
	font-size: 18px;
	display: inline-block;
	height: 35px;
	width: 35px;
	color: #767676;
	border: 1px solid transparent;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
}
.social-icons .block_content ul li .fa {
	line-height: 35px;
	display: block;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}
.form-control:focus {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
}
.social-icons .block_content ul li.facebook a:hover {
	border-color: #428bca;
}
.social-icons .block_content ul li.twitter a:hover {
	border-color: #5bc0de;
}
.social-icons .block_content ul li.rss a:hover {
	border-color: #0eba9e;
}
.social-icons .block_content ul li.youtube a:hover {
	border-color: #CC181E;
}
.social-icons .block_content ul li.google-plus a:hover {
	border-color: #4387fd;
}

.social-icons .block_content ul li span {
	font-size: 0px;
}
#popup-newletter .pnewle-message ul li:before {
	content: "\f111";
	position: absolute;
	font-family: "FontAwesome";
	font-size: 5px;
	top: 3px;
	left: 10px;
}
#popup-newletter .pnewle-message ul li {
	font-size: 12px;
	position: relative;
	display: block;
	padding-left: 25px;
	margin: 10px 0px;
}
.newletter-popup.engo-popup .content {
	padding: 0;
}
#popup-newletter .pa-header {
	background: rgba(255,255,255, .7);
	padding: 10px;
}
.newletter-popup .content {
	background: transparent;
}
.closePopup {
	display: block;
	position: absolute;
	top: -15px;
	right: -15px;
	background: url(//cdn.hstatic.net/themes/200000420363/1001452336/14/fancybox_sprite.png?v=2915) top left no-repeat;
	width: 35px;
	height: 35px;
	text-align: center;
	border-radius: 50%;
	border: none;
	outline: none;
}
.tbPopup .modal-dialog {
	width: 300px;
}
.tbPopup .modal-dialog .modal-content {
	border-radius: 0;
	border: none;
}
.tbPopup .modal-dialog .modal-header {
	border: none;
	padding: 7px 10px;
	background: #e02027;
}
.tbPopup .modal-dialog .modal-header h4 {
	font-size: 16px;
}
.tbPopup .modal-body .subText {
	font-size: 15px;
	font-style: italic;
	text-align: center;
	margin: 0;
}
@media screen and (min-width: 1200px){
	.newletter-popup.engo-popup .content {
		width: auto;
	}
}
@media screen and (max-width: 767px){
	.engo-popup .content {
		width: auto;
	}
	#popup-newletter {
		min-width: auto;
		min-height: auto;
		padding: 5px;
	}
}
@media screen and (max-width: 479px){
	#popup-newletter .pnewle-message,
	.social-icons,
	#popup-newletter .pnewle-form {
		width: 100%;
	}
}
/*================================end New seletter====================================*/



/* 1. ------------- SLIDER PAGE ------------ */
.slider-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.right-slider {
	flex: 0 0 calc(100% - 275px);
	max-width: calc(100% - 275px);
}
#insHomeSlider {
	margin: 5px 0px 0px;
}
.right-slider__top {
	display: flex;
	flex-wrap: wrap;
}

#insSlider {
	flex: 0 0 100%;
	max-width: 100%;
}

#insBannerRight {
	flex: 1;
	padding-left: 5px;
}
.wrapBannerRight ul {
	margin: 0;
	padding: 0;
}

.wrapBannerRight ul li {
	margin-bottom: 5px;
}

.wrapBannerRight ul li:last-child {
	margin: 0;
}
.bannerSlider img {
	border-radius: 5px;
}
.right-slider__bottom {
	margin-top: 5px;
}

.right-slider__bottom ul {
	padding: 0;
	margin: 0 -2.5px;
	display: flex;
	flex-wrap: wrap;
}

.right-slider__bottom ul li {
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
	padding: 0 2.5px;
}

.right-slider__bottom ul li img {
	border-radius: 5px;
}
/* ------------- END SLIDER PAGE ------------ */

/* 2. ------------- BANNERS PAGE ------------ */
.blockSection {
	margin-top: 20px;
}
#bannersHome .row {
	margin-right: -2.5px;
	margin-left: -2.5px;
	display: flex;
	flex-wrap: wrap;
}

#bannersHome .bannerItem {
	padding: 0 2.5px;
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
}

#bannersHome .bannerItem img {
	border-radius: 5px;
}
/* ------------- END BANNERS PAGE ------------ */
/* ------------- TOP PRODUCT HOME PAGE ------------ */
#topProducts {
	background: #f4f4f4;
}
#topProducts .wapperTop {
	margin-bottom: 20px;
}
#topProducts .pdLoopAction, #topProducts .pdLabel {
	display: none;
}
.home-product__tab .blockTitle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.home-product__tab .blockTitle .tab-link {
	max-width: calc(100% - 350px);
	margin-left: auto;
	height: 100%;
}

.home-product__tab .blockTitle .tab-link .nav-tabs {
	border: none;
	margin: 0;
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	height: 100%;
	align-items: center;
	overflow-x: scroll;
	overflow-y: hidden;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.home-product__tab .blockTitle .tab-link .nav-tabs::-webkit-scrollbar {
	display: none;
}

.home-product__tab .blockTitle .tab-link .nav-tabs li {
	float: none;
	margin: 0;
}

.home-product__tab .blockTitle .tab-link .nav-tabs li a {
	margin: 0;
	border-radius: 0;
	padding: 0 10px;
	white-space: nowrap;
	border: none !important;
	background: transparent;
	text-align: right;
}
/* ------------- END TOP PRODUCT HOME PAGE ------------ */
/* ------------- BLOCK PRODUCT HOME PAGE ------------ */
.wapperPDHome .blockTitle {
	display: flex;
	align-items: center;
}
.blockTitle > a {
	flex: 0 0 auto;
	display: block;
	margin-right: 30px;
}
.wapperPDHome .blockTitle ul {
	white-space: nowrap;
	overflow: scroll hidden;
	margin-left: auto;
	padding-bottom: 3px;
}
/* width */
.wapperPDHome .blockTitle ul::-webkit-scrollbar {
	height: 4px;
}

/* Track */
.wapperPDHome .blockTitle ul::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px #f9f9f9;
	border-radius: 5px;
}

/* Handle */
.wapperPDHome .blockTitle ul::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: rgba(0,0,0,.2);
	-webkit-box-shadow: 0 0 1px rgb(255 255 255 / 50%);
}
.wapperPDHome .blockTitle ul li {
	display: inline-block;
	padding: 0px 5px;
}
.navBlock li a {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 30px;
	border: 1px solid #ccc;
	line-height: 1.3;
	font-size: 13px;
}
.wapperPDHome .bannerBlock {
	margin-bottom: 20px;
}
.slidePDHome .pdLoopItem {
	box-shadow: none;
	border-right: 1px solid #eaeaea;
}
.wapperPDHome .bannerBlock img {
	width: 100%;
}
.wapperPDHome .pdMoreBlock {
	border: none;
	border-radius: 0;
}
.wapperPDHome .pdMoreBlock .panel-heading {
	background-color: #e02027;
	color: #fff;
}
.wapperPDHome .pdMoreBlock .panel-heading .panel-title {
	font-size: 15px;
	text-transform: uppercase;
}
.pdMoreBlock .navBlock li {
	margin-bottom: 15px;
}
.pdMoreBlock .navBlock li:last-child {
	margin: 0;
}
.pdMoreItem {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f1f1;
}
.pdMoreItem .image {
	float: left;
	width: 70px;
	margin-right: 10px;
}
.pdMoreItem .image img {
	max-height: 70px;
	display: block;
	margin: 0 auto;
}
.pdMoreItem .detail {
	float: left;
	width: calc(100% - 80px);
}
.pdMoreItem .detail h3{margin-top:0;}
.pdMoreItem .detail .productName {
	font-size: 13px;
	text-transform: none;
	display: block;
	line-height: 18px;
	height: 36px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	overflow: hidden;
}
.pdMoreItem .detail .pdPrice {
	font-size: 13px;
}
.pdMoreItem .detail .pdPrice span, .pdMoreItem .detail .pdPrice del {
	display: block;
	line-height: 1;
	margin-top: 5px;
}
.pdMoreItem .detail .pdPrice del {
	font-size: 12px;
	font-style: italic;
}
/* ------------- END BLOCK PRODUCT HOME PAGE ------------ */

/* ------------- BLOGS HOME PAGE ------------ */
#blogHome {
	padding: 15px 0px;
	text-align: center;
}
.blogHome .blockTitle {
	display: flex;
	align-items: center;
}
.title-page {
	position: relative;
	text-align: left;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.title-page h2 {
	margin: 0;
	font-size: 22px;
	font-weight: bold;
}

.title-page .btn-more {
	position: relative;
}

.title-page .btn-more:after {
	content: " ";
	border-top: 1px solid #333;
	border-right: 1px solid #333;
	width: 6px;
	height: 6px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 2px 0px;
	transform: rotate(45deg);
}
.wapperBlogHome {
	background: #fff;
	border-radius: 0 0 12px;
	overflow: hidden;
}
.wapperBlogHome .blockTitle .btn-more {
	margin: 0 15px 0 auto;
}
.wapperBlogHome .blogsList {
	padding: 0 15px;
}
.featuredTitle {
	text-align: center;
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
	font-weight: normal;
}
.featuredTitle:before {
	content: '';
	height: 1px;
	background: #ddd;
	position: absolute;
	width: 100%;
	left: 0;
	top: 15px;
	/* transform: translateY(-50%); */
}
.featuredTitle h2 {
	display: inline-block;
	line-height: normal;
	border-bottom: 3px solid;
	padding-right: 5px;
	position: relative;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 18px;
}
.featuredTitle h2:before, .featuredTitle h2:after{
	content: '';
}
.featuredTitle h2:before {
	display: inline-block;
	width: 10px;
	height: 10px;
	position: absolute;
	content: "";
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	background: url(icon-title.png) no-repeat 0 0;
}
.featuredTitle h2:after {
	display: inline-block;
	width: 10px;
	height: 10px;
	position: absolute;
	content: "";
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	background: url(icon-title.png) no-repeat 0 0;
}
.featuredTitle h2 {
	border: none;
	font-style: italic;
	font-size: 20px;
	position: relative;
	background: #fff;
	padding: 0px 50px;
}
.featuredTitle .titleDesc {
	font-size: 16px;
	font-style: italic;
	margin-bottom: 10px;
}
.wapperBlogHome .articleItem .detail p,
.wapperBlogHome .articleItem .detail .view,
.wapperBlogHome .insArticleLoop .createdInfo{
	display: none;
}
.wapperBlogHome .insArticleLoop .postDetail {
	padding: 15px;
}

.wapperBlogHome .insArticleLoop .postDetail h3 {
	margin: 0;
}
.wapperBlogHome .articlePostBody .postThumbIMG {
	border-radius: 8px;
}
/* ------------- END BLOGS HOME PAGE ------------ */
@media screen and (min-width: 1200px){
	.blockSection .blockTitle h2 {
		font-weight: 600;
		line-height: 36px;
		font-size: 24px;
		padding: 5px 8px 4px 12px;
		display: flex;
		align-items: center;
	}
}
@media screen and (min-width: 992px){

}
@media screen and (max-width: 1399px){
	.nav-sidebar__list {
		padding: 0;
	}
	.nav-sidebar__list > li > a {
		padding: 7px 5px;
	}
}
@media screen and (max-width:1199px){
	.right-slider {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#insSlider {
		flex: 0 0 66.66666667%;
		max-width: 66.66666667%;
	}
}
@media screen and (min-width: 992px) and (max-width: 1199px){
	.shop-policy__item .text .title {
		font-size: 13px;
	}
}
@media screen and (max-width: 991px){
	.home-product__tab .blockTitle {
		height: auto;
		flex-direction: column;
	}

	.home-product__tab .blockTitle h2 {
		flex: 1;
		margin-right: auto;
	}
	.blockTitle {
		height: auto;
	}
	.blockTitle h2 {
		width: 100%;
		float: none;
		border-radius: 0;
	}

	.home-product__tab .blockTitle .tab-link {
		flex: 1;
		max-width: 100%;
		margin: 0;
	}

	.blockTitle h2::after {
		opacity: 0;
	}

	.home-product__tab .blockTitle .tab-link .nav-tabs li a {
		padding: 10px;
	}
	.wapperPDHome .blockTitle ul {
		float: none;
		text-align: left;
	}

}
@media screen and (max-width: 767px){
	.wapperPDHome .blockTitle {
		flex-wrap: wrap;
	}
	.wapperPDHome .blockTitle ul {
		overflow: hidden;
		white-space: normal;
		padding: 0 5px;
		margin: 0;
	}
	.wapperPDHome .blockTitle ul li {
		margin: 5px 0;
		padding: 0;
	}
	.wapperPDHome .blockTitle > a {
		margin: 0 0 5px;
		width: 100%;
	}
	#insSlider {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.home-product__tab .blockTitle .tab-link .nav-tabs {
		white-space: normal;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.home-product__tab .blockTitle .tab-link .nav-tabs li a {
		padding: 5px 10px;
	}
	.home-product__tab .productList, .slidePDHome, .product-tab__list {
		margin: 0 -5px;
		display: flex;
		flex-wrap: wrap;
	}

	.home-product__tab .productList .productItem, .slidePDHome .productItem, .product-tab__list .productItem{
		flex: 0 0 50%;
		max-width: 50%;
		padding: 0 5px;
		margin-bottom: 10px;
	}

	.home-view__more a {
		background: #fff;
		border-radius: 4px;
		text-align: center;
		padding: 12px;
		color: #333;
		display: block;
		letter-spacing: .5px;
	}
	.product-tab__list .dataEmpty {
		flex: 1;
		margin-top: 0;
	}
	.home-view__more a i {
		margin-left: 5px;
	}
	.blogHome .right-banner img {
		width: 100%;
	}
	.slideBlogHome .articlePostBody {
		display: flex;
		flex-wrap: wrap;
	}

	.slideBlogHome .articlePostBody .postThumbIMG {
		flex: 0 0 140px;
		max-width: 140px;
	}

	#blogHome {
		background: #fff;
	}

	#blogHome .title-page {
		padding: 0 0 15px;
	}

	.wapperBlogHome {
		border-radius: 0;
		overflow: visible;
	}

	.wapperBlogHome .blogsList {
		padding: 0;
	}

	.wapperBlogHome .insArticleLoop .postDetail {
		flex: 1;
		padding: 0 0 0 10px;
	}

	.wapperBlogHome .insArticleLoop .postDetail h3 a {
		font-size: 13px;
		max-height: none;
	}
	.slideBlogHome .articleItem {
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 413px){
	.openMenuTabs {
		width: 35px;
		height: 35px;
		line-height: 30px;
	}
	.openMenuTabs img {
		width: 20px;
	}
}
@media screen and (min-width: 1200px){
  #insSlider{
    min-height: 400px !important;
  } 
  #bannersHome .bannerItem{
    min-height: 135px !important; 
  }
}
.block-products.relative .listproduct {
    padding: 0;
}
.pdLoopItem-fake{
    .pdLoopImg{
        padding-bottom: 100%;
        background: #ddd;
    } 
    .pdLoopName{
        height: 15px;
         background: #ddd;
        border-radius: 20px;
    }
    .pdPrice{
        width: 80px;
         height: 15px;
         background: #ddd;
        border-radius: 20px;
        margin-left: auto; margin-right: auto;
        
    }
    .tskt-tags{
        .tskt-label{
            width: 70px;
            height: 15px;
        }
    }
}
.boxflasalechuangrid1slider:not(.slick-initialized){
      display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}
@media (max-width: 767px){
  .boxflasalechuangrid1slider:not(.slick-initialized){
    grid-template-columns: repeat(2, 1fr);
}
  .listproduct .pdLoopItem-fake:nth-child(n+5),.boxflasalechuangrid1slider:not(.slick-initialized) .pdLoopItem-fake:nth-child(n+3){
      display: none;
  }
}
#slider_control:not(.swiper-initialized){
    .item-control{
        flex: 0 0 20%;
    }
}