/*
 * Css for kqxs shortcode cho UX Builder
 * Author xosolite.com
*/

@charset "UTF-8";

/*!
 * Bootstrap  v5.3.2 (https://getbootstrap.com/)
 * Copyright 2011-2023 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.red{
    color: #D00 !important;
}

.bold{
    font-weight: bold;
}

.sep {
    width: 22px;
    text-align: center;
    display: inline-block;
    color: #212529;
}

.text-center{
    text-align: center;
}

body{
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.875rem;
}

table td, table th {
    padding: 7px 5px;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

table tr:first-child > td, table tr:first-child th {
    border-top: 1px solid #dee2e6;
}

table td:first-child, table th:first-child {
    padding-left: 5px;
    border-left: 1px solid #dee2e6;
}

table td:last-child, table th:last-child {
    padding-right: 5px;
}

table td:last-child, table th:last-child {
    padding-right: 5px;
}


.horizontal-scroll{
    overflow-x: auto;
}

.text-center{
    text-align: center;
}

.text-bold{
    font-weight: bold;
}

.kqxs-tt {
    background-color: #fff;
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.375rem;
    margin-bottom: 1.3rem;
}

.kqxs-tt .kqxs__header {
    background: url(../images/bg-kqxs-header.svg) center right no-repeat #fff0c1;
    background-size: contain;
    padding: 15px;
    text-align: left;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.kqxs-tt .kqxs__header .kqxs__title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.kqxs-tt .kqxs__header .kqxs__title a {
    color: #D00;
}

.kqxs-tt .kqxs__breadcrumb {
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
}

.kqxs-tt h2.kqxs__breadcrumb {
    font-weight: 500;
    text-transform: uppercase;
}

.kqxs-tt .kqxs__breadcrumb a {
    text-decoration: underline;
}

.kqxs-tt .kqxs__breadcrumb .sep {
    width: 22px;
    text-align: center;
    display: inline-block;
    color: #212529;
}

.kqxs-tt .kqxs__body {
    padding: 1rem;
}

.kqxs-tt .kq-table {
    text-align: right;
    background-color: #fff;
    margin-bottom: 0;
}

.kqxs-tt .kq-table.xsmb,
.kqxs-tt .kq-table.tinh {
    text-align: center;
}

.kqxs-tt .kq-table thead {
    background-color: #F0F4FF !important;
    font-size: 1.1rem;
    top: 49px !important;
    z-index: 1019;
}
.kqxs-tt .kq-table.tinh thead {
    font-size: 1.2rem;
}


.kqxs-tt .kq-table tr th:first-child,
.kqxs-tt .kq-table tr td:first-child {
    text-align: center;
    white-space: nowrap;
    width: 100px;
}
.kqxs-tt .kq-table tr:nth-of-type(even) td {
    background-color: #fafafa;
}

.kqxs-tt .kq-table:not(.xsmb) th,
.kqxs-tt .kq-table:not(.xsmb) td{
   text-align: center; 
   text-transform: none;
   font-weight: 400;
}

.kqxs-tt .kq-table.max3d td,
.kqxs-tt .kq-table.max3d th {
    border: 1px solid #ddd;
}

.kqxs-tt .kq-table .ky-hieu-db th{
    text-transform: none;
    font-weight: normal;
    color: #232323;
    font-size: 1.1em;
}

.kqxs-tt .kq-table .number {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: Arial;
    line-height: 1.4;
    color: #444;
    width: 95%;
}

.kqxs-tt .xsmb .number{
    text-align: center;
}

.kqxs-tt .xsmb .giai-2 span.number{
    width: 48%;
}

.kqxs-tt .xsmb .giai-2 span.number{
    width: 48%;
}

.kqxs-tt .kq-table .number.loading {
    color: blue;
}

.kqxs-tt .kq-table.province-1:not(.kqxsmb,.xsmb) .giai-so{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.kqxs-tt .kq-table.province-1:not(.kqxsmb,.xsmb) .giai-4 .number,
.kqxs-tt .kq-table.province-1:not(.kqxsmb,.xsmb) .giai-6 .number{
    width: 31%;
}

.kqxs-tt .kq-table.province-1:not(.kqxsmb,.xsmb) .giai-3 .number{
    width: 48%;
}


/*.kqxs-tt .kq-table.xsmb .number,
.kqxs-tt .kq-table.tinh .number {
    font-size: 2rem;
}
*/
.kqxs-tt .kq-table .number.big {
    font-size: 1.8rem;
    color: #D00;
}

