/*#region chung */
html {
    font-size: 14px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

:root {
    --bs-font-sans-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
input[type=submit]:focus, button:focus, input[type=checkbox]:focus, input[type=radio]:focus, input[type=text]:focus {
    outline: none !important;
    box-shadow: none !important;
}
::selection {
    background: #FFCC00;
    color: #fff;
    text-shadow: 1px 1px 2px #888;
}
/* Let's get this party started */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #efefef;
}
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #686868;
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: #686868;
    }

b6, strong6 {
    font-weight: 600;
}

b5, strong5 {
    font-weight: 600;
}

b4, strong4 {
    font-weight: 600;
}
.box {
    padding: 15px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.btn-mb {
    width: 100%;
    min-height: inherit;
    line-height: 2em;
    font-size: 1em;
    padding: 6px 12px;
    border-radius: 8px;
}
.mbtooltip-normal {
    background: url(/images/shared/more-info-normal.svg) no-repeat center;
    width: 13px;
    height: 13px;
    display: inline-block;
}
.body-main{
    max-width:100vw;
    overflow:hidden;
}
/*#endregion */
/*#region header */
header {
    display: block;
    position: relative;
    width: 100%;
    background: #FFF;
}
.hamburger {
    display: none;
}
.nav-bar {
    display: block;
    position: relative;
    width: 100%;
    min-height: 45px;
}

    .nav-bar .left,
    .nav-bar .right {
        display: block;
        float: left;
    }

    .nav-bar .right {
        float: right;
        margin-top: 8px;
        text-align: right;
    }

    .nav-bar .left .logo {
        display: block;
        float: left;
        margin-top: 2.5px;
        width: 130px;
        height: 40px;
        margin-right: 12px;
        background: url(/images/shared/logo-matbao-net.svg) center no-repeat;
        background-size: contain;
    }

    .nav-bar .left .top-100 {
        display: block;
        float: left;
        margin-top: 2.5px;
        width: 150px;
        height: 40px;
        animation: logomove 7s infinite;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .nav-bar .right > span,
    .nav-bar .right > a,
    .nav-bar .right > .hello {
        display: inline-block;
        height: 20px;
        font-size: 14px;
        padding-right: 12px;
        margin-right: 12px;
        border-right: solid 1px #d8d8d8;
        cursor: pointer;
        color: #333;
        text-decoration: none;
    }

        .nav-bar .right > span:last-child,
        .nav-bar .right > a:last-child,
        .nav-bar .right > .hello {
            border-right: none;
        }
        .nav-bar .right > a{
            margin-right:0;
        }
    .nav-bar .right .language {
        padding-left: 24px;
        background: url(/images/shared/icon_language.svg) left center no-repeat;
        background-size: contain;
        border-right: none;
    }

        .nav-bar .right .language::after {
            content: '▼';
            font-size: 10px;
            padding-left: 4px;
            display: inline;
        }
    .nav-bar .right .drop-lang {
        display: none;
        position: absolute;
        top: calc(100% - 10px);
        list-style: none;
        background: #FFF;
        z-index: 100;
        font-size: 14px;
        text-align: left;
        padding: 4px 0;
        border-radius: 4px;
        box-shadow: 1px 2px 4px #0000001c;
    }
        .nav-bar .right .drop-lang li{
            padding:4px 8px;
            border-bottom: solid 1px #d8d8d8;
        }
        .nav-bar .right .drop-lang li:hover{
            background:#efefef;
            cursor:pointer;
        }
            .nav-bar .right .drop-lang li:last-child {
                border-bottom: none;
            }
        .nav-bar .right .assistant {
            padding-left: 24px;
            background: url(/images/shared/icon-matbao-top.svg) left center no-repeat;
            background-size: contain;
        }

    .nav-bar .right .help {
        padding-left: 24px;
        background: url(/images/shared/Hotro.svg) left center no-repeat;
        background-size: contain;
    }

    .nav-bar .right .login,
    .nav-bar .right .hello {
        padding-left: 24px;
        margin-right: 0;
        background: url(/images/shared/Dangnhap.svg) left center no-repeat;
        background-size: contain;
        border-right: none;
        position:relative;
    }

    .nav-bar .right .cart {
        padding-left: 24px;
        background: url(/images/shared/cart.svg) left center no-repeat;
        background-size: contain;
    }

        .nav-bar .right .cart .so-luong-gio-hang {
            display: inline-block;
            width: 18px;
            height: 18px;
            font-size: 12px;
            margin-left: 4px;
            line-height: 18px;
            text-align: center;
            color: #FFF;
            background: #ff4343;
            border-radius: 50%;
        }

            .nav-bar .right .cart .so-luong-gio-hang:empty {
                display: none;
            }
.ui-pnotify {
    top: 68px;
}
.cart.scroll {
    width: 36px;
    height: 36px;
    position: fixed;
    right: 34px;
    top: 12px;
    z-index:200;
    background: url(/images/shared/cart_scroll.svg) center no-repeat;
    background-size: contain;
    cursor: pointer;
}
    .cart.scroll i:not(:empty) {
        display: inline-block;
        width: 20px;
        height: 20px;
        font-size: 12px;
        font-weight: 700;
        font-style: normal;
        line-height: 20px;
        border-radius: 50%;
        text-align: center;
        background: #e8282b;
        color: #FFF;
        position: absolute;
        top: -4px;
        right: -6px;
    }
/*#endregion */
/*#region firefox scrollbar */
/* Thanh cuộn mỏng hơn */
* {
    scrollbar-width: thin !important; /* Bắt buộc, Firefox chỉ hỗ trợ 'thin' hoặc 'auto' */
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1) !important; /* Màu thumb và track */
}

    /* Tùy chỉnh thêm (tùy chọn) */
    *::-webkit-scrollbar {
        width: 5px !important; /* Độ rộng của thanh cuộn (tương thích Chrome/Safari) */
    }

    *::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.5) !important; /* Màu của thumb (tương thích Chrome/Safari) */
        border-radius: 5px !important;
    }

    *::-webkit-scrollbar-track {
        background-color: rgba(0, 0, 0, 0.1) !important; /* Màu của track (tương thích Chrome/Safari) */
    }
