* {
    -webkit-overflow-scrolling: touch;
    outline: none;
}

html {
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased !important;
    text-rendering: auto;
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #404040;
}
.border-top {
    border-top: 1px solid #eee !important;
}
.form-group {
    margin-bottom: 15px;
}
.bg-white {
    background-color: #fff;
}
a.text-primary {
    color: #867df4;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.gray-form {
    border-radius: 5px;
    border: 1px solid #efefef;
    background: rgba(250, 250, 250, 0.8);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
    padding: 20px 14px;
}
.gray-form .form-banner h1,
.form-group h5 {
    color: #505050;
    font-size: 18px;
    font-weight: 600;
    line-height: 23px; /* 153.333% */
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.form-banner p {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}
.gray-form .form-banner p {
    color: #909090;
}
.form-banner {
    border-radius: 2px;
    border-left: 2px solid #ed4332;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(255, 255, 255, 0) 39.58%
    );
    padding: 9px 12px;
}
.gray-form .form-banner {
    border-left: 2px solid #557cbe;
}
.gray-form h5 {
    color: #404040;
    font-size: 18px;
    font-weight: 500;
}
.border-tb h4 {
    color: #404040;
    font-size: 22px;
    font-weight: 500;
}
h5 {
    color: #404040;
    font-size: 16px;
    font-weight: 400;
}
.gray-form h4 {
    color: #505050;
    font-size: 15px;
    font-weight: 400;
}
.gray-form h6 {
    color: #909090;
    font-size: 12px;
    font-weight: 400;
    position: relative;
    padding-left: 12px;
    top: 6px;
}
.gray-form h6::before {
    margin-left: 0em;
    border-top: 0.4em solid #557cbe;
    border-right: 0.4em solid transparent;
    border-bottom: 0;
    border-left: 0.4em solid transparent;
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 5px;
    transform: rotate(270deg);
}

