@font-face {
    font-family: 'LimonS0';
    src: url('fonts/limon/LimonS0.eot');
    src: url('fonts/limon/LimonS0.eot?#iefix') format('embedded-opentype'),
        url('fonts/limon/LimonS0.woff2') format('woff2'),
        url('fonts/limon/LimonS0.woff') format('woff'),
        url('fonts/limon/LimonS0.ttf') format('truetype'),
        url('fonts/limon/LimonS0.svg#LimonS0') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body, h1, h2.brand-text, .navbar-brand span, .select2 span, ul li, .form-group label, h4.modal-title{
    font-family: 'Battambang', 'Khmer OS Battambang', 'Khmer OS System', Arial, Helvetica, sans-serif, cursive !important;
}

.site-menu-icon.icon{
    font-size: 18px;
}

footer p a, footer p a:hover, footer p a:active{
    color: #ffffff;
    text-decoration: none;
}

.btn-icon.no-pad, .btn.icon.no-pad{
    padding: 0px 5px;
}

.panel-bet .btn-post{
    width: 76.9px;
    margin: 5px 3px;
}

.panel-bet .btn-type{
    width: 76.9px;
    margin: 5px 3px;
}

.list-unstyled {
    padding-left: 15px;
    padding-right: 15px;
    list-style: none;
    margin-bottom: 0px;
    width: 100%;
}

.card.border.border-danger table{
    margin-bottom: 0px;
}

table.font-khmer tr th, table.font-khmer tr td{
    font-family: 'Khmer OS Battambang', 'Khmer OS System', Arial, Helvetica, sans-serif;
}

.table.font-khmer tfoot th, .table.font-khmer thead th{
    font-weight: 700 !important;
}

.form-control.invalid{
    border: 1px solid #ff0000 !important;
    border-radius: .215rem;
}

.page-title{
    line-height: 50px;
}

.modal-header .close {
    padding: 0px 15px;
}

#confirm .modal-body .row .col-md-12{
    margin-bottom: 0px;
}

.lottery-table table tr th, .lottery-table table tr td{
    display: table-cell;
    vertical-align: middle;
}

.lottery-table table tr td h2, .lottery-table table tr th h2, .lottery-table table tr th h3{
    margin-bottom: 0px;
}

#group_refund, #type_refund{
    margin-bottom: 0px;
}

.hidden{
    display: none;
}

.block{
    display: block;
}

#TransactionModal .form-group{
    margin-bottom: 0px;
}

.pointer:hover{
    cursor: pointer;
}

table thead tr th, table tfoot tr th{
    font-weight: bold !important ;
}

.blue{
    color: blue !important;
}

.red{
    color: red !important;
}

#data_wrapper .row:nth-child(2) .col-sm-12, .col-sm-12.dt-table .dataTables_wrapper{
    overflow-x: scroll;
    overflow: auto;
}

.site-menubar-footer>a{
    width: 50%;
}

span.font-limon{
    font-family: 'LimonS0';
    font-size: 28px;
    line-height: 22px;
}

span.time_bet.font-limon{
    font-size: 50px;
}

h3.font-khmer, h4.font-khmer{
    font-family: 'Khmer OS Battambang', 'Khmer OS System', Arial, Helvetica, sans-serif;
}

.hidden_col.block{
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-right-width: 1px;
    display: table-cell !important;
}

.hidden_col.none{
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    display: none;
}

table{
    margin-bottom: 0px !important;
}

#dialog-confirm .form-group small{
    text-align: left;
}

.alertify .dialog input, .alertify .alert input{
    margin-bottom: 0px;
}

/* table .yellow{
    background-color: yellow;
}

table .brown{
    background-color: #f3b086;
} */

/* Style Custom */

.site-menu>.site-menu-item>a {
    font-weight: 600;
}
.site-menu-item a {
    display: block;
    color: #4c4c4c;
}

.site-menubar-unfold .site-menu-category {
    font-weight: 600;
    color: #7d7d7d;
}

.navbar-default .navbar-toolbar .nav-link {
    display: block;
    color: #4c4c4c;
}

.table tfoot th, .table thead th {
    color: #4c4c4c;
}

.table {
    color: #4c4c4c;
}

.table th {
    font-weight: 700;
}

.form-horizontal .form-control-label, b, strong{
    font-weight: 600;
}

.form-control {
    border-color: #808080;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #808080;
}

.input-group-addon {
    border: 1px solid #808080;
}

body {
    color: #4c4c4c;
}

.dataTable thead tr, .modal-header{
    background-color: #ccecff;
}