/*#endregion */
/*#region logined */
.overslide {
    display: inline-flex;
    max-width: 128px;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 700;
}

.tx-overslide {
    display: inline-block;
    animation: scrolltx-overslide 10s linear infinite;
}

@keyframes scrolltx-overslide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.tx-overslide.static {
    animation: none;
}
.id-page-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    top: calc(100% + 5px);
    right: -30px;
    z-index: 500;
    width: 790px;
    font-size: 14px;
    padding: 20px 30px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

    .id-page-tooltip:before {
        position: absolute;
        display: block;
        content: '';
        top: -5px;
        right: 58px;
        width: 10px;
        height: 10px;
        background: #fff;
        transform: rotate(45deg);
        transition: all .4s ease-in-out;
        border-top: solid 1px #b5b5b56b;
        border-left: solid 1px #b5b5b56b;
    }

    .id-page-tooltip [class*='col-md-'] {
        float:left;
        min-height: 130px;
        padding-left: 0;
        padding-right: 30px;
        line-height: 32px;
        text-align:left;
    }

        .id-page-tooltip [class*='col-md-']:not(:first-child) {
            border-left: solid 1px #cdcdcd;
            padding-left: 30px;
            padding-right: 0;
        }

        .id-page-tooltip [class*='col-md-'] b {
            display: block;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .id-page-tooltip [class*='col-md-'] a {
            display: block;
            padding: 0;
            font-size: 16px;
            text-decoration: none;
            border-right: none;
            color: #333;
        }

            .id-page-tooltip [class*='col-md-'] a:not(.button):hover {
                color: #484848;
                text-decoration: underline;
            }

        .id-page-tooltip [class*='col-md-'] .button {
            background: #7fca27;
            padding: 8px 10px;
            margin: 8px 0;
            font-size: 14px;
            border-radius: 5px;
            color: #FFF;
            text-align: center;
            display: block;
            line-height: initial;
        }

            .id-page-tooltip [class*='col-md-'] .button:hover {
                background: #619e19;
            }

        .id-page-tooltip [class*='col-md-'] .logout {
            background: url('/images/shared/G_logout.svg') center left no-repeat;
            display: block;
            padding-left: 30px;
            background-size: 20px 20px;
            margin-top: 20px;
        }
/*#endregion */

/*#region effect */
@keyframes logomove {
    0% {
        background: url(/images/shared/Logo-TOP-100-2023.svg) center no-repeat;
        background-size: contain;
    }

    49% {
        background: url(/images/shared/Logo-TOP-100-2023.svg) center no-repeat;
        background-size: contain;
    }

    50% {
        background: url(/images/shared/TOP_1_VIET_NAM_02.svg) center no-repeat;
        background-size: contain;
    }

    99% {
        background: url(/images/shared/TOP_1_VIET_NAM_02.svg) center no-repeat;
        background-size: contain;
    }

    100% {
        background: url(/images/shared/Logo-TOP-100-2023.svg) center no-repeat;
        background-size: contain;
    }
}
/*#endregion */

/*#region tooltip */
.re-popover {
    position: absolute;
    padding: 25px;
    color: #fff;
    font-size: 13px;
    margin-left: -132px;
    font-weight: normal;
    z-index: 2000000000;
    max-width: 440px;
    text-align: left;
    border-radius: 5px;
    background: #2D598E;
}

    .re-popover:after {
        position: absolute;
        display: block;
        content: '';
        bottom: -5px;
        left: 50%;
        width: 10px;
        height: 10px;
        margin-left: -5px;
        background: #2D598E;
        transform: rotate(-136deg);
    }

    .re-popover[data-position="bottom"]:after {
        display: none;
    }

    .re-popover[data-position="bottom"]:before {
        position: absolute;
        display: block;
        content: '';
        top: -5px;
        left: 50%;
        width: 10px;
        height: 10px;
        margin-left: -5px;
        background: #2D598E;
        transform: rotate(-136deg);
    }

    .re-popover .close {
        opacity: 1;
        border: none;
    }

        .re-popover .close:after {
            content: ' ';
            position: absolute;
            font-size: 16px;
            top: 10px;
            right: 10px;
            z-index: 100;
            background: url(/images/shared/closeGray.svg) center no-repeat;
            background-size: 15px;
            width: 15px;
            height: 15px;
            display: block;
            color: #444;
        }

            .re-popover .close:after:hover {
                background: url(/images/shared/closeWhite.svg) center no-repeat;
                background-size: 8px;
                cursor:pointer;
            }

.re-title {
    font-size: 17px;
    display: block;
    margin-bottom: 10px;
}

.re-content {
    display: inline-block;
    width: 100%;
    height: auto;
    font-size: 15px;
    line-height: 20px;
    max-height: initial;
    white-space: normal;
}

    .re-content p {
        margin-bottom: 6px;
    }

    .re-content b {
        color: #FFF !important;
    }

    .re-content p:last-child {
        margin-bottom: 0;
    }

    .re-content img {
        max-width: 99%;
    }

    .re-content a[href] {
        color: #ffffff;
        text-decoration: underline;
    }

    .re-content p:last-child {
        margin-bottom: 0;
    }

    .re-content table {
        width: 100%;
        margin: 10px 0;
        border-left: solid 1px #FFF;
        border-top: solid 1px #FFF;
    }

        .re-content table th,
        .re-content table td {
            padding: 5px;
        }

        .re-content table th {
            background: #FFF;
            color: #2D598E;
            border-right: solid 1px #2D598E;
            border-bottom: solid 1px #2D598E;
        }

        .re-content table td {
            background: #2D598E;
            color: #FFF;
            border-right: solid 1px #FFF;
            border-bottom: solid 1px #FFF;
        }
/*#endregion */

/*#region footer */
footer {
    display: block;
    float: left;
    position: relative;
    width: 100%;
    background: #363636;
    min-height: 300px;
}
    footer .hotline {
        display:block;
        float:left;
        width:100%;
        color:#FFF;
        background:#ff4343;
    }
    footer .hotline span{
        display:block;
        float:left;
        width:33.3%;
        text-align:center;
        padding:10px;
    }
    footer .hotline span a{
        color:#FFF;
        text-decoration:none;
        display:block;
        font-weight:600;
        font-size:20px;
    }
    footer .hotline span a b{
        font-size:15px;
    }
    footer .ipV6icon {
        position: absolute;
        top: -2px;
        right: 20px;
        z-index: 14;
        width: 60px;
        height: 120px;
        background: url(/images/shared/ipv6_ready_logo.png) top center no-repeat;
        background-size: 100% auto;
    }
.foot-link {
    display: block;
    float: left;
    width: 100%;
    position:relative;
}
.foot-link ul {
    list-style: none;
    padding-left:0;
    display:block;
    float:left;
    width:25%;
    padding: 30px 0;
}
    .foot-link ul li {
        line-height: 32px;
    }
        .foot-link ul li b {
            display: block;
            color: #b9b9b9;
            text-transform: uppercase;
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: 700;
        }
        .foot-link ul li:not(:first-child) b{
            margin-top:40px;
        }
        .foot-link ul a {
            text-decoration: none;
            color: #b9b9b9;
            font-size: 13px;
        }
.certificate-payment-app,
.contact-address {
    display: flex;
    width: 100%;
}
    .contact-address .small {
        display: block;
        font-size: 11px;
        color: #8b8b8b;
    }
    .certificate-payment-app .container {
        padding: 30px 0 20px;
        border-bottom: 1px solid #999;
        border-top: 1px solid #999;
    }
    .contact-address .col-3,
    .certificate-payment-app .col-3 {
        display: block;
        float: left;
        width: 33.3%;
    }
        .contact-address .col-3 strong,
        .certificate-payment-app .col-3 strong {
            display: block;
            color: #ddd;
            text-transform: uppercase;
            margin-bottom: 10px;
            font-size: 15px;
        }
        .certificate-payment-app .col-3 img {
            max-width: 70px;
            max-height: 100%;
            display: block;
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
            transform: translate(0, -50%);
        }
    .certificate-payment-app .col-3 a {
        width: 68px;
        height: 44px;
        vertical-align: middle;
        float: left;
        display: block;
        margin: 0 10px 10px 0;
        position: relative;
    }
    .certificate-payment-app .certificate,
    .certificate-payment-app .payment {
        padding-right: 120px;
    }
    .certificate-payment-app .payment a {
        width: 71px;
    }
    .certificate-payment-app .payment a img{
        max-height:32px;
    }
    .certificate-payment-app .app .qrcode {
        display: block;
        float: left;
        width: 95px;
        height: 95px;
        margin-right: 20px;
    }

        .certificate-payment-app .app .qrcode img {
            display: inline;
            transform: initial;
            margin-top: initial;
            max-width: 100%;
            background: #FFF;
        }

    .certificate-payment-app .app .subfoot {
        display: block;
        float: left;
        width: 50%;
        margin-top: 7px;
    }

        .certificate-payment-app .app .subfoot a {
            width: 100%;
            display: block;
            margin-bottom: 0;
        }

            .certificate-payment-app .app .subfoot a img {
                max-width: 80px;
                margin-right: 10px;
                display: inline;
            }
.contact-address {
    color: #b9b9b9;
    margin: 40px 0;
    font-size: 13px;
    line-height: 22px;
}
    .contact-address .col-3 {
        padding:0 15px;
        min-height:120px;
        border-right:solid 1px;
    }
    .contact-address .col-3:last-child{
        border-right: none;
    }
.view-map {
    display: block;
    color: #3C97E2;
    text-decoration: underline;
    cursor: pointer;
}

.copyright {
    display: block;
    float: left;
    width: 100%;
    background: #282828;
    font-size: 13px;
    line-height: 18px;
    color: #a5a5a5;
    padding: 30px 0;
}
    .copyright .col-2 {
        display: block;
        float: left;
        width: 50%;
    }
    .copyright .col-2:first-child{
        padding-right:50px;
    }
    .copyright .col-2 a[href]{
        color:#FFF;
    }
.doi-tac {
    display: inline-block;
    position: relative;
    width: 100%;
    border: 1px solid #696969;
    padding: 28px 0 10px 0;
    margin-top: 15px;
    border-radius: 8px;
}

.img-doi-tac {
    display: inline-block;
    width: calc(33% - 5px);
    height: 50px;
    text-align: center;
}

.img-sup-doitac {
    display: block;
    width: 110px;
    background: #282828;
    margin: 0 auto;
    margin-top: -50px;
}

    .img-doi-tac img, .img-sup-doitac img {
        width: 80px;
        height: 40px;
        display: block;
        margin: 0 auto;
    }

    .img-doi-tac .doi-tac-1, .img-sup-doitac .doi-tac-1 {
        display: block;
    }

    .img-doi-tac .doi-tac-2, .img-sup-doitac .doi-tac-2 {
        display: none;
    }

    .img-doi-tac:hover .doi-tac-1, .img-sup-doitac:hover .doi-tac-1 {
        display: none;
    }

    .img-doi-tac:hover .doi-tac-2, .img-sup-doitac:hover .doi-tac-2 {
        display: block;
    }
.copyright .social-icons {
    display: block;
    float: left;
    width: 100%;
}
.social-icons .footer-lang {
    float: right;
    margin-top:12px;
}
    .social-icons .footer-lang > span {
        padding: 4px 4px 4px 38px;
        background: url(/images/shared/icon-earth-01.svg) left center no-repeat;
        background-size:auto;
        cursor:pointer;
    }
        .social-icons .footer-lang > span::after {
            content: '▼';
            font-size: 10px;
            padding-left: 4px;
            display: inline;
        }
    .social-icons .footer-lang ul {
        display: none;
        list-style:none;
        padding:8px 0 8px 38px;
        line-height:24px;
    }
    .social-icons .footer-lang ul li{
        color:#FFF;
    }
        .social-icons .footer-lang ul li:hover {
            text-decoration: underline;
            cursor: pointer;
        }
.social-icons .icon-social {
    color: transparent;
    float: right;
    border-radius: 50%;
    margin-right: 20px;
}
.social-icons .icon-social img {
    width: 30px;
    height: 40px;
}
#result_popup_gmap {
    height: 624px;
    border-radius:8px;
}
.popup-gmap {
    display: none;
    position: fixed;
    width: 1024px;
    max-width: calc(100vw - 30px);
    height: 624px;
    max-height: calc(100vh - 30px);
    z-index: 90000000000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-gmap {
    display: none;
    position: fixed;
    background: #00000077;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 8000000;
}

.popup-gmap .close {
    width: 48px;
    height: 48px;
    position: absolute;
    top: -24px;
    right: -24px;
    opacity: 1;
    z-index: 100;
    background: url(/images/shared/Group.svg) center no-repeat, #fff;
    background-size: 100% 100%;
    border-radius: 50%;
    box-shadow: 1px 1px 2px #0000002b;
}

.popup-gmap #resultPopupGmap {
    display: block;
    width: 100%;
    height: 100%;
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 1px 2px 3px #0000002b;
}
/*#endregion */