.innerbanner-part {
    background-image: url(../images/inner-banner.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15px 18px;
}
.innerbanner-part h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.Content-part {
    padding: 15px 18px;
}
label {
    color: #505050;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}
.form-control {
    border-radius: 2px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05) inset;
    padding: 6px 9px;
    height: 40px;
    font-size: 16px;
}
.form-control:focus {
    box-shadow: none;
}
::placeholder {
    color: #a1a1a1;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}
textarea.form-control {
    height: 80px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}
.input-group {
    border-radius: 2px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05) inset;
}
.input-group .form-control {
    border-right: 0;
    box-shadow: none;
    border-width: 0px;
    background: transparent;
}
.input-group .icon {
    padding: 0.65rem 0.5rem;
    text-align: center;
    border-radius: 2px;
    background: transparent;
    color: #ccc;
}
.input-group .icon.fa:before {
    font-size: 16px;
}
/*button*/
.btn-sl {
    border-radius: 4px;
    height: 38px;
    padding: 6px 30px 6px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    display: inline-flex;
    align-items: center;
}
.btn-sl i {
    font-size: 18px;
}

.btn-pink {
    border-bottom: 2px solid #cfffdf;
    background: #ed4332;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
.btn-red {
    border-bottom: 2px solid #cfffdf;
    background: #f00;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
form .btn-pink {
    margin-top: 10px;
}
.btn-blue {
    border-bottom: 2px solid #cfffdf;
    background: #557cbe;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
.btn-green {
    border-bottom: 2px solid #cfffdf;
    background: #3ace75;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
.btn-ss {
    font-size: 14px;
    padding: 3px 7px 4px 14px;
    border-bottom: 0px solid #cfffdf;
    height: 30px;
    min-width: 85px;
    border-radius: 2px;
    justify-content: center;
}
.btn-ss i {
    font-size: 14px;
}
.btn-ss.disable {
    opacity: 0.4;
}
.btn-sl:hover,
.btn-tb:hover {
    color: #fff;
}
.alert-green {
    color: #fff;
    font-size: 14px;
    border-radius: 2px;
    background: #3ace75;
    border-color: #3ace75;
    padding: 0.3rem 1rem;
}
.t-red {
    color: #f00;
    font-weight: 500;
}
.t-blue {
    color: #557cbe !important;
    font-weight: 500;
}
.t-green {
    color: #00cd52 !important;
    font-weight: 500;
}
.t-orange {
    color: #ffa654;
    font-weight: 500;
}
.t-black {
    color: #404040;
    font-size: 14px;
    font-weight: 600;
}

/*table*/
.table {
    background-color: #fff;
}
th {
    color: #fff;
    background: transparent !important;
    font-size: 13px;
    font-weight: 400;
}
td {
    color: #404040;
    font-size: 12px;
    font-weight: 400;
}
td:nth-child(2) {
    background: #fdfdff;
}
.table > :not(caption) > * > * {
    padding: 8px 6px;
}
th a.sorting {
    position: relative;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    width: 100%;
    padding-right: 20px;
}
th a.sorting:after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    right: 2px;
    top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
}
.sorting_asc:after {
    background-image: url(../images/sort-descending.png);
}
.sorting_dsc:after {
    background-image: url(../images/sort-descending.png);
    transform: rotate(180deg);
}
tfoot td {
    border-width: 0px !important;
}
tfoot td:first-child {
    border-left-width: 1px !important;
}
tfoot td:last-child {
    border-right-width: 1px !important;
}
.t-big {
    font-size: 15px;
    font-weight: 600;
}
/*   pagination  */
.page-count {
    padding-left: 20px;
    margin-bottom: 15px;
}
.page-count::before {
    content: "";
    border-radius: 2px;
    border-bottom: 1px solid #cfffdf;
    background: #557cbe;
    box-shadow: 0px 1px 5px 0px rgba(155, 148, 239, 0.5);
    width: 9px;
    height: 9px;
    position: absolute;
    top: 4px;
    left: 0;
}
.page-count.t-blue {
    width: fit-content;
    top: 0;
}
.page-count.t-blue::before {
    top: 4px;
    width: 7px;
    height: 7px;
}
.pagination a {
    text-decoration: none;
}
.pagination .page-numbers {
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05) inset;
    color: #404040;
    font-size: 15px;
    font-weight: 400;
    padding: 9px;
}
.pagination .page-numbers.current {
    border-radius: 2px;
    border: 1px solid #ccc;
    background: #fafaff;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05) inset;
}
.pagination .page-numbers span {
    padding: 0 12px;
}

/*  header  */
.navbar {
    border: 1px solid #f5f5f5;
    background: linear-gradient(
        0deg,
        #efefef 0.06%,
        rgba(217, 217, 217, 0) 50%
    );
    padding: 0;
}
.navbar-light .navbar-brand {
    padding: 0;
}
.navbar-light .navbar-brand img {
    height: 59px;
}
.dropdown-toggle::after {
    margin-left: 0em;
    border-top: 0.35em solid #557cbe;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
}
.head-cart {
    position: relative;
}
.head-cart .counter {
    position: absolute;
    top: 4px;
    background: #557cbe;
    color: #fff;
    width: 14px;
    height: 14px;
    text-align: center;
    line-height: 14px;
    font-size: 9px;
    border-radius: 50%;
    right: 0px;
    z-index: 0;
    font-weight: 600;
}
.navbar-nav .dropdown-menu {
    left: auto;
    position: absolute !important;
    right: 0;
    border-radius: 6px;
    border-bottom: 1px solid #cfffdf;
    background: #557cbe;
    box-shadow: 0px 1px 5px 0px rgba(155, 148, 239, 0.2);
    color: #fff !important;
    font-size: 16px;
    padding: 3px;
    text-align: center;
    min-width: 150px !important;
    border-width: 0px !important;
}
.navbar-nav .dropdown-menu a {
    color: #fff !important;
}
.toggle-cu-menu {
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0px 2px 10px 0px rgba(155, 148, 239, 0.2);
    width: 30px;
    height: 28px;
    padding: 0 3px;
}
.hamburger-box {
    position: relative;
    width: 28px;
    height: 26px;
}
.hamburger-inner {
    top: 50%;
    display: block;
    margin-top: -1px;
}

.hamburger-inner:after,
.hamburger-inner:before {
    display: block;
    content: "";
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    position: absolute;
    width: 18px;
    height: 2px;
    transition-timing-function: ease;
    transition-duration: 0.15s;
    transition-property: transform;
    background-color: #557cbe;
    left: 0;
}

.hamburger-inner:before {
    top: -4px;
    width: 10px;
}

.hamburger-inner:after {
    bottom: -4px;
    width: 18px;
}

.hamburger-inner {
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition-duration: 75ms;
}

.hamburger-inner:before {
    transition: top 75ms ease 0.12s, opacity 75ms ease;
}

.hamburger-inner:after {
    transition: bottom 75ms ease 0.12s,
        transform 75ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/*login*/
.login-wrap {
    background: linear-gradient(180deg, #557cbe 0%, #e7fff3 100%);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    min-height: 100vh;
}
.login-box {
    border-radius: 0px 0px 50px 50px;
    background: #fff;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translate(0, -50%);
    padding: 19px 20px;
}
.login-box h1 {
    color: #505050;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
}
.login-form {
    border-bottom: 2px solid #fff;
    background: linear-gradient(
        180deg,
        rgba(222, 222, 222, 0.2) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    padding: 18px 25px 40px;
}

.login-form .form-control {
    border-width: 0;
    border-bottom: 1px solid #b3acff;
    border-radius: 0;
    height: 48px;
    background: #fff;
}
.login-form ::placeholder {
    color: #aaa;
    font-size: 14px;
    font-weight: 400;
}
.login-form .btn-blue {
    border-radius: 6px;
    border-bottom: 2px solid #cfffdf;
    background: #557cbe;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
}

/*  parofile  */
.profile-img {
    border-radius: 2px;
    border: 1px solid #eee;
    padding: 13px 22px;
    background: #fff;
}
/*Statement*/
.border-tb {
    border: 1px solid #efefef;
    background: linear-gradient(
        358deg,
        #fafaff 1.94%,
        rgba(250, 250, 250, 0) 76.64%
    );
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
    margin-left: -14px;
    margin-right: -14px;
    padding: 6px 14px;
    margin-bottom: 15px;
}

/* Dashbord*/
.game-box {
    border: 1px solid #eee;
    width: 100%;
    background-color: #fff;
}
.game-box h5 {
    color: #557cbe;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    width: 110px;
}
.game-box .game-box-btn {
    text-align: right;
    padding: 7px 18px;
    border-left: 1px solid #eee;
    background: #fdfdff;
    width: calc(100% - 110px);
}

/* play */
.nav-tabs {
    border-bottom: 0px solid #dee2e6;
    justify-content: center;
}
#myTab.nav-tabs .nav-link {
    border-radius: 4px 4px 0px 0px;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border: 0px solid transparent;
    margin: 0 2px;
    padding: 6px 50px 6px 25px;
    position: relative;
}
#single-tab {
    background: #ed4332;
    color: #fff;
}
#panel-tab {
    background: #557cbe;
    color: #fff;
}
#myTab .nav-link:after {
    position: absolute;
    right: 20px;
    top: 0px;
    content: "\e92e";
    font-family: "Feather";
    line-height: 32px;
    font-size: 18px;
}
#myTab .nav-link.active:after {
    content: "\e931";
}
#myTab2.nav-tabs li.nav-item {
    width: 10%;
}
#myTab2.nav-tabs .nav-link {
    border: 1px solid #fff;
    background: #557cbe;
    color: #fff;
    font-size: 13px;
    padding: 6px 0px !important;
    width: 100%;
    border-radius: 0;
}
#myTab2.nav-tabs .nav-link.active {
    background: #ed4332;
}
#myTabContent {
    color: #404040;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}
