:root {
    --green: rgb(11, 223, 57);
    --white: rgb(214, 214, 214);
    --yellow: rgb(253, 255, 18);
    --cyan: rgb(82, 211, 249);
    --magenta: rgb(253, 2, 253);
    --red: rgb(255, 0, 23);

    /* Flash colors when price changes */
    --color-light-flash-up: #01a77a;
    --color-light-flash-down: #c0002e;
    --color-light-flash-ceil: #fd02fd;
    --color-light-flash-floor: #0030cc;
    --color-light-flash-ref: #d69000;
    --color-light-flash-stable: #afafaf;
}

body {
    overflow: hidden;
    box-sizing: border-box;
    background-color: rgb(32, 29, 48);
}

.white {
    color: var(--white);
}

.green {
    color: var(--green);
}

.yellow {
    color: var(--yellow);
}

.cyan {
    color: var(--cyan);
}

.magenta {
    color: var(--magenta);
}

.red {
    color: var(--red);
}

/* Flash animations when price changes */
.flash {
    color: var(--white);
    animation: flash-animation 0.5s ease-out;
}

@keyframes flash-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 1;
    }
}

/* Flash background colors based on price movement */
.flash-up {
    background-color: var(--color-light-flash-up) !important;
}

.flash-down {
    background-color: var(--color-light-flash-down) !important;
}

.flash-ceil {
    background-color: var(--color-light-flash-ceil) !important;
}

.flash-floor {
    background-color: var(--color-light-flash-floor) !important;
}

.flash-ref {
    background-color: var(--color-light-flash-ref) !important;
}

.flash-stable {
    background-color: var(--color-light-flash-stable) !important;
}

.dothi-ptkt,
.hoso,
.thanhkhoan {
    width: 100%;
    height: 70vh;
}

#treeMap {
    width: 70%;
    height: 25vw;
    margin-left: 16%;
    padding: 0;
}

.scroll {
    margin: 4px, 4px;
    padding: 4px;
    background-color: #08c708;
    width: 300px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.menu {
    position: fixed;
    display: none;
}

.menutab {
    background-color: rgb(20, 16, 29);
    color: rgb(159, 169, 186);
    width: 100%;
    font-size: 13px;

}

.menutab:hover {
    color: rgb(255, 255, 255);
    border-top: 2px solid rgb(227, 228, 231);
}

.menu .tooltiptext {
    border-radius: 10%;
    visibility: hidden;
    width: 120px;
    background-color: #222;
    color: #fff;
    text-align: center;
    border: 1px solid white;
    padding: 5px 0;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    right: -138px;
}

.menu ul li:hover .tooltiptext {
    visibility: visible;
}

svg.bi.bi-pie-chart:hover,
.triggered,
svg.bi.bi-bar-chart-steps:hover,
svg.bi.bi-graph-up:hover,
svg.bi.bi-bar-chart:hover,
svg.bi.bi-diagram-3:hover,
svg.bi.bi-file-earmark-bar-graph:hover {
    fill: #f7941d;
}

#topmarket {
    display: none;
}

.menu ul li {
    cursor: pointer;
    margin: 15px -11px;
    border-radius: 3px;

    list-style-type: none;

}

#top-tables-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#top-tables-wrapper .top-table {
    padding: 14px 7px;
    color: #fff;
}

.top-table-wrp {
    border: 2px solid #444;
    border-radius: 5px;
    background: #020210;
    padding: 10px;
    width: 19%;
    margin-top: 10px;
    margin-left: 13px;
    height: 500px;
}

.top-table-wrp .table-title.table-top-stock .index-selector {
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    border-radius: 3px;
    outline: none;
    color: #efefef;
}

.treemap-selector-wrp {
    display: none;
}

.treemap-selector,
.treemap-selector2 {
    background: #020210;
    color: #efefef;
    transform: scale(0.8);
}

#tieuchi {
    margin-left: 33%
}

#nganhnghe {
    margin-left: 10px
}

.top-table-wrp .table-title.table-top-stock .index-selector option,
.treemap-selector option,
.treemap-selector2 option {
    background: #020210;
    margin: 15px;
}

.top-table-wrp .table-title.table-top-stock {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.top-table-wrp .table-title {
    margin: 15px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.top-table-wrp .top-stocks-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#top-tables-wrapper table.top-table-content {
    margin: 0 auto;
}

table#topbuy.top-table-content {
    margin-top: 36px;
}