.site-menubar, .site-navbar .navbar-container {
    background-color: #ccecff;
}

/* .panel{
    background-color: #f1f1f1;
}

.page{
    background-color: #ffffff;
} */

.btn-default {
    background-color: #bdbdbd;
    border-color: #bdbdbd;
    box-shadow: none;
}

/* End Style Custom */

.input-group-addon {
    padding: 0px 1.072rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.57142857;
    color: #757575;
    text-align: center;
    background-color: #eee;
    border: 1px solid #808080;
    border-radius: .215rem;
}

.form-horizontal .checkbox-custom, .form-horizontal .radio-custom {
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 0;
}

b, strong {
    font-weight: 700;
}

#hddata{
    background-color: #ffffff !important;
    top: 0px !important;
    z-index: 9 !important;
}

.border-danger {
    border-color: #000000!important;
}

#result-lottery .form-control {
    font-size: 2rem;
    font-weight: 900;
}

#data{
    width: 100% !important;
}

#data tbody tr.active{
    color: blue;
}

#report-left table.mb-2 tbody tr, #report-right table.mb-2 tbody tr, #report-eour-right table.mb-2 tbody tr{
    background-color: #aad42a;
}

#report-left table thead tr:first-child, #report-right table thead tr:first-child, #report-eour-right table thead tr:first-child{
    background-color: #c9d370;
}

.dataTables_wrapper .tfoot-background{
    background-color: #7dc2f9;
}

.dataTables_wrapper .total-background{
    background-color: #faf7c2;
}

/* CSS Font Size */

body{
    font-size: 18px;
}

.form-control-sm, .input-group-sm>.form-control, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.btn {
    font-size: 16px;
}

.site-menubar-unfold .site-menu>.site-menu-item>a .site-menu-title {
    font-size: 16px;
}

.site-menubar-unfold .site-menu-category{
    font-size: 14px;
}

span.font-limon {
    font-size: 32px;
}

.form-control{
    font-size: 16px;
}

table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
    vertical-align: middle;
}

.select2-container--default .select2-selection{
    font-size: 16px;
}

/* End CSS Font Size */

.summary_data tr, .summary_data tr th, .summary_data tr td{
    border: none;
}

.summary_data .row_total{
    border-top: 1px solid #000;
}

.summary_data .unit_commission_2d, .summary_data .unit_commission_3d, .summary_data .unit_commission_4d,
.summary_data .commission_2d, .summary_data .commission_3d, .summary_data .commission_4d, .summary_data .total_commission,
.summary_data .total_owe_balance{
    color: blue;
}

.summary_data .total_win_2d, .summary_data .total_win_3d, .summary_data .total_win_4d, .summary_data .unit_refund_2d,
.summary_data .unit_refund_3d, .summary_data .unit_refund_4d, .summary_data .refund_2d, .summary_data .refund_3d,
.summary_data .refund_4d, .summary_data .total_refund, .summary_data .total_return_balance,
table #data .txt-child-parent-balance, table .total_child_parent{
    color: red !important;
}

.summary_data .row_total.bg-green{
    background-color: #c9d370;
}

.summary_data_child tr, .summary_data_child tr th, .summary_data_child tr td{
    border: none;
}

.summary_data_child .row_total{
    border-top: 1px solid #000;
}

.summary_data_child .unit_commission_2d, .summary_data_child .unit_commission_3d, .summary_data_child .unit_commission_4d,
.summary_data_child .commission_2d, .summary_data_child .commission_3d, .summary_data_child .commission_4d, .summary_data_child .total_commission,
.summary_data_child .total_owe_balance{
    color: blue;
}

.summary_data_child .total_win_2d, .summary_data_child .total_win_3d, .summary_data_child .total_win_4d, .summary_data_child .unit_refund_2d,
.summary_data_child .unit_refund_3d, .summary_data_child .unit_refund_4d, .summary_data_child .refund_2d, .summary_data_child .refund_3d,
.summary_data_child .refund_4d, .summary_data_child .total_refund, .summary_data_child .total_return_balance{
    color: red;
}

.summary_data_child .row_total.bg-green{
    background-color: #c9d370;
}

.report_all .bg_header_report, .report_owe .bg_header_report{
    background-color: #abcf8f;
}

.report_all .bg_subheader_report, .report_owe .bg_subheader_report{
    background-color: #fbda66;
}

.report_all .bg_footer_report, .report_owe .bg_footer_report{
    background-color: #bdd7ee;
}

.report_all .bg_total_report, .report_owe .bg_total_report{
    background-color: #c7ebcf;
}

