﻿body {
    margin: 0;
}
.header-top {
    height: 130px;
    background-color: #e33a3c;

}
.item-menu:not(:first-child)::before {
    content: none;
}
.fw {
    width: 100%;
}
.siteCenter {
    width: 1200px;
    margin: 0 auto;
}
.header-info {
    position: relative;
}
    .header-info::before {
        content: '';
        position: absolute;
        z-index: 0;
        width: 100%;
        background-color: #fff;
        top: 0;
        bottom: 0;
        left: -100%;
    }
.header-top .logo {
    position: absolute;
    left: 0;
    top: 34%;
    transform: translateY(-50%);
    z-index: 3;
}

.logo {
    width: 259px;
    height: auto;
    display: block;
}
.header-flag {
    background: url(/Content/img/logo.gif) left center no-repeat;
    width: 220px;
    height: 130px;
    float: left;
}
.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}
    .header-text > .text-yellow {
        color: #fff568;
        margin-bottom: -20px;
    }

    .header-text > p {
        text-transform: uppercase;
        color: #fff;
        font-weight: 700;
        font-size: 30px;
        font-family: 'MyriadPro-Bold', sans-serif;
        font-weight: 700;
        line-height: 1.4;
    }
.header-flower {
    background: url(/Content/img/header-flower.png) right center no-repeat;
    width: 200px;
    height: 130px;
    float: right;
}
.clearfix:after {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    clear: both;
}
.header-menu {
    background-color: #8e1a1b;
}
ol, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ico-homepage {
    border-left: 0;
}

.item-menu {
    float: left;
    text-align: center;
    border-left: 1px solid #8e1a1b;
}
.ico-homepage a {
    padding: 21px 23px;
    background-color: #c71b1f;
}

.link-menu {
    padding: 6px 10px;
    display: block;
    text-transform: uppercase;
    font-family: 'MyriadPro-Regular', sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 12px;
}
.main-menu > .item-menu:nth-child(2) {
    display: none;
}
.link-menu:hover, .item-menu.active a:hover, .link-menu.active, .item-menu.active a {
    background-color: #c71b1f;
}
.header-bottom {
    background-color: #ebebeb;
    height: 50px;
}
.ico-date {
    line-height: 50px;
}

.col-left, .lt {
    float: left;
}
.col-right, .rt {
    float: right;
}
#frmSearch {
    width: 300px;
    height: 30px;
    line-height: 30px;
    background-color: #fff;
    outline: none;
    border: none;
    margin: 10px 0;
    display: block;
}
    #frmSearch input[type="text"] {
        line-height: 30px;
        width: calc(100% - 30px);
        outline: 0;
        border: 0;
        background-color: transparent;
        float: left;
        padding-left: 12px;
    }

input, select, textarea {
    font-size: 16px;
}
#frmSearch button[type="submit"] {
    float: right;
    width: 30px;
    height: 30px;
    border: 0;
    outline: 0;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
    font-size: 16px;
    margin-top: -32px
}
a {
    text-decoration: none;
    border: none;
    color: inherit;
    transition: 0.3s all ease;
}
.footer-info {
    background: #f4c7a8;
    border-top: 1px solid #fff;
}
.footer-info-f {
    padding: 15px 0 7px 0;
    border-bottom: 1px solid #d7d7d7;
}
.logo-footer {
    width: 245px;
}
img {
    border: none;
    vertical-align: middle;
    max-width: 100%;
}
.footer-info p {
    margin-bottom: 5px;
    color: #000;
    font-size: 14px;
    line-height: 1.5;
}
.bdr-bottom-dotted {
    height: 1px;
    border-bottom: 1px solid #e1e1e1;
    margin: 15px 0;
}
.ico-phone-no {
    color: #ec2226;
    font-family: inherit;
}
.color-105CB6, .copyright.color-105CB6 {
    color: #000;
}
.hna-social-share {
    line-height: 32px;
}
    .hna-social-share span {
        float: left;
        height: 30px;
        line-height: 30px;
        display: none;
    }
.hna-button-facebook {
    background-position: -30px 0px;
}

