/* SacMauTheme Dynamic Styles - Generated on 2025-07-01 13:54:42 */

.custom-logo-link img, .site-header .custom-logo {
    max-width: 60px !important;
    height: auto !important;
}

#site-navigation.navbar.container-fluid > .custom-logo-link,
#site-navigation.navbar.container-fluid > .navbar-brand {
    padding-left: 0rem;
}

#site-navigation.navbar.container-fluid .navbar-collapse {
    padding-right: 0rem;
}

h1, .h1 {
    font-size: 2.5rem !important;
    color: #212529 !important;
}

h2, .h2 {
    font-size: 2rem !important;
    color: #212529 !important;
}

h3, .h3 {
    font-size: 1.75rem !important;
    color: #212529 !important;
}

h4, .h4 {
    font-size: 1.5rem !important;
    color: #212529 !important;
}

h5, .h5 {
    font-size: 1.25rem !important;
    color: #212529 !important;
}

h6, .h6 {
    font-size: 1rem !important;
    color: #212529 !important;
}

p {
    font-size: 1rem !important;
    color: #212529 !important;
}

#masthead .navbar, #site-navigation.navbar {
    background-color: #333333 !important;
}

.navbar-nav .dropdown-menu {
    background-color: #333333 !important;
}

.navbar-nav .dropdown-menu .dropdown-item,
.navbar-nav .nav-item.active .dropdown-menu .dropdown-item,
.navbar-nav .nav-item.show .dropdown-menu .dropdown-item {
    color: #ffffff !important;
    background-color: transparent !important;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus,
.navbar-nav .nav-item.active .dropdown-menu .dropdown-item:hover,
.navbar-nav .nav-item.active .dropdown-menu .dropdown-item:focus,
.navbar-nav .nav-item.show .dropdown-menu .dropdown-item:hover,
.navbar-nav .nav-item.show .dropdown-menu .dropdown-item:focus {
    color: #1e2125 !important;
    background-color: #e9ecef !important;
}

.navbar-nav > .nav-item > .nav-link {
    color: #ffffff !important;
    font-size: 1rem;
}

.navbar-nav > .nav-item > .nav-link:hover,
.navbar-nav > .nav-item > .nav-link:focus {
    color: rgba(0,0,0,0.7) !important;
}

.navbar-nav > .nav-item.active > .nav-link,
.navbar-nav > .nav-item > .nav-link.active,
.navbar-nav > .nav-item > .nav-link[aria-current="page"] {
    color: #dd9933 !important;
}

body a:not(.nav-link):not(.dropdown-item):not(.btn):not(.page-numbers):not(.comment-reply-link):not(.comment-edit-link):not(.site-footer a) {
    color: #0d6efd;
}

body a:not(.nav-link):not(.dropdown-item):not(.btn):not(.page-numbers):not(.comment-reply-link):not(.comment-edit-link):not(.site-footer a):hover,
body a:not(.nav-link):not(.dropdown-item):not(.btn):not(.page-numbers):not(.comment-reply-link):not(.comment-edit-link):not(.site-footer a):focus {
    color: #0a58ca;
}

body a:not(.nav-link):not(.dropdown-item):not(.btn):not(.page-numbers):not(.comment-reply-link):not(.comment-edit-link):not(.site-footer a):not(.sacmautheme-go-top-btn) {
    text-decoration: none;
}

body a:not(.nav-link):not(.dropdown-item):not(.btn):not(.page-numbers):not(.comment-reply-link):not(.comment-edit-link):not(.site-footer a):not(.sacmautheme-go-top-btn):hover,
body a:not(.nav-link):not(.dropdown-item):not(.btn):not(.page-numbers):not(.comment-reply-link):not(.comment-edit-link):not(.site-footer a):not(.sacmautheme-go-top-btn):focus {
    text-decoration: none;
}

.site-footer .footer-main-area {
    background-color: #333333 !important;
    padding: 2rem 0;
}

.site-footer .footer-bottom-bar {
    background-color: #333333 !important;
    height: 50px;
    display: flex; align-items: center; justify-content: center;
 padding-top: 0.5rem; padding-bottom: 0.5rem;
    margin-top: 0;
}

.site-footer .footer-bottom-bar,
.site-footer .footer-bottom-bar p,
.site-footer .footer-bottom-bar span:not(.sep),
.site-footer .footer-bottom-bar div {
    color: #ffffff !important;
}

.btn-theme-primary {
    background-color: #007bff !important;
    color: #ffffff !important;
    border-color: #007bff !important;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-theme-primary:hover, .btn-theme-primary:focus {
    background-color: #0056b3 !important;
    color: #ffffff !important;
    border-color: #0056b3 !important;
    text-decoration: none;
}

.sacmautheme-breadcrumbs .breadcrumb-item,
.sacmautheme-breadcrumbs .breadcrumb-delimiter {
    color: #6c757d;
}

.sacmautheme-breadcrumbs .breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.sacmautheme-breadcrumbs .breadcrumb-item a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.sacmautheme-breadcrumbs .breadcrumb-item.active {
    color: #6c757d;
}

#sacmautheme-go-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent; /* Trong suốt */
    border: none;
    width: 50px; /* Điều chỉnh kích thước button */
    height: 70px; /* Điều chỉnh kích thước button */
    text-align: center;
    cursor: pointer;
    display: none; /* Sẽ được hiển thị bằng JavaScript */
    z-index: 9999;
    box-shadow: none;
    transition: transform 0.3s ease-in-out; /* Hiệu ứng hover cho button */
    overflow: visible; /* Cho phép flames hiển thị ra ngoài */
    /* Quan trọng: Đảm bảo transform ban đầu là none hoặc translateY(0) để animation hoạt động đúng */
    transform: translateY(0);
}

#sacmautheme-go-top-btn:hover {
    /* Hiệu ứng nhích nhẹ khi hover button, có thể giữ lại hoặc bỏ nếu muốn */
    transform: translateY(-5px); /* Tăng một chút để rõ hơn */
}

#sacmautheme-go-top-btn img.rocket-image { /* Thêm class cho dễ quản lý */
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    /* Không cần animation ở đây nữa nếu button chính được animate */
}

#sacmautheme-go-top-btn img.flames {
    position: absolute;
    bottom: -15px; /* Điều chỉnh vị trí lửa */
    left: 50%;
    transform: translateX(-50%) scaleY(-1); /* Lật ngược theo chiều dọc */
    width: 30px; /* Điều chỉnh kích thước lửa */
    height: auto; /* Duy trì tỷ lệ khung hình */
    opacity: 0; /* Ẩn ban đầu */
    transition: opacity 0.3s ease-out;
}

#sacmautheme-go-top-btn:hover img.flames {
    opacity: 1;
}

#sacmautheme-go-top-btn.launch {
    /* Áp dụng animation cho button */
    animation: rocket-button-fly-off 1s forwards;
    /* Khi phóng, ngọn lửa cũng phải hiển thị */
}

#sacmautheme-go-top-btn.launch img.flames {
    opacity: 1;
}

@keyframes rocket-button-fly-off {
    0% {
        transform: translateY(0); /* Vị trí ban đầu của button */
        opacity: 1;
    }
    99% {
        transform: translateY(-110vh); /* Bay lên cao hơn viewport 1 chút để đảm bảo biến mất */
        opacity: 1; /* Vẫn nhìn thấy khi đang bay */
    }
    100% {
        transform: translateY(-110vh);
        opacity: 0; /* Biến mất hoàn toàn ở cuối animation */
        /* Cân nhắc display: none; ở đây nếu cần, nhưng JS nên xử lý việc này sau khi scroll */
    }
}