.none-checkbox .checkbox-custom{
    margin: 0px auto;
}

.table-bordered, .table-bordered td, .table-bordered th, .table thead th {
    border: 1px solid #6d6d6d;
}

#data .win_row{
    background-color: #ffedd5;
}

#data .column_check{
    border: 1px solid #000;
}

#data .data .tr_row{
    margin-bottom: 3px;
    padding: 0px 2px;
}

#data .header_column_check{
    border-bottom: 1px solid #000;
    padding: 5px 0px;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 22px;
}

#result-lottery h3{
    font-family: 'Khmer OS Battambang', 'Khmer OS System';
}

#result-lottery select.form-control{
    font-size: 1rem;
}

.report_all .bg_header_report, .report_owe .bg_header_report{
    background-color: #abcf8f;
}

.report_all .bg_subheader_report, .report_owe .bg_subheader_report{
    background-color: #fbda66;
}

.report_all .bg_footer_report, .report_owe .bg_footer_report{
    background-color: #bdd7ee;
}

.report_all .bg_total_report, .report_owe .bg_total_report{
    background-color: #c7ebcf;
}

.none-checkbox .checkbox-custom{
    margin: 0px auto;
}

.table-bordered, .table-bordered td, .table-bordered th, .table thead th {
    border: 1px solid #6d6d6d;
}

#data .win_row{
    background-color: #ffedd5;
}

#data .row-report, #data-report .row-report{
    width: calc(100% - 10px);
    margin: 5px;
    margin-bottom: 15px;
    border: 1px solid #000;
    background-color: #ffffff;
}

#data .row-report .header-report, #data .row-report .footer-report, #data-report .row-report .header-report, #data-report .row-report .footer-report{
    display: block;
    width: 100%;
    background-color: #90e4fb;
    padding-left: 10px;
    padding-right: 10px;
}

#data .row-report .header-report, #data-report .row-report .header-report{
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

#data .row-report .footer-report, #data-report .row-report .footer-report{
    border-top: 1px solid #000;
    margin-top: 10px;
}

#data .username, #data-report .username{
    font-size: 16px;
}

#data .font-limon.btn-print, #data-report .font-limon.btn-print{
    cursor: pointer;
    color: #5a5aea;
}

#data .btn-print i, #data-report .btn-print i{
    font-size: 16px;
}

#data .column-report span, #data-report .column-report span{
    font-size: 26px;
}

#data .column-report span.font-limon, #data-report .column-report span.font-limon{
    font-size: 34px;
}

#data .border-set-time{
    border: 1px solid #c6c6c6;
    padding: 30px;
}

.row.row-none{
    margin-right: 0px;
    margin-left: 0px;
}

.none_fin{
    width: calc(10% - 6px) !important;
    margin: 0px 3px;
}

.display_fin{
    width: calc(6.25% - 6px) !important;
    margin: 0px 3px;
}

#data #th-lottery-4 .column_check, #data #vn-lottery-4 .column_check{
    width: calc(6.25% - 6px) !important;
    margin: 0px 3px;
}

#data #th-lottery-1 .column_check, #data #th-lottery-6 .column_check, #data #vn-lottery-1 .column_check, #data #vn-lottery-6 .column_check{
    width: calc(10% - 6px) !important;
    margin: 3px 3px;
}

#data #kh-lottery .column_check{
    width: calc(12.50% - 6px) !important;
    margin: 0px 3px;
}

#data #mhl-lotto .column_check{
    width: calc(4.75% - 6px) !important;
    margin: 0px 3px;
}

#data input.form-control.invalid{
    border-color: red;
}

.panel-check-number #data{
    overflow: hidden;
    overflow-x: scroll;
}

#data #th-lottery-1 .column_check, #data #th-lottery-4 .column_check, #data #vn-lottery-4 .column_check{
    width: 160px !important;
    margin: 3px 3px;
}

/* Update Real Bet Screen */

.real-bet #choose-post, .real-bet #choose-type{
    height: 56px;
}

.real-bet .panel-bet .btn-post {
    width: 56.5px;
    margin: 5px 3px;
}

.real-bet .panel-bet .btn-type {
    width: 56.5px;
    margin: 5px 3px;
}

.real-bet .panel-body {
    position: relative;
    padding: 10px;
}

.real-bet .content-data{
    height: 600px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-weight: 800;
    resize: vertical;
    overflow: hidden;
    overflow-x: scroll;
    overflow-y: scroll;
}

.real-bet .panel{
    margin-bottom: 0px;
}

