/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 12, 2017, 9:36:35 AM
    Author     : menglengchea
*/

html, body {
    height: 100%;
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    line-height: 1.42857143;
    color: #000;
}
/*override styles*/
label {
    display: block;
    margin-bottom: 0;
}
label input,label select {
    font-weight: normal;
}

.small {
    color: #cccccc;
    font-style: italic;
    font-weight: normal;
}
.modal {
    width: 400px; 
    margin: auto;
}
.modal-dialog {
    width: auto;
    height: auto;
    margin: 30px;
}
.password{
    -webkit-text-security:disc;
}

.form-control[readonly]{
    background: transparent;
}
.center-page {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}
input[type="text"], input[type="tel"], input[type="number"], input[type="password"], select {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: normal;
    line-height: 16px;
    padding: 0 5px;
    height: 30px;
}
.btn {
    height: 30px;
    padding: 4px 10px;
}
.m-r-10 {
    margin-right: 10px;
}
/*extra styles*/
#printarea {
    background: #ffffff7a;
}
.table>tbody>tr>td {
    vertical-align: middle !important;
}
.table th, .table input {
    text-align: center;
}
.bet-table {
    font-size: 13px;
    background: #ffffff7a;
}
.res-table {
    font-size: 18px;
}
.bet-table tbody tr.disable {
    background: #ddd !important;
}
.bet-table tbody tr:nth-child(2n),
.res-table tbody tr:nth-child(2n) {
    background: #F4F8FB;
}
.bet-table th,
.bet-table td,
.detail-table th, 
.detail-table td,
.res-table th, 
.res-table td {
    border: 1px solid #dddddd !important;
    padding: 5px !important;
    line-height: 1.42857143;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle !important;
}
.hn-table tbody td,
.hn-table tbody th {
    line-height: 2.2 !important;
}
.res-table tbody tr:first-child th:nth-child(n+2){
    color: red; 
    font-size: 25px;
}   
.res-table tbody tr:nth-child(2) th:nth-child(n+2){
    color: blue;
}  
.res-table tbody tr:last-child th:nth-child(n+2){
    color: red;
}

.kh-table tbody tr:nth-child(2) th:nth-child(n+2) {
    color: black;
} 
.kh-table tbody tr:first-child th:nth-child(n+2) {
    color: red;
    font-size: 21px;
} 
.kh-table tbody tr:last-child th:nth-child(n+2), .kh-table tbody tr:nth-last-child(2) th:nth-child(n+2), .kh-table tbody tr:nth-last-child(3) th:nth-child(n+2) {
    color: blue;
} 
.hn-kh-table tbody td,
.hn-kh-table tbody th {
    line-height: 1.80 !important;
    font-size: 115%;
}
.hn-kh-table tbody tr:first-child th:nth-child(n+2) {
    font-size: 130% !important;
}

.hn-table tbody tr:nth-child(2) th:nth-child(n+2){
    color: black;
} 
.hn-table tbody tr:nth-child(7) th:nth-child(n+2){
    color: blue;
} 
.hn-table tbody tr:first-child th:nth-child(n+2){
    font-size: 29px;
}  
.hn-table tbody tr:last-child th:nth-child(n+2) {
    font-size: 26px;
}
.compensate {
    background: #f2dede !important;
    color: #a94442 !important;
}
.paid {
    background: #f2dede !important;
    color: #a94442 !important;
}