.panel-playbox {
    border: 1px solid #eee;
    width: 50%;
    background: #ff47b5;
    padding: 5px 14px;
}
.panel-playbox.panel-playbox2 {
    width: 9.1%;
    padding: 5px 0px;
}
.panel-playbox.bg-red {
    border: 1px solid #ff47b5;
}
.gray-form .tab-pane {
    padding: 15px;
}

/* result*/
.congo-box {
    fill: rgba(255, 255, 255, 0.8);
    stroke-width: 1px;
    stroke: #efefef;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.03) inset;
    border-radius: 5px;
    border: 1px solid #efefef;
}
.congo-box h2 {
    color: #cab545;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.6px;
}
.green-point {
    border-radius: 50px 0px 0px 50px;
    background: #3ace75;
    width: fit-content !important;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 3px 30px;
    /* width: 50%; */
    position: absolute;
    right: 0;
    top: 15px;
}

/*******mobile menu*******/

div#rightsidebar {
    display: none;
}

.toggle-cu-menu {
    cursor: pointer;
}
.toggle-cu-menu.toggle-cu-menu-open {
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 20000000;
}
body.open-mm .mobile-base {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}
.mobile-menu {
    text-align: left;
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    max-width: 100%;
    height: 100vh;
    max-height: 400vh;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.5s;
    -ms-transform: translateX(310px);
    transform: translateX(310px);
    z-index: 10000010;
    background-color: #fff;
}

body.open-mm .mobile-menu {
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

#rightsidebar {
    right: 0;
    top: 0px;
    display: block !important;
}
ul.header-menu-mobile {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.header-menu-mobile > li {
    position: relative;
    border-bottom: 1px solid #ddd;
    padding: 0.6rem 1rem;
}
ul.header-menu-mobile > li:last-child {
    border-bottom: 0px solid #ddd;
}
ul.header-menu-mobile li a {
    color: #45a3fb;
    font-size: 18px;
    font-weight: 500;
}

#rightsidebar ul.header-menu-mobile li a {
    position: relative;

    display: block;
}
