﻿:root {
    --bg-blue: #bd1723;
    --bg-blue-light: #d84a55;
    --bg-blue-weight: #8f111b;
    --padding-res: 0 16px;
    --color-primary: #bd1723;
}

* {
    font-family: "Merriweather", "Roboto", sans-serif;
}

.layout-grid .wrapper {
    background: #ffffff;
}

    .layout-grid .wrapper .container {
        margin: 0 auto;
        display: flex;
        padding: 0;
        max-width: 1200px;
    }

        .layout-grid .wrapper .container > div {
            height: fit-content;
        }

            .layout-grid .wrapper .container > div:first-child {
                width: 27%;
                text-align: left;
            }

            .layout-grid .wrapper .container > div:nth-child(2) {
                flex: 1;
            }

            .layout-grid .wrapper .container > div:nth-child(3) {
                width: 22%;
            }

div#Content-container-fluid:has(.ArticleMedia) {
    background: #EEF2F8;
}

body {
    margin: 0 auto;
    padding: 0;
    /* background: url(images/bg-trongdong.png) top fixed; */
    background-repeat: no-repeat;
    background-size: contain;
    /* background-color: #A90D11; */
    /*! overflow-y: auto; */
}

a {
    color: #212529;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.4;
}

img {
    border: medium none;
    max-width: 100%;
}

.UIIsOnHomeNew_Default img {
    max-height: 320px;
}

figure.image-wrapper {
    overflow: hidden;
    display: inline-block;
    margin: 0;
}

.MainStructure .TopBanner {
    border-top: 3px solid #bd1723;
    margin: 0 auto;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.MainStructure .TopBar {
    display: inline-block;
    text-align: justify;
    width: 100%;
}

.MainStructure .ContentBanner {
    /* display: flex; */
    /* position: relative; */
    width: 100%;
    z-index: 1;
    justify-content: center;
    background-size: 100%;
    flex-wrap: wrap;
}

.MainStructure .MainContent {
    /* background: #fff none repeat scroll 0 0; */
    display: table;
    margin: 0 auto;
    padding: 10px;
    vertical-align: top;
    width: 1200px;
}

.MainStructure .LeftBar {
    /*! padding: 20px 10px 10px 0px; */
    text-align: justify;
    vertical-align: top;
}

.MainStructure .ContentBar {
    /*! padding: 20px; */
    text-align: justify;
    vertical-align: top;
    /*! padding-left: 10px; */
    /*! padding-right: 0; */
    /*! padding-bottom: 10px; */
    width: 300px;
}

.MainStructure .FooterBanner {
    width: 100%;
    padding: 0;
    text-align: center;
    font-size: 15px;
    line-height: 22px;
    display: flex;
    justify-content: center;
    border-top: 3px solid #bd1723;
}

.FooterBanner {
}

.MainStructure .FooterBar {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

    .MainStructure .FooterBar::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url(images/bg-footer.png) no-repeat center center;
        opacity: 0.15; /* chỉnh độ mờ tại đây */
        z-index: 0;
    }

    .MainStructure .FooterBar > * {
        position: relative;
        z-index: 1;
    }

.no-img img {
    text-indent: -9999px;
    background: #bd17234a;
}

::-webkit-scrollbar {
    width: 3px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #CCCCCC;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #6c757d59;
}

td#ContentBar1 {
    padding: 0;
}

table > tbody > tr.row-5-col {
    display: table;
}

.row-5-col {
    width: 100%;
    padding: 20px 0;
}

.col-2-left-300 {
    /* margin: 20px 0; */
}

.row-5-col td:nth-of-type(even) {
    margin: 0 20px;
    width: 1px;
    background: rgba(242, 242, 242, 1);
    display: block;
    min-height: 650px;
}

.row-5-col td:nth-of-type(odd) {
    width: 366px;
    padding: 20px 0;
}

@media only screen and (min-width: 1024px) and (max-width: 1190px) {
    .MainStructure .LeftBar {
        max-width: calc(100vw - 300px);
    }

    .MainStructure .ContentBar > table > tbody > tr > td:nth-child(1) {
        max-width: calc(100vw - 300px);
    }
}

@media only screen and (min-width: 769px) and (max-width: 1179px) {
    .MainStructure .ContentBar .tr-col3 {
        width: 100vw;
        display: flex;
    }

        .MainStructure .ContentBar .tr-col3 > td:nth-child(1) {
            /* width: 20vw !important; */
        }

        .MainStructure .ContentBar .tr-col3 > td:nth-child(2) {
            width: 60vw !important;
            display: inline-block;
        }
}

