#slider {
    margin-top: 20px;
}

.news {
    margin-top: 20px;
}

.navbar-nav .nav-item .nav-link {
    transition: color 0.3s ease, border-bottom-color 0.3s ease; 
    border-bottom: 1px solid transparent; 
    color: white;
}

.navbar-nav .nav-item .nav-link:hover {
    background-color: #EA6B28 ;
    /*border-bottom-color: #17bdb3;  Màu gạch chân khi hover */
    /*border-bottom-width: 2px; /* Độ dày của gạch chân khi hover */
}

.nav {
    display: flex;
    flex-wrap: wrap;
}

/* Màu chữ đen và chữ in đậm */
.nav-link {
    color: black;
    font-weight: bold;
    text-decoration: none; /* Loại bỏ gạch chân từ liên kết */
    transition: color 0.3s ease; /* Tạo hiệu ứng chuyển đổi màu chữ mềm mại */
}

.nav-link:hover {
    color: #EA6B28; /* Màu xám đậm khi hover */
}

.title{
    color: #EA6B28;
}

.form-container2 {
transition: transform 0.3s ease-in-out; /* Hiệu ứng chuyển động */
transform-origin: center center;
transform: scale(1);
}

.form-container2:hover {
    transform: scale(1.1); /* Phóng to khi hover */
}


#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #fff;
    border-radius: 50%;
}


.like_cmt{
    margin-top: 150px; /* Add margin for better spacing */
}

#comment-container {
    max-width: 600px;
    margin: left;
    margin-top: 20px; /* Add margin for better spacing */
    margin-bottom: 50px;
}

#comments {
    margin-top: 10px; /* Add margin for better spacing between comments */
}

.navbar-nav li {
    margin-right: 50px;/*  Adjust the value as needed to increase or decrease spacing */
    font-weight: bold;
}

.custom-form-rounded {
    border-radius: 15px; /* Increase border-radius for more rounding */
}

.custom-width-input {
    width: 200px; /* Adjust the width as needed */
    border: none;
    outline: none;
    box-shadow: none;
    margin-left: 10px; /* Shift the input to the right by 3 pixels */
    margin-top: 10px;
}

.custom-btn-light {
    background-color: #fff; /* Set the background color to white */
    color: black; /* Set the text color to black */
    margin-top: 10px;
    margin-right: 10px;
}

.ml-edit {
    border: 2px solid black;
    margin-bottom: 5px;
    border-radius: 15px;
    
    margin-top: 200px;
}


@media (max-width: 767px) {
    /* Adjust the margin for smaller screens */
    .ml-edit {
        margin-left: 10px!important;
        margin-top: 10px; /* Adjust as needed */
        margin-bottom: 10px; /* Adjust as needed */
    }
}

.custom-navbar {
    border-bottom: 3px solid #EA6B28; /* Đường viền dưới màu xanh */
    transition: background-color 0.3s ease;
}

/* Thêm vào CSS để đặt màu nền khi cuộn trang */
.navbar-scrolled {
    background-color: #EA6B28!important; /* Màu nền khi cuộn, có thể thay đổi theo mong muốn */
}

.small-text {
    font-size: 1rem;
    font-weight: bold; /* Độ đậm của chữ */
    color: black !important; /* Màu trắng */
} 

.custom-background {
    background-color: #ffffff; /* Mã màu của bạn */
}

.custom-background2 {
    background-color: #EA6B28; /* Mã màu của bạn */
}

.edit-text {
    color: white;
    text-align: justify;
}

.custom-border {
    border-bottom: 3px solid #fff; 
}

.custom-border2 {
    border-bottom: 1px solid black; 
}

.edit-title{
    font-weight: 650;
    text-align: left;
}

.edit-p {
    line-height: 1.2; /* Điều chỉnh khoảng cách giữa các dòng */
    color: #888;
    font-size: 0.9em;
    font-weight: 620;
    text-align: justify;
}

   /* Định dạng màu chữ khi hover */
.text-reset:hover .edit-title {
    color: #EA6B28; /* Màu chữ khi hover */
    text-decoration: none;
}

.text-reset:hover .edit-p {
    color: #EA6B28; /* Màu chữ khi hover */
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


.img_qc {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Để căn giữa hình ảnh */
}

@media (max-width: 767px) {
    .img_qc {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto; /* Để căn giữa hình ảnh */
    }
}

.footer {
    background-color: #d9d9d9 !important; /* Màu xám nhạt */
    padding: 20px; /* Khoảng cách giữa nội dung và biên của footer */
    text-align: center; /* Căn giữa nội dung trong footer */
}

.footer-text{
    text-align: center;
    color: black;
}


/* CSS cho navbar khi nút scrollTopBtn hiển thị */
.navbar-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff; /* Màu nền của navbar khi cuộn */
    z-index: 1000;
    transform: translateY(0); /* Thêm thuộc tính transform để làm mờ chuyển động */
    transition: transform 0.3s ease; /* Thêm transition cho hiệu ứng mượt khi thay đổi */
}
  
/* Thêm transition cho hiệu ứng mượt khi thay đổi CSS */
.navbar {
    transition: background-color 0.3s ease;
}
  
  /* CSS cho nút scrollTopBtn khi cuộn lên đầu trang */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
  
  /* CSS cho navbar khi cuộn lên đầu trang và nút scrollTopBtn hiển thị */
.navbar-scrolled-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-container {
    display: flex;
    justify-content: center; /* Căn giữa các phần tử trong container */
    align-items: center; /* Căn giữa theo chiều dọc */
    margin-top: 20px; /* Duy trì khoảng cách từ phần trên của trang */
}

.page-item {
    margin: 0 0.5px; /* Khoảng cách giữa các nút */
}

    /* Đổi màu cho nút "Trước" */
    .page-item.previous-button button {
        background-color: #EA6B28;
        color: #ffffff; 
    }

    /* Đổi màu cho nút "Sau" */
    .page-item.next-button button {
        background-color: #EA6B28; 
        color: #ffffff; 
    }

.container {
    overflow-x: hidden;
}    

.entry {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.entry img {
    width: 100%; /* Điều chỉnh theo nhu cầu của bạn */
    height: auto;
    display: block;
    margin: 0 auto; /* Canh giữa hình ảnh trong container */
}

.entry video {
    width: 100%; 
    display: block;
    margin: 0 auto;
}


.custom-image-new1{
    width: 485px;
    height: 270px;
}

.custom-image-new2{
    width: 485px;
    height: auto;
}

.custom-image-category{
    width: 600px;
    height: 300px;
}

.custom-image-category2{
    width: 485px;
    height: 220px;
}

.custom-image-lq{
    width: 300px;
    height: 180px;
}

.cmt {
    max-width: 600px;
    margin-top: 70px;
    border-top: 3px solid #EA6B28; 
    background-color: #F8F8FF;
}

.avatar-frame2 {
    display: flex;
    margin: 10px;
}

.avatar-frame2 .content {
    display: flex;
    flex-direction: column;
}

.avatar-frame2 strong {
    margin-left: 5px;
}

.avatar-frame2 p {
    margin-left: 5px;
    white-space: pre-line;
    overflow-wrap: break-word;
}

#moveableItem {
    z-index: 199;
    transition: opacity  0.3s ease;
}
@media (max-width: 767px) {
    #moveableItem {
        display: none;
    }
}
#moveableItem.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 199;
    transform: translateY(-20%) translateX(45%) scale(0.4);
    transition: opacity  0.3s ease;
}