table#topSell.top-table-content {
    margin-top: 36px;
}

#top-tables-wrapper table.top-table-content tr {
    background-color: #14101d;
}

#top-tables-wrapper table.top-table-content td,
#top-tables-wrapper table.top-table-content th {
    border: 1px solid rgb(44, 41, 53);
    padding: 4px;
    font-size: 13px;
}

.top-table-wrp .top-stocks-nav .top-stocks-nav-item {
    color: #a0a0a0;
    font-size: 10px;
}

.top-table-wrp .top-stocks-nav .top-stocks-nav-item:active {
    text-decoration: underline;

}

.txtr {
    text-align: right !important;
}

.txtc {
    text-align: center !important;
}

.tab {
    display: flex;
    /* overflow: hidden; */
    background-color: #292737;
    border-top: 1px solid rgb(61 57 80);
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #42465b;
    border-top: none;
}

.tab button {
    border: none;
    background-color: #292737;
    color: rgb(159, 169, 186);
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    height: 32px;
}

.editBtn,
.undoBtn,
.deleteBtn {
    background-color: #3d3950 !important;
    position: absolute;
    height: 30px !important;
}

.editBtn {
    right: 0px;
}

.deleteBtn {
    right: 20px;
}

.undoBtn {
    right: 40px;
}

.watchList {
    display: flex;
    height: 30px;
    width: fit-content;
}

.actived,
.tablinks:active,
.tablinks:hover {
    color: rgb(255, 255, 255) !important;
    border-top: 2px solid rgb(227, 228, 231) !important;
}

::-webkit-scrollbar-track {
    background-color: #3d4054 !important;
}

::-webkit-scrollbar {
    width: 0px;
    background-color: #242424;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, #aaa), color-stop(0.72, #aaa), color-stop(0.86, #aaa));
    display: none;
}

.hide {
    display: none;
}

.form-popup {
    display: none;
    position: fixed;
    left: 100px;
    border: 3px solid #f1f1f1;
    z-index: 9;
    background-color: white;
}

.btn-add-secondary {
    width: 30px;
    border-radius: 6px !important;
    margin-left: 3px;
}

.blocker {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: ' ';
    background: rgba(0, 0, 0, 0);
}

th {
    background-color: #1c1a29;
    color: white;
    font-weight: lighter;
    font-size: 10px;
    text-align: center;
    border: 1px solid rgb(44, 41, 53);
}

tr td:nth-child(1) {
    width: 60px;
    height: fit-content;
}

.btn-close {
    width: 5px;
    margin-left: 25px;
    background: transparent;
    border: none;
    padding: inherit;
}

.switchBtn {
    width: 0px;
    background: transparent;
    border: none;
    padding: unset;
}

svg.bi.bi-caret-right-fill {
    position: relative;
    left: 5px;
}

svg.bi.bi-caret-left-fill {
    position: relative;
    right: 20px;
}

svg.bi.bi-caret-right-fill {
    position: relative;
    left: 5px;
}

svg.bi.bi-caret-left-fill {
    position: relative;
    right: 20px;
}

#tblLiveboard td {
    font-family: Roboto, sans-serif;
    padding: 0.05rem !important;
    border: 1px solid rgb(44, 41, 53);
    border-top: none !important;
}

#tblThoaThuan td {
    padding: 0.25rem !important;
    background-color: rgb(32, 29, 48);
}

#tblThoaThuan td:nth-child(5),
#tblThoaThuan td:nth-child(6),
#tblThoaThuan td:nth-child(7),
#tblThoaThuan td:nth-child(8),
#tblThoaThuan td:nth-child(9) {
    border: 1px solid rgb(44, 41, 53);
    border-top: none !important;
}

#tblThoaThuan .even td:nth-child(5),
#tblThoaThuan .even td:nth-child(6),
#tblThoaThuan .even td:nth-child(7),
#tblThoaThuan .even td:nth-child(8),
#tblThoaThuan .even td:nth-child(9) {
    background-color: rgba(23, 18, 37, 1);
}

td p {
    height: 20px;
    padding-right: 0.4rem;
    text-align: right;
    margin-bottom: 0px;
    font-size: 12px;
}

td:nth-child(1) p {
    text-align: left !important;
}

table .sorting_1 {
    line-height: 12px;
}

#tblLiveboard tr:hover>td {
    background-color: #353641 !important;
    transition-duration: .3s;
}


