 
:root {
    --rem_form: 0.1rem;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Thai&display=swap');

body { 
    /* font-family: 'Noto Serif Thai', serif !important; */
    font-size: 16px !important;
    /* background-image: linear-gradient(to right bottom, #2b58c8, #637dd8, #92a4e7, #bfcbf3, #eff3ff); */
}
 
.main-header {
    min-height: 52px !important;
}

.navbar {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}

/* ====== theme ====== */


.btn {
    /* border-radius: 1.25rem !important; */
    margin: 1px;
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    /* not work with modal bootstrap */
    /* animation-fill-mode: both;  */
    animation-name: fadeInRight;
}

.card {
    border: 0px !important;
    /* background-color: transparent; */
    border-radius: 1.25rem !important;
    margin: 10px;
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    /* not work with modal bootstrap */
    /* animation-fill-mode: both;  */
    animation-name: fadeInUp;
}

.card .card-header {
    border-radius: 1.25rem 1.25rem 0rem 0rem !important;
}

.card .card-body {
    padding: 1.25rem 0.5rem 1.25rem 0.5rem !important;
}

.form-control-sm {
    border-radius: var(--rem_form) !important;
    /* padding: 5px !important; */
    height: calc(1.5em + 0.75rem + 2px) !important;
    font-size: .875rem !important;
    background-image: none !important;
    background-color: #EFF3FF !important;
    /* padding-left: var(--rem_form) !important; */
    /* -------- */
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    /* not work with modal bootstrap */
    /* animation-fill-mode: both;  */
    animation-name: fadeInUp;
}

.form-control {
    border-radius: var(--rem_form) !important;
    /* padding: 5px !important; */
    background-image: none !important;
    background-color: #EFF3FF !important;
    /* padding-left: var(--rem_form) !important; */
    /* -------- */
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    /* not work with modal bootstrap */
    /* animation-fill-mode: both;  */
    animation-name: fadeInUp;
    height:unset !important;
}

.btn {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    font-size:15px !important;
}

/* ======= theme ====== */
body.dark .form-control,
body.dark .form-select {
    color: #000;
}

.btn:active {
    transform: translatey(5px);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}


.trx:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}


/* table  */

table {
    width: 100%;
    background: #fff;
    border: 1px solid #dedede;
}

table thead tr th {
    padding: 20px;
    border: 1px solid #dedede;
    color: #000;
}

table.table-striped tbody tr:nth-of-type(odd) {
    background: #f9f9f9;
}

table.result-point tr td.number {
    width: 100px;
    position: relative;
} 

.text-left {
    text-align: left!important;
}

table tr td {
    padding: 10px 20px;
    border: 1px solid #dedede;
}
table.result-point tr td .fa.fa-caret-up {
    color: green;
}

table.result-point tr td .fa {
    font-size: 20px;
    position: absolute;
    right: 20px;
}

table tr td {
    padding: 10px 40px;
    border: 1px solid #dedede;
}

table > thead > tr > td {
    text-align:left !important;
}


table tr td img {
    max-width: 32px;
    float: left;
    margin-right: 11px;
    margin-top: 1px;
    border: 1px solid #dedede;
}

/* table */

/* Prject custom css */
.text-warning { 
    color: #fca501 !important;
}


.kbdx {
    padding: 0rem !important;
    background-color: transparent !important;
    font-family: 'Sarabun' !important;
    font-size: 16px !important;
    font-weight: bolder !important;
}

.minwidth200{
    min-width: 200px !important;
}

.tab-content{
    background-color: transparent !important;
}

 .badge {
     font-family: 'Poppins', sans-serif !important;
    font-size: 0.8rem;
    padding:0.3rem !important;
    white-space: nowrap !important;
    color:#fff;
    border:1px solid #c0c0c0;
    /* width:100%; */
 }


 .bg-warning {
    background-color: #fcb900!important;
    color:#000;
}

label {
    display: inline-block;
    margin-bottom: 0rem;
}
 
.btn-success {
    color: #fff !important; 
}
.btn-danger {
    color: #fff !important; 
}

/* .linkx:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
    background-color: #E1E9FE;
}
  */
/* .card:hover {
     transform: scale(1.05);
     box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
 } */

/* 

.xin {
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    animation-fill-mode: both;
    animation-name: fadeIn;
}

.xup {
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    animation-fill-mode: both;
    animation-name: fadeInUp;
}

.xright {
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    animation-fill-mode: both;
    animation-name: fadeInRight;
} */