body {
    font-size: 16px !important;
    background-color: #FFFFFF !important;
}

.header-banner {
    height: auto !important;
}

.header-banner img {
    width: 100%;
    height: auto !important;
}

.main-title{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    /* Ensure it works for multiline */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Display '...' for overflowing text */
    margin: 0;
}

::-webkit-scrollbar {
    display: none;
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
}

.text-center-placeholder::placeholder {
    text-align: center;
}

a:hover {
    text-decoration: none !important;
}

nav {
    background-color: #049BE2;
    color: #FFFFFF !important;
    padding: 5px 20px !important;
    /* height: 30px;
    line-height: 30px; */
}

.navbar-toggler-icon {
    color: #FFF !important;
}

.navbar-toggler {
    border: 1px solid #FFF !important;
}

nav .nav-link {
    color: #fff !important;
    /* Màu chữ trắng */
    text-transform: uppercase;
    font-weight: bold;
    /* Chuyển thành chữ in hoa */
}

nav .nav-link.active {
    font-weight: bold;
    /* Chữ đậm khi active */
    color: #fff;
    /* Giữ màu trắng khi active */
}

.text-marquee {
    font-weight: bold;
    color: red;
    font-size: 13px;
}

.title {
    background-color: #049BE2;
    width: 100%;
    min-height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: left;
}

.title-text {
    font-size: 15px !important;
    margin: 0;
    margin-left: 15px;
    font-weight: 700;
    line-height: 18px;
    color: white;
}


/* tin tuc*/
.news-slider .list-news-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    /* Ensure image maintains aspect ratio while covering the container */
}

.news-slider .list-news-item {
    overflow: hidden;
    /* Ensure no overflow */
    position: relative;
}

.news-content {
    position: absolute;
    width: 100%;
    height: 85px;
    /* Adjust this based on your design */
    left: 0;
    bottom: 0;
    background: rgba(92, 92, 92, 0.3);
    /* Semi-transparent black background */
    backdrop-filter: blur(3px);
    /* Giảm độ mờ */
    /* Apply blur to the background */
    color: white;
    /* Text color */
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align content at the bottom */
    box-sizing: border-box;
    /* Ensure padding is included in height calculation */
}

/* Heading styles */
.news-content h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    /* Ensure it works for multiline */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Display '...' for overflowing text */
    margin: 0;
    /* Remove default margin */
    margin-bottom: 8px;
}

/* Paragraph styles */
.news-content p {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    /* Ensure it works for multiline */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Display '...' for overflowing text */
    line-height: 1.3;
    margin: 0;
    /* Remove default margin */
}

/* hinh anh*/
.images-slider {
    display: flex;
    margin-top: 10px;
    width: 100%;
    overflow: hidden;
}

.images-slider .images-item img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    /* Optional: Ensure images are cropped to fit the dimensions */
}

/**/

.list-news-special {
    list-style: none;
    /* Remove default list styling */
    padding: 5px;
    height: 395px;
    background-color: aliceblue;
    overflow-y: scroll;
}

/* Customizing the scrollbar for webkit browsers (Chrome, Safari, etc.) */
.list-news-special::-webkit-scrollbar {
    display: block;
    width: 7px;
    /* Set the width of the scrollbar */
}

.list-news-special::-webkit-scrollbar-thumb {
    cursor: pointer;
    background-color: #ddd;
    /* Set the color of the thumb */
    border-radius: 10px;
    /* Optional: round the corners of the scrollbar */
}

.list-news-special::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* Set the color of the track */
    border-radius: 10px;
    /* Optional: round the corners of the track */
}

.list-news-special a {
    display: flex;
    /* Align text and icon horizontally */
    align-items: center;
    /* Center items vertically */
    text-decoration: none;
    /* Remove underline */
    color: #000;
    /* Set text color */
    margin-bottom: 10px;
    /* Optional: space between list items */
    font-size: 14px;
}

.list-news-special a::before {
    content: "♦";
    /* Display a plus sign */
    font-size: 14px;
    margin-right: 8px;
    /* Space between the icon and the text */
    color: orange;
    /* Set the color of the arrow */
}

.list-news {
    list-style: none;
    /* Remove default list styling */
    padding: 5px;
}

.list-news a {
    display: flex;
    /* Align text and icon horizontally */
    align-items: center;
    /* Center items vertically */
    text-decoration: none;
    /* Remove underline */
    color: #212529;
    /* Set text color */
    margin-bottom: 10px;
    /* Optional: space between list items */
    font-size: 16px;
}

.list-news a::before {
    content: "♦";
    /* Display a plus sign */
    font-size: 15px;
    margin-right: 8px;
    /* Space between the icon and the text */
    color: red;
    /* Set the color of the arrow */
}

/**/
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow: hidden;
}