.kqxs-tt .xsmb .giai-2 .number {
    width: 48%;
}

.kqxs-tt .xsmb .giai-3 .number,
.kqxs-tt .xsmb .giai-6 .number,
.kqxs-tt .xsmb .giai-5 .number{
    width: 31%;
}

.kqxs-tt .xsmb .giai-4 .number,
.kqxs-tt .xsmb .giai-7 .number{
    width: 24%;
}

.kqxs-tt .kq-table .winner-code {
    font-size: 1.1rem;
}

.kqxs-tt .kq-table .number .highlight {
    background: #ff9800;
    background: radial-gradient(circle at 5px 5px, #ffeb3b, #ff9800);
    color: #000;
    border-radius: 50%;
    box-shadow: 3px 3px 10px -2px rgb(0 0 0 / 40%);
    display: inline-block;
}

.kqxs-tt .kq-table a {
    text-decoration: underline;
}

.kqxs-tt  .kqxs__highlight {
    background-color: #E9ECEF;
    text-align: center;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kqxs-tt  .kqxs__highlight .js-config-view {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
}

.kqxs-tt  .kqxs__highlight .js-config-view label,
.kqxs-tt  .kqxs__highlight .js-config-view input{
    margin: 0;
    font-weight: normal;
}

.kqxs-tt  .kqxs__highlight .js-config-view label{
    display: flex;
    align-items: center;
    margin: 0;
    gap: 5px;
}

.kqxs-tt .highlight.pills {
    display: flex;
    justify-content: center;
    gap: 3.75px;
}

.kqxs-tt .highlight .pill {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ced4da;
    color: rgb(33 37 41);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 auto;
}

.kqxs-tt  .highlight .pill.active,
.kqxs-tt  .highlight .pill:hover {
    background: radial-gradient(circle at 5px 5px, #ffeb3b, #ff9800);
    color: #000;
    cursor: pointer;
}

.kqxs-tt  .kqxs__thong__ke{
    margin-top: 1rem;
}

.kqxs-tt  .kqxs__footer .sub-title,
.kqxs-tt  .kqxs__thong__ke__header{
    background-color: #f0f4ff;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}

.kqxs-tt  .kqxs__thong__ke table {
    margin-bottom: 0;
}

.kqxs-tt  .kqxs__thong__ke table td,
.kqxs-tt  .kqxs__thong__ke table th{
    text-align: center;
    color: #000;
}

.kqxs-tt  .kqxs__thong__ke table td:first-child, 
.kqxs-tt  .kqxs__thong__ke table th:first-child{
    padding: 7px 5px;
}

.kqxs-tt  .kqxs__thong__ke table th{
    font-weight: 500 !important;
    color: #000;
    text-transform: none;
}

.kqxs-tt  .kqxs__thong__ke .tk__number {
    display: block;
}

.kqxs-tt  .kqxs__thong__ke .tk__number.active {
    background-color: #ddd;
}

.kqxs-tt  .kqxs__thong__ke a {
    text-decoration: underline;
}

.kqxs-tt  .kqxs__footer {
    padding: 1rem;
}

.kqxs-tt  .recommend__links {
    list-style-type: none;
    padding: 1rem;
    margin: 0;
}
.kqxs-tt  .recommend__links li {
    padding: 0 0 10px 15px;
    position: relative;
    margin: 0;
}

.kqxs-tt  .recommend__links>li::before {
    width: 5px;
    height: 5px;
    content: "";
    display: inline-block;
    background-color: #D00;
    position: absolute;
    left: 0;
    top: 10px;
}
.kqxs-tt  .recommend__links a {
    text-decoration: underline;
}

.kqxs_by_day_header_block p{
    margin-bottom: .8rem;
}

.day_of_week__links{
    margin-bottom: 1rem;
}

.day_of_week__links a {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 3px 0;
    text-decoration: underline;
}

.day_of_week__links a::after {
    display: inline-flex;
    width: 3px;
    height: 3px;
    background-color: #aaa;
    margin: 0 7px 0 12px;
    border-radius: 50%;
    content: "";
}

.day_of_week__links a:last-child::after{
    display: none;
}

.kqxs_by_day_footer_block,
.related_days {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.387rem;
    margin-top: 20px;
    font-size: 1.05rem;
    font-weight: 400;
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.075);
}

.kqxs_by_day_footer_block p{
    margin-bottom: 0.8rem;
}

.related_days h2{
    background: #fff;
    background-size: contain;
    border-bottom: 0;
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: initial;
    line-height: 1.4;
}

.related_days h2 .title__small {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
}

.related_days .related__links {
    list-style-type: none;
    padding: 1rem 0 0;
    margin: 0;
}

.related_days .related__links li {
    margin: 0;
    padding: 0 0 10px 15px;
    position: relative;
}

.related_days .related__links>li::before {
    width: 5px;
    height: 5px;
    display: inline-block;
    background-color: red;
    position: absolute;
    left: 0;
    top: 10px;
    content: "";
}

.related_days .related__links li a{
    color: #0265F8;
    text-decoration: underline;
    font-size: 0.9rem;
}

.title__small {
    padding-right: 8px;
}

@media screen and (max-width: 768px){

    .page-wrapper {
        padding-top: 20px;
    }

    .page-wrapper .col{
        padding-left: 6px;
        padding-right: 6px;
    }

    .page-wrapper .row .row-small:not(.row-collapse) {
        margin-left: -4px;
        margin-right: -4px;
    }

    .kqxs-tt .kqxs__body{
        padding: 0;
    }

    .kqxs-tt .kqxs__header .kqxs__title .title__small {
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 500;
        display: block;
        color: #212529;
        line-height: 1.4;
    }

    .kqxs-tt .kqxs__breadcrumb {
        font-size: .9rem;
        font-weight: 500;
    }

    .kqxs-tt .kq-table tr.ky-hieu-db th{
        font-size: 0.9rem;
        font-weight: 500;
    }

    .kqxs-tt .kq-table tr.ky-hieu-db th > span{
        display: block;
    }

    .kqxs-tt .kq-table tr th:first-child, 
    .kqxs-tt .kq-table tr td:first-child{
        width: initial;
        padding: 5px 10px;
    }

    .kqxs-tt .kqxs__highlight {
        flex-flow: column;
        gap: 0.5rem;
    }

    .kqxs-tt .kq-table .number{
        font-size: 1.3rem;
    }

    .kqxs-tt .kq-table .number.big {
        font-size: 1.6rem;
    }

    .kqxs-tt .kqxs__breadcrumb .sep{
        width: 12px;
    }

    .col-inner .kqxs-tt:last-child{
        margin-bottom: 0;
    }

    .day_of_week__links > span{
        display: block;
    }
}

.content-block {
    background: #fff;
    padding: 1rem;
    border-radius: 0.375rem;

}

.content-block.full-width{
    padding: 0 !important;
}

.content-block p{
    margin-bottom: 0.6rem;
}

.result-block{
    margin-bottom: 1.5rem;
}

.form-warning {
    background: #fff3cd;
    padding: 1rem;
}

.form-horizontal .form-row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 1rem;
}

.form-horizontal select,
.form-horizontal .form-control,
.form-horizontal button,
.form-horizontal .button{
    margin-bottom: 0;
    border-radius: 0.375rem;
}

.form-horizontal .form-row .col-12{
    width: 100%;
}

.form-horizontal .form-row .col-8{
    flex: 0 0 auto;
    width: calc(66.66% - 0.5rem);
}

.form-horizontal .form-row .col-4{
    flex: 0 0 auto;
    width: calc(33.33% - 0.5rem);
}

@media (min-width: 768px){
    .form-horizontal .form-row .col-pc-6{
        width: calc(50% - 0.5rem);
        flex: 0 0 auto;
    }

}

.form-inline{
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #e9ecef;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
}

.form-inline label{
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: 500;
}

.form-inline label input{
    margin: 0;
    margin-right: 0.4rem;
}

.table-result td:first-child{
    padding-left: 0.5rem;
}

.table-result td .number{
    font-size: 1.15rem;
    font-weight: bold;
    color: #222;
    line-height: 1.7;
    display: block;
}

.table-result td .text-small{
    font-size: 0.75rem;
    color: #6c757d;
}

.header__title {
    font-weight: 500;
}

h3.header__subtitle {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 400;
}


@media (max-width: 768px){

    .table-result thead th{
        font-size: 0.8rem;
        color: #555;
        text-transform: none;
        padding: 0.3rem;
    }

    .form-inline{
        flex-wrap: wrap;
    }

    .content-block{
        padding: 0;
    }

    .table-responsive {
        overflow-x: auto;
    }
}

.d-block{
    display: block;
}

.d-flex{
    display: flex;
}

.result-block table thead th,
.result-block table tfoot td{
    font-weight: 600;
    text-transform: none;
}

.result-block table tfoot td{
    color: #000;
}

.result-block table thead th .d-block{
    line-height: 1.3rem;
}

.result-block table .link-kqxs{
    color: #666;
}

.result-block .highlight {
    background-color: rgba(13, 202, 240, 1);
    color: #000;
}

.thong-ke-ts .result-block .highlight.count2,
.thong-ke-ts .result-block .highlight.count3,
.result-block .highlight.count5 {
    background-color: rgba(13, 202, 240, 0.4);
    color: #000;
}

.thong-ke-ts .result-block .highlight.count1,
.result-block .highlight.count4 {
    background-color: rgba(13, 202, 240, 0.1);
    color: #000;
}

.thong-ke-ts .result-block .highlight.count4,
.result-block .highlight.count3 {
    --bs-bg-opacity: 1;
    background-color: rgba(248, 249, 250, .8);
    color: #000;
}
.result-block .highlight.count0,
.result-block .highlight.count1,
.result-block .highlight.count2 {
    background-color: #fff;
    color: #000;
}

.related_provinces.related_days {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.thong-ke-ts .sticky-top{
    position: sticky;
    top: 0;
}

.admin-bar .thong-ke-ts .sticky-top{
    top: 32px;
}

.thong-ke-ts table thead tr,
.thong-ke-ts table tfoot tr,
.thong-ke-ts table tbody td:first-child{
    background-color: #F0F4FF;
}

.thong-ke-ts table tbody td:first-child{
    background-color: #CFF4FC;
}

.thong-ke-ts .form-inline{
    white-space: nowrap;
    display: flex;
    gap: 10px;
    align-items: center;
}

.thong-ke-ts .form-inline label{
    white-space: nowrap;
}


.thong-ke-ts .form-inline select,
.thong-ke-ts .form-inline .button{
    margin-bottom: 0;
    margin-left: 6px;
    border-radius: 4px;
    min-width: 72px;
}

.thong-ke-ts .related_provinces {
    padding: 1rem 1.5rem;
}

.pascal-predict {
    display: flex;
    align-items: center;
    flex-flow: column;
    gap: 4px;
}

.pascal-predict .pascal-row{
    display: flex;
    flex-flow: row;
    gap: 2px;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.pascal-predict .pascal-row .pascal-number{
    box-sizing: content-box;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 100%;
    font-size: 1.2rem;
    font-weight: 700;
    color: red;
    border: 2px solid #ccc;
    background: #fff;
}

.pascal-text {
    display: inline-flex;
}

.pascal-text span{
    margin-left: 0.25rem;
}

.du-doan-page br,
.kq-table td br,
.table-result td .number br,
.table-result td .number + br{
    display: none !important;
}


.data-display-condition{
    display: none;
}

.kqxs-live-status-box .box {
    padding: 2.5rem 1.5rem;
    border-radius: 0.375rem;
    background-color: #cff4fc;
    margin-bottom: 1rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.075);
}



.kqxs-live-status-box.waiting .box-live:not(.waiting),
.kqxs-live-status-box.mini.waiting p:not(.waiting){
    display: none !important;
}

.kqxs-live-status-box.loading .box-live:not(.loading),
.kqxs-live-status-box.mini.loading p:not(.loading){
    display: none !important;
}

.kqxs-live-status-box.finished .box-live:not(.finished),
.kqxs-live-status-box.mini.finished p:not(.finished){
    display: none !important;
}


.box-live h3{
    color: #06C;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
}

.box-live p,
.box-live a{
    color: #06C !important;
    margin-bottom: 1rem;
    text-align: center;
}

.box-live .countdown {
    -webkit-text-stroke: 3px #fff;
    -webkit-text-fill-color: #d00;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 3.1rem;
}

.kqxs-live-status-box.mini{
    color: red;
    font-size: 11px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 700;
    border: 1px solid #E1E1E1;
    border-radius: 5px;
    clear: both;
    margin-bottom: 1rem;
    min-height: 20px;
    line-height: 20px;
    padding: 5px 10px;
}

.kqxs-live-status-box.mini p{
    margin-bottom: 0;
}

.kqxs-live-status-box.mini .waiting {
    color: #06C;
    background: url(../images/loading-bar.gif) left center no-repeat;
    padding-left: 35px;
    display: block;
}

.kqxs-live-status-box.mini .loading{
    color: #06C;
    background: url(../images/loading-red.gif) left center no-repeat;
    padding-left: 48px;
    display: block;
}

.kqxs-live-status-box.mini .finished{
    color: #06C;
    background: url(../images/ok_finished.png) left center no-repeat;
    padding-left: 23px;
    display: block;
}

/*.kqxs-live-status-box.mini:not(.loading) + .kqxs-tt{*/
.kqxs-live-status-box.mini.waiting + .kqxs-tt{
    display: none !important;
}

.number > .rand{
    border: 1px solid #A4FFBB;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    background: #EAFFD5;
    padding-left: 1px;
    padding-right: 1px;
    margin-left: 1px;
    text-shadow: 0 1px 0 #FFF, 0 2px 2px #C8C8C8;
}

ul.list-alphabets {
    list-style: none;
    display: inline-block;
    margin-bottom: 0;
}

ul.list-alphabets li{
    display: inline-block;
    background: #bee672;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin: 0 5px 5px 0;
    padding: 0;
}

ul.list-alphabets li a {
    color: #181616;
    text-shadow: 0 1px 0 #a19b96;
    padding: 4px 8px; 
}

#simple-ajax-chat{
    margin-bottom: 0;
}

#simple-ajax-chat div#sac-output,
#simple-ajax-chat div#sac-panel {
    width: 100%;
    max-height: 250px;
    margin-bottom: 15px;
}

#simple-ajax-chat div#sac-panel {
    margin-bottom: 0;
}

.du-doan-page table.kq-table td{
    text-align: center;
}

.tk_header_block{
    margin-bottom: 20px;
}

.tk_footer_block {
    margin-top: 20px;
}

.tk_header_block p:last-child,
.tk_footer_block p:last-child{
    margin-bottom: 0;
} 