html,
body {
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin: 0px;
    background-color: white;
}

* {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

#loader {
    /* position: fixed; */
    position: absolute;
    z-index: 99999 !important;
    top: 126px;
    left: 46%;
    z-index: 2;
    width: 30px;
    height: 30px;
    border: 4px solid #FFB300;
    border-radius: 50%;
    border-top: 4px solid #f3f3f3;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

li {
    list-style: none;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.column {
    float: left;
    padding: 10px;
    padding-bottom: 0px;
    cursor: pointer;
    /* min-width: 90px; */
    /* width: 16%; */
    max-width: 140px;
    margin: 1px;
    height: 50px;
    font-weight: 700;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 18px;
    background-color: wheat;
}

.column.active {
    background-color: #FFB300;
    /* -moz-box-shadow: -1px 0px 3px 3px #3c8c2c;
    -webkit-box-shadow: -1px 0px 3px 3px #3c8c2c;
    box-shadow: -1px 0px 3px 3px #3c8c2c; */
    color: white;
    font-weight: bold;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/*===================*/
.menuHeader {
    background-color: white;
    text-align: center;
    /* height: 126px; */
    padding: 10px;
    width: 100%;
    /* position: fixed; */
    top: 0;
    /* -moz-box-shadow:    -10px 3px 5px 3px #3c8c2c;
    -webkit-box-shadow: -10px 3px 5px 3px #3c8c2c;
    box-shadow:         -10px 3px 5px 3px #3c8c2c; */
    z-index: 9999;
    /* max-width: 773px; */
    display: grid;
    /* grid-auto-rows: 52px;
    
    grid-template-areas: "a a a a"; */
    /* position: fixed; */
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 3px;
}

@media (max-width: 778px) {
    .menuHeader {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 600px) {
    .menuHeader {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .menuHeader {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* .menuHeader span {
    border-left: 5px solid#ff5400;
    line-height: 35px;
    height: 35px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    padding-left: 8px;
    color: #fff;
} */

.logo-img {
    height: 36px;
}

.gold-content {
    /* margin-top: 65px; */
    text-align: center;
    padding-bottom: 5px;
    /* max-width: 778px; */
}

table {
    border-collapse: collapse;
}

table,
td {
    /* border: 1px dotted #dedede; */
}

td {
    height: 45px;
}

th {
    background-color: #FFB300;
    color: white;
    /* position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 0px;  */
    /* padding-top: 16px; */
}

tr {
    border: solid;
    border-width: 5px;
    border-right-width: 10px;
    border-left-width: 10px;
    border-color: white;
    background-color: #f6f6f6;
}

.row_colspan {
    background-color: #FFB300;
}

.row_colspan.sticky {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 90px;
}

.giaiSo {
    /* background-color: #f1f1f1; */
    padding: 6px;
}

.giaiSo a {
    text-decoration: none;
    color: gray;
}

.box_content {
    border-spacing: 0px;
    width: 100%;
}

.header_item {
    font-size: 13px !important;
    line-height: 20px !important;
    width: 20%;
    height: 34px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: center;
}

.col_item {
    font-size: 13px !important;
    line-height: 20px !important;
    width: 20%;
    height: 34px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: center;
}

.gold_item {
    width: 20%;
    line-height: 20px;
    height: 34px;
    font-size: 16px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: center;
}

.gold_item_left {
    width: 30%;
    line-height: 20px;
    min-height: 60px;
    font-size: 12px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: left;
}

.gold_item_left.title {
    height: 30px;
}

.gold_item_left div {
    padding-left: 10px;
    padding-right: 10px;
}

#err_message {
    /* max-width: 768px; */
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 5px;
}

#err_message a {
    text-decoration: none;
    color: gray;
}

.goldUp {
    padding-left: 20px;
    color: #6BDD28;
    background-image: url(/img/up.png);
    background-repeat: no-repeat;
    background-position: left;
    font-size: 12px;
}

.goldDown {
    padding-left: 20px;
    color: #ff0000;
    background-image: url(/img/down.png);
    background-repeat: no-repeat;
    background-position: left;
    font-size: 12px;
}

.box_content_top {
    border-spacing: 0px;
    width: 100%;
    position: fixed;
    background-color: white;
    top: 50px;
}

.box_content_top .giaiSo {
    padding-top: 15px;
}

/* .mdtoast {
    left: unset !important;
} */

.mdtoast.mdt--error {
    /* max-width: 768px; */
    text-align: center;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .mdtoast {
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        font-size: 14px !important;
        transform: translateY(0) !important;
        border-radius: 0px !important;
    }
}

.cur-icon {
    width: 24px;
    height: 26px;
    margin-right: 6px;
    background: url(/img/currencies.png) 0 0;
    vertical-align: middle;
    display: inline-block;
}

.ci-usd {
    background-position: -0 -576px;
}

.ci-eur {
    background-position: -0 -120px;
}

.ci-aud {
    background-position: 0 0;
}

.ci-cad {
    background-position: -0 -24px;
}

.ci-chf {
    background-position: -0 -48px;
}

.ci-cny {
    background-position: -0 -72px;
}

.ci-dkk {
    background-position: -0 -96px;
}

.ci-gbp {
    background-position: -0 -144px;
}

.ci-hkd {
    background-position: -0 -168px;
}

.ci-inr {
    background-position: -0 -192px;
}

.ci-jpy {
    background-position: -0 -216px;
}

.ci-krw {
    background-position: -0 -264px;
}

.ci-kwd {
    background-position: -0 -288px;
}

.ci-myr {
    background-position: -0 -336px;
}

.ci-nok {
    background-position: -0 -360px;
}

.ci-rub {
    background-position: -0 -432px;
}

.ci-sar {
    background-position: -0 -456px;
}

.ci-sek {
    background-position: -0 -480px;
}

.ci-sgd {
    background-position: -0 -504px;
}

.ci-thb {
    background-position: -0 -528px;
}

.bak-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: url(/img/bankic.png) 0 0;
    background-size: 112px;
    vertical-align: middle;
    display: inline-block;
}

.bi-vietcombank {
    background-position: -96px -16px;
}

.bi-vietinbank {
    background-position: -96px -32px;
}

.bi-sacombank {
    background-position: -80px -0;
}

.bi-techcombank {
    background-position: -0 -80px;
}

.bi-acb {
    background-position: 0px -16px;
}

.bi-agribank {
    background-position: -16px -16px;
}

.bi-eximbank {
    background-position: -32px -32px;
}

.bi-bidv {
    background-position: -32px -16px;
}

.bi-vib {
    background-position: -48px -80px;
}

.bankTitle {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 778px; */
    /* margin-top: 175px; */
}

.afterTop {
    margin-top: 120px;
}


@media screen and (min-width: 756px) {
    .afterTop {
        margin-top: 70px;
    }
}

.donvi {
    float: right;
    margin-right: 15px;
    color: red;
    font-weight: 600;
    font-style: italic;
    font-size: 12px;
}

.rate-content {
    /* max-width: 778px; */
}

.bankName {
    /* line-height: 38px; */
}

.navbar {
    overflow: hidden;
    background-color: #f1f1f1;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none;
    box-shadow: 0px 0px 5px 12px #ffffff;
    -moz-box-shadow: 0px 0px 5px 12px #ffffff;
    -webkit-box-shadow: 0px 0px 5px 12px #ffffff;
}

.navbar a {
    float: left;
    display: block;
    color: #2e2e2e;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    flex-grow: 1;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 700;
    font-family: roboto, sans-serif;
}

.navbar a.active {
    background-color: #FFB300;
    color: #ffffff;
    font-weight: bold;
}

.pad-nav {
    display: none;
    padding-bottom: 20px;
}

.gia-ngoai-te {
    /* max-width: 778px; */
    text-align: center;
    padding-bottom: 5px;
    border-spacing: 0px;
    width: 100%;
    margin-top: 5px;
}

.gia-ngoai-te-tu-do-body {}

.gia-ngoai-te .clblueth {
    font-size: 13px !important;
    line-height: 20px !important;
    width: 30%;
    height: 34px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: left;
    padding-left: 10px;
}

.gia-ngoai-te .priceth {
    font-size: 13px !important;
    line-height: 20px !important;
    width: 20%;
    height: 34px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: left;
}

.gia-ngoai-te .clblue {
    width: 30%;
    line-height: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: left;
    padding-left: 10px;
}

.gia-ngoai-te .price {
    width: 20%;
    line-height: 20px;
    height: 34px;
    font-size: 16px;
    font-weight: 700;
    font-family: roboto, sans-serif;
    text-align: left;
}

.gia-ngoai-te .price.price-up {
    color: #1fbb00;
}

.gia-ngoai-te .price.price-down {
    color: #ff0000;
}

.flex-flag {
    display: flex;
    align-items: center;
    min-width: 100px;
    /* gap: 4px; */
}

.tab-container {
    max-width: 1280px;
    width: 100%;
}

.tab-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #ccc;
    width: 100%;
    /* max-width: 758px; */
    padding-left: 10px;
    padding-right: 10px;
}

.tab-btn {
    padding: 10px 20px;
    cursor: pointer;
    /* border: 1px solid #ccc; */
    border-bottom: none;
    /* background: #eee; */
    /* margin: 0 4px; */
    min-width: 120px;
    text-align: center;
    color: #1b1b1b;
}

.tab-btn.active {
    background: #FFB300;
    font-weight: bold;
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.tab-content {
    display: none;
    /* padding: 15px; */
    /* border: 1px solid #ccc; */
}

.tab-content.active {
    display: block;
}

/* Them moi cho ads */
.wrap-header .container {
    max-width: 1280px;
    margin: 0 auto;
    /* padding: 0 16px; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.page-container {
    max-width: 1280px;
    margin: 0 auto;
    /* padding: 0 16px; */
}

.main-content {
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.left-content {
    flex: 0 1 1280px;
    max-width: 1280px;
    margin-top: 10px;
}

.right-content {
    flex: 1;
    margin-top: 100px;
}

/* Nếu tổng chiều rộng nhỏ hơn 1080px, thì phần còn lại sẽ < 300px => ẩn .right */
@media (max-width: 1079px) {
    .right-content {
        display: none;
    }
}