@charset "UTF-8";
/* --------------------------------------------------
 Base
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body, ol, ul, dl, li, dt, dd, table, th, td, input, textarea, select, h1, h2, h3, h4, h5, h6 {
    font-family: "Prompt", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: #b0b4bb;
}

html::-webkit-scrollbar {
    background: #e6e8ec;
    width: 6px;
}

html::-webkit-scrollbar-thumb {
    background: #b0b4bb;
    border-radius: 6px;
}

body {
    background: #000;
    color: #fff;
    min-width: 320px;
    line-height: 1.5;
    font-size: 100%;
    position: relative;
    overflow-x: hidden;
    animation: pageLoad 2s;
}

body::before {
    content: "";
    background: url(../img/common/bg-login.jpg) no-repeat center center;
    background-size: cover;
    width: 100vw;
    height: calc(100vh + 100px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
}

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

    100% {
        opacity: 1;
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

dt, dd {
    line-height: 1.5;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

input,
textarea {
    padding: 5px 8px;
}

select {
    font-family: 'Noto Sans Thai', sans-serif!important;
    padding: 5px 8px;
}

ul {
    list-style: none;
}

ol {
    margin: 0px 0px 0px 21px;
}

ol>li {
    list-style: decimal outside;
    margin: 0px 0px 3%;
}

a {
    color: #dcbb66;
    text-decoration: underline;
    outline: 0;
}

a:hover, a:active {
    color: #dcbb66;
    text-decoration: none;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

h1, h2 {
    font-size:1.2rem;
}

h3, h4 {
    font-size:1.1rem;
}

/* --------------------------------------------------
 Wrapper
-------------------------------------------------- */

#wrapper {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    transition: all 0.4s ease-in-out;
}

/* --------------------------------------------------
 Header
-------------------------------------------------- */

#navbar-auth-header {
    border-bottom: 2px solid #be8e25;
}

#navbar-auth-header .text-username {
    color: #f3d984;
    font-size: .9rem;
    text-align: right;
}

#navbar-auth-header #box-credit {
    background: #2cb746;
    border-radius: .25rem;
    padding: 0 .5rem;
    text-align: right;
}

#navbar-auth-header #box-credit img {
    margin-bottom: 2px;
}

#navbar-auth-header #box-credit #text-credit {
    color: #fff;
    font-size: .9rem;
}

#navbar-auth-header #box-diamond {
    background: #17a2b8;
    border-radius: .25rem;
    padding: 0 .5rem;
    text-align: right;
    margin-left: 5px;
}

#navbar-auth-header #box-diamond i {
    font-size: 85%;
    margin-bottom: 2px;
}

#navbar-auth-header #box-diamond #text-diamond {
    color: #fff;
    font-size: .9rem;
}

#navbar-auth-header .btn-credit-reload .fa-sync {
    color: #f3d984;
    font-size: .9rem;
}

/* --------------------------------------------------
 side-menu-right
-------------------------------------------------- */

#side-menu-right {
    background-color: #262521;
    box-shadow: 4px 0 12px #000;
    height: 100%;
    opacity: .95;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    top: 0;
    transition: .5s;
    width: 0;
    z-index: 1;
    z-index: 999;
}

#side-menu-right .sidenav-container {
    min-width: 300px;
}

#side-menu-right .sidenav-header {
    margin: 1.5rem 1.5rem 1rem 2rem;
}

#side-menu-right .sidenav-header .close {
    opacity: .8;
}

#side-menu-right ul {
    margin: 0;
    padding: 0;
}

#side-menu-right ul li {
    list-style-type: none;
}

#side-menu-right ul li a {
    color: #e9dfbc;
    display: block;
    font-size: 1rem;
    padding: 12px 2rem;
    text-decoration: none;
    transition: .3s;
}

#side-menu-right ul li a:hover {
    background: hsla(0, 0%, 100%, .1);
    color: #d0ab46;
}

#side-menu-right .sidenav-container .item {
    align-items: center;
    display: flex;
    justify-items: center;
}

/* --------------------------------------------------
 wrap-nav-bottom
-------------------------------------------------- */

.wrap-nav-bottom {
    bottom: 0;
    left: 0;
    margin: auto;
    max-width: 480px;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 99;
}

.wrap-nav-bottom a {
    text-decoration: none;
}

.wrap-nav-bottom .container {
    background: #0d0d0d;
    background: linear-gradient(0deg, #0d0d0d, #22211e);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.wrap-nav-bottom .container .col {
    padding-bottom: .5rem;
    padding-top: .75rem;
}

.wrap-nav-bottom .container .col.active {
    background-color: #dcbb66;
    position: relative;
}

.wrap-nav-bottom .container .col.active img {
    left: 50%;
    position: absolute;
    top: -1.5rem;
    transform: translate(-50%);
}

.wrap-nav-bottom .container .footer-item img {
    margin-bottom: .25rem;
}

.wrap-nav-bottom .container .text-footer {
    color: #dcbb66;
    font-size: .9rem;
    text-align: center;
}

.wrap-nav-bottom .container .col.active .box-active {
    height: 24px;
    margin-bottom: .25rem;
}

.wrap-nav-bottom .container .col.active .text-footer {
    color: #131313;
    font-weight: 700;
}

/* --------------------------------------------------
 Contents
-------------------------------------------------- */

#contents {
    min-height: calc(100vh - 100px);
    padding-top: 140px;
    position: relative;
    transition: all .4s;
}

/* --------------------------------------------------
 Footer
-------------------------------------------------- */


/* --------------------------------------------------
 Other
-------------------------------------------------- */

.mfp-bg {
    z-index: 1051;
}

.mfp-wrap {
    z-index: 1052;
}

button.mfp-close {
    display: none;
}

.white-popup-block {
    background: #fff;
    padding: 30px 45px;
    text-align: left;
    max-width: 675px;
    margin: 70px auto;
    position: relative;
}

@media screen and (max-width: 767px) {
    .white-popup-block {
        padding: 3% 4%;
    }
}

#page-top {
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 998;
    display: none;
}

#page-top a {
    background: #d89597;
    width: 50px;
    height: 50px;
    border-radius: 99px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-top a::after {
    font-family: "Font Awesome 5 Free";
    content: '\f106';
    color: #fff;
    font-weight: 900;
    font-size: 28px;
}

#page-top .txt {
    display: block;
}

@media screen and (max-width: 767px) {
    #page-top a {
        width: 40px;
        height: 40px;
    }
    #page-top a::after {
        font-size: 20px;
    }
}

.animation-hide {
    opacity: 0;
}

@keyframes slide-left {
    0% {
        transform: translateX(135px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}