/* 1. Headings */

/* 2. Body Text */
body {
    font-family: Roboto, Lato, Arial;
}
/* Dùng !important để đè mọi cấu trúc khác */
.bg-f5f5f5 {
  background: #F5F5F5;
}

/* 3. Links */

/* 4. Font size & Transformation */
.size10{
    font-size: 10px!important;
}
.text-shadow-white{
    text-shadow: #ffffff -1px -1px 0px, #ffffff -1px 1px 0px, #ffffff 1px 1px 0px, #ffffff 1px -1px 0px;
}
.text-shadow-black{
    text-shadow: #c8c8c8 1px 1px 0px, #b4b4b4 0px 2px 0px, #a0a0a0 0px 3px 0px, rgba(140, 140, 140, 0.498039) 0px 4px 0px, #787878 0px 0px 0px, rgba(0, 0, 0, 0.498039) 0px 5px 10px;
}
.text-dark{
    color: #343a40 !important;
}
.text-dark:hover{
    color: #000000 !important;
}

/* 5. Aligment: padding, margin, width, height */
.supplier-cat{
    width: 218px;
    height: 34px;
}

/* 6. Lists */
.grid-news {
    display: grid;
    grid-template-columns: 5fr 3fr 3fr;
    grid-gap: 30px
}
.grid-news .news-4 {
    grid-row: span 2
}
@media (max-width:575px) {
    .grid-news {
        grid-template-columns: 1fr 1fr
    }

    .grid-news .news-4 {
        grid-column: span 2
    }
}
.news-4__frame {
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1
}
.news-4__frame::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 73%
}
.news-4__frame img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    z-index: -3;
    top: 0;
    left: 0
}
.news-4__title {
    font-size: 20px;
    line-height: 1.3;
    margin: 16px 0 8px
}
.news-4__time {
    color: #008afc;
    margin-bottom: 8px
}
.news-4__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    max-height: 4.5em
}
@media (max-width:991px) {
    .news-4__title {
        font-size: 16px
    }
}

/* 7. Tables */

/* 8. Forms */

/* 9. Buttons */
.btn-movetop {
    display: none;
    width: 40px;
    height: 40px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 0;
    background-color: #db212b;
    color: #fff;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    -webkit-transition: .3s;
    transition: .3s;
    position: fixed;
    z-index: 1020;
    bottom: 2px;
    right: 2px
}
.btn-movetop:hover {
    color: #fff;
    text-decoration: none;
    background-color: #e02d2d;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35)
}
.btn-movetop.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation: fade-in .4s;
    animation: fade-in .4s
}

/* 10. Images */
.support-box img:nth-child(1){
    border-radius: 4px;
}
.navbar .logo{
    max-height: 60px;
}
.img-zoom {
    position: relative;
    overflow: hidden;
}
    .img-zoom img {
        transition: all 0.3s;
    }
    .img-zoom:hover img {
        transform: scale(1.1);
    }
.image-4x3 {
    /* 1. Thiết lập ngữ cảnh cho các phần tử con tuyệt đối */
    position: relative;
    /* 2. Đặt chiều rộng, ví dụ 100% của phần tử cha (hoặc bất kỳ giá trị nào) */
    width: 100%;
    /* 3. Padding Hack: 3/4 = 0.75 -> 75% */
    padding-top: 75%; /* Thiết lập chiều cao dựa trên 75% chiều rộng */
    /* Đảm bảo không có nội dung thừa */
    overflow: hidden; 
}
    .image-4x3 img {
        /* 4. Đặt ảnh vào vị trí tuyệt đối để nó phủ lên "padding space" */
        position: absolute;
        top: 0;
        left: 0;
        /* 5. Đảm bảo ảnh lấp đầy toàn bộ không gian 4:3 */
        width: 100%;
        height: 100%;
        /* 6. (Tùy chọn) Đảm bảo ảnh giữ tỷ lệ và cắt bớt nếu cần */
        object-fit: cover; 
    }
