/*
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;
}

.password {
    -webkit-text-security:disc;
    font-family: PasswordDots !important;
    font-size: inherit;
}

.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 {
    background: #ffffff;
    border: 1px solid #337ab7;
    border-radius: 4px;
    font-weight: normal;
    line-height: 16px;
    padding: 0 5px;
    height: 30px;
}
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none!important;
}
.clearfix {
    clear: both;
}
.btn {
    height: 30px;
    padding: 4px 10px;
}
.m-r-10 {
    margin-right: 10px;
}
/*extra styles*/
#printarea {
    background: #ffffff7a;
}
#hotkey {
    position: absolute;
    z-index: 999;
    padding: 2px 3px;
    width: 130px;
    background: #ffffff;
    border: 1px solid #2e6da4;
    display: none;
}
#hotkey button {
    width: 48%;
    margin: 2px 0;
}
.table>tbody>tr>td {
    vertical-align: middle !important;
}
.table thead th, .table input {
    text-align: center;
}
.bet-table,
.acc-table {
    font-size: 13px;
    background: #ffffff7a;
}
.res-table {
    font-size: 18px;
}
.bet-table tbody tr:nth-child(2n),
.res-table tbody tr:nth-child(2n),
.acc-table tbody tr:nth-child(2n) {
    /*background: #F4F8FB;*/
}
.bet-table tbody tr:hover {
    background: #F4F8FB;
}
.bet-table tfoot th {
    text-align: right;
}
.bet-table th,
.bet-table td,
.detail-table th,
.detail-table td,
.res-table th,
.res-table td,
.acc-table td,
.acc-table td {
    border: 1px solid #dddddd !important;
    padding: 5px!important;
    white-space: nowrap;
    vertical-align: middle!important;
}
/* .bet-table input[type='text'] {
    margin: 8px 0;
} */
.detail-table th,
.detail-table td,
.acc-table td,
.acc-table td {
    line-height: 2.2!important;
}

.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:last-child th:nth-child(n+2) {
    /*font-size: 29px;*/
}
.res-table tbody tr:first-child th:nth-child(n+2),
.hn-table tbody tr:first-child th:nth-child(n+2) {
    font-size: 20px;
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}
#frmsearch .form-group {
    width: 117px;
    margin-right: 10px;
    float: left;
}
.color_5 {
    font-size: 90%;
    font-style: italic;
}
.color_4 {
    font-weight:300;
    background-color: #eeeeee;
}
.color_3 {
    font-weight: 500;
    background-color: #dddddd;
}
.color_2 {
    font-weight: 700;
    background-color: #cccccc;
}
.color_1 {
    font-weight: 800;
    background-color: #bbbbbb;
}
@media (max-width:768px) {
    .res-table td,
    .res-table th,
    .res-table span {
        font-size: 95%;
    }
}
