a{text-decoration: none;}

.text-tn{font-size: 11px;}
.text-sm{font-size: 13px;color: #808080;}
.text-sm span{margin-right: 5px;}
.text-sm-i{font-size: 12px; font-style: italic; color: #808080;}
.text-nm{font-size: 14px;}
.text-lg{font-size: 120%; line-height: 1.1;}
.text-xl{font-size: 150%; line-height: 1.1;}
.text-xxl{font-size: 180%; line-height: 1.2;}
.text-2x{font-size: 200%;}
.text-3x{font-size: 300%;}
.text-4x{font-size: 400%;}
.text-5x{font-size: 500%;}
.text-3{font-size: 3rem;}
.text-size-16{ font-size: 16px; }
.text-size-18{ font-size: 18px !important; }
.text-size-20{ font-size: 20px !important; }
.text-size-24{ font-size: 24px !important; }
.text-b{ font-weight: bold !important; }
.text-u{ text-transform: uppercase!important; }
.text-bu,.text-ub{font-weight: bold !important; text-transform: uppercase!important;}
.text-i{ font-style: italic!important; }
.text-line{text-decoration: line-through;}

.text-right{ text-align: right!important; }

.col-white{ color: white !important; }
.col-black{ color: black !important; }
.col-red{ color: red !important; }
.col-orange{ color: orange !important; }
.col-gray{ color: gray !important; }
.col-gray-o{ color: #ccc; }
.col-gray-o2{ color: #ddd; }
.col-blue{ color: blue !important; }
.col-green{ color: green !important; }
.col-yellow{ color: yellow !important; }
.col-purple{ color: purple !important; }
.col-facebook{ color: #3b5998 !important; }
.col-twitter{ color: #1da1f2 !important; }
.col-gplus{ color: #ff6550 !important; }
.col-hodine{ color: #4896d1 !important; }

.col-desc{color: #46474a;}

.bg-gray{ background: #f2f2f2; }
.bg-facebook{ background-color: #3b5998 !important; }
.bg-twitter{ background-color: #1da1f2 !important; }
.bg-gplus{ background-color: #ff6550 !important; }
.bg-leave{background-color: #fcf8e3!important;}

.border{border: 1px solid #ccc;}
.border-none{border: none!important;}

.box-shadow{box-shadow: 0px 0px 2px 1px #ddd;}
.shadow-0{box-shadow: 0px !important;}
.radius-sm{border-radius: .5rem!important;}
.radius{border-radius: 1rem!important;}
.radius-25{border-radius: 25px!important;}
.radius-50{border-radius: 50%!important;}

.hidden{overflow: hidden;}

.item_center, .item-center {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.btn-default{border: 1px solid #dedede; background: #f5f5f5;}
.btn-default:hover{border: 1px solid #ccc; background: #f2f2f2;}

.hshow .item{display: none;}
.hshow:hover .item{display: inline-block;}

.hv-shadow:hover{box-shadow: 0 0.25rem 0.75rem rgba(33,37,41, .3)!important;}

.top-1{top: 1rem!important;}
.top-3{top: 3rem!important;}
.top-5{top: 5rem!important;}

.line-e, .line-s{position: relative;}
.line-e::after{content: ''; width: 1px; position: absolute; top: 0; right: 0; bottom: 0; background: #dee2e6b8;}
.line-s::before{content: ''; width: 1px; position: absolute; top: 0; left: 0; bottom: 0; background: #dee2e6b8;}

/** << ======================================^^^=================================== >> */
/** << ======================================***=================================== >> */
.row-no {
	margin-right: 0;
	margin-left: 0;
}
.row-no>.col, .row-no>[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.row-tn {
	margin-right: -0.125rem;
	margin-left: -0.125rem;
}
.row-tn>.col, .row-tn>[class*="col-"] {
    padding-right: 0.125rem;
    padding-left: 0.125rem;
}
.row-sm {
	margin-right: -0.25rem;
	margin-left: -0.25rem;
}
.row-sm>.col, .row-sm>[class*="col-"] {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
}
.row-nm {
	margin-right: -0.5rem;
	margin-left: -0.5rem;
}
.row-nm>.col, .row-nm>[class*="col-"] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.row-lg {
	margin-right: -1.5rem;
	margin-left: -1.5rem;
}
.row-lg>.col, .row-lg>[class*="col-"] {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.line-1{
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.line-2{
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
    max-height: 2.6em;
}
.line-3{
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
    max-height: 3.9em;
}
.line-4{
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
    max-height: 5.2em;
}

/** << ======================================^^^=================================== >> */
/** << ======================================***=================================== >> */
.img-thumb {position: relative; overflow: hidden; width: 100%; padding-top: 100% !important;}
.img-thumb a {display: block; overflow: hidden; background: #fff; position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden; z-index: 99;}
.img-thumb img { -webkit-transition: ease .5s; transition: ease .5s; width: 100%; height: 100%; object-fit: contain;}

#hpopup{
	width: 400px;
	background: #fff;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	display: none;
	border-left: 1px solid #ddd;
	z-index: 9999;
	height: 100%;
	overflow-y: auto;
}
#hpopup-ct{padding: 1rem;}

.img-prod-thumb{
	position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100% !important;
}
.img-prod-thumb a {
    display: block;
    overflow: hidden;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 99;
}
.img-prod-thumb img {
    -webkit-transition: ease .5s;
    transition: ease .5s;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-sm{width: 38px; border-radius: 50%;}

.img-2x3 {padding-bottom: 150%;}
.img-1x1 {padding-bottom: 100%;}
.img-4x3 {padding-bottom: 75%;}
.img-3x2 {padding-bottom: 66.66%;}
.img-16x9 {padding-bottom: 56.25%;}
.img-2x1 {padding-bottom: 50%;}
.img-3x1 {padding-bottom: 33.33%;}
[class*="img-"]{position: relative; overflow: hidden;}
[class*="img-"]>.img-item, [class*="img-"]>a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
[class*="img-"] img {object-fit: cover; height: 100%;}

div.img{position: relative;}
img.img, .img img{ width: 100%; }
img{max-width: 100%;}

.img-btn{width: 31px; height: 31px; border: 1px solid #eee; border-radius: 3px; box-shadow: 0 0 1px 0 rgba(0,0,0,.3); overflow: hidden;}

.zoomimg{
	overflow: hidden;
}
.zoomimg img {
	-webkit-transition: ease .2s;
    transition: ease .2s;
    width: 100%;
}
.zoomimg:hover img {
    transform: scale(1.2);
    filter: contrast(80%) brightness(110%);
}

.grayscale-image {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Hiệu ứng khi hover vào ảnh */
.grayscale-image:hover {
  filter: grayscale(0%);
}

.progress-circle .progress{width: 92px; height: 92px; background: none; position: relative;}
.progress-circle .progress::after{content: ""; width: 100%; height: 100%; border-radius: 50%; border: 8px solid #eee; position: absolute; top: 0; left: 0;}
.progress-circle .progress>span{width: 50%; height: 100%; overflow: hidden; position: absolute; top: 0; z-index: 1;}
.progress-circle .progress .progress-left{left: 0;}
.progress-circle .progress .progress-bar{width: 100%; height: 100%; background: none; border-width: 8px; border-style: solid; position: absolute; top: 0;}
.progress-circle .progress .progress-left .progress-bar{left: 100%; border-top-right-radius: 60px; border-bottom-right-radius: 60px; border-left: 0; -webkit-transform-origin: center left; transform-origin: center left;}
.progress-circle .progress .progress-right{right: 0;}
.progress-circle .progress .progress-right .progress-bar{left: -100%; border-top-left-radius: 60px; border-bottom-left-radius: 60px; border-right: 0; -webkit-transform-origin: center right; transform-origin: center right;}
.progress-circle .progress .progress-value{position: absolute; top: 0; left: 0;}

.product{overflow: hidden;}
.product-btn{position: absolute; bottom: 0; left: 0; width: 100%;}
.product-btn{background-image: linear-gradient(to bottom, #ffffffd1, #0000009c); display: none;}
.product:hover .product-btn{display: block;}

.sticky-bar{max-height: calc(100vh - 2rem); position: sticky; top: 1rem; overflow-y: auto;}
.scroll-sm::-webkit-scrollbar {width: 5px;}
.scroll-sm::-webkit-scrollbar-thumb {background-color: #888; border-radius: 6px;}
.scroll-sm::-webkit-scrollbar-thumb:hover {background-color: #555;}
.scroll-sm::-webkit-scrollbar-track {background-color: #f0f0f0;}
.scroll-sm::-webkit-scrollbar-track:hover {background-color: #e0e0e0;}


#loading{
	background: rgba(0, 0, 0, 0.3);
	position: fixed;
	width: 100%;
	top: 0;
	bottom: 0;
	z-index: 9999;
	height: 100%;
	text-align: center;
	display: none;
}
#loading i{ margin-top: 10%; color: #fff; }

#go_to_top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    line-height: 36px;
    background: #333;
    background: rgba(0,0,0,.3);
    color: #FFF;
    cursor: pointer;
    text-align: center;
    border-radius: 2px;
    z-index: 1049;
    -webkit-transition: ease .2s;
    transition: ease .2s;
}
#go_to_top:hover { background: #700b0b; }

@media (max-width: 750px){
	#hpopup{width: 100%!important;}
	.row-mb-no {
		margin-right: 0;
		margin-left: 0;
	}
	.row-mb-no>.col, .row-mb-no>[class*="col-"] {
	    padding-right: 0;
	    padding-left: 0;
	}
	
	.row-mb-tn {
		margin-right: -0.125rem;
		margin-left: -0.125rem;
	}
	.row-mb-tn>.col, .row-mb-tn>[class*="col-"] {
	    padding-right: 0.125rem;
	    padding-left: 0.125rem;
	}
	.row-mb-sm {
		margin-right: -0.25rem;
		margin-left: -0.25rem;
	}
	.row-mb-sm>.col, .row-mb-sm>[class*="col-"] {
	    padding-right: 0.25rem;
	    padding-left: 0.25rem;
	}
	.row-mb-nm {
		margin-right: -0.5rem;
		margin-left: -0.5rem;
	}
	.row-mb-nm>.col, .row-mb-nm>[class*="col-"] {
	    padding-right: 0.5rem;
	    padding-left: 0.5rem;
	}
	.card.nobo-mb{
		border: none!important;
		box-shadow: none!important;
	}
	.card.shadow-sm.nobo-mb:hover{
		box-shadow: none!important;
	}
	.card.nobo-mb>.card-body{
		padding: 0!important;
	}
}

.form-hodine{border: none; border-radius: 0; border-bottom: 1px solid #dee2e6;}

/** << ======================================^^^=================================== >> */
/** << ======================================***=================================== >> */

.scroll-up {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-up.active {
	opacity: 1;
	transform: translateY(0);
}

.scroll-left {
	opacity: 0;
	transform: translateX(-100px); 
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-right {
	opacity: 0;
	transform: translateX(100px); 
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-left.active, .scroll-right.active {
	opacity: 1;
	transform: translateX(0); 
}
/** << ======================================^^^=================================== >> */
/** << ======================================***=================================== >> */