.content-data .bet-column{
    float: left;
    width: 260px;
    /* height: 800px; */
    margin: 5px 0px 5px 5px;
    background-color: rgb(255 239 239);
    border: 1px solid #bdbdbd;
}

.content-data .bet-column .btn-add-column{
    width: 100%;
    height: 30px;
}

.clearfix{
    clear: both;
}

.content-data .bet-column .title-header{
    width: 100%;
    height: 30px;
    background-color: #bdbdbd;
    line-height: 30px;
}

.content-data .bet-column .title-header .trust-column{
    float: right;
    padding-right: 5px;
    margin-left: -15.5px;
    cursor: pointer;
    color: #bdbdbd;
}

.content-data .bet-column .title-header .trust-column:hover{
    color: #4c4c4c;
}

.content-data .bet-column .data{
    padding-top: 5px;
    padding-bottom: 5px;
}

.content-data .bet-column .title-footer{
    width: 100%;
    height: 30px;
    line-height: 30px;
}

.content-data .bet-column .title-footer .f-row:nth-last-child(odd){
    background-color: #bdbdbd;
}

.content-data .bet-column .title-footer .f-row:nth-last-child(even){
    background-color: #d3d3d3;
}

.content-data .bet-column .title-footer .total-title{
    float: left;
    margin-left: 5px;
}

.content-data .bet-column .title-footer .total-bet{
    float: right;
    margin-right: 5px;
}

.content-data .data .no-data{
    color: #7d7d7d;
}

.content-data .data .row-bet{
    width: 250px;
    border: 1px solid #ccc;
    margin-left: 4px;
    margin-bottom: 5px;
}

.content-data .data .row-bet:last-child{
    margin-bottom: 0px;
}

.content-data .data .row-bet .title-post{
    background-color: #dfdfdf;
}

.content-data .content-display .row-display{
    width: 100%;
}

.content-data .content-display .row-display .display-number,
.content-data .content-display .row-display .display-amount{
    width: 103px;
    display: inline-block;
}

.content-data .content-display .row-display .icon-action{
    width: 34px;
    float: right;
    margin-right: 4px;
}

.content-data .content-display .row-display:hover{
    background-color: #e5e5e5;
}

.content-data .row-bet .title-post .icon-action{
    float: right;
    padding-right: 5px;
    margin-left: -32px;
}

.content-data .row-bet .icon-action i{
    cursor: pointer;
    color: #d1d1d1;
}

.content-data .row-bet .icon-action i:hover{
    color: red;
}

.content-data .column-active{
    border: 1px solid blue !important;
}

.real-bet .row-display.true-number{
    color: #ff0000;
}

.viewer-footer .viewer-title, .viewer-footer .viewer-navbar{
    display: none;
}

.modal-open .select2-container {
    z-index: 10;
}

/* Popup Drag and Resize */

.popup {
    z-index: 1600 !important;
    background-color: #f1f1f1;
    border: 1px solid #d3d3d3;
    text-align: center;
    min-height: 400px;
    min-width: 450px;
    max-height: 800px;
    max-width: 1200px;
    top: -11px;
    left: 220px;
}

/*Drgable */

.popup {
    position: absolute;
    /*resize: both; !*enable this to css resize*! */
    overflow: hidden;
}

.popup-header {
    position: relative;
    padding: 10px;
    cursor: move;
    z-index: 1600;
    background-color: #2196f3;
    color: #fff;
}

.popup-header .btn-close, .popup-header .btn-upload-paper{
    width: 35px;
    background-color: #1c71b5;
    cursor: pointer;
}

.popup-footer {
    position: absolute;
    width: 100%;
    padding: 5px;
    bottom: 0;
    z-index: 1600;
    background-color: #99cdf8;
    color: #fff;
}

.h_total_winlose:has(.blue){
    color: blue !important;
}

/*Resizeable*/

.popup .resizer-right {
    width: 5px;
    height: 100%;
    background: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: e-resize;
}

.popup .resizer-bottom {
    width: 100%;
    height: 5px;
    background: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: n-resize;
}

.popup .resizer-both {
    width: 5px;
    height: 5px;
    background: transparent;
    z-index: 1600;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: nw-resize;
}

/*NOSELECT*/

.popup .contentImage{
    position: relative;
    width: 100%;
}

.popup * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                        supported by Chrome and Opera */
}

.popup .content-img img{
    border: 0px;
    padding: 0px;
    margin: 0px;
    cursor: move;   
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.dragImage{
    position: absolute;
    height: 400px;
}

/* End Popup Drag and Resize */