/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#logo {
	display: none;
}

#header .header-nav a {
    font-size: 15px;
    text-transform: uppercase;
}

.box-blog-post .is-divider {
	display: none;
}
.box-blog-post .post-title {
	margin-bottom: 12px;
}

.section-title-normal {
    margin-bottom: 20px;
}


h1.page-title span, .section-title-normal span {
    border-bottom: 2px solid #DA251C;
    padding-bottom: 7.5px;
}

h1.page-title,
h1.entry-title {	
    text-align: left;
    padding-bottom: 7.5px;
    font-size: 1.3em;
    margin-bottom: -2px;
}

h1.page-title span, .section-title-normal span {
    border-bottom: 2px solid #DA251C;
    padding-bottom: 7.5px;
}

.post-title {
	font-size: 16px!important;
}

/** Tin nổi bật */
.noi-bat-right .section-title i {
    margin-right: .5em;
    opacity: 1;
    color: #DA251C;
}
.noi-bat-right .section-title-container {
	margin-bottom: 0;
}
.noi-bat-right .box-image {
	display: none;
}
.noi-bat-right .box-text {
    padding: 0;
}
.noi-bat-right .post-item {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    margin-bottom: 12px;
    padding-bottom: 0px !important;
}

/** Tin hoạt động */

.tin-hoat-dong .box-text {
	padding: 15px 0;
}

.tin-hoat-dong .col {
	padding-bottom: 0;
}

.tin-hoat-dong .col-inner {
	box-shadow: none;
}

.tin-hd-right .post-item {
	padding-bottom: 9px;
}

/* 1. Thiết lập Flexbox cho khung chứa (để đảo ngược vị trí) */
.tin-hd-right .box.box-blog-post {
    display: flex !important;
    flex-direction: row-reverse; /* Đảo ngược thứ tự: Ảnh sẽ sang phải, Chữ sang trái */
    align-items: flex-start; /* Căn lề trên cùng */
    padding: 0;
    border-bottom: 1px dashed #eee; /* Đường gạch ngang phân cách (tùy chọn) */
}

/* 2. Tùy chỉnh ảnh nằm bên phải */
.tin-hd-right .box-image {
    width: 30% !important; /* Độ rộng của ảnh */
    margin-left: 15px !important; /* Khoảng cách bên trái ảnh (với chữ) */
    margin-right: 0 !important;   /* Xóa khoảng cách cũ bên phải */
    float: none !important;      /* Xóa float cũ */
	padding-bottom: 10px;
}

/* 3. Tùy chỉnh phần chữ nằm bên trái */
.tin-hd-right .box-text {
    width: 65% !important;        /* Độ rộng của phần chữ */
    padding: 0 !important;
    float: none !important;       /* Xóa float cũ */
}

.tin-hd-right .box-text {
	padding-left: 12px;
}

.tin-hd-right .box-text h5 {
	font-weight: normal;
}
/** Tin đọc nhiều */
.tin-doc-nhieu > .col-inner {
    border: 1px solid #EBEBEB;
    overflow: hidden;
    background: #F9FAFB;
    border-radius: 12px;
	padding: 0 10px;
}

.tin-doc-nhieu .section-title {
	background-color: #DB0713;
    color: #FFF;
    padding: 4px 0 2px;
}

.tin-doc-nhieu .box-image {
	display: none;
}

.tin-doc-nhieu .box-text {
	border-bottom: 1px solid #EBEBEB;
    padding-bottom: 4px;
    padding-top: 12px;
}

.tin-doc-nhieu .post-item {
	padding-bottom: 0;
}

.tin-doc-nhieu .post-title {
	font-weight: normal;
	display: flex;          /* Bật Flexbox */
    align-items: flex-start; /* Căn lề trên cùng cho chấm và tiêu đề */
    line-height: 1.4;        /* Khoảng cách dòng cho tiêu đề */
    margin-bottom: 5px;
}

.tin-doc-nhieu .post-title a {
	padding-left: 15px;
}

.tin-doc-nhieu .post-title a::before {
    content: "";    
    width: 6px;
    height: 6px;
    background-color: #DB0713;        
    position: absolute;
    top: 21px;
    left: 0;
}

/* 1. Thiết lập khung chứa để giới hạn độ cao */
.tin-doc-nhieu .col-inner {
    max-height: 610px; /* Bạn có thể chỉnh độ cao tùy ý để hiện khoảng 4-5 tin */
    overflow: hidden;
    position: relative;    
}

.tin-doc-nhieu-box {
	overflow: hidden;
}

.tin-doc-nhieu .box-scroll {
    display: flex;
    flex-direction: column;
    animation: scrollVertical 25s linear infinite; /* Chỉnh 25s lớn hơn để cuộn chậm lại */
}

.tin-doc-nhieu .col-inner:hover .row {
    animation-play-state: paused;
}

/* 6. Định nghĩa chuyển động cuộn */
@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%); /* Cuộn lên 50% tổng độ cao danh sách */
    }
}

/** Tin Kinh tế - Văn hóa */
.kt-vh .box-image {
	vertical-align: top;
}
.kt-vh .box-text {
	padding: 0 15px;
	vertical-align: top;
}
.kt-vh .row-collapse .box-image {
	display: none;
}
.kt-vh .row-collapse .box-text {
	padding-bottom: 0px;
}
.kt-vh .row-collapse .box-text a {
	padding-left: 5px;
}
.kt-vh .row-collapse .box-text a:before {
	content: "";    
    width: 6px;
    height: 6px;
    background-color: #ababab;        
    position: absolute;
    top: 10px;
    left: 0;
	border-radius: 50%;
}

/** Tin An ninh - Quốc phòng */

.an-qp .qp-left .box-blog-post {
	border-right: 1px solid rgba(0, 0, 0, .1);
}

.an-qp .qp-right .post-item {
	padding-bottom: 0px;
}
.an-qp .box-image {
	vertical-align: top;
}
.an-qp .box-text {
	padding: 0 15px;
	vertical-align: top;
}
.an-qp .qp-right .box-image {
	display: none;
}
.an-qp .qp-right .box-text {
	padding-bottom: 0px;
}
.an-qp .qp-right .box-text a {
	padding-left: 5px;
}
.an-qp .qp-right .box-text a:before {
	content: "";    
    width: 6px;
    height: 6px;
    background-color: #ababab;        
    position: absolute;
    top: 10px;
    left: 0;
	border-radius: 50%;
}


/* Footer */

#footer, #footer a, #footer h3 {
    color: rgba(255, 255, 255, 0.8);
}

#footer {
    background-color: #2F75B5;
    padding-top: 30px;
}

#footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

.absolute-footer {
    display: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}