.news-item img{
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.news-content {
    flex: 1;
    text-align: justify;
}

.news-img {
    height: 150px !important;
    float: left;
    vertical-align: top;
}

.news-item {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.news-list ul {
    padding-left: 0;
}

.news-list li {
    list-style: none;
    margin-bottom: 5px;
}

.news-list li a {
    color: #212529;
}

.news-list li::before {
    content: "♦ ";
    color: red;
}

/**/
.group-images-content {
    padding: 0 10px;
}

.images-content {
    width: 100%;
    margin-bottom: 5px;
}

.images-content img {
    max-width: 100%;
    height: auto;
}

/**/

.menu-container {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    padding: 2px 10px;
}

.menu-title {
    background-color: #50C6F8;
    color: white;
    text-align: center;
    padding: 7px;
    font-weight: bold;
    border-radius: 7px 7px 0 0;
}

.menu-item {
    display: block;
    padding: 5px 10px;
    color: white;
    background-color: #119CD7;
    text-decoration: none;
    margin-top: 1.3px;
}

.menu-item-last {
    display: block;
    padding: 3px 10px;
    color: white;
    background-color: #119CD7;
    text-decoration: none;
    margin-top: 1px;
    border-radius: 0 0 7px 7px;
}

.menu-item:hover {
    background-color: #17c4ee;
    color: #FFFFFF;
    text-decoration: none;
    /* Bỏ gạch chân */
}

.card-container {
    max-width: 100%;
    border-radius: 0 0 5px 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

/**/

.for_slick_slider .slider-slick-item {
    width: auto !important;
    border: 10px solid #ffffff !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    transition: all linear .4s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* Thêm hiệu ứng đổ bóng */
}

.card-img-top {
    height: auto !important;
    object-fit: cover;
    overflow: hidden;
    border-radius: 4px;
}

.box-image {
    height: auto;
}

.for_slick_slider .box-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Ensures the image fits within the container */
}

.card-text {
    direction: ltr;
    font-size: 14px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* Giới hạn số dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /* Đảm bảo text xuống dòng đúng */
    line-height: 1.7em;
    /* Điều chỉnh khoảng cách dòng */
    max-height: calc(1.7em * 2);
    /* Giới hạn chiều cao tương ứng với 2 dòng */
}

.card-body {
    padding: 10px 0 !important;
}

/**/

.footer {
    background-color: azure;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    border-top: 2px solid #ddd;
}

.footer a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/**/
.article-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.article-item .image-container {
    width: 100% !important;
    height: 170px !important;
    flex-shrink: 0;
    /* Giữ kích thước cố định */
    object-fit: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    /* Hiệu ứng zoom mượt */
}

.article-item .image-container:hover img {
    transform: scale(1.1);
    /* Zoom nhẹ 1.1 lần */
}

.pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-item .page-link {
    color: #007bff;
    border: 1px solid #ddd;
    padding: 8px 12px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination .page-item .page-link:hover {
    background-color: #0056b3;
    color: white;
}

/**/
.articles-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 8px;
    color: #007bff;
}

.articles-date {
    color: #888;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    font-style: italic;
}

.articles-summary {
    font-weight: 600;
    /* Đậm nhưng nhỏ hơn title */
    font-size: 18px;
    margin-bottom: 16px;
}

.articles-content img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/**/
.contact-info {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.contact-info p {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    font-size: 20px;
    color: #007bff;
    margin-right: 10px;
}

.about img {
    width: 100% !important;
    height: auto !important;
}



/* Contact card styling */
#contact-support {
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 9999;
    color: white;
    /* Màu chữ trên icon */
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: ease-in-out;
}

#box-contact {
    display: none;
    width: 275px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9999;
    color: white;
    /* Màu chữ trên icon */
    padding: 10px;
    background-color: #FFF2F2;
    border-radius: 10%;
    margin-bottom: 10px;
}

#contact-support:hover #box-contact {
    display: block !important;
}

/* Header section */
.header_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background-color: #ff3e3e;
    border-radius: 25px;
    padding: 14.2px 15px;
    margin: 20px 0;
}

.header_footer span {
    flex: 1;
    text-align: center;
}

.phone-icon_footer {
    position: absolute;
    left: 0;
    margin-left: 5PX;
}

.chat-icon_footer .icon {
    font-size: 18px;
}

/* Contact card styling */
.contact-card_footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 25px;
    padding: 14.2px 15px;
    margin: 20px 0;
    gap: 10px;
}

.contact-number_footer {
    font-size: 15px;
    font-weight: bold;
    color: #003366;
    flex-grow: 1;
    text-align: center !important;
}


.phone-icon_footer {
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: start;
    color: #003366;
}


/* Phone icon styling */
.phone-icon_footer .icon {
    font-size: 24px;
    color: #003366;
}

/* Contact card styling */
.contact-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 14.2px 15px;
    margin: 20px 0;
    gap: 10px;
}

.contact-number {
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    flex-grow: 1;
    text-align: center !important;
}


.phone-icon {
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003366;
}


/* Phone icon styling */
.phone-icon .icon {
    font-size: 24px;
    color: #003366;
}

/* Divider styling */
.divider {
    border-top: 2px solid #ff3e3e;
    opacity: 0.6;
    margin: 10px 0;
}

/* Section title styling */
.section-title {
    font-size: 14px;
    font-weight: bold;
    color: #003366;
    text-align: center;
    margin: 10px auto;
}

.main-news {
    height: 330px !important;
    display: flex;
    justify-content: flex-start;
    align-items: start;
}

.main-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    /* Giới hạn số dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /* Đảm bảo text xuống dòng đúng */
    line-height: 1.7em;
    /* Điều chỉnh khoảng cách dòng */
    max-height: calc(1.7em * 8);
}
.sub-news a{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* Giới hạn số dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /* Đảm bảo text xuống dòng đúng */
    line-height: 1.7em;
    /* Điều chỉnh khoảng cách dòng */
    max-height: calc(1.7em * 2);
}

.carousel-inner img{
    height: 450px !important;
    object-fit: fill !important;
}