#tblLiveboard tr:hover>td:nth-child(1) {
    border-left: 1px solid white;
}

#tblLiveboard td:nth-child(11),
#tblLiveboard td:nth-child(12),
#tblLiveboard td:nth-child(13),
#tblLiveboard td:nth-child(14),
#tblLiveboard td:nth-child(2),
#tblLiveboard td:nth-child(3),
#tblLiveboard td:nth-child(4),
#tblLiveboard td:nth-child(21),
#tblLiveboard td:nth-child(22) {
    background-color: rgba(32, 29, 48, 1);
}


.colorbox {
    width: 2000px;
    height: 10px;
    background-color: rgba(32, 29, 49, 1);
}

#tkContainer {
    margin-left: 11%;
}

.chartwraper .highcharts-navigator-xaxis,
.chartwraper .highcharts-navigator,
.chartwraper .highcharts-scrollbar,
.chartwraper .highcharts-credits,
.chartwraper .highcharts-axis-labels,
.chartwraper .highcharts-yaxis-labels,
.highcharts-contextbutton,
.chartwraper .highcharts-range-label,
.chartwraper .highcharts-range-selector-buttons,
.chartwraper .highcharts-navigator-series,
.chartwraper .highcharts-range-input text {
    display: none;
}

#tkSpan {
    display: none;
    color: #c1c1c1;
    margin-left: 17%;
}

.holder {
    background-color: rgb(2, 2, 16);
    width: 460px;
    overflow: hidden;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    height: 200px;
}

.dashboard {
    background-color: green;
    width: 600px;
    height: 350px;
    border: 3px solid black;
    overflow: hidden;
    border-radius: 15px;
    margin: 0px auto;
}

#ticker01 {
    height: 400px;
    overflow-y: scroll;
}

.holder .mask {
    position: relative;
    left: 0px;
    top: 10px;
    overflow: hidden;
    height: 200px;
}

.holder ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

#showSideTab {
    display: none;
}

.holder ul li {
    padding: 10px 0px;
}

.holder ul li a {
    color: #c1c1c1;
    text-decoration: none;
}

.holder ul li b {
    color: rgb(11, 223, 57);
    text-decoration: none;
    font-weight: normal;
    margin-right: 5px;
}

#wrapper.current {
    overflow: auto;
    max-height: 100vh;
}

#wrapper1 {
    width: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdownlist {
    display: none;
    position: absolute;
    background-color: #3d3950;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border: 2px solid rgb(44, 41, 53);
}

/* Links inside the dropdown */
.dropdownlist a {
    color: rgb(159, 169, 186);
    padding: 5px 10px;
    text-decoration: none;
    display: block;
    font-size: 12px;
}

/* Change color of dropdown links on hover */
.dropdownlist a:hover {
    color: white;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdownlist {
    display: block;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-close:focus {
    outline: none;
    box-shadow: none;
}

#groupInput,
#textInput {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
}

#textInput {
    width: 100px;
}

#tblLiveboard_wrapper tr.odd,
#tblLiveboard_wrapper tr.odd td.sorting_1 {
    height: 24px;
    background-color: rgba(5, 4, 15, 1);

}

#tblLiveboard_wrapper tr.even,
#tblLiveboard_wrapper tr.even td.sorting_1 {
    height: 24px;
    background-color: rgb(15, 14, 31);

}

#tblLiveboard tr.hovered>td {

    background-color: #cacccd !important;
    transition-duration: .3s;

}

#tblLiveboard tr.darkhovered>td {

    background-color: #353641 !important;
    transition-duration: .3s;

}

.treeMapFloor ul,
.tkFloor ul {
    text-align: center;
    margin: 10px;
    padding: 0;
}

.treeMapFloor ul li,
.tkFloor ul li {
    display: inline-block;
    color: #eee;
    line-height: 30px;
}

.treeMapFloor ul li button,
.tkFloor ul li button {
    cursor: pointer;
    border-bottom: 3px solid hsla(0, 0%, 100%, 0);
    border-width: 0 0 3px;
    background: transparent;
    color: #ccc;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    -moz-transition: color .1s, border-color .2s;
    -webkit-transition: color .1s, border-color .2s;
    transition: color .1s, border-color .2s;
    text-align: center;
    position: relative;
    outline: none;
}

.treeMapFloor ul li button.active,
.tkFloor ul li button.active {
    border-bottom: 3px solid #f7941d;
    color: #f7941d;
}

