
html, body {
    font-family: 'Sarabun', sans-serif !important;
    /* font-size: 16px; */
    font-weight: 400;
    background: #262930 !important;
    padding-top: 20px;
}
h1, h2, h3, h4, h5, h6, a, ul, li, button, p, label, span {
    font-family: 'Sarabun', sans-serif !important;
}
nav#navbar-header {
    padding: 4px 0px;
    background-color: #1D2025;
}
.text-primary {
    color: #ffc107 !important; /*แก้ตรงนี้*/
}
.btn-primary {
    background: #ffc107 !important; /*แก้ตรงนี้*/
    border-radius: 10px !important;
    border: none !important;
    color: #000 !important;
}
a, button, .pointer {
    cursor: pointer;
}
.bg-secondary {
    background-color: #2E343A !important;
}
.page-header {
    color: #ffc107; /*แก้ตรงนี้*/
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 4px solid #ffc107; /*แก้ตรงนี้*/
}

.page-header>i {
    margin-right: 10px;
}

.border-form {
    color: #ffc107;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #262930;
}

/* login page */
.card-login {
    background: #2E343A;
    border-radius: 10px;
}
.border-login {
    border-bottom: 4px solid #ffc107;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* sidebar and home */
.toggle-sidebar-btn {
    position: fixed;
    right: 15px;
    top: 40px;
    width: 70px;
    background-color: transparent;
    z-index: 1050;
}
.sidebar-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1051;
    top: 0;
    right: 0;
    background-color: #262930;
    overflow: hidden;
    transition: 0.3s;
    white-space: nowrap;
    -webkit-box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 50%);
    -moz-box-shadow: -0px 0px 20px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 50%);
}
.sidebar-menu>.sidebar-header {
    background-color: #ffc107; /*แก้ตรงนี้*/
    padding: 10px 15px;
    color: #000;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}
.sidebar-menu>.sidebar-header>a {
    color: #000;
    float: left;
}
.sidebar-menu>.menu-list {
    padding-left: 2rem;
    padding-right: 2rem;
}
.sidebar-menu>.menu-list>.menu:not(:last-child) {
    border-bottom: 1px solid #BBBCBD;
}
.sidebar-menu>.menu-list>.menu.col-6:nth-child(odd)>a {
    border-right: 1px solid #BBBCBD;
}
.sidebar-menu>.menu-list>.menu.col-6>a {
    margin-left: -15px;
    margin-right: -15px;
    padding: 8px 0px;
}
.sidebar-menu>div:not(.sidebar-header) a {
    color: #BBBCBD;
    display: block;
}
.sidebar-menu>.menu-list>.menu.col-6>a>i.fa {
    margin-bottom: 10px;
}
.sidebar-menu .menu.col-6 i.fa {
    font-size: 24px;
}
.to-top-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid #AAA;
    border-radius: 5px;
}
.new-news {
    font-size: 12px;
    border-radius: 50%;
    padding: 3px 7px;
    position: absolute;
    top: 15px;
    right: calc(50% - 30px);
}
.sidebar-menu .new-news {
    padding: 2px 5px;
    top: 11px;
    left: 33px;
    font-size: 12px;
    right: unset;
}
.top-section h2 {
    font-size: 32px;
    font-weight: bold;
}
.top-section h1 {
    font-size: 76px;
    font-weight: bold;
}
.menu-btn .btn {
    width: 48%;
    font-size: 22px;
    font-weight: bold;
    padding-top: 12px;
}
.menu-btn .btn>i.fa {
    margin-right: 3px;
}
.menu-btn .btn-group {
    width: 100%;
    display: block;
}
.menu-btn .btn-group>.btn:first-child {
    margin-right: 1px;
}
.bottom-section a {
    display: block;
    color: rgba(255, 255, 255, .75);
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 15px;
}
.bottom-section a:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 0.1);
}
.bottom-section a i {
    display: block;
    font-size: 34px;
    margin-bottom: 10px;
}
.credit-btn {
    font-size: 12px;
    padding: 5px;
    font-weight: bold;
}
.credit-btn>i.fa {
    font-size: 18px;
}
.fix-lg-width {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 992px !important;
    padding: 1rem 15px;
}
#refresh-credit {
    padding: 1px 4px;
    font-size: 10px;
    background-color: #BBBCBD;
    border-radius: 10px;
    position: relative;
    top: -1px;
    margin-left: 5px;
    display: inline-block;
}
#refresh-credit>i {
    color: #000;
    margin-top: 3px;
}
nav#menu-bottom {
    padding: 10px 0px;
    text-align: center;
    background-color: #1D2025;
}
nav#menu-bottom .navbar-nav {
    width: 100%;
    flex-direction: row !important;
}
nav#menu-bottom .navbar-nav a.nav-link {
    font-size: 14px;
    padding-top: 0px;
    padding-bottom: 0px;
}
nav#menu-bottom .navbar-nav a.nav-link i.fa {
    display: block;
    font-size: 26px;
    margin-bottom: 4px;
}
nav#menu-bottom .navbar-nav>li:not(:first-child)>a.nav-link {
    border-left: 1px solid rgba(255, 255, 255, .5);
}
@media (max-width: 576px) {
    .toggle-sidebar-btn {
        width: 55px;
    }
}
@media (max-width: 768px) {
    .sidebar-menu .new-news {
        left: 28px;
    }
    #page-wrapper {
        padding-left: 0px;
        padding-right: 0px;
    }
}
@media (max-width: 375px) {
    .sidebar-menu .new-news {
        left: 21px;
    }
}
@media (max-width: 576px) {
    .top-section h2 {
        font-size: 24px;
        font-weight: bold;
    }

    .top-section h1 {
        font-size: 52px;
    }

    .menu-btn .btn {
        font-size: 18px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* credit */
.top-menu {
    margin-top: -1rem;
    margin-bottom: 1rem;
}
.top-menu .nav {
    flex-wrap: nowrap;
}
.top-menu .nav-item.active {
    background-color: rgba(100, 100, 100, 0.3) !important;
}
.top-menu .nav-item {
    background-color: #262930;
}
.nav-fill .nav-item {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
}
.top-menu .nav-item.active>.nav-link {
    color: #fff;
}
.top-menu .nav-link {
    color: rgb(187, 188, 189);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    font-size: 14px;
    padding: 1rem 5px;
}
.top-menu .nav-link>.fa {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 16px;
}

/* casino online */
.casino-game {
    margin: 0px;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    background-color: #000;
    border-radius: 10px 10px 0px 0px;
    -webkit-box-shadow: inset 0px 5px 5px 0px rgb(255 255 255 / 70%);
    -moz-box-shadow: inset 0px 5px 5px 0px rgba(255, 255, 255, 0.7);
    box-shadow: inset 0px 5px 5px 0px rgb(255 255 255 / 70%);
}
.game-name {
    width: 230px;
}
.game-name-box {
    background-color: #2E343A;
    display: table;
    max-width: 300px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    -webkit-border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    margin-bottom: 15px;
}
.game-name-box>.game-name {
    padding: 7px 10px;
    -webkit-border-radius: 0px 0px 0px 10px;
    -moz-border-radius: 0px 0px 0px 10px;
    border-radius: 0px 0px 0px 10px;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.game>a:hover {
    text-decoration: none !important;
}
.game-name-box>.game-icon {
    display: table-cell;
    width: 70px;
    background-color: #ffc107;
    color: #000000;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    -webkit-border-radius: 0px 0px 9px 0px;
    -moz-border-radius: 0px 0px 9px 0px;
    border-radius: 0px 0px 9px 0px;
    padding: 5px;
}
.label-casino-online {
    margin-left: 5px;
    color: #fff;
    font-size: 14px;
}
.label-casino-online-green {
    background: #2fbd00;
}
.label-casino-online-purple {
    background: #ff00f7;
}

/* deposit - withdraw */
.input-custom {
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    margin-bottom: 3px;
}
.form-control {
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #e5e6e7;
    border-radius: 1px;
    color: inherit;
    display: block;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
    font-size: 14px;
}
.btn-default {
    color: inherit;
    background: white;
    border: 1px solid #e7eaec;
}
.btn {
    border-radius: 3px;
}
.table-bordered {
    border: 1px solid #EBEBEB;
}
.table>thead>tr>th {
    border-top: 1px solid #e7eaec;
    border-bottom: 1px solid #DDDDDD;
    line-height: 1.5;
    padding: 8px;
    vertical-align: top;
}
.table-bordered>thead>tr>th {
    background-color: #F5F5F6;
    border: 1px solid #e7e7e7;
    border-bottom-width: 1px;
}
.table>tfoot>tr>td {
    border-top: 1px solid #e7eaec;
    line-height: 1.5;
    padding: 8px;
    vertical-align: top;
}
.table-bordered>tbody>tr>td {
    border: 1px solid #e7e7e7;
}
.text-primary-new {
    color: #b42121;
}
@media screen and (min-width: 480px) {
    .table-responsive {
        overflow-x: auto !important;
    }
}

/* start contect_line */
.sideline {
    overflow: hidden;
    background: rgba(255,203,0,1);
    background: radial-gradient(ellipse farthest-corner at right bottom, #89734C 0%, #89734C 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #ffffac 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    position: fixed;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    top: 50%;
    right: 0;
    text-align: center;
    font-size: 12px;
    padding: 8px;
    color: white;
    z-index: 1001;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,1);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,1);
    cursor: pointer;
}

.sideline i {
    font-size: 50px;
}

@media (max-width: 817px) {
    .sideline {
        top: 57%;
    }
}

@media (max-height: 830px) {
    .sideline {
        top: 45%;
    }
}

@media (max-height: 730px) {
    .sideline {
        top: 42%;
    }
}

@media (max-height: 650px) {
    .sideline {
        top: 40%;
    }
}

@media (max-width: 450px) {
    .sideline {
        font-size: 11px;
        padding: 10px 4px;
    }

    .sideline i {
        font-size: 37px;
    }
}
/* end contect_line */