@media only screen and (max-width: 1023px) {
    div.MainStructure .fixed {
        padding-top: 10px !important;
    }

    .MainStructure .MainContent {
        width: 100%;
        max-width: 100%;
        min-height: 0px !important;
    }
}

@media only screen and (max-width: 768px) {
    html {
        scrollbar-width: none;
    }

        html::-webkit-scrollbar {
            display: none;
        }

    .MainStructure .LeftBar, .MainStructure .ContentBar {
        padding: 0 !important;
        margin: 0;
    }

    .col-2-left-300 {
        margin: 0;
    }

    .row-5-col {
        padding: 0;
    }

    .ContentBar .row-5-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: 20px 0;
    }

    div.MainStructure .LeftBar {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100vw;
    }

    .ContentBar .row-5-col td:nth-of-type(even) {
        display: none;
    }

    .bottom-tool {
        display: none !important;
    }

    .row-5-col td:nth-of-type(odd) {
        padding: 0;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1179px) {
    table > tbody > tr.row-5-col {
        display: flex;
        max-width: 100vw;
        padding: var(--padding-res);
    }

    tr.tr-layout {
        width: 100vw;
    }

        tr.tr-layout > td {
            max-width: 100vw !important;
            /* display: block; */
        }

    .MainStructure .MainContent {
        max-width: 100vw;
    }

    .row-5-col td:nth-of-type(even) {
        margin: 0 10px;
    }

    .layout.layout-2-col.layout21 {
        max-width: 100vw;
    }

    div.MainStructure .fixed {
        padding-top: 10px !important;
    }

    .MainStructure .MainContent {
        width: 100%;
        max-width: 100%;
        /* display: flex; */
        /* flex-direction: column; */
        min-height: 0 !important;
    }

    .MainStructure .layout-1-flex, .MainStructure .layout-1-flex .zone, .MainStructure .TopBanner,
    .MainStructure .MainContent, .MainStructure .layout-2col > tbody > tr {
        width: 100vw;
    }

    .MainStructure .TopBar .layout-1-flex {
        right: 10px;
        left: unset;
    }

    .MainStructure .layout-2col > tbody > tr > td.col1 {
        width: 160px;
    }

    .MainStructure .layout-2col > tbody > tr > td.col2 {
        width: calc(100% - 160px);
        flex: none;
    }

    .row-5-col > td {
        /* max-width: 335px !important; */
    }

    .tr-col3 {
        display: flex;
        gap: 20px;
    }

        .tr-col3 > td[style*="870px"] {
            width: calc(75% - 20px) !important;
            flex-shrink: 0;
        }

        .tr-col3 > td[style*="33%"] {
            width: 33% !important;
        }

            .tr-col3 > td[style*="33%"] ~ td:nth-child(3) {
                width: calc(100% - 33% - 20px) !important;
            }

        .tr-col3 > td[style*="420px"], .tr-col3 > td[style*="420px"] ~ td:nth-child(3),
        .tr-col3 > td[style*="430px"], .tr-col3 > td[style*="430px"] ~ td:nth-child(3) {
            width: calc((100% - 20px) / 2) !important;
        }

        .tr-col3 > td:nth-child(2) {
            display: none;
        }

        .tr-col3 > td:nth-child(3) {
            width: 25% !important;
        }

    .MainStructure .row-5-col > td:nth-of-type(odd):not(td:last-child) {
        width: calc((100% - 290px) / 2) !important;
        overflow: clip;
    }

    .MainStructure .row-5-col > td:nth-of-type(even) {
        width: 20px;
    }

    .MainStructure .row-5-col > td:last-child {
        width: 250px;
    }

    .MainStructure .ContentBar .tr-end-300 {
        /* width: 66% !important; */
        max-width: 100vw;
        padding: 0 10px;
    }

        .MainStructure .ContentBar .tr-end-300 > td:first-child {
            width: 77% !important;
            flex-shrink: 0;
        }

        .MainStructure .ContentBar .tr-end-300 > td:nth-child(2) {
            flex: 1;
        }

    .layout.layout-2-col {
        grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
        padding: 0 10px;
        max-width: 100vw;
    }

    tr.tr-layout > td {
        padding: 0 10px;
    }
}