.hna-social-button {
    float: left;
    display: block;
    height: 30px;
    width: 30px;
    background-image: url(/Content/img/ico-social-share.png);
    background-repeat: no-repeat;
    margin-left: 10px;
    border-radius: 6px;
    background-color: #fff;
}
.hna-button-zalo {
    background-position: 0 0;
}
.hna-button-youtube {
    background-position: -60px 0;
}
.hna-button-tiktok {
    background-position: -90px 0;
}
.footer-mastercms {
    line-height: 45px;
    height: 45px;
    font-size: 12px;
    color: #999;
}
.backTop {
    background: url(/Content/img/backTop.png) 0 0 no-repeat;
    width: 56px;
    height: 56px;
    display: none;
    position: fixed;
    bottom: 225px;
    right: 10px;
    cursor: pointer;
    z-index: 10;
}


/* Header menu responsive */
@media (max-width: 970px) {
    .header-menu {
        background-color: #8e1a1b;
        overflow-x: auto;
        height: auto;
    }
    .header-top {
        height: auto;
        padding: 10px 0;
        text-align: center;
    }

    .header-info {
        position: relative;
    }

    .header-info {
        overflow-x: revert;
    }

    .header-flag {
        width: 120px;
        height: auto;
        display: inline-block;
        float: none;
        margin: 0 auto;
    }

    .header-text {
        position: static;
        transform: none;
        margin-top: 10px;
    }

        .header-text > p {
            font-size: 16px;
            line-height: 1.3;
        }

        .header-text > .text-yellow {
            font-size: 14px;
            margin-bottom: 0;
        }

    .header-flower {
        width: 70px;
        height: 48px;
        background: url(/Content/img/header-flower.png) right center no-repeat;
        background-size: auto 80%;
        position: absolute;
        top: 0;
        right: -5%;
        z-index: 1;
    }

    .main-menu {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        padding: 0;
        margin: 0;
    }

        .main-menu .item-menu {
            float: none;
            flex: 0 0 auto;
            border-left: none;
        }

    .ico-homepage a {
        padding: 0 20px;
        background-color: #910a0d;
    }

    .link-menu {
        font-size: 14px;
        padding: 0 10px;
        white-space: nowrap;
    }

        .header-bottom {
            height: auto;
            padding: 12px 0;
            background-color: #ebebeb;
            text-align: center;
        }
        .boxSearch {
            top: 114%;
            height: 34px;
        }
        .header-info::before {
            content: none;
        }
        .frmSearch {
            height: 34px;
            border-radius: 0;
        }
        .siteCenter {
            padding: 0 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .lt, .rt {
            float: none;
            display: block;
            width: 100%;
            margin: 8px 0;
        }
        /* Ngày giờ */
        .lt {
            margin-top: 0;
            font-size: 14px;
            line-height: 1.5;
        }

        .ico-phone, .ico-date {
            font-size: 15px;
        }
        /* Form tìm kiếm */
        .frmSearch {
            width: 100%;
            max-width: 380px;
            height: 44px;
            margin: 6px auto;
            position: relative;
        }

        .search-input {
            width: 100%;
            height: 100%;
            padding: 0 50px 0 15px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-sizing: border-box;
        }

        .frmSearch button {
            position: absolute;
            right: 0;
            top: 0;
            width: 44px;
            height: 44px;
            background: #c71b1f;
            border: none;
            border-radius: 0 6px 6px 0;
            cursor: pointer;
            padding: 0;
        }

            .frmSearch button img {
                width: 22px;
                height: 22px;
                vertical-align: middle;
            }
        /* Cải thiện khi focus */
        .search-input:focus {
            outline: none;
            border-color: #c71b1f;
            box-shadow: 0 0 0 2px rgba(199, 27, 31, 0.25);
        }

        .header-bottom {
            height: auto;
            padding: 5px 0;
            text-align: center;
        }

        .lt, .rt {
            float: none;
            display: block;
            margin: 5px 0;
        }

        .frmSearch {
            width: 90%;
            margin: 0 auto;
        }

            .frmSearch input.search-input {
                width: 80%;
            }

            .frmSearch button {
                width: 18%;
                height: 38px;
                position: absolute;
                right: 0;
                top: 0;
                padding: 0;
            }
    }

/* Optional: cải thiện menu scroll trên mobile */
.header-menu::-webkit-scrollbar {
    height: 5px;
}

.header-menu::-webkit-scrollbar-thumb {
    background: #c71b1f;
    border-radius: 5px;
}