/* @font-face {
    font-family: 'Kanit';
    src: url('../fonts/Kanit-Light.ttf');
} */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300&display=swap');

/* @import url('bootstrap.min.css'); */

/* @import url("../lib/bootstrap.min.css"); */
/* @import url("scss_custom/notie.css"); */
/* @import url("dropzone.css"); */

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Kanit' !important;
    font-size: 18px;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: url('../images/BG.jpg') center;
    background-size: cover;
    color: whitesmoke;
    padding: 0;
    /* justify-content: center; */
    /* width: 690px; */
    margin: auto;
}

h1, h2, h3, h4, h5, h6, p, a, span, table {
    font-family: 'Kanit' !important;
}

*:focus { outline: none; }
/* *:not(.fas):not(.far):not(.fal):not(.fab) { font-family: 'Kanit', sans-serif; } */
/* *:not(.fas):not(.far):not(.fal):not(.fab) { font-family: 'Prompt', sans-serif; } */
.active { box-shadow: none !important; }
.text-gold { color: #e0b602; }
main { flex: 1; }

/* VMS Custom */
.fsz_rem01 { font-size: 0.1rem; }
.fsz_rem02 { font-size: 0.2rem; }
.fsz_rem03 { font-size: 0.3rem; }
.fsz_rem04 { font-size: 0.4rem; }
.fsz_rem05 { font-size: 0.5rem; }
.fsz_rem06 { font-size: 0.6rem; }
.fsz_rem07 { font-size: 0.7rem; }
.fsz_rem08 { font-size: 0.8rem; }
.fsz_rem09 { font-size: 0.9rem; }
.fsz_rem10 { font-size: 1.0rem; }
.fsz_rem11 { font-size: 1.1rem; }
.fsz_rem12 { font-size: 1.2rem; }
.fsz_rem13 { font-size: 1.3rem; }
.fsz_rem14 { font-size: 1.4rem; }
.fsz_rem15 { font-size: 1.5rem; }
.fsz_rem16 { font-size: 1.6rem; }
.fsz_rem17 { font-size: 1.7rem; }
.fsz_rem18 { font-size: 1.8rem; }
.fsz_rem19 { font-size: 1.9rem; }
.fsz_rem20 { font-size: 2.0rem; }
.fsz_rem22 { font-size: 2.2rem; }
.fsz_rem24 { font-size: 2.4rem; }
.fsz_rem26 { font-size: 2.6rem; }
.fsz_rem28 { font-size: 2.8rem; }
.fsz_rem30 { font-size: 3.0rem; }
.fsz_rem32 { font-size: 3.2rem; }
.fsz_rem34 { font-size: 3.4rem; }
.fsz_rem36 { font-size: 3.6rem; }
.fsz_rem38 { font-size: 3.8rem; }
.fsz_rem40 { font-size: 4.0rem; }

.upper { text-transform: uppercase !important; }

header#header, footer#footer { z-index: 10000 !important; }
header#header { height: 4rem; position: sticky; top: 0; }
footer#footer { height: 4rem;  bottom: 0;}

#menu_col {
  height: calc(100vh - 6rem);
  top: 4rem;
  position: sticky;
}

table {
    border: 0;
    margin-bottom: 0.5rem !important;
}

@media only screen and (max-width: 991px) {
    .btn.btn-outline-warning {
        width: 100% !important;
        padding: 0px !important;
        margin: 0 !important;
        font-size: 0.8rem !important;
        text-indent: -99999px;
    }

    /*.btn.btn-outline-warning {
        content: none !important;
    }*/

    .btn.btn-outline-warning::after {
        content: 'ทางเข้าเล่น';
        display: block;
        text-indent: 0;
        font-size: 1rem;
        text-align: center;
        padding-bottom: 20px !important;
    }

    .btn.btn-outline-warning br {
        display: none !important;
    }
}

#logo_bar {
    font-size: 0.8rem !important;
}

.logo a {
    font-size: 1.1rem !important;
}

.mt-0 {
    margin-top: 0rem;
}

.mt-2 {
    margin-top: 0rem;
}

.ml-1 {
    margin-left: 0rem;
}

.mr-1 {
    margin-left: 0rem;
}

.ml-2 {
    margin-left: 0rem;
}

.mr-2 {
    margin-left: 0rem;
}

.ml-3 {
    margin-left: 0rem;
}

.mr-3 {
    margin-left: 0rem;
}

.pt-3 {
    padding-top: 0rem !important;
}

.pb-2 {
    padding-bottom: 0rem !important;
}

.pb-3 {
    padding-bottom: 0rem;
}

.mt-5 {
    margin-top: 0rem;
}

.align-middle {
    vertical-align: middle !important;
}

.container {
    width: 100%;
}

.btn, .mainBtn {
    padding: 8px 25px;
    border-radius: 6px;
    border: none;
    margin-top: 13px;
    /* margin-bottom: 13px; */
    color: black;
    background: rgb(198,187,128);
    background: -moz-linear-gradient(180deg, rgba(198,187,128,1) 10%, rgba(246,240,195,1) 50%, rgba(110,76,25,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(198,187,128,1) 10%, rgba(246,240,195,1) 50%, rgba(110,76,25,1) 100%);
    background: linear-gradient(180deg, rgba(198,187,128,1) 10%, rgba(246,240,195,1) 50%, rgba(110,76,25,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c6bb80",endColorstr="#6e4c19",GradientType=1);
    font-size: 0.9em;
    cursor: pointer;
    text-decoration: none;
}

.mainBtn {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: auto !important;
    font-size: 1.3rem;
    width: 32.9%;
    padding: 10px 0;
}

.mainBtn.active {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: auto !important;
    font-size: 1.3rem !important;
    width: 32.9%;
    padding: 10px 0;
    border-radius: 6px;
    border: none;
    color: black;
    background: rgb(198,187,128);
    background: -moz-linear-gradient(180deg, rgba(198,187,128,1) 10%, rgba(246,240,195,1) 50%, rgba(110,76,25,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(198,187,128,1) 10%, rgba(246,240,195,1) 50%, rgba(110,76,25,1) 100%);
    background: linear-gradient(180deg, rgba(198,187,128,1) 10%, rgba(246,240,195,1) 50%, rgba(110,76,25,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c6bb80",endColorstr="#6e4c19",GradientType=1);
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-warning {
    width: 45%;
    padding: 20px 35px;
}

#logo a:hover {
    color: whitesmoke;
}

.btn:hover, .mainBtn:hover {
    color: black !important;
    opacity: 0.9;
}

.text-warning {
    color: goldenrod;
    font-size: 0.7rem;
}

.float-right {
    float: right !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-dark {
    color: black;
}

.text-success {
    color: darkgreen !important;
}

.table-dark {
    background-color: #212529;
}

.table-bordered {
    border: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

.w-100 {
    width: 100% !important;
}