@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, h3, h4, h5, h6, 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, .panel-bet .btn-type{
    width: auto;
    padding: 10px 25px;
    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#data, table#data tr, table#data tr th, table#data tr td, table.report_all tr th, table.report_all tr td{
    border-color: #93360b !important;
}

.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: revert !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;
}

#content-bet .panel-bet table#data tfoot th, #content-bet .panel-bet table#data thead th {
    color: #4c4c4c;
}

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

table#data thead th, table#data-master thead th {
    color: #fbda66;
}

table td.validate-color{
    color: #ff0000;
}

.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, table.report_all thead .bg_header_report{
    background-color: #b52e31;
}

.dataTable thead tr h2, table.report_all thead .bg_header_report h2,
.dataTable thead tr h3, table.report_all thead .bg_header_report h3{
    color: #fff !important;
    margin-top: 11px !important;
}

table.report_all thead .bg_subheader_report{
    background-color: #ffa64d;
}

table.report_all thead .bg_subheader_report th{
    color: #4c4c4c;
}

table.report_all thead .bg_header_report th{
    color: #fbda66;
}

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

.modal-header .modal-title, .modal-header .close span{
    color: #fff;
}

/* .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, #data-master{
    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{
    color: red;
}

.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;
}

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

.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;
}

.site-navbar {
    background-color: #801315;
}

.site-navbar .navbar-container {
    background-color: #ffa64d;
}

.site-menubar{
    background-color: #b52e31;
}

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

.site-menu-item a {
    display: block;
    color: #ffffff;
}

.site-menu>.site-menu-item.active {
    background: #252525;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #252525;
}

.site-menu>.site-menu-item.active>a {
    color: #fff;
}

.site-menu>.site-menu-item.hover>a, .site-menu>.site-menu-item:hover>a {
    color: #fff;
    background-color: #252525;
}

.site-menubar-footer>a {
    color: #ffffff;
    background-color: #ffa64d;
}

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

.navbar-default .hamburger .hamburger-bar, .navbar-default .hamburger:after, .navbar-default .hamburger:before {
    background: #ffffff;
}

.site-menubar-fold .site-menu-category {
    background: #b52e31;
}

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

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

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

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

.panel-bet .data-balance{
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
}

.panel-bet .data-balance p{
    margin-bottom: 0px;
}

div.ui-helper-hidden-accessible{
    display: none;
}

.site-menu>.site-menu-item>a {
    font-weight: 100;
}

#check-number{
    z-index: 1700;
}

.panel-check-number > .row > .col-xs-12{
    z-index: 1;
}

#check-number .modal-body .select2-container--default{
    width: auto !important;
}

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

#data .column_check{
    width: 160px !important;
    margin: 3px 3px;
}

#percent-lottery .title h2{
    display: inline-block;
}

#percent-lottery tbody h2{
    margin-top: 11px !important;
}

#percent-lottery tbody tr .form-group{
    margin-top: 20px;
}

#form-data .select2-container {
    z-index: 1 !important;
}

table .bg_footer_report .validate-color{
    color: red !important;
}

table#data tbody tr[data-mode="0"]{
    text-decoration: line-through;
}

#data tr td .label-count{
    font-size: 12px;
}

#data-master tbody tr{
    cursor: pointer;
}

#data-master tbody tr.active{
    background-color: #ceffd0;
}

#loader-wrapper {
    position: fixed;      /* SET TO FIXED */
    top: 0;
    left: 0;
    width: 100vw;         /* USE VIEWPORT UNITS */ 
    height: 100vh;        /* USE VIEWPORT UNITS */
    z-index: 1001;        /* MOVE Z-INDEX HERE! */
}

#loader-wrapper #loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8vmax;
    height: 8vmax;
    margin: -4vmax;       /* ADD THIS (half the W/H) */
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #FFFFFF;
    animation: spin 1s linear infinite;
}

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

#loader-wrapper .error{
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    padding-top: 150px;
}