.image-3x2 {
    /* 1. Thiết lập ngữ cảnh cho các phần tử con tuyệt đối */
    position: relative;
    /* 2. Đặt chiều rộng, ví dụ 100% của phần tử cha (hoặc bất kỳ giá trị nào) */
    width: 100%;
    /* 3. Padding Hack: 2/3 = 0.67 -> 67% */
    padding-top: 67%; /* Thiết lập chiều cao dựa trên 75% chiều rộng */
    /* Đảm bảo không có nội dung thừa */
    overflow: hidden; 
}
    .image-3x2 img {
        /* 4. Đặt ảnh vào vị trí tuyệt đối để nó phủ lên "padding space" */
        position: absolute;
        top: 0;
        left: 0;
        /* 5. Đảm bảo ảnh lấp đầy toàn bộ không gian 4:3 */
        width: 100%;
        height: 100%;
        /* 6. (Tùy chọn) Đảm bảo ảnh giữ tỷ lệ và cắt bớt nếu cần */
        object-fit: cover; 
    }
.verified-badge img{
    max-width: 80px;
}
.verified-badge small{
    font-size: 12px;
}

.supplier-top .supplier-logo img{
    width: 70px!important;
    max-width: 70px!important;
}
/* 11. Background */

/* 12. Others */

/* Desktop */

/* Mobile */

/* Common */

/* Accordion */

/* Limit line */
.max1line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.max2line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.max3line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.max4line {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.max5line {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}


/* Begin Back-to-top */
a.back-to-top {
    display: none;
    position: fixed;
	z-index:9000;
    bottom: 18px;
    right: 15px;
    text-decoration: none;
}
	a.back-to-top i {
	    display: block;
	    font-size: 18px;
	    width: 30px;
	    height: 30px;
	    line-height: 30px;
	    color: #fff;
	    background: #2FC8EA;
	    /*border-radius: 50% 50%;*/
		border-radius: 6px;
	    text-align: center;
	    transition: all 0.2s ease-in-out;
	    -moz-transition: all 0.2s ease-in-out;
	    -webkit-transition: all 0.2s ease-in-out;
	    -o-transition: all 0.2s ease-in-out;
	    /*box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);*/
		box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
	}
	a.back-to-top:hover,
	a.back-to-top:focus {
	    text-decoration: none;
	}
/* End Back-top-top*/

/*BEGIN CONTENT PAGE CSS*/
#dvsArticleContent, .dvsArticleContent{
    font-size: 16px;
    line-height: 150%;
}
#dvsArticleContent .tplCaption, #dvsPageContent .tplCaption, .dvsArticleContent .tplCaption{
    background: #F1F1F1;
}
    #dvsArticleContent .tplCaption p.Image, #dvsPageContent .tplCaption p.Image, .dvsArticleContent .tplCaption p.Image{
        padding: 3px 5px;
        font-style: italic;
        /* font-size: 90%; */
    }
