/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
/* Ẩn menu con mặc định */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    white-space: nowrap; /* Cho phép chiều rộng linh hoạt theo nội dung */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 1000;
    min-width: 220px; /* Chiều rộng tối thiểu để menu không quá nhỏ */
}

/* Hiển thị menu khi hover vào mục cha */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Đảm bảo mục cha có position tương đối */
.dropdown {
    position: relative;
}

/* Style cho các mục trong menu con */
.dropdown-menu li {
    list-style: none;
}

    .dropdown-menu li a {
        display: block;
        padding: 10px 20px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.3s ease;
    }

        /* Hiệu ứng hover */
        .dropdown-menu li a:hover {
            background-color: #f5f5f5;
            color: #c71b22;
        }

/* Tùy chỉnh khoảng cách giữa các mục cha */
.top-menu > li {
    margin-right: 20px;
}


/* css Stick social */
.bonus {
    position: fixed;
    bottom: 70px;
    z-index: 999;
    right: 26px;
}

    .bonus .hotline {
        margin-bottom: 5px;
    }

        .bonus .hotline a {
            background: url('/assets/images/tiktok.svg')no-repeat;
            height: 40px;
            background-position: center;
            background-size: cover;
            width: 40px;
            display: block;
            margin: auto;
        }

    .bonus .zalo a {
        background: url('/assets/images/zalo.svg')no-repeat;
        background-position: center;
        background-size: cover;
        width: 40px;
        height: 40px;
    }

    .bonus .messenger a {
        background: url('/assets/images/messenger.svg')no-repeat;
        background-position: center;
        background-size: cover;
        width: 40px;
        height: 40px;
    }

    .bonus .ytb a {
        background: url('/assets/images/youtube.svg')no-repeat;
        background-position: center;
        background-size: cover;
        width: 40px;
        height: 40px;
    }

/* css gridview pages */
.GridPager a, .GridPager span {
    display: block;
    height: 25px;
    width: 25px;
    /*font-weight: bold;*/
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background-color: #A1DCF2;
    color: #000;
    border: 1px solid #3AC0F2;
}

.ads-marketing {
    background: #ffffff;
    display: inline-block;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: blinkBubble 1.5s infinite;
}


@keyframes blinkBubble {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }
}

.image-container {
    position: relative;
}

    .image-container img {
        width: 100%;
        display: block;
        height: auto;
        transition: transform 0.4s ease, filter 0.4s ease;
    }

    .image-container:hover img {
        transform: scale(1.05);
        filter: brightness(0.85);
    }

.date-box-event {
    position: absolute;
    bottom: -25px;
    left: 10px;
    background-color: #b30000;
    color: white;
    text-align: center;
    border-radius: 4px;
    padding: 5px 10px;
    width: 45px;
}

    .date-box-event .day {
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
    }

    .date-box-event .divider {
        width: 60%;
        height: 1px;
        background-color: white;
        margin: 4px 0;
    }

    .date-box-event .month {
        font-size: 14px;
        line-height: 1;
    }

.post-item:hover .date-box {
    transform: scale(1.1);
}