body {
    background-image: url("../image/main-bg.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #22044a;
}

.yellow {
    color: #fec42d;
}
.green {
    color: #1cbe20;
}

@media screen and (max-width: 767px) {
    .main-topup-list .main-chat-list .main-history-game-list .history-list .safari_only {
        padding-bottom: 65px;
    }
}

.container-body-full{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
.container-sticky{
    position: sticky;
    top: 0;
    left: 0;
    color: #fff;
    z-index: 998;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.date-scroll::-webkit-scrollbar,
.topchart-container::-webkit-scrollbar,
.redeem-container::-webkit-scrollbar,
.reward-container::-webkit-scrollbar,
.chat-container > .row::-webkit-scrollbar,
.main-chat-container::-webkit-scrollbar,
.main-chat-list::-webkit-scrollbar,
.main-topup-list::-webkit-scrollbar,
.leaderboard-content::-webkit-scrollbar,
.chatgame-scroll::-webkit-scrollbar,
.history-list::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.date-scroll,
.topchart-container,
.redeem-container,
.reward-container,
.chat-container > .row,
.main-chat-container,
.main-chat-list,
.main-topup-list,
.leaderboard-content,
.chatgame-scroll,
.history-list {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/*--------------------------*/
/*-----SPLASH SCREEN--------*/
/*--------------------------*/
.splash-container {
    position: relative;
    height: 100vh;
}
.splash-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

/*--------------------------*/
/*-------LOGIN SIGNUP-------*/
/*--------------------------*/
.login-title {
    font-weight: bold;
}
.login-title-email {
    font-weight: 600;
    font-size: 1rem;
}
.login-form-input input {
    padding: 0 1rem 1rem 0;
}
.login-checkbox-caption .caption {
    font-weight: 600;
}
.login-checkbox-caption .check {
    border-radius: 5px;
    border: 1px solid #1a0440;
}
.login-btn-image {
    border-radius: 10px;
}
.login-text-signup {
    font-weight: 600;
}
.login-text-email-forgot-password {
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}
.login-text-signup span {
    margin-left: 7px;
}
.login-container {
    background-color: #fff;
    border-radius: 6px;
}
.login-container form {
    width: 100%;
}
.login-container form input {
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}
.divider {
    width: 100%;
    height: 1px;
    background-color: #c9c9c9;
}

.signup {
    color: #fff;
}

.signup a {
    color: #fec42d;
}

/*--------------------------*/
/*---------BUTTON-----------*/
/*--------------------------*/

.button-green {
    height: auto;
    background-color: #1cbe20;
    color: white !important;
    border-radius: 9px;
    font-weight: 600;
    border: 0;
}
.button-grey {
    height: auto;
    background-color: #4e4e4e;
    color: white!important;
    border-radius: 9px;
    font-weight: 600;
    border: 0;
}
.button-white {
    height: auto;
    background-color: #ffffff;
    border-radius: 9px;
    border: 1px solid #979797;
}

.button-slides-card {
    width: 100%;
    margin: 0;
    background: #3e1277;
    border: 0;
    border-radius: 100px;
    color: #ffffff;
}

.card-active {
    background: #892ae9 !important;
    box-shadow: 0 5px 0px 0px #520d98;
    margin-bottom: 5px;
}

.button-slides-card-content {
    background: none !important;
    font-size: 16px;
    display: flex;
}
.button-slides-card-content-image {
    display: inline-block;
    flex: 0.3;
}
.button-slides-card-content-image-size {
    margin-top: -26px;
    width: 40px;
    min-width: 30px;
}
.button-slides-card-content-text {
    display: flex;
    flex: 0.7;
    align-items: center;
}
@media only screen and (max-width: 336px) {
    .button-slides-card-content {
        font-size: 14px;
    }
}

/*--------------------------*/
/*---------TOP BAR----------*/
/*--------------------------*/
.topbar-container {
    min-width: 100%;
    background-color: #3f1776;
}
.topbar-crystal {
    position: absolute;
    right: 0;
    max-width: 30%;
    padding: 5px 0;
}
.topbar-crystal .row {
    background-color: #dd189f;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 100px;
}
.topbar-crystal .row .icon-diamond {
    display: flex;
    align-items: center;
    width: 18px;
    margin-right: 5px;
}
.topbar-crystal .crystal-counter {
    font-weight: 500;
}

.topbar-profilecontainer {
    min-width: 100%;
    background-color: #5518bb;
    opacity: 1;
}
.topbar-profile-text h4 {
    color: #fff;
}
.topbar-profile-text p {
    color: #fff;
}

/*--------------------------*/
/*-------BOTTOM BAR---------*/
/*--------------------------*/
.menu-bottombar {
    background-color: #3e1277;
    color: #9439c3;
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
.menu-bottombar button {
    background-color: #3e1277;
    color: #9439c3;
    border: none;
}
.menu-bottombar .tab-active {
    background-color: #fcbf2c;
    color: #22044a;
}
.menu-bottombar #tab-active {
    display: none;
}
.menu-bottombar .tab-active #tab-default {
    display: none;
    visibility: hidden;
}
.menu-bottombar .tab-active #tab-active {
    display: inline-block;
}
.menu-bottombar-item {
    height: 55px;
    font-size: 11px;
}

/*--------------------------*/
/*---------- PLAY ----------*/
/*--------------------------*/
* {
    box-sizing: border-box;
}

.play_game_playnow_btn{
    display: flex;
    align-items: center;
    justify-content: center;
}
.play_game_image_details{
    z-index: 999;
    background-color: #fed730;
    box-shadow: 0 8px 6px -6px black;
    border-radius: 20px;
    padding: 2px;
    font-weight: bold;
    color: black;
    font-size: 12px;
    width: 65%;
    align-self: center;
    border: none;
}
.carousel {
    background: transparent;
    height: 100%;
}
.flickity-viewport{
    height: 340px !important;
}
.carousel-cell {
    width: 100%;
    /* height: 200px; */
    /* flex-box, center image in cell */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.carousel-cell img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: 122px !important;
    /* dim unselected */
    opacity: 0.7;
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-filter: blur(1px);
    filter: blur(1px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
    transition: opacity 0.3s, transform 0.3s, filter 0.3s;
    border-radius: 10px;
}

/* brighten selected image */
.carousel-cell.is-selected img {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: none;
    filter: none;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .carousel-cell {
        height: 400px;
    }
}

@media screen and (min-width: 960px) {
    .carousel-cell {
        width: 60%;
    }
}
.flickity-page-dots {
    bottom: -20px !important;
}
.flickity-page-dots .dot.is-selected {
    opacity: 1;
    width: 20px !important;
    border-radius: 5px;
    background: #fed730 !important;
}
.flickity-page-dots .dot {
    width: 7px !important;
    height: 7px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    margin: 0 2px !important;
}
/* buttons, no circle */
.flickity-prev-next-button {
    width: 60px;
    height: 60px;
    background: transparent;
    opacity: 0.6;
}
.flickity-prev-next-button:hover {
    background: transparent;
    opacity: 1;
}
/* arrow color */
.flickity-prev-next-button .arrow {
    fill: white;
}
.flickity-prev-next-button.no-svg {
    color: white;
}
/* closer to edge */
.flickity-prev-next-button.previous {
    display: none;
}
.flickity-prev-next-button.next {
    display: none;
}
/* hide disabled button */
.flickity-prev-next-button:disabled {
    display: none;
}

.game-slider {
    /*width: 300px;*/
    width: auto;
    height: auto;
    /*text-align: center;
    overflow: hidden;*/
    position: relative;
    margin: auto;
}

.slides {
    display: flex;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    width: 100%;
    position: relative;
}
.slides::-webkit-scrollbar {
    width: 10px;
    height: 0px;
}

.slides::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
}

.slides::-webkit-scrollbar-track {
    background: transparent;
}

/*.slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    height: 300px;

    margin-right: 50px;
    border-radius: 10px;
    background: #eee;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
}*/

.slides > li {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: auto;
    margin-right: none;
    margin-top: 5px;
    border-radius: 5px;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

/*.author-info {
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.75rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
}

.author-info a {
    color: white;
}*/

/*img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/
.game-slider > a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
}

.game-slider > a:active {
    top: 1px;
}

.game-slider > a:focus {
    background: #000;
}

/* .dots {
    display: flex;
    height: 1.5em;
    text-align: center;
    top: 0.5em;
    bottom: 0.5em;
    justify-content: center;
    align-items: center;
}

.dot {
    display: block;
    margin: 0 0.25em;
    width: 0.5em;
    height: 0.5em;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
}

.active,
.dot:hover {
    background-color: #3b3a3a;
} */

.gameSlides {
    height: 25%;
    width: 50vw;
    background-color: none;
    justify-content: center;
    align-items: center;
    padding: none;
}

.imgGameSlide {
    /*width: 100%;
    height: 100%;*/
    width: 50vw;
    align-items: center;
    display: block;
    margin: none;
}

.imgGameSlide:hover {
    width: 100%;
    height: 100%;
}

.see-more-btn{
    border:1px solid #FCBF2C;
    border-radius:100px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    width: fit-content;
    padding: 2px 20px;
    float: right;
}
/*--------------------------*/
/*---------TOP CHART--------*/
/*--------------------------*/
.topchart-container {
    height: 91vh;
    position: relative;
    overflow-y: scroll;
    padding-bottom: 30px;
}

.topchart-card-bannimg img{
    height: 90px;
    border-radius: 10px;
}
.topchart-card > .row {
    background-color: #ffffff;
    border-radius: 13px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.topchart-achievement {
    margin-top: -25px;
    position: relative;
}
.topchart-achievement .icon-container {
    margin: 0 auto;
}
.topchart-card p:nth-child(1) {
    font-weight: 500;
}
.topchart-card p:nth-child(2) {
    color: #acacac;
    font-size: 10px;
}

/*--------------------------*/
/*----------REWARD----------*/
/*--------------------------*/
.reward-container {
    /* height: 85vh; */
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-bottom: 50px;
}
.background-reward-dropdown {
    background-color: #5518bb;
}
.container-sticky .dropdown-button,
.container-sticky .history-button {
    height: auto;
    border-radius: 10px;
}
.container-sticky .dropdown-button .button {
    width: 100%;
    height: auto;
    background-color: #fcbf2c;
    padding: 19px 22px;
    margin-bottom: -39px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}
.reward-container-dropdown ul.d-menu {
    width: 94.6vw;
    margin-top: 30px;
    padding-right: 12px;
    background-color: transparent;
    box-shadow: none !important;
}
.reward-container-dropdown ul.d-menu li {
    margin-top: -2px;
}
.reward-container-dropdown ul.d-menu li a {
    height: auto;
    background-color: #fcbf2c;
    padding: 0 24px;
    font-size: 16px;
}
.container-sticky .history-button .button {
    width: 100%;
    height: auto;
    background-color: #1cbe20;
    color: #ffffff;
    padding: 14px 0;
    margin-bottom: -30px;
    font-size: 16px;
    border-radius: 10px;
}

/*--------------------------*/
/*---------REDEEM-----------*/
/*--------------------------*/
.body_flex {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: -webkit-fill-available;
}
.body_flex_redeem_header {
    display: flex;
    flex-direction: row;
}
.redeem-container {
    /* height: 80vh; */
    position: relative;
    overflow-y: scroll;
    color: #ffffff;
    padding-bottom: 30px;
}
.redeem-container p {
    font-size: 16px;
    font-weight: 300;
}
.redeem-topbar {
    height: 11.84vh;
}
.redeem-bottombar {
    background-color: #5518bb;
    color: white;
    position: fixed;
    min-width: 100%;
    left: 0;
    bottom: 0;
}
.redeem-bottombar-diamond {
    font-size: 20px;
    font-weight: bold;
    align-self: center;
    display: flex;
    align-items: center;
}
.redeem-bottombar-diamond span {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

/*--------------------------*/
/*-----------CHAT-----------*/
/*--------------------------*/
.main-chat-container {
    /* height: 100vh; */
    position: relative;
    color: #ffffff;
    padding-bottom: 0px;
    padding-left: 0;
    padding-right: 0;
    overflow-y: scroll;
}
.container-sticky .chat-switch,
.container-sticky .main-chat-add-friend {
    background-color: #5518bb;
    padding: 12px 16px 4px 16px;
    z-index: 1;
}
.container-sticky .chat-switch-container {
    background-color: #41148b;
    border-radius: 100px;
    padding: 0;
}
.container-sticky .chat-switch-container button {
    background-color: #41148b;
    border: none;
    border-radius: 100px;
    color: #9874d3;
    padding: 10px 0;
    font-weight: 100;
}
.container-sticky .chat-switch-container button.chat-switch-active {
    background-color: #892ae9;
    color: #ffffff;
    font-weight: 500;
}
.main-chat-add-friend button {
    background-color: #fcbf2c;
    border: none;
    border-radius: 10px;
    padding: 16px 0px;
    margin-bottom: -40px;
}
.main-chat-list {
    height: 100%;
    position: relative;
    color: #ffffff;
    padding-top: 30px;
    /* padding-bottom: 80px; */
    padding-left: 16px;
    padding-right: 16px;
    overflow-y: auto;
}

.chat-date {
    color: #9439c3;
    z-index: 1;
    min-width: 100%;
    margin: 0 auto !important;
}
.chat-container-list {
    /* height: 75vh; */
    /* padding-bottom: 30px; */
    overflow-y: scroll;
}
.chat-container .cell-6 {
    word-break: break-all;
}
.chat-row {
    height: auto;
    padding: 10px 0;
}
.chat-bubble{
    background: #f4e0ff;
    word-break: break-word;
    height: auto;
    min-height: 10px;
    padding: 14px;
    width: fit-content;
}
.chat-container .chat-me {
    background-color: #ffffff;
    border-radius: 13px 0px 13px 13px;
    float: right;
}
.chat-container .chat-other {
    background-color: #f4e0ff;
    border-radius: 13px 13px 13px 0px;
}
.main-chat-list .friend-name {
    font-weight: bold;
}
.main-chat-list .friend-chat-preview {
    color: #beb9b9;
    font-weight: 100;
}
.chat-divider {
    height: 1px;
    background-color: #584660;
}

.chat-bottombar {
    min-width: 100%;
    position: fixed;
    margin: 0 auto !important;
    background-color: #ffffff;
    bottom: 0;
    left: 0;
    color: white;
}
.chat-bottombar input {
    border: 0;
    font-weight: 400;
    background-color: #f0f1f5;
}
.chat-bottombar input::placeholder {
    color: #bcbcbc;
    font-weight: 400;
    font-size: 17px;
}
.chat-bottombar .cell-8 {
    background-color: #f0f1f5;
    border-radius: 100px;
}

.game-pad-slider {
    max-height: 30vh; /* approximate max height */
    transition-property: all;
    transition-duration: 0.5s !important;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    background: #efefef;
    overflow: hidden;
}

.game-pad-slider.closed {
    max-height: 0;
}
.chat-invite-game-left-text{
    color: #312444;
}
.chat-invite-game-left-text p{
    margin: unset;
    font-size: 14px;
}

.chat-invite-game-img{
    margin-top: -19%;
}

.chat-invite-game-img img{
    border-radius: 50%;
    border: 5px solid #fff;
}
/*--------------------------*/
/*----------TOP UP----------*/
/*--------------------------*/
.main-topup {
    padding: 10px;
    z-index: 1;
    background-color: #5518bb;
}
.main-topup-container {
    position: relative;
    color: #ffffff;
    padding-left: 0;
    padding-right: 0;
}
.main-topup-container .chat-switch {
    background-color: #5518bb;
    padding: 12px 16px 4px 16px;
    z-index: 1;
}
.main-topup-container .chat-switch-container {
    background-color: #41148b;
    border-radius: 100px;
    padding: 0;
}
.main-topup-container .chat-switch-container button {
    background-color: #41148b;
    border: none;
    border-radius: 100px;
    color: #9874d3;
    padding: 12px;
    font-weight: 100;
}
.main-topup-container .chat-switch-container button.chat-switch-active {
    background-color: #892ae9;
    color: #ffffff;
    font-weight: bold;
}
.main-topup > div {
    background-color: #fcbf2c;
    border: none;
    border-radius: 10px;
    margin-bottom: -30px;
    color: #000000;
    font-size: 18px;
}
.main-topup-list {
    background: #3e1277;
    height: 100%;
    position: relative;
    color: #ffffff;
    padding-top: 40px;
    padding-bottom: 30px;
    padding-left: 16px;
    padding-right: 16px;
    overflow-y: auto;
}
.topup-diamond-amount {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
}
.topup-diamond-amount span {
    margin-right: 5px;
}
.topup-btn-subscribe {
    background-color: #ffffff;
    color: #2c1052;
    font-size: 14px;
    border-radius: 0 0 20px 20px;
    font-weight: 600;
}
.subscribe-card > .subscribe-card-container {
    background: rgb(221, 24, 159);
    background: linear-gradient(174deg, rgba(221, 24, 159, 1) 0%, rgba(137, 42, 233, 1) 100%);
    border-radius: 20px;
}
.one-time-card {
    background: #6d22ef;
    border-radius: 14px;
}
.topup-onetime-price {
    color: #fcbf2c;
    border: 1px solid #fcbf2c;
    border-radius: 100px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.history-list {
    height: 80vh;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    color: #ffffff;
    padding-bottom: 50px;
}

/*--------------------------*/
/*----------PROFILE---------*/
/*--------------------------*/
.profile-subscribe-button {
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 100px;
}
.profile-container {
    /* height: 91vh; */
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    padding-bottom: 30px;
}
.background-profile-btn {
    background-color: #5518bb;
}
.container-sticky .diamonds-button,
.container-sticky .historygame-button {
    height: auto;
    border-radius: 10px;
}
.container-sticky .historygame-button .button {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 14px 18px 15px 10px;
    margin-bottom: -30px;
    font-size: 16px;
    text-align: left;
    font-weight: 600;
    border-radius: 10px;
}
.container-sticky .diamonds-button .button {
    width: 100%;
    height: auto;
    background-color: #dd189f;
    padding: 8px 0px;
    margin-bottom: -31px;
    font-size: 16px;
    border-radius: 10px;
    color: #ffffff;
    line-height: 1.3;
}
.profile-container .howtoplay-button {
    height: 65px;
}
.profile-container .howtoplay-button .button {
    width: 100%;
    height: 100%;
    background-color: #fcbf2c;
    margin-bottom: -40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
}
.profile-settings {
    background: #ffffff;
    border-radius: 10px;
}
.profile-settings button {
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #e6e6e6 !important;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*--------------------------*/
/*----------PROFILE---------*/
/*--------------------------*/
.main-topup .dropdown-button {
    height: auto;
    display: block;
}
.main-topup .dropdown-button .button {
    width: 100%;
    height: auto;
    background-color: #fcbf2c;
    padding: 18px 28px;
    margin-bottom: -10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}
.main-topup ul.d-menu {
    width: 100%;
    margin-top: -7px;
    padding-right: 12px;
    background-color: transparent;
    box-shadow: none !important;
}
.main-topup ul.d-menu li a {
    height: auto;
    background-color: #fcbf2c;
    padding: 5px 30px;
    font-size: 16px;
    font-weight: 600;
}

/*--------------------------*/
/*-------Help Center--------*/
/*--------------------------*/
.main-helpcenter-container {
    height: 83vh;
    position: relative;
    color: #ffffff;
    padding-left: 0;
    padding-right: 0;
    overflow-y: scroll;
}
.helpcenter-body {
    margin: 13px 14px;
    padding: 13px 14px;
    background: #fff;
    color: #484848;
    border-radius: 10px;
}
.helpcenter-body-footer {
    margin-top: 20px;
}
.helpcenter-body-footer p {
    font-weight: 800;
}

/*--------------------------*/
/*-------Rules Policy-------*/
/*--------------------------*/
.main-rulespolicy-container {
    position: relative;
    color: #ffffff;
    padding: 15px;
}
.rulespolicy-body {
    padding: 13px 14px;
    background: #fff;
    color: #484848;
    border-radius: 10px;
    overflow-y: scroll;
    height: 100%;
}
.rulespolicy-body p {
    margin-bottom: 20px;
}

/*--------------------------*/
/*-------How To Play--------*/
/*--------------------------*/
.main-howtoplay-container {
    position: relative;
    color: #ffffff;
    padding-left: 0;
    padding-right: 0;
    height: 100vh;
}
.howtoplay-body {
    height: 100%;
    overflow-y: scroll;
}
.howtoplay-bar-dot {
    display: flex;
    align-items: center;
    justify-content: center;
}
.howtoplay-bar-dot-btn {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 2px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.dotactive,
.dot:hover {
    background-color: yellow;
}

.howtoplay-bar-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
.howtoplay-bar-desc-text {
    text-align: center;
    font-size: 14px;
    width: 85%;
}
.howtoplay-slideshow {
    max-height: 80vh;
    margin-bottom: -40px;
    margin-top: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.howtoplay-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.howtoplay-bar-btn .next-btn {
    border: 1px solid #fff;
    background: #fff;
    color: #22044a;
    font-weight: 700;
    width: 70%;
    padding: 7px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.howtoplay-bar-btn .skip-btn {
    border: 1px solid #fff;
    background: none;
    color: #fff;
    font-weight: 600;
    width: 70%;
    padding: 7px;
    border-radius: 8px;
}

/*--------------------------*/
/*-------History Game-------*/
/*--------------------------*/
.main-history-game-list {
    height: 80vh;
    position: relative;
    color: #ffffff;
    padding-top: 40px;
    padding-bottom: 80px;
    padding-left: 16px;
    padding-right: 16px;
    overflow-y: auto;
}
.game-history-card {
    background-image: url("../image/history-card.png");
    background-color: #ffffff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    border-left: 8px solid #892ae9;
    border-radius: 12px;
    height: auto;
    color: #000000;
}
.game-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #ffffff;
    padding: 0 10px;
    border: 1px solid #000000;
    border-radius: 100px;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    color: #312444;
}
.game-card-flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.game-card-img{
    height: 60px;
    border-radius: 10px;
}
.game-card-title{
    font-weight: 700;
    color: #22044a;
    font-size: 18px;
}
.game-card-date{
    color: #898989;
    font-size: 14px;
}
.game-status span {
    display: flex;
}
.game-status-finish {
    width: 100%;
    text-align: center;
    color: #dd189f;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.per-match {
    background: #1cbe20;
    border-radius: 100px;
    color: #ffffff;
    line-height: 1;
}
.per-win {
    background: #dd189f;
    border-radius: 100px;
    color: #ffffff;
    line-height: 1;
}

/*--------------------------*/
/*--------8ball Game--------*/
/*--------------------------*/
.ball-game-details {
    background-color: #5518bb;
    height: auto;
    padding-top: 0px;
    padding-left: 16px;
    padding-right: 16px;
    border-top: 1px solid #7b46d3;
}
.playnow-button {
    background-color: #fcbf2c !important;
    color: black !important;
    /* position: sticky;
    bottom: 0;
    left: 0; */
    font-weight: bold;
}

.gamelobby-img-center {
    display: flex;
    align-items: center;
}
.game-type-text {
    font-style: italic;
    font-size: 11px;
}
.prize-content{
    height: 100%;
    overflow-y: auto;
}
/*--------------------------*/
/*----8ball LEADERBOARDS----*/
/*--------------------------*/
.main-chat-container2 {
    /* height: calc(100vh - 357.47px); */
    position: relative;
    color: #ffffff;
    padding-bottom: 0px;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    /* overflow-y: scroll; */
}
/* .container-sticky .chat-switch,
.container-sticky .main-chat-add-friend {
    background-color: #5518bb;
    padding: 16px;
    z-index: 1;
}
.container-sticky .chat-switch-container {
    background-color: #41148b;
    border-radius: 100px;
    padding: 0;
}
.container-sticky .chat-switch-container button {
    background-color: #41148b;
    border: none;
    border-radius: 100px;
    color: #9874d3;
    padding: 12px;
    font-weight: 100;
}
.container-sticky .chat-switch-container button.chat-switch-active {
    background-color: #892ae9;
    color: #ffffff;
    font-weight: bold;
} */

.main-chat-container2 .leaderboard-content {
    position: relative;
    display: block;
}
.game-type-title {
    font-size: 16px;
    align-items: center;
    display: flex;
}
.gameinfo-buy-diamond {
    background: #fec42d;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: -30px;
    z-index: 1;
}
.gameinfo-buy-diamond-left {
    color: #000000;
    display: flex;
    align-items: center;
    padding: 10px;
}
.gameinfo-buy-diamond-left span {
    margin-right: 5px;
    margin-left: 10px;
}
.gameinfo-buy-diamond-right {
    background-color: #1cbe20;
    font-size: 14px;
    border: #1cbe20;
    color: #ffffff;
}
.gameinfo-icon-type {
    display: flex;
    align-items: center;
}
.leaderboard_firstchamp {
    margin-bottom: -134px;
}
.leaderboard-list-rank-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.leaderboard-content{
    height: 100%;
    overflow-y: auto;
}
/*--------------------------*/
/*---------SETTING----------*/
/*--------------------------*/
.setting-form input {
    background: #76618d;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    height: 48px;
    margin-top: 6px;
    font-weight: 600;
    padding-left: 20px;
}
.setting-form label {
    padding-left: 20px;
    font-weight: 300;
    font-size: 14px;
}
.setting-form input::placeholder {
    color: #aa9cb9;
    font-weight: 400;
}

/*--------------------------*/
/*----------POP UP----------*/
/*--------------------------*/
.modal-notif {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0, 0.7);
    z-index: 999;
}
.modal-notif.closed {
    display: none;
}
.modal-notif.opened {
    display: block;
}
.popup-container {
    width: 96%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #b83af3;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
}
.popup-container2 {
    width: 312px;
    height: 410px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    border-radius: 16px;
}
.popup-versus-body {
    padding-top: 15%;
    overflow: scroll;
    height: 90vh;
    padding-bottom: 15%;
}
.popup-versus-diamond {
    display: flex;
    align-items: center;
}
.popup-versus-diamond span {
    margin-right: 5px;
}
.closebtn {
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 50%;
    right: 10px;
    position: absolute;
    font-weight: bold;
    color: #3f1776;
    background-color: whitesmoke;
}

/*--------------------------*/
/*--------ADD FRIEND--------*/
/*--------------------------*/
.add-searchs form {
    width: 100%;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #ffffff;
}
.add-searchs input[type="text"] {
    font-size: 14px;
    background: #ffffff;
    border: none !important;
}
.add-searchs input::placeholder {
    font-size: 14px;
    color: #aa9cb9;
}

.add-searchs textarea,
.add-searchs .input,
.add-searchs .textarea,
.add-searchs .select,
.add-searchs .tag-input,
.add-searchs .spinner {
    border: none !important;
}

.add-friend-button img:nth-child(2) {
    display: none;
}
.added-friend img:nth-child(2) {
    display: inline-block;
}

.added-friend img:nth-child(1) {
    display: none;
    visibility: hidden;
}

.group-checkbox .check {
    border-radius: 100px;
}
.group-checkbox input[type="checkbox"]:checked ~ .check {
    background: none !important;
    border: 1px solid #ffffff !important;
}
.group-checkbox .check::before {
    border-color: #1cbe20 !important;
}

.loader-overlay {
    display:    block;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 )
                url('/image/ajax-loader.gif')
                50% 50%
                no-repeat;
}

.emoji-toggle-disable::after{
    content:url('/image/chat/emoji.png');
}
.emoji-toggle-active::after{
    content:url('/image/chat/emoji-active.png');
}

.logo-list {
    background-color: #22044a;
    border-radius: 60px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 35px;
    position: relative;
    right: 8px;
}

.icon-list {
    margin-left: 4px;
}

.float-button {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 110;
    border-radius: 50%;
    box-shadow: 0px 4px 20px 1px rgba(161, 161, 161, 0.5);

}

.float-button a {
    text-decoration: none !important;
    display: flex;
}

.float-button a img{
    width: 100px;
    height: 100px;
}