#dvsArticleContent figcaption, .dvsArticleContent figcaption{
    background: #F1F1F1;
    color: #222;
    /* font-size: 90%; */
}
#dvsArticleContent a, .dvsArticleContent a{
    color: #1977d5;
}
#dvsArticleContent a:hover, .dvsArticleContent a:hover{
    text-decoration: underline;
}
#dvsArticleContent p, #dvsPageContent p, .dvsArticleContent p{
    margin: 0px 0px 1em;
}
#dvsArticleContent h2, #dvsArticleContent  h2, #dvsArticleContent  h3,  #dvsArticleContent h4, #dvsArticleContent h5, #dvsArticleContent h6{
    margin: 1rem 0px 1rem;
    line-height: 1.5;
}
.dvsArticleContent h2, .dvsArticleContent  h2, .dvsArticleContent  h3,  .dvsArticleContent h4, .dvsArticleContent h5, .dvsArticleContent h6{
    margin: 1rem 0px 1rem;
    line-height: 1.5;
}
#dvsArticleContent h2, .dvsArticleContent h2{    
	color: #1977d5;
    padding-left: 16px;
    position: relative;
}
#dvsArticleContent h2::before, .dvsArticleContent h2::before  {
    content: '';		
    position: absolute;
    width: 4px;
    height: 40px;
    background: #1977d5;		
    left: -0px;
}
#dvsArticleContent h2{
    font-size: 26px;		
}
#dvsArticleContent h3, .dvsArticleContent h3{
    font-size: 24px;
    line-height: 1.5;
}
#dvsArticleContent h3, .dvsArticleContent h3{
    font-size: 22px;
    line-height: 1.5;
}
#dvsArticleContent h4, .dvsArticleContent h4{
    font-size: 20px;
    line-height: 1.5;
}
#dvsArticleContent h5, .dvsArticleContent h5{
    font-size: 18px;
    line-height: 1.5;
}
#dvsArticleContent h6, .dvsArticleContent h6{
    font-size: 16px;
    line-height: 1.5;
}
#dvsArticleContent ul, .dvsArticleContent ul, #dvsArticleContent ol, .dvsArticleContent ol{
    margin-left: 1rem;
    margin-bottom: 1rem;
}
#dvsArticleContent ul li, .dvsArticleContent ul li, #dvsArticleContent ol li, .dvsArticleContent ol li{
    line-height: 1.5;
    margin-bottom: 10px;
}
#dvsArticleContent blockquote, .dvsArticleContent blockquote {		
    position: relative;
    border-left: none;
    margin: 30px 2% 28px;
    padding: 0px 0px 0px 20px;
    line-height: 130%;
    word-wrap: break-word;
    border-left: 1px solid #1977d5;
}
#dvsArticleContent blockquote::before, .dvsArticleContent blockquote::before {
    content: '';		
    position: absolute;
    width: 4px;
    height: 100%;
    background: #1977d5;		
    left: -6px;
}
#dvsArticleContent blockquote p, .dvsArticleContent blockquote p {
    font-family: PT Serif !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
    color: #ec3535;
    line-height: 130%;
}
#dvsArticleSapo, .dvsArticleSapo{
	font-weight: 500;
    text-align: justify;
}
.js-post-content .table-content{
    width: 70%;
}
.js-post-content .post-menu__content ul{
    list-style-type: none;
    margin: 0px!important;
}
    .js-post-content .post-menu__content > ul > li{
        margin-bottom: 10px!important;
    }
    .js-post-content .post-menu__content > ul > li ul, .js-post-content .post-menu__content > ul > li ul li{
        margin-bottom: 0px!important;
    }
    @media (max-width: 768px) {
        .js-post-content .table-content{
            width: 100%;
        }
    }
/******************************************* Login form *****************************************************/

/******************************************* Ratings CSS *****************************************************/

/******************************************* Absolute Center Spinner *****************************************************/

/******************************************* Social Share Button *****************************************************/
.dvs-share-section {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
}

.dvs-share-title {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-align: center;
}


.dvs-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dvs-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem 1.0rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.dvs-share-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dvs-share-btn:hover:before {
    width: 300px;
    height: 300px;
}

.dvs-share-btn i {
    font-size: 1.2rem;
    z-index: 1;
}

.dvs-share-btn span {
    z-index: 1;
}

.dvs-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.dvs-share-btn.facebook {
    background: #1877f2;
    color: white;
}

.dvs-share-btn.twitter {
    background: #000000;
    color: white;
}

.dvs-share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.dvs-share-btn.telegram {
    background: #0088cc;
    color: white;
}

@media (max-width: 576px) {
    
    .dvs-share-btn {
        padding: 0.1rem 0.7rem;
        font-size: 0.9rem;
    }    
}
/******************************************* CART **********************************************************/

/******************************************* DARK MODE *****************************************************/

/******************************************* OVERRIDE *****************************************************/
footer{
    border-top: 1px solid #F5F5FA;
}
/******************************************* RESPONSIVE *****************************************************/
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
	
}

/* 
##Device = Laptops, Desktops
##Screen = B/w 1025px to 1280px
*/
@media (min-width: 1025px) and (max-width: 1280px) {
	.desktop_hidden{
		display: none!important;
	}    
}

/* 
##Device = Tablets, Ipads (portrait & landscape)
##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {
	.tablet_hidden{
		display: none!important;
	}
}
@media (max-width: 1024px) {
    
}
/* 
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/
@media (max-width: 767px) {
	.mobile_hidden{
		display: none!important;
	}
    .verified-badge img{
        max-width: 50px!important;
    }
    .verified-badge small{
        font-size: 10px;
    }
    .supplier-top .supplier-logo img{
        width: 50px!important;
        max-width: 50px!important;
    }
}

/* 
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/
@media (max-width: 480px) {

}