﻿blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.d-flex {
    display: flex;
    align-items: center;
}

.container {
    width: 1200px;
}

header {
    width: 100%;
    position: fixed;
    z-index: 1001;
    top: 0;
    transition: all 0.3s ease-in-out;
}

.header-prefix {
    height: 136px;
}

.header-container {
    display: flex;
    justify-content: center;
}

.header-top {
    background-color: var(--light-blue);
    max-height: 44px;
    transition: all 0.3s ease-in-out !important;
    overflow: hidden;
}

.header-mid {
    background-color: var(--strong-blue);
    max-height: 60px;
    transition: all 0.3s ease-in-out !important;
    overflow: hidden;
}

.header-bot {
    background-color: var(--yellow);
}

/* Class được thêm vào khi scroll xuống */
.header-shrink {
    transform: translateY(0px);
}

.header-top-hide {
    max-height: 0;
}

.header-mid .container {
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    width: 1200px;
}

.header-mid .search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 520px;
    height: 38px;
    background-color: #fff;
    border-radius: 3px;
    padding-left: 5px;
    box-sizing: border-box;
    position: relative;
}


.search-form-input {
    border: none;
    width: 100%;
    outline: none;
    font-size: 15px;
    border-right: 2px solid lightgray;
}

.search-form-submit-btn {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    padding: 2px;
    cursor: pointer;
    background: white;
    margin-right: 5px;
}

#search-by-image-btn {
    height: 38px;
    width: 100%;
    border-radius: 3px;
    padding: 2px;
    box-sizing: border-box;
    cursor: pointer;
    background: white;
}

.header-other-site {
    color: white;
    font-size: 15px;
    display: flex;
    align-items: center;
    margin-right: 10px;
    border-right: 2px solid lightgray;
    height: 20px;
    padding-right: 20px;
    padding-left: 10px;
}

    .header-other-site:last-of-type {
        border-right: none;
        padding-right: 0;
    }

    .header-other-site svg {
        height: 35px;
        width: 35px;
        margin-right: 5px;
    }

.header-category-list {
    height: 30px;
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-category-item {
    display: block;
    font-size: 14px;
    margin-right: 12px;
    text-transform: lowercase;
}

    .header-category-item a:first-letter {
        text-transform: uppercase;
    }

    .header-category-item:first-letter {
        text-transform: uppercase;
    }

    .header-category-item:last-of-type {
        margin-right: 0;
    }

footer {
    border-top: 2px solid var(--strong-blue);
}

.top-footer {
    display: flex;
    justify-content: center;
}

    .top-footer.fixed {
        position: fixed;
        bottom: 0;
        background: white;
        z-index: 100;
        width: 100%;
        border-top: 2px solid var(--strong-blue);
    }

    .top-footer .container {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 15px 0px;
    }

.top-footer-item a {
    display: flex;
    align-items: center;
    color: var(--strong-blue);
    font-weight: 500;
    font-size: 18px;
    height: 20px;
}

.footer-item-divider {
    height: 100%;
    width: 3px;
    background: var(--strong-blue);
}

    .footer-item-divider:last-of-type {
        display: none;
    }

.top-footer-item:last-of-type a {
    border-right: none;
    padding-right: 0;
}

.top-footer-item a svg {
    height: 27px;
    margin-right: 10px;
}

.bot-footer {
    background-color: var(--yellow);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-weight: 500;
}

.mid-footer {
    display: flex;
    justify-content: center;
    padding: 30px 0px;
    background-color: var(--strong-blue);
    color: white;
}

    .mid-footer .container {
        display: flex;
        justify-content: space-between;
    }

.footer-header {
    font-size: 17px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-address .footer-link {
    color: var(--lighter-blue);
    line-height: 20px;
}

.footer-address .footer-item {
    margin-bottom: 15px;
}

.footer-page-site {
    display: block;
    color: white;
    font-size: 17px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mid-footer .footer-social a {
    margin-right: 10px;
}

.mid-footer .image-social {
    filter: invert(1);
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-phone-number-desktop {
    font-size: 32px !important;
    font-weight: 500;
    color: var(--yellow);
    margin-bottom: 20px !important;
}

.footer-other-phone-number {
    margin-top: 0;
    border-radius: 3px;
    background-color: var(--yellow);
    color: var(--strong-blue);
    width: 230px;
    padding: 3px;
    font-weight: 700;
    font-size: 16px;
}

.container {
    width: 1200px;
    margin: 0 auto;
}


/*HEADER --------------------------------------------------------------------------------------*/
/*header multi menu dropdown*/

.navbar-container {
    background-color: var(--yellow);
}

.menu {
    list-style-type: none;
    display: flex;
    padding: 0;
}

.menu-item {
    position: relative;
}

    .menu-item .text {
        color: black;
        text-decoration: none;
        padding: 10px;
        display: block;
        transition: .3s;
        font-size: 12px;
        cursor: pointer;
    }

    .menu-item:hover .text {
        background-color: white;
    }

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style-type: none;
    padding: 10px;
    min-width: 200px;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 12px;
}

    .submenu li .sub-menu-without-link,
    .submenu li a {
        border-radius: 5px;
        min-height: 20px;
        padding: 10px 15px;
        color: black;
        text-decoration: none;
        display: flex;
        align-items: center;
        transition: .3s;
    }

        .submenu li .sub-menu-without-link:hover,
        .submenu li a:hover {
            background-color: var(--yellow);
        }

    .submenu .submenu {
        left: 100%;
        top: 0;
    }

.menu-item:hover > .submenu {
    display: block;
}

.submenu-item:hover > .submenu {
    display: block;
}

/* For grid-based submenu */
.submenu[data-grid="true"] {
    display: none; /* Initially hidden */
    grid-template-columns: repeat(var(--grid-columns), 1fr); /* Placeholder for dynamic columns */
    grid-column-gap: 20px;
    grid-row-gap: 5px;
}

    .submenu[data-grid="true"] .submenu-item {
        border: 1px solid #efefef;
        border-radius: 5px;
    }

        .submenu[data-grid="true"] .submenu-item a{
            height: 45px;
            box-sizing: border-box;
        }

        /*addon menu*/
        .submenu.temxeoto {
            max-height: 190px;
            overflow-x: hidden;
            overflow-y: auto;
            min-width: unset;
        }

.menu-item:hover > .submenu[data-grid="true"],
.submenu-item:hover > .submenu[data-grid="true"] {
    display: grid; /* Display as grid when hovered */
}

/* Fallback for dynamically setting grid column count */
.submenu[data-grid="true"][data-gridcolum="2"] {
    --grid-columns: 2;
}

.submenu[data-grid="true"][data-gridcolum="3"] {
    --grid-columns: 3;
}

.submenu[data-grid="true"][data-gridcolum="4"] {
    --grid-columns: 4;
}

.submenu-item {
    position: relative;
}

    .submenu-item .avatar {
        object-fit: contain;
        margin-right: 7px;
    }

    .submenu-item .icon {
        height: 18px;
        width: 18px;
    }

/*stick side banner ---------------------------------------------------------*/
img.stick-side-banner {
    width: 140px;
    height: auto;
    position: fixed;
    top: 12%;
    z-index: 1000;
    filter: drop-shadow(2px 4px 2px grey);
}

    img.stick-side-banner.left {
        left: 5px;
    }

    img.stick-side-banner.right {
        right: 5px;
    }
