/* 1. Headings */

/* 2. Body Text */
body {
    font-family: Roboto, Lato, Arial;
}

.skiptranslate iframe{
	display: none!important;
	visibility: hidden!important;
}
/* Dùng !important để đè mọi cấu trúc khác */
.bg-f5f5f5 {
  background: #F5F5F5;
}

/* 3. Links */
.nav-item a.active{
    color: #0066CC;
}

/* 4. Font size & Transformation */
.font-weight-400{
    font-weight: 400!important;
}
.font-weight-500{
    font-weight: 500!important;
}
.font-size-12{
    font-size: 12px!important;
}
.font-size-14{
    font-size: 14px!important;
}
.font-size-16{
    font-size: 16px!important;
}
.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;
}
.text-gray{
    color: #949494 !important;
}
.text-yellow{
    background-color:yellow;
}
.regisform-text ul{
    color: #FFF;
}

/* 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
    }
}
.event-3{
    position:relative;
    z-index:1;
}
.event-3__overlay{
    width:100%;
    padding:16px;
    background-color:rgba(205,207,212,.75);
    position:absolute;
    bottom:0;
    left:0;
    z-index:10;
}

/* 7. Tables */

/* 8. Forms */
.form-control:active, .form-control:focus{
    outline: none!important;
    box-shadow: none!important;
}
.custom-search-group{
    border: 1px solid #ced4da;
    border-radius: 6px;
}
.custom-search-group input:focus, .custom-search-group select:focus{
    outline: none!important;
    border-color: #ced4da!important;
}
.custom-search-group .input-keyword{
    border-top-right-radius: 0px!important;
    border-bottom-right-radius: 0px!important;
}
.custom-search-group .btn-search-icon{
    border-top-left-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
}
.custom-search-group .btn-search-icon .fa{
    font-size: 20px;
    color: #585858;
}
.custom-search-group .btn-search-icon:hover .fa{
    color: #d51e26 !important;
}

/* 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
}
.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active{    
    border-color: inherit!important;
}
#dropdownLangBtn{
    border-color: #ccc!important;
}
#dropdownSearchIcon.show, #dropdownSearchIcon:active, #dropdownLangBtn.show, #dropdownLangBtn:active{
    border-color: #ccc!important;
    background-color: #FFF;
}


/* 10. Images */
.support-box img:nth-child(1){
    border-radius: 4px;
}
.navbar .logo{
    max-height: 40px;
}
.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; 
    }
.img3x2{
    width: 100%;
    aspect-ratio: 3 / 2;
}
.verified-badge img{
    max-width: 80px;
}
.verified-badge small{
    font-size: 12px;
}

.supplier-top .supplier-logo img{
    width: 70px!important;
    max-width: 70px!important;
    height: 100%;
}
/* 11. Background */

/* 12. Others */
/* Container chính */
.ticker-container {
    height: 50px;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

/* Nhãn Breaking News cố định bên trái */
.ticker-label {
    background: #fff;
    color: #d9534f; /* Màu đỏ tương tự hình */
    font-weight: bold;
    padding: 0 20px;
    white-space: nowrap;
    z-index: 2;
    border-right: 1px solid #eee;
}

/* Vùng chứa nội dung chạy */
.ticker-content-wrapper {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* SỬA TẠI ĐÂY: Dùng flex để các khối nằm thẳng hàng */
.ticker-content {
    display: flex;
    white-space: nowrap;
    /* Thời gian chạy tùy thuộc vào độ dài chữ, 30s-60s là vừa */
    animation: marquee-seamless 25s linear infinite; 
}

.ticker-move {
    display: flex;
    align-items: center;
}

.ticker-item {
    padding: 0 15px;
    color: #333;
    white-space: nowrap;
}

.ticker-separator {
    color: #d9534f;
    font-weight: light;
}

/* Animation cho chữ chạy */
@keyframes marquee-seamless {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tạm dừng khi di chuột vào */
.ticker-content-wrapper:hover .ticker-content {
    animation-play-state: paused;
    cursor: pointer;
}

/* Desktop */

/* Mobile */

/* Common */
header.isfixed{
	position:fixed;
	top:0;
	left:0;
	width: 100%;
    z-index: 2000;
}

/* 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;
}
.post-sapo{font-size:16px;font-weight:700;margin-bottom:20px}
.article figure{margin-bottom:20px}
.article figure figcaption{
    text-align:center;
    color:#333;
    background-color:#ececec;
    font-size:14px;
    line-height:1.4;
    padding:10px 12px;
    color: #0095ff;
}

.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%;
        }
    }

.post-sharing {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
	.post-sharing a {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	}
	.post-sharing a:not(:last-child) {
	    margin-right: 5px;
	}
	.post-sharing .fa {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    width: 30px;
	    height: 26px;
	    -webkit-box-pack: center;
	    -ms-flex-pack: center;
	    justify-content: center;
	    -webkit-box-align: center;
	    -ms-flex-align: center;
	    align-items: center;	    
	    color: #fff;
	    background-color: #37538d;
	}
	.post-sharing .fa-twitter {
	    background-color: #47a5ed;
	}
	.post-sharing .fa-linkedin {
 	   background-color: #086ca5;
	}
/******************************************* 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 *****************************************************/
.form-control::placeholder{
    font-size: 14px;
}
footer{
    border-top: 1px solid #F5F5FA;
}
.about-text ol, .about-text ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 16px;
}
.about-text ol li:not(:last-child), .about-text ul li:not(:last-child) {
  margin-bottom: 10px;
}
.about-text ol li, .about-text ul li {
  position: relative;
}
.about-text ol li::before, .about-text ul li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background-color: #e02d2d;
  position: absolute;
  top: 6px;
  left: -20px;
}
.myhr{
    border-top:1px solid rgb(222, 226, 230)!important;
    opacity: 1.0;
}
.pagination .active .page-link{
    font-weight: bold;
}
/******************************************* RESPONSIVE *****************************************************/
.embed-responsive iframe{
    height: 100%!important;
}
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
	
}

@media (min-width: 1024px) {
	.w-lg-100{
        width: 100%;
    }
}

/* 
##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;
    }
    .menu-topbar{
        font-size: 13px;
    }
    .offcanvas-body .navbar-nav{
        width: 100%;
        height: 90vh;        
        align-items: center;
        justify-content: center;
        top: 70px;
        left: 0px;
    }
    .offcanvas-body .navbar-nav .nav-item{
        border-bottom: 0px;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .about-container-title .select-file .form-select{
        max-width: 150px;
        padding: 2px;
    }   
    .supplier-box .supplier-logo{
        max-width: 50px!important;
    }
}

/* 
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/
@media (max-width: 480px) {
    .slider-home-container .all-cat{
        width: 100%;
    }
}

@media (max-width: 380px) {
    .menu-topbar{
        font-size: 12px;
    }
    .menu-topbar a{
        padding: 0px 4px 0px 8px;
    }
}