#top-tables-wrapper>div.top-table-wrp.table-industries>div.top-stocks-nav>button:hover {
    text-decoration: underline;
    color: white
}

#gainerslosers,
#topmarket {
    display: none;
    width: 70vw;
    height: 25vw;
    margin: 0;
    padding: 0;
    margin-top: 2vw;
    margin-left: 14vw;
}

.dltlnote {
    color: #999;
    font-style: italic;
    font-size: 11px;
    font-weight: normal;
    padding: 10px 0;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none !important;
}

.dataTables_empty {
    color: white;
}

#treeMapForeign {
    width: 80%;
    height: 25vw;
    margin-left: 10%;
    padding: 0;
}

#redCircle {
    width: 10px;
    height: 10px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    background: #bc3a36;
    margin-right: 10px;
    margin-top: 7px;
}

#greenCircle {
    width: 10px;
    height: 10px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    background: #5ab55c;
    margin-right: 10px;
    margin-top: 7px;
}

#topUp {
    display: none;
    position: absolute;
    right: 55vw;
}

#topDown {
    display: none;
    position: absolute;
    right: 35vw;
}

span#topU,
span#topD {
    padding-left: 7px;
}

marquee {
    height: 25px;
    right: 271px;
    overflow: hidden;
    position: absolute;
    background: #1c1a29;
    color: #c1c1c1;
    width: calc(75% - 80px);
    font-size: 13px;
}

@media (min-width: 1200px) {

    .h1,
    h1 {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 992px) {
    .lbHeader h1 {
        font-size: smaller !important;
    }

    .dataTables_scroll {
        overflow: auto;
        position: relative;
    }

    .dataTables_scrollHead {
        overflow: unset !important;
        position: sticky !important;
        position: -webkit-sticky !important;
        z-index: 1;
        top: -1px;
    }

    .dataTables_scrollBody {
        overflow: unset !important;
    }

    html {
        height: 100%;
        overflow: scroll;
    }

    .top-table-wrp {
        width: 94vw;
    }

    tr td:nth-child(1) {
        width: auto;
        height: fit-content;
    }

    .highcharts-title {
        font-size: small !important;
    }

    #topmarket {
        width: auto;
        height: auto;
    }

    #topUp {
        top: 203vw;
        right: 17vw;
    }

    #topDown {
        right: 15vw;
    }

    .treemap-selector-wrp {
        scale: .7;
    }

    #tieuchi {
        margin-left: 23%;
    }

    #nganhnghe {
        margin-left: 58px;
    }

    .tooltiptext {
        display: none;
    }

    #tkContainer {
        overflow: scroll !important;
    }

    #tkSpan {
        font-size: small;
        margin-top: 13px !important;
        margin-left: 22% !important;
    }

    #gainerslosers {
        height: 100vw !important;
        margin-left: 11vw !important;
        width: 80vw !important;
    }

    .anychart-credits-logo,
    .anychart-credits-text {
        display: none;
    }

    #treeMap {
        width: 70vw !important;
        height: 117vw !important;
    }

    marquee {
        display: none;
    }

    #logo .time span {
        font-size: 16px;
    }

    #logo .time {
        width: 233px;
    }
}

.highcharts-title {
    fill: #c1c1c1 !important;
}

.lightscrollbar ::-webkit-scrollbar-track {
    background-color: #ddd !important
}

#option-body {
    background-color: rgb(28 26 41) !important;
    width: 400px;
    height: 550px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: -12vw;
}

#optionTab {
    border: none;
}

#option-tab {
    background-color: transparent;
    border: none;
    color: #c1c1c1;
}

.w-1\/3 {
    width: 33.333333%;
}

.mb-1 {
    margin-bottom: .5rem !important;
}

.space-x-2>:not([hidden])~:not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem*var(--tw-space-x-reverse));
    margin-left: calc(0.5rem*(1 - var(--tw-space-x-reverse)));
}

.bg-crimson {
    background-color: #d32f2f !important;
}

.button-control {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    padding-left: 0.75rem;
    background-color: #363645;
    color: #ffff;
    min-width: 5rem;

}

ul {
    list-style-type: none;
}

.text-13 {
    font-size: .813rem;
    line-height: .875rem;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.flex-col-reverse {
    flex-direction: column-reverse;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.pl-6 {
    padding-left: 1.5rem;
}

.justify-center {
    justify-content: center;
}