@media (max-width:1200px) {
    .certificate-payment-app .certificate, .certificate-payment-app .payment{
        padding-right:60px;
    }
}

@media (max-width:992px) {
    /*#region header */
    .nav-bar .left .top-100,
    .nav-bar .right .language,
    .nav-bar .right .assistant,
    .nav-bar .right .help,
    .nav-bar .right .login span {
        display: none;
    }

    .nav-bar .right .login, .nav-bar .right .hello {
        padding-left: 12px;
        margin-top: 4px;
    }

    .nav-bar .right > span, .nav-bar .right > a, .nav-bar .right > .hello {
        padding-right: 0;
        margin-right: 0;
    }

    .nav-bar .left {
        float: none;
        margin: 0 auto;
        width: 130px;
    }

    .nav-bar {
        border-bottom: solid 1px #d8d8d8;
    }

    .hamburger {
        display: block;
        float: left;
        text-decoration: none;
        color: #ff4343;
        margin-right: 10px;
        padding: 12px 8px;
        font-size: 30px;
        line-height: 20px;
    }

        .hamburger:hover {
            cursor: pointer;
            color: #ff4343;
        }
    /*#endregion */
    /*#region logined */
    .id-page-tooltip{
        max-width:calc(100vw - 30px);
    }
    .id-page-tooltip [class*='col-md-']{
        padding-right:0;
    }
        .id-page-tooltip [class*='col-md-']:not(:first-child) {
            padding-left: 0;
            border-left: none;
            padding-top: 15px;
            margin-top:15px;
            border-top: solid 1px #cdcdcd;
        }
        .hello .hide-desk{
            display: none;
        }
    /*#endregion */
    /*#region footer */
    .certificate-payment-app .container {
        padding: 30px 15px 20px;
    }

    .contact-address .col-3, .certificate-payment-app .col-3, .copyright .col-2 {
        width: 100%;
    }

    footer .hotline span {
        width: 100%;
    }

        footer .hotline span:not(:first-child) {
            display: none;
        }

    .foot-link ul {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }

        .foot-link ul:not(:first-child) {
            padding-top: 0;
        }

    .contact-address .col-3 {
        border-right: none;
        min-height: auto;
        padding: 0;
        margin-bottom: 20px;
    }

    .foot-link ul {
        margin-bottom: 15px;
    }

        .foot-link ul li {
            line-height: 24px;
        }

            .foot-link ul li a {
                display: none;
            }

            .foot-link ul li:not(:first-child) b {
                margin-top: 15px;
            }

            .foot-link ul li b {
                text-transform: none;
                font-weight: 500;
                font-size: 16px;
                margin-bottom: 0;
                cursor: pointer;
            }

    .copyright .col-2:first-child,
    .certificate-payment-app .certificate, .certificate-payment-app .payment {
        padding-right: 0;
    }

    .copyright .col-2 {
        margin-bottom: 20px;
    }

    .copyright .social-icons {
        text-align: center;
    }

    .social-icons .icon-social {
        float: none;
        display: inline-block;
    }

    .social-icons .footer-lang {
        float: none;
        margin-bottom: 20px;
        margin-top: 12px;
    }

    .view-map, .certificate-payment-app .col-3 a.only-desk,
    .certificate-payment-app .col-3.only-desk {
        display: none;
    }

    .certificate-payment-app .certificate {
        margin-bottom: 15px;
    }

    .certificate-payment-app .col-3 strong + a {
        width: 85px;
    }

    .certificate-payment-app .col-3 img {
        max-width: 100%;
    }
    /*#endregion */
}

@media (max-width:768px) {
    .cart.scroll {
        right: 32px;
        top: 65px;
    }
}

@media (max-width:550px) {
    .img-doi-tac {
        width: calc(50% - 5px);
    }
    .re-popover {
        max-width: 280px;
    }
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
