@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
*, 
::after, 
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    font-family: "Nunito Sans", sans-serif; 
    font-size: 12px; 
    color:var(--light-text); 
    overflow-x: hidden; 
    margin:0 auto; 
    line-height:1.2; 
    background-color: var(--bg-site);
}
::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}
  
::-webkit-scrollbar-track {
    background: var(--bg-site);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-scrollbar-thumb);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-scrollbar-thumb);
}

.container{
    max-width: 1260px;
    margin: 0 auto;
}

button{
    all:unset;
    display: inline-block;
    box-sizing: border-box;
}

.btn{
    border-radius: 5px;
    padding: 5px 5px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
}

a{
    color: inherit;
    text-decoration: none;
}
ul{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}
input{
    background: none;
    color: var(--primary-text2);
    border: none;
    -webkit-appearance: none;
}
hr{
    border-color: var(--bg-mobile-nav-bottom-line);
}
.red-text{
    color: var(--important-text);
}
.nav-open{
    overflow: hidden;
}
.dropdown-menu{
    background-color:var(--bg-navdropdown);
    color: var(--primary-text2);
    border: none;
    border-radius: 0 0 10px 10px;
}
.content-center{
    padding-bottom: 65px;
    overflow: hidden;
}
/*header*/
header{
    position: sticky;
    top:0;
    z-index: 11;
    background-color: var(--bg-header-wrapper);
}
.top-header{
    background-color: var(--bg-header);
    position: relative;
    padding: 10px 0;
}
.logo{
    width: 30%;
    max-width: 200px;
}
.logo-text{
    color: var(--light-text);
    font-size: 7vw;
    font-weight:900;
    width:30%;
}
.logo-text span{
    color: var(--theme-color);
    font-weight: 900;
}
.nav-bar{
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: end;
}
.nav-bar ul{
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.nav-bar ul.nav-group{
    display: none;
}
.nav-group li{
    position: relative;
}
.nav-group li a{
    list-style: none;
    margin: 0px 0.8rem;
    font-size: 1rem;
    line-height: 70px;
    color: var(--primary-text2);
    position: relative;
    cursor: pointer;
    display: block;
}
.nav-group li a:after,
.nav-group li.active a:after{
    content:"";
    position: absolute;
    bottom:0px;
    width: 100%;
    height: 2px;
    background-color: var(--theme-color);
    opacity: 0;
    left:0;
}
.nav-group li a:hover,
.nav-group li.active a{
    color: var(--theme-color);
}
.nav-group li a:hover:after,
.nav-group li.active a:after{
    opacity: 1;
}
.nav-group li .icon{
    position: absolute;
    bottom:42px;
    right:10px;
    width: 24px;
}
.nav-btn{
    font-size: 1.5rem;
    position: absolute;
    right:10px;
    margin-left: 1rem;
    top:50%;
    transform: translateY(-50%);
    color:var(--nav-btn-color);
    z-index: 10;
}
.nav-dropdown-group{
    width: 100%;
}
.nav-dropdown{
    position: absolute;
    background-color:var(--bg-game-category-m);
    padding: 0px;
    transition: all 0.3s ease-in-out;
    top:0;
    right:-80%;
    height: 100vh;
    width: 80%;
    max-width: 400px;
    z-index: 11;
    overflow-y: scroll;
    padding-bottom: 100px;
}
.nav-dropdown.open{
    animation: slideleft 0.3s ease-in-out forwards;
}
.nav-dropdown.close{
    animation: slideright 0.3s ease-in-out forwards;
}
@keyframes slideleft{
    0%{
        right:-80%;
    }
    100%{
        right:0px;
    }
}
@keyframes slideright{
    0%{
        right:0px;
    }
    100%{
        right:-75%;
    }
}
.nav-open-content{
    display: none;
}
.nav-open-content-m{
    display: block;
}
.top-header-container .overlay{
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    display: none;
    top:0;
    right:0;
    z-index: 11;
}
.nav-open-content-m .menu-btns{
    background: var(--bg-mobile-nav-top);
    position: sticky;
    top: 0;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    align-items: center;
    font-size: 1rem;
    color: var(--primary-text2);
    z-index: 10;
}
.nav-open-content-m .menu-btns .lang-btn{
    font-size: 1rem;
    padding-right: 20px;
}
.nav-open-content-m .menu-btns .lang-btn .arrow{
    right:0px;
}
.nav-open-content-m .menu-btns .lang-btn .flag-icon{
    width: 25px;
    margin-left: 10px;
}
.nav-open-content-m .menu-btns .lang-group .dropdown-menu ul{
    display: block;
}
.nav-open-content-m .nav-menu-wrapper{
    padding:25px 15px 15px 15px;
}
.nav-open-content-m .register-wrapper{
    text-align: center;
}
.nav-open-content-m .register-wrapper h2{
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
}
.nav-open-content-m .register-wrapper p{
    font-size: 1.2rem;
    color: var(--primary-text2);
}
.nav-open-content-m .btn-register{
    background-color: var(--primary-btn);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:5px 10px;
    text-align: center;
    width: 120px;
    border-radius: 10px;
    font-size: 1rem;
    margin: 0 auto 20px auto;
    text-transform: uppercase;
    line-height: 1.1rem;
}
.nav-open-content-m .login-text{
    font-size: 0.8rem;
    color: var(--primary-text2);
}
.nav-open-content-m .login-text a{
    text-decoration: underline;
    color: var(--light-text);
}
.nav-open-content-m .nav-menu-top{
    display: block;
    margin-top: 30px;
}
.nav-open-content-m .lang-group{
    position: relative;
}
.nav-open-content-m .lang-group .dropdown-menu {
    width: 250px;
    right:0 !important;
}
.nav-open-content-m .nav-menu-top .item-list{
    text-align: center;
    padding:10px;
    background: var(--bg-special-menu);
    border-radius: 5px;
    margin: 5px;
    color: var(--light-text);
    font-size: 1rem;
    flex-shrink: 0;
    width:calc(100% - 5px);
}
.nav-open-content-m .nav-menu-top .item-list a{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.nav-open-content-m .nav-menu-top .item-list.active{
    position: relative;
}
.nav-open-content-m .nav-menu-top .item-list .icon{
    display: block;
    width: 30px;
    margin-left: 10px;
}
.nav-open-content-m .nav-menu-bottom{
    display: block;
}
.nav-open-content-m .nav-menu-bottom .item-list{
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px var(--bg-mobile-nav-bottom-line) solid;
    font-size: 1rem;
    align-items: center;
    color: var(--primary-text2);
}
.nav-open-content-m .nav-menu-bottom .item-list.active{
    color: var(--theme-color);
}
.nav-open-content-m .nav-menu-bottom .item-list .icon{
    width: 25px;
    margin-left: 15px;
}
.nav-open-content-m .download{
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 15px;
    background-color: var(--bg-mobile-nav-download);
}
.nav-open-content-m .download .left-content{
    display: flex;
    align-items: center;
}
.nav-open-content-m .download .app-icon{
    width: 60px;
}
.nav-open-content-m .download .text{
    flex-grow: 1;
    padding: 0 10px;
}
.nav-open-content-m .download .title{
    font-size: 1rem;
    font-weight:bold;
    color: var(--theme-color);
}
.nav-open-content-m .download p{
    font-size: 0.7rem;
    margin: 0;
}
.nav-open-content-m .download .btn-download{
    background-color: var(--theme-color);
    color: var(--light-text);
    font-size: 0.8rem;
    padding: 5px;
}
.nav-game {
    width: 100%;
    padding: 0 15px;
}
.nav-game ul,
.nav-special ul{
    display: block;
    padding-top: 21px;
}
.nav-game li,
.nav-special li{
    list-style: none;
    margin-bottom: 22px;
    cursor: pointer;
    display: block;
}
.nav-game li a,
.nav-special li a{
    color: var(--primary-text2);
    font-size: 1rem;
}
.nav-game li:hover a,
.nav-special li:hover a,
.nav-game li.active a,
.nav-special li.active a{
    color: var(--theme-color);
}
.nav-game li .icon,
.nav-special li .icon{
    margin-right: 22px;
    width: 27px;
}
.nav-special{
    background: var(--bg-navdropdown2);
    border-radius: 10px;
    width: 100%;
    padding: 0 30px 60px 30px;
}
.nav-special .login-btn,
.nav-special .login-btn:hover,
.nav-special .login-btn:active{
    background: var(--primary-btn3) !important;
    border:1px solid var(--primary-btn-outline) !important;
    color: var(--primary-text) !important;
    min-width: 180px;
    position: absolute;
    bottom: 60px;
}
.nav-special .login-btn a{
    padding: 7px 15px;
    display: block;
}
.second-header{
    margin-top: 2px;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right: 0px;
}
.second-header-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 46px;
}
.second-header-wrapper .left{
    display: flex;
    align-items: center;
    display: none;
}
.second-header-wrapper .left .time{
    color: var(--primary-text2);
    font-size: 0.8rem;
    padding-right: 15px;
    position: relative;
}
.second-header-wrapper .left .time:after{
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    background:var(--line-color);
}

.second-header-wrapper .right{
    display: flex;
    align-items: center;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:35px;
    z-index: 10;
}
.second-header-wrapper .right ul{
    margin: 0;
    padding:0;
    display: none;
}
.second-header-wrapper .right li{
    list-style: none;
    color: var(--primary-text2);
    margin: 0 1rem;
    cursor: pointer;
    font-size: 0.8rem;
}
.second-header-wrapper .right li a{
    width: 100%;
    display: block;
}
.second-header-wrapper .right li:hover{
    color: var(--theme-color);
}
.second-header button.login-btn,
.second-header button.logout-btn{
    background: var(--bg-header);
    border:var(--primary-btn-outline) 1px solid;
    color: var(--light-text);
    margin: 5px;
    white-space: nowrap;
}
.second-header button.register-btn,
.second-header button.deposit-btn{
    background:var(--primary-btn) !important;
    border:var(--primary-btn) 1px solid !important;
    color:var(--dark-text) !important;
    margin: 5px;
    white-space: nowrap;
}
.second-header .register-btn a,
.second-header .deposit-btn a,
.second-header .login-btn a,
.second-header .logout-btn a{
    font-size: 0.8rem;
    line-height: 0.8rem;
    display: block;
}
.second-header .register-btn a,
.second-header .deposit-btn a{
    color:var(--dark-text);
}
.second-header .logout-btn,
.second-header .deposit-btn{
    display: none;
}
.lang-btn{
    color: var(--primary-text2);
    display: flex;
    align-items: center;
    margin-left: 15px;
    position: relative;
    font-size: 0.8rem;
    height: 42px;
}
.lang-btn .flag-icon{
    width: 20px;
    margin-right: 5px;
    font-size: 0.2rem;
}
.lang-btn .arrow{
    position: absolute;
    right:-30px;
    top:50%;
    transform: translateY(-50%);
}
.lang-group .dropdown-menu{
    color: var(--primary-text2);
    font-size: 0.8rem;
    padding: 1rem;
}
.lang-group .dropdown-menu ul{
    padding: 0;
    margin: 0;
}
.lang-group .dropdown-menu li{
    list-style: none;
    padding: 7px 0;
}
.lang-group .dropdown-menu li span:hover{
    text-decoration: underline;
}
.lang-group .dropdown-menu li .flag-icon{
    width: 20px;
    margin-right: 10px;
}
.lang-group .dropdown-menu li .slash{
    color: var(--important-text);
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
}
.lang-group .dropdown-menu li .slash:hover{
    text-decoration: none;
}
.lang-group .dropdown-menu li .active{
    color: var(--light-text);
}
.lang-group .dropdown-menu li .active:hover{
    text-decoration: none;
}
/*header after login*/
.acct-wrapper{
    display: none;
}
.balance-wrapper-m{
    display: flex;
    font-size: 1.2rem;
    font-weight: 900;
    margin-right: 10px;
    align-items: flex-start;
}
.balance-wrapper-m .balance{
    margin-right: 15px;
    display: flex;
    align-items: flex-start;
}
.balance-wrapper-m span{
    font-size: 0.8rem;
    color: var(--theme-color);
    margin-right: 5px;
    font-weight: 500;
    margin-top: 2px;
}
.balance-wrapper-m .btn-refresh{
    color: var(--theme-color);
    font-size: 1.5rem;
}
.acct-bar{
    padding: 10px;
    display: flex;
    background: var(--bg-acc-bar);
    align-items: center;
    justify-content: center;
}
.acct-bar .user-info-m{
    width: 120px;
    padding-right: 10px;
    border-right: 1px solid var(--bg-mobile-nav-bottom-line);
}
.acct-bar .user-info-m .info-wrapper{
    display: flex;
    padding: 3px 0px;
    align-items: center;
}
.acct-bar .user-info-m .info-wrapper:first-child{
    padding-top: 0;
}
.acct-bar .user-info-m .info-wrapper:last-child{
    padding-bottom: 0;
}
.info-wrapper .profile-icon,
.info-wrapper .level-icon{
    width: 35px;
    display: flex;
    align-items: center;
}
.acct-bar .profile-icon img{
    width:  23px;
}
.acct-bar .level-icon img{
    width: 30px;
}
.info-wrapper .username{
    color: var(--theme-color);
}
.info-wrapper .level{
    color: var(--primary-text2);
    line-height:0.6rem ;
    font-size: 0.6rem;
}
.info-wrapper .level span{
    display: block;
}
.acct-nav-wrapper{
    display: flex;
    align-items: center;
    width: calc(100% - 120px);
    max-width: 500px;

}
.acct-nav-wrapper .icon{
    width: 25%;
    color: var(--primary-text2);
    text-align: center;
    font-size: 0.5rem;
    padding: 0 5px;
}
.acct-nav-wrapper .icon span{
    display: block;
    font-weight: bold;
}
.acct-nav-wrapper .icon img{
    width: 70%;
    max-width: 50px;
    margin: 0 auto 5px;
    display: block;
}
/*section banner*/
.section-banner{
    position: relative;
}
.section-banner .banner-sm{
    display: block;
}
.section-banner .banner-lg{
    display: none;
}
.swiper-banner-thumb{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: absolute;
    bottom:15px;
    left:50%;
    transform: translateX(-50%);
    display: none;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: center;
}
.swiper-banner-thumb .swiper-wrapper{
    display:flex;
    width: auto;
    margin: 0 auto;
}
.swiper-banner-thumb .swiper-slide {
    width: auto;
  }
.swiper-banner-thumb .swiper-wrapper .swiper-slide-thumb-active{
    border-bottom: 3px solid var(--theme-color);
}
.swiper-pagination-bullet{
    background-color: rgba(255,255,255,1);
}
.swiper-pagination-bullet-active{
    background-color: var(--theme-color);
}
/*notice marquee*/
.notice-wrapper{
    background-color: var(--bg-notice);
}
.notice-content{
    height: 28px;
    line-height: 28px;
    display: flex;
    align-items: center;
}
.notice-content .icon{
    color: var(--theme-color);
    width: 30px;
    font-size: 1.1rem;
    padding: 0 10px;
}
.notice-content marquee{
    width: calc(100% - 30px);
}
/*section sport*/
.section-sport{
    background-image:none;
    background-size: cover;
    padding-bottom: 20px;
}
.step-wrapper{
    display: none;
}
.sport{
    position: relative;
    display: flex;
    justify-content: end;
}
.sport .sport-wrapper{
    display: block;
    position: relative;
    padding-top: 15px;
    width: calc( 100% - 4rem );
    padding-left: 15px;
}
.sport .title{
    color:var(--theme-sport);
    font-size: 1rem;
    font-weight: bold;
    margin: 15px 0;
}
.sport .left{
    flex-grow: 1;
    width: 100%;
}
.sport .right{
    width: 100%;
    overflow: hidden;
}
.sport .hotmatch-iframe{
    width:calc( 100% + 20px );
    height: 250px;
    margin-left: -10px;
}
.sport .swiper-sport-thumb{
    display: flex;
    position: relative;
    margin-top: 50px;
}
.sport .swiper-sport-thumb{
    position: absolute;
    left: 0;
    z-index: 10;
}
.sport .swiper-sport-slider{
    display: none;
}
.sport .swiper-sport-slider-m{
    display: block;
}
.sport .swiper-sport-slider-m .swiper-slide{
    position: relative;
}
.sport .swiper-sport-slider-m .swiper-slide img{
    border-radius: 10px;
}
.sport .swiper-sport-slider .swiper-slide{
    display: flex;
}
.sport .swiper-sport-slider .swiper-slide img{
    position: relative;
    z-index: 1;
}
.sport .swiper-sport-slider .banner-text{
    background: var(--bg-sport-slider);
    padding: 0 20px 0 40px;
    border-radius: 30px;
    position: absolute;
    width: 250px;
    top:50%;
    transform: translateY(-50%);
    right: 10px;
    z-index: 0;
    height: 100%;
}
.sport .btn-wrapper{
    display: flex;
}
.btn.sport-btn,
.btn.sport-btn:hover,
.btn.sport-btn:focus,
.btn.sport-btn:target{
    background: var(--primary-btn);
    color: var(--light-text);
    padding: 3px 10px;
}
.sport .swiper-sport-thumb{
    display: none;
}
.sport .swiper-sport-thumb .swiper-slide{
    height: auto !important;
}
.sport .sport-provider{
    display: flex;
    margin-top: 10px;
    padding: 10px 35px 10px 20px;
    width: 150px;
    height: 40px;
    background-color: var(--bg-provider);
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    line-height: 12px;
}
.sport .sport-provider img{
    position: absolute;
    right:0;
    bottom: 0;
    width: 50px;
    filter: grayscale(1);
}
.sport .sport-provider .provider-name{
    color: var(--light-text-inactive);
    text-transform: uppercase;
    font-size: 0.9rem;
}
.sport .sport-provider:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--theme-sport-inactive);
    bottom:0;
    left: 0;
    border-radius:5px;
}
.sport .sport-provider:after{
    content: "";
    position: absolute;
    width: 40%;
    height: 3px;
    background-color: var(--theme-sport-inactive);
    bottom:2px;
    left: 10%;
    transform: perspective(.5em) rotateX(8deg);
}

.swiper-slide-thumb-active .sport-provider img{
    filter: grayscale(0);
}
.swiper-slide-thumb-active .sport-provider:before,
.swiper-slide-thumb-active .sport-provider:after{
    background-color: var(--theme-sport);
}
.swiper-slide-thumb-active .sport-provider .provider-name{
    color: var(--theme-sport);
    font-weight: 900;
}
.sport-contact{
    background-color:var(--bg-sport-contact);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    display: none;
}
.sport-contact .cs{
    width: 200px;
    padding: 10px 30px;
    background:var(--bg-sport-contact-cs);
    text-align: center;
    color: var(--theme-color);
}
.sport-contact .cs img{
    width: 50px;
}
.sport-contact .contact{
    padding: 15px;
    flex-grow: 1;
    display: flex;
}
.sport-contact .contact .item{
    display: flex;
    align-items: center;
    margin: 0 15px;
}
.sport-contact .contact .item i,
.sport-contact .contact .item svg{
    font-size: 30px;
    margin-right: 10px;
}
.sport-contact .contact .item .type{
    color: var(--primary-text2);
    font-size: 0.9rem;
}
.sport-contact .contact .item .link:hover{
    color: var(--theme-color);
}
/*mobile game category*/
.game-category-m{
    overflow-y: scroll;
    position: absolute;
    top:15px;
    left:0;
    height: 100%;
}
.game-category-m::-webkit-scrollbar{
    display: none;
}
.game-category-m ul{
    margin-right: 15px;
}
.game-category-m li{
    display: flex;
    width:4rem;
    padding:15px 5px;
    background-color: var(--bg-game-category-m);
    border-radius: 3px;
    font-size: 0.8rem;
    margin: 3px 0;
    align-items: center;
    justify-content: center;
    color: var(--primary-text2);
}
.game-category-m li.active{
    background: var(--theme-color);
    color: var(--dark-text);
    font-weight: 900;
}
.game-category-list{
    flex-grow: 1;
    width: 100%;
    grid-column: 2 ;
    grid-row: 1;
}
/*section transaction*/
.section-transaction{
    padding: 20px 0px;
    background: var(--bg-body);
}
.section-transaction h1{
    color: var(--theme-color);
    font-size: 1rem;
    font-weight: bold;
}
.swiper-transaction{
    margin-top: 30px;
}
.swiper-transaction .swiper-wrapper{
    transition-timing-function: linear;
}
.swiper-transaction .swiper-slide{
    width:auto;
}
.swiper-transaction .swiper-slide .item{
    display: flex;
    align-items: center;
    min-width: 180px;
}
.user-icon{
    width: 64px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.user-info{
    background-color: var(--bg-transaction-slider);
    border-radius: 10px;
    margin-left: -10px;
    height: 50px;
    font-size: 0.9rem;
    padding: 7px 15px 7px 20px;
}
.user-info .amount span{
    color: var(--theme-color);
}
/*section games*/
.section-games{
    background: var(--bg-body);
    padding-bottom: 30px;
}
.section-games h1{
    color: var(--theme-color);
    font-size: 1rem;
    font-weight: bold;
}
.section-games .nav-tabs-wrapper{
    position: relative;
    border-bottom: 1px solid var(--light-text-inactive);
}
.section-games .nav-tabs{
    flex-grow: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    width: calc(100% - 60px);
}
.section-games .nav-tabs-wrapper .btn-more{
    position: absolute;
    right:0;
    top:50%;
    transform: translateY(-50%);
    color: var(--primary-text2);
    font-size: 1rem;
    font-weight: bold;
    width:50px;
    font-size: 0.8rem;
}
.section-games .nav-tabs-wrapper .btn-more span{
    color: var(--theme-color);
}
.section-games .nav-tabs-wrapper .btn-more span .text-games{
    display: none;
}
.section-games .nav-tabs{
    margin-top: 30px;
    border: none;
}
.section-games .nav-tabs .nav-link{
    font-size: 0.9rem;
    border: 1px solid var(--light-text-inactive);
    color: var(--light-text-inactive);
    font-weight: 500;
    text-transform: uppercase;
    margin-right: 15px;
}
.section-games .nav-tabs .nav-link span{
    display: none;
}
.section-games .nav-tabs .nav-link.active,
.section-games .nav-tabs .nav-link:hover{
    background: var(--theme-color);
    color: var(--light-text);
    border: 1px solid var(--theme-color);
}
.gamelist-wrapper{
    --visible-cols: 3;
	--col-gap: 15px;
	--col-hint: 0px;
	--scrollbar-padding: 20px;
	--col-size: calc((100% / var(--visible-cols)) - var(--col-gap) - var(--col-hint) / var(--visible-cols));
    display: grid;
    grid-auto-flow: column;
	grid-template-columns: var(--col-size);
	grid-auto-columns: var(--col-size);
	overflow-x: auto;
    grid-gap: var(--col-gap);
    margin:0 auto 20px auto;
    padding-top: 20px;
}
.game-item-wrapper{
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.game-item-wrapper .hover-overlay{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom:0;
    left:0;
    z-index: 1;
    background-color:var(--bg-game-item-hover);
    transition: all 0.3s ease-in-out;
}
.game-item-wrapper .hover-overlay .btn-play{
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--light-text);
    background-color: var(--bg-btn-play);
    font-size: 0.8rem;
}
.game-item-wrapper:hover{
    transform: translateY(-10px);
}
.game-item-wrapper:hover .hover-overlay{
    opacity: 1;
    height: 100%;
}
.game-item{
    background-color: var(--bg-game-item);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.game-item:before{
    content:"";
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    height: 3px;
    background-color: var(--theme-color);
}
.game-item:after {
    content: "";
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--theme-color);
    bottom: 2px;
    left: 10%;
    transform: perspective(.5em) rotateX(8deg);
}
.game-item .game-title{
    font-size: 0.8rem;
    color: var(--primary-text2);
    display: flex;
    align-items: center;
    padding: 10px 10px 12px 10px;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
.game-item .game-title span{
    display: block;
    width: calc( 100% - 10px );
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.game-item .game-title .fav-icon i{
    color: var(--primary-text2);
    opacity:0.3;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}
.game-item .game-title .fav-icon.active i{
    color: var(--theme-color);
    opacity: 1;
}
/*section download*/
.download-box-m{
    position: relative;
}
.section-download .download-box{
    width: 100%;
    background-color: var(--bg-download-box);
    box-shadow: 0px 0px 10px rgba(255,255,255,0.5);
    border-radius: 15px 15px 0 0px;
    align-items: center;
    justify-content: center;
    padding: 50px 50px 0px 50px;
    display: none;
}
.section-download .container{
    padding-right:0;
    padding-left: 0;
}
.section-download .left{
    width: 60%;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    left: 20px;
}
.section-download .right{
    background-image: url(../images/download-slider-bg.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    width: 60%;
}
.section-download .app-download-wrapper{
    display: flex;
    align-items: center;
}
.section-download .app-download-wrapper .app-download-title{
    font-size: 4vw;
    font-weight: 900;
    color: var(--light-text);
}
.section-download .app-download-wrapper .app-download-title span{
    color: var(--theme-color);
}
.section-download .app-download-wrapper .decs{
    font-size: 4vw;
    color: var(--light-text);
}
.section-download .app-download-wrapper .decs span{
    color: var(--theme-color);
}
.section-download .app-download-wrapper .app-icon{
    margin-right: 20px;
}
.section-download .download-wrapper{
    display: flex;
    margin: 15px 0 0;
}
.download-wrapper .btn-download{
    width: 150px;
    color: var(--light-text);
    border: 1px solid var(--primary-btn-outline);
    margin-right: 15px;
}
.swiper-download .swiper-slide{
    display: flex;
    align-items: center;
}
.swiper-download .swiper-slide img{
    max-width: 340px;
}
.swiper-download .swiper-slide .text-wrapper{
    font-size: 2rem;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:0;
}
.swiper-download .swiper-slide .text-wrapper span{
    display: block;
    color: var(--theme-color);
}

/*footer*/
footer{
    background: var(--bg-footer);
    padding:20px 0;
    position: relative;
}
.footer-wrapper{
    display: block;
    justify-content: flex-start;
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
    padding-bottom: 20px;
}
.footer-wrapper .col{
    margin-right:0px;
    margin-top: 20px;
}
.footer-wrapper .col .title{
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.footer-wrapper .col:last-child{
    margin-right: 0;
}
footer .logo{
    width: auto;
    height: 25px;
    margin: 5px;
    margin-left: 0;
}
.footer-tnc-wrapper{
    display: block;
}

.footer-tnc-wrapper .tnc ul{
    display:flex;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-tnc-wrapper .tnc ul li{
    color: var(--tnc-color);
    font-size: 0.8rem;
    text-align: center;
    margin: 5px 0;
    padding: 0px 10px;
    border-right: 1px solid var(--tnc-color);
}
.footer-tnc-wrapper .tnc ul li:last-child{
    border-right: none;
}
.footer-tnc-wrapper .tnc ul li:first-child{
    padding-left:0 ;
}
.footer-tnc-wrapper .social-icon ul{
    display: flex;
    margin-top: 15px;
    margin-bottom: 15px;
    justify-content: center;
}
.footer-tnc-wrapper .social-icon  ul li{
    padding:0 5px;
    color: var(--light-text);
    font-size: 1.5rem;
}
.seo-text{
    margin-top: 30px;
    height: 100px;
    overflow: hidden;
    display: none;
}
.seo-text.open{
    height: auto;
    overflow: initial;
}
.seo-text h1{
    font-size: 1rem;
    color: var(--light-text);
}
.seo-text p{
    font-size: 0.8rem;
    color: var(--primary-text2);
    opacity: 0.4;
}
.btn-read-more{
    text-decoration: underline;
    font-size: 0.8rem;
    color: var(--primary-text2);
    opacity: 0.4;
    margin-top: 30px;
    display: none;
}

/*gamelist page*/
.tools-box{
    display: flex;
}
.tools-box .search-wrapper{
    margin-left: 10px;
    background: var(--bg-provider-selection);
    color: var(--primary-text2);
    padding: 5px 15px;
    border-radius: 5px;
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 40%;
}
.tools-box .search-wrapper input{
    width:calc(100% - 20px) ;
    font-size: 0.9rem;
    position: relative;
}
.tools-box .search-wrapper i,
.tools-box .search-wrapper svg{
    position: absolute;
    right:10px;
    top:50%;
    transform: translateY(-50%);
}
.provider-selection{
    position: relative;
    width: 60%;
}
.provider-selection-btn{
    background: var(--bg-provider-selection);
    color: var(--primary-text2);
    padding: 5px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    position: relative;
    text-transform: capitalize;
    font-size: 0.9rem;
    font-weight: bold;
    width: 100%;
}
.provider-selection-btn img{
    width: 25px;
}
.provider-selection-btn .arrow{
    position: absolute;
    right:10px;
    top:50%;
    transform: translateY(-50%);
}
.provider-selection-btn span{
    padding: 0 10px;
}
.provider-selection .dropdown-menu{
    background: var(--bg-provider-selection);
    margin-top: 5px;
    border-radius: 5px;
    width:100%;
    max-height: 420px;
    max-width: 300px;
    overflow-y: scroll;
    z-index: 10;
}
.provider-selection ul li{
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0 10px;
    padding:7px 5px;
    text-transform: capitalize;
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.provider-selection ul li.active span{
    color: var(--theme-color);
}
.provider-selection ul li.active img{
    filter: var(--image-filter-theme-color);
}
.provider-selection ul li:last-child{
    border-bottom:none;
}
.provider-selection ul li .provider-logo{
    width: 25px;
}
.provider-selection ul li span{
    padding: 0 10px;
}
.provider-selection ul li .hot-icon{
    height: 15px;
    width: 30px;
    padding: 0 5px;
    background-color: var(--important-text);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    border-radius: 2px;
    position: absolute;
    right:0px;
}
.recommend-game-swiper .swiper-slide{
    padding-top: 15px;
}
.recommend-game-wrapper{
    margin-top: 15px;
}
.recommend-title{
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-text2);
}
.recommend-game{
    background-color: var(--bg-recommend-game);
    padding:0 15px 15px 15px;
    border-radius: 5px;
}
.recommend-game .game-item-wrapper{
    position: relative;
    overflow: visible;
}
.recommend-game .game-item{
    background: none;
    overflow: hidden;
    position: relative;
}
.recommend-game .game-item img{
    border-radius: 10px;
}
.recommend-game .game-item:before,
.recommend-game .game-item:after{
    display: none;
}
.recommend-game .game-item .game-title{
    padding: 5px;
}
.recommend-game .provider-icon{
    z-index: 1;
    position: absolute;
    top:-5px;
    right: -5px;
    padding: 2px;
    width: 30px;
    height: 30px;
    background-color: var(--bg-provider-small-icon);
    border-radius: 100%;
    border: 2px solid var(--primary-btn-outline);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}
.gamelist-subpage-wrapper{
    margin-top: 20px;
}
.gamelist-subpage{
    margin: 20px auto;
    display: grid;
    grid-gap:10px;
    grid-template-columns: repeat(2, 1fr);
}
.gamelist-subpage-wrapper .nav-tabs{
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.gamelist-subpage-wrapper .nav-tabs .nav-item{
    margin: 0 5px;
}
.gamelist-subpage-wrapper .nav-tabs .nav-item:first-child{
    margin-left: 0;
}
.gamelist-subpage-wrapper .nav-tabs .nav-item:last-child{
    margin-right: 0;
}
.gamelist-subpage-wrapper .nav-tabs .nav-link{
    font-size: 1rem;
    padding: 5px 15px;
    width: 100%;
    text-transform: uppercase;
    color: var(--primary-text2);
    border: 1px solid var(--bg-mobile-nav-bottom-line);
}
.gamelist-subpage-wrapper .nav-tabs .nav-link.active{
    background-color:var(--theme-color);
    border-color:var(--theme-color);
    color: var(--text-light);
}
.nav-tabs-wrapper .search-wrapper{
    display: none;
}
.provider-selection ul li .corner-icon{
    display: none;
}

/*footer nav*/
.footer-nav{
    background: var(--bg-footer-nav);
    padding: 0 0px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
.footer-nav ul{
    display: flex;
}
.footer-nav ul li{
    width: 25%;
}
.footer-nav ul li a{
    display: block;
    padding: 10px 10px;
    text-align: center;
}
.footer-nav ul li a img{
    width: 30px;
    display: block;
    margin: 0 auto;
}
.copyright-wrapper{
    text-align: center;
    padding-top: 30px;
    text-align:center;
    font-size:12px;
    color:var(--primary-text2); 
    border-top: 1px solid var(--bg-mobile-nav-bottom-line);
}
.copyright-wrapper span {
    font-weight:bold;
    color:var(--theme-color);
}

/* promotion */
.promotion-wrapper ul {
    padding: 5px;
    margin: 16px 0;
    border-radius: 0px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.promotion-wrapper ul li {
    border:1px solid var(--bg-mobile-nav-bottom-line);
    border-bottom: 0;
    border-radius: 5px 5px 0px 0px;
    list-style: none;
    display: flex;
    text-transform: uppercase;
    margin: 0 3px;
    padding: 7px 16px;
    color: var(--primary-text2);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.5;
}
.promotion-wrapper ul li.mixitup-control-active{
    opacity:1;
    color: var(--light-text);
}
.promotion-wrapper ul li span{
    display:none;
}
.promotion-wrapper ul li:first-child {
    margin-left: 0;
}
.promotion-wrapper ul li:last-child {
    margin-right: 0;
}
.promotion-wrapper ul li.mixitup-control-active {
    color:var(--text-light);
    background-color: var(--theme-color);
}
.promotion-single {
    border-radius: 10px;
    margin-bottom: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: var(--bg-promo-box);
}
.promotion-single-top {
    position: relative;
}
.promotion-banner img {
    border-radius: 10px 10px 0 0;
    width: 100%;
}
.promotion-single-bottom {
    padding: 16px;
    border-radius: 0px 0px 10px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.promotion-info {
    margin: 0 15px;
    border-radius: 5px;
}
.promotion-single-title {
    text-transform: capitalize;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.promotion-single-subtitle {
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--primary-text2);
}
.btn-promo-wrap {
    display: flex;
    justify-content: flex-end;
}
.promotion-single-btn {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    padding: 0 22px;
    border: 1px solid #FFFFFF33;
    border-radius: 5px;
    border: 1px solid var(---theme-color);
    background-color: var(--theme-color);
    color: var(--light-text);
    margin-left: 15px;
}
/*text pages*/
.content-center-box{
    display:block;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.content-right{
    background: var(--bg-navdropdown2);
    padding:30px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
    width: 100%;
    margin-left: 20px;
}
.side-nav ul{
    width: 100%;
    background: var(--bg-navdropdown2);
    margin-top: 20px;
    border-radius: 10px;
    margin-right: 20px;
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
}
.side-nav ul::-webkit-scrollbar{
    display: none;
}
.side-nav ul li{
    padding: 0px 15px;
}
.side-nav ul li:last-child{
    border-bottom:none;
}
.side-nav ul li a{
    font-size: 1rem;
    font-weight: normal;
    padding: 10px 0px;
    display: block;
}
.side-nav ul li:hover a,
.side-nav ul li.active a{
    color: var(--theme-color);
}

/* referral */
.referral-wrapper {
    margin: 16px 0 32px;
}
.referral-banner > img {
    border-radius: 10px 10px 0 0;
    width: 100%;
}
.referral-top {
    border: 1px solid var(--bg-mobile-nav-bottom-line);
    border-radius: 20px;
}
.referral-qr {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
}
.referral-qr-code {
    border-radius: 10px;
    padding: 6px;
    display: inline-flex;
    align-self: center;
}
.referral-qr-code > img {
    height: 78px;
    border-radius: 10px;
}
.referral-qr-share {
    display: flex;
    flex-direction: column;
    padding: 0 16px 32px;
}
.referral-share-text {
    font-size: 13px;
    text-align: center;
    margin: 8px 0;
}
.referral-share-link {
    border-radius: 10px;
    padding: 7px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--bg-referral-share);
}
.referral-link {
    width: calc(100% - 112px);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    background-color: var(--form-input-bg);
}
.referral-btn {
    margin-left: 7px;
}
.btn-referral {
    text-transform: uppercase;
    font-size: 12px;
    padding: 8px 12px;
    width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 10px;
    border: 0;
    font-weight: 700;
    background-color: var(--theme-color);
    color: var(--text-light);
}
.referral-detail {
    padding: 16px 0 0;
}
.referral-detail-single {
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--bg-mobile-nav-bottom-line);
}
.referral-detail-single:last-child {
    margin-bottom: 0;
}
.referral-detail-top {
    text-align: center;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 20px 20px 0px 0px;
    background-color: var(--theme-color);
}
.referral-detail-bottom {
    display: flex;
    flex-direction: column;
}
.referral-statistic {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 6px 6px;
}
.referral-statistic-single {
    flex:  1 0 0%;
    padding: 0 6px;
}
.statistic-single-top {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.statistic-single-bottom {
    text-align: center;
    font-weight: 700;
    font-size: 30px;
}
.btn-referral-detail {
    text-transform: capitalize;
    display: inline-flex;
    align-self: center;
    justify-content: center;
    min-width: 150px;
    padding: 8px 12px;
    border-radius: 30px;
    border: 0;
    background-color: var(--theme-color);
    color: var(--light-text);
}
.table-referral-wrapper {
    padding: 10px 12px 0;
    margin-top: 16px;
    border-top: 1px solid var(--bg-mobile-nav-bottom-line);
}
.table-referral-wrapper .table-responsive {
    border: 0;
}
.table-referral {
    --bs-body-bg: transparent;
}
.table-referral tr > th {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    border-bottom-width: 0;
}
.table-referral tr > td {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    border-bottom-width: 0;
}
/* review */
.review-swiper-wrapper {
    margin-bottom: 16px;
}
.review-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px rgba(255,255,255,0.1) solid;
    color:#fff;
    position: relative;
}
.review-title {
    font-size: 18px;
    font-weight: 700;
}
.review-card p {
    font-size: 12px;
}
.review-card .time {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.stars-wrapper {
    color: #FFFFFF66;
}
.stars-wrapper svg.active {
    color: #ffb833;
}
.data-wrapper {
    display: block;
    padding: 20px;
    border-radius: 20px;
    border: 1px rgba(255,255,255,0.1) solid;
    color:#fff;
}
.ranking-wrapper {
    color:#fff;
    padding-right: 0px;
}
.ranking-list {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 7px 10px;
    border-radius: 10px;
}
.ranking-list .no {
    width: 25px;
    height: 25px;
    border-radius: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-right: 15px;
}
.ranking-list .no.gold {
    background: rgb(128,81,0);
    background: linear-gradient(0deg, rgba(128,81,0,1) 0%, rgba(255,203,112,1) 100%);
}
.ranking-list .no.silver {
    background: rgb(94,94,94);
    background: linear-gradient(0deg, rgba(94,94,94,1) 0%, rgba(181,181,181,1) 100%);
}
.ranking-list .no.bronze {
    background: rgb(94,61,55);
    background: linear-gradient(0deg, rgba(94,61,55,1) 0%, rgba(159,102,91,1) 100%);
}
.ranking-list .username {
    flex-grow: 1;
    line-height: 18px;
}
.ranking-list span {
    color:rgba(255,255,255,0.5);
    display: block;
}
.chart2-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    min-width: 280px;
    min-height: 280px;
    max-width: 1200px;
    max-height: 600px;
}
.chart-container {
    position: relative;
    height: 90%;
    width: 100%;
}
.chart2-wrapper #chart {
    margin-top: 15px;
}
.title-page {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.ranking-list .amount {
    color: #ffb833;
    font-weight: 700;
}
.review-wrapper {
    overflow-x: hidden;
    padding: 16px 0 32px;
}
.review-swiper {
    overflow: inherit;
}
.review-swiper .swiper-pagination-bullet {
    opacity: .5;
}
.review-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/*af*/
.af-box-wrapper{
    display:flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.af-side-nav{
    display: none;
}
.af-side-nav ul{
    width: 200px;
    background: var(--bg-navdropdown2);
    margin-top: 20px;
    border-radius: 10px;
    margin-right: 20px;
    padding:20px;
}
.af-side-nav ul li{
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.af-side-nav ul li:last-child{
    border-bottom:none;
}
.af-side-nav ul li a{
    font-size: 1rem;
    font-weight: normal;
    padding: 10px 0px;
    display: block;
}
.af-side-nav ul li:hover a,
.af-side-nav ul li.active a{
    color: var(--theme-color);
}
.af-side-nav ul li img{
    width: 30px;
    margin-right: 15px;
}
.af-box{
    background: var(--bg-navdropdown2);
    padding:20px 10px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}
.login-div .af-form .input-group,
.login-div .af-form .remark-group,
.login-div .btnform,
.login-div .error-msg, 
.login-div .help-msg,
.login-div .actarea{
    max-width: 450px;
    margin: 0 auto;
    box-sizing: border-box;
}
.login-div .btnform:hover{
    background: var(--form-cta-bg);
}
.af-box .bal{
    color: var(--theme-color);
}
.af-box .tab-menu a.active{
    background-color: var(--theme-color);
}
.af-box .w-menu.active img{
    border: 2px solid var(--theme-color);
}
.af-box .form-box{
    border-radius: 0;
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.af-box .form-box:last-child{
    border-bottom:none;
}
.af-box .b-table table th, .b-table table td{
    padding: 10px;
}
.af-box .vip-info .accordion-item{
    border: none;
    margin-bottom: 2px;
}
.af-box .accordion-button:not(.collapsed){
    box-shadow: none;
}
.af-box .accordion-header{
    margin-bottom: 2px;
}
.af-box .vip-info .accordion-item{
    background: none;
}
.af-box .vipbox{
    background: var(--bg-site);
}
.af-box .h-record{
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.af-box .tab-content{
    border-top: 1px solid var(--bg-mobile-nav-bottom-line);
    border-bottom: 1px solid var(--bg-mobile-nav-bottom-line);
}
.af-box .tab-content .form-box{
    border-bottom: none;
}
.af-box .d-promo .form-check-input:checked + .form-check-label{
    background: var(--bg-promo-checkbox);
    color: var(--text-light);
}
.af-form .form-check{
    padding-left: 0;
}
.af-box .form-check-input{
    all:unset;
    border: 1px solid var(--primary-btn-outline);
    height:1em;
    width: 1em;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.af-box .form-check-input:checked[type=checkbox] {
    all:unset;
    color: #fff;
    height:1em;
    width: 1em;
    border-radius: 3px;
    background-color: rgb(0, 153, 41);
    border: 1px solid rgb(0, 153, 41);
    display: flex;
    align-items: center;
    text-align: center;
}
.af-box .form-check-input:checked[type=checkbox]:after{
    font-family: 'Font Awesome 5 Free';
    content:"\f00c";
    font-weight: 900;
    font-size: 10px;
    height:1em;
    width: 1em;
}
.af-box .s-data.active,
.af-box .s-data:hover{
    background-color: var(--theme-color);
    color: var(--light-text);
}
.af-box .s-data.active .s-label,
.af-box .s-data:hover .s-label{
    background-color: var(--theme-color);
    color: var(--light-text);
}
.af-box .d-amount a.active,
.af-box .d-amount a:hover{
    background-color: var(--theme-color);
}
.af-box .w-menu:hover img{
    border: 2px solid var(--theme-color);
}
.af-box .w-menu img {
    border: 2px solid var(--form-trans-bg);
    background: var(--form-trans-bg);
    margin-bottom: 5px;
}
.af-form .input-group .btnform:hover {
  background: var(--form-cta-bg);
}
/*live chat*/
.live-chat-floating{
    position: fixed;
    right:20px;
    bottom:80px;
    z-index: 10;
}
.live-chat-wrapper{
    border-radius: 100%;
    width: 50px;
    height: 50px;
    background-color: var(--theme-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}
.live-chat-floating:after{
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    background-color: rgba(255,255,255,0.2);
    animation: blink 5s infinite ease-in-out;
    border-radius: 100%;
    opacity: 0;
    z-index: -1;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
@keyframes blink{
	20%{
		width: 70px;
        height: 70px;
        opacity: 1;
	}
    30%{
		width: 50px;
        height: 50px;
        opacity: 0;
	}
}
/*modal*/
.modal-dialog{
    max-width: 800px;
}
/*promotion modal*/
.promo-modal .modal-header{
    background-color: var(--theme-color);
    color: #fff;
    padding: 10px 15px;
    justify-content: center;
}
.promo-modal .modal-header .btn-close{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2457%) hue-rotate(65deg) brightness(108%) contrast(101%);
}
.promo-modal .modal-header h1{
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    font-weight: bold;
}
.promo-modal-content-top{
    display: block;
    --bs-heading-color: var(--light-text);
    color: #000;
    padding: 20px 0px;
    border-bottom:1px solid var(--promo-modal-text);
}
.promo-modal-content-top .promo-banner{
    width: 100%;
}
.promo-modal-content-top .left{
    padding: 20px;
}
.promo-modal-content-top .left h1{
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
}
.promo-modal-content-top .left .btn-wrap{
    display: flex;
}
.promo-modal-content-bottom{
    padding: 20px 0px;
    color: #000;
}
.promo-modal h4{
    font-size: 1rem;
    font-weight: bold;
}
.promo-modal table{
    --bs-table-bg:transparent;
    border-radius: 10px;
    width: 100%;
    border: #0000000f;
    color: var(--text-color1);
    background-color:#0000000f;
    border-radius: 10px;
    display: block;
    overflow-x: auto;
    table-layout: fixed;
}
.promo-modal table>:not(caption)>*>*{
    color: #000;
    border-bottom: 1px solid #0000000f;
    padding: 10px 15px;
    width: 1%;
}
.promo-modal table th{
    background-color: var(--theme-color);
    color: #fff;
}
/* ios-tutorial modal */
#ios-tutorial .modal-dialog {
    border-radius: 15px;
    height: initial;
    padding: 64px 0 32px;
    margin: 0 auto;
    background-color: transparent;
    max-width: 450px;
    width: 85%;
}
#ios-tutorial .modal-dialog .modal-content {
    position: relative;
    border-radius: 15px;
    border: 1px solid #FFFFFF1A;
    background-color: #000000;
}
#ios-tutorial .btn-close-ios {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
}
.ios-tutorial img {
    border-radius: 15px;
    width: 100%;
}

/*ann modal*/
.ann-title{
    color: var(--theme-color);
    background-color:transparent ;
    top:initial;
    left: initial;
    transform: none;
    position: relative;
    line-height: initial;
    height: auto;
    font-weight: 900;
}
.anncon .nav .nav-link.active{
    background-color: var(--theme-color);
}
.annbox {
    padding:15px;
    background-color: var(--bg-navdropdown);
}

/* app download */
.app-download {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
}
.app-content {
    padding: 16px 24px;
    position: fixed;
    bottom: 0;
    border-radius: 20px 20px 0px 0px;
    background-color: var(--bg-mobile-nav-download);
    width: 100%;
    border: 1px solid var(--bg-mobile-nav-bottom-line);
}
.app-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: var(--light-text);
    font-size: 28px;
}
.app-content-top {
    display: flex;
    align-items: center;
    width: 95%;
}
.app-content-top .logo-app {
    margin-right: 16px;
}
.app-content-top .logo-app img {
    height: 65px;
}
.app-description {
    font-size: 16px;
    color: var(--primary-text2);
    font-weight: 600;
}
.app-continue {
    color:var(--theme-color);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
    text-align: center;
}
.app-content-bottom {
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--bg-mobile-nav-bottom-line);
}
.app-content-bottom .btn {
    all:unset;
    border-radius: 5px;
    width: 130px;
    margin: 0 6px;
    font-size: 24px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-content-bottom .btn span {
    text-transform: uppercase;
    font-size: 14px;
    margin-left: 8px;
}
.app-content-bottom .btn-outline-primary,
.app-content-bottom .btn-outline-primary:hover,
.app-content-bottom .btn-outline-primary:focus,
.app-content-bottom .btn-outline-primary:active{
    border:1px solid var(--theme-color);
    color: var(--theme-color);
}
.app-content-bottom .btn-primary,
.app-content-bottom .btn-primary:hover,
.app-content-bottom .btn-primary:focus,
.app-content-bottom .btn-primary:active{
    background-color: var(--theme-color);
}
/* rewards */
.reward {
    position: fixed;
    bottom: 150px;
    right: 10px;
    z-index: 9;
    animation: upDown 1s ease-in-out infinite;
}
.reward a {
    display: block;
}
.reward-close {
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: -32px;
    right: 0;
    font-size: 24px;
}
@keyframes upDown {
    0%, 100% {
        bottom: 150px;
    }
    50% {
        bottom: 156px; 
    }
}
.reward img {
    height: 80px;
}

/*partner floating*/
.partner{
    position: fixed;
    right:0px;
    top:50%;
    transform: translateY(-50%);
    background-color: #000000;
    border-radius: 10px 0 0 10px;
    width: 40px;
    z-index: 10;
    text-align: center;
    border: 1px solid rgb(43, 43, 43);
    border-right: 0;
    padding: 3px;
    overflow: hidden;
    cursor: pointer;
}
.partner .icon{
    padding: 3px;
    border-radius:5px;
    background-color: #1b1b1b;
}
.partner .icon img{
    width: 100%;
}
.partner span{
    font-size: 0.8rem;
    writing-mode: vertical-lr;
    margin: 5px 0 15px 0;
    color: #fff;
}
.partner .arrow{
    color: var(--theme-color);
    font-size: 0.8rem;
    background-color: #2d2d2d;
    margin: -5px;
    padding:5px 3px;
}
.partner .icon-wrapper{
    display: block;
}
.partner.close{
    width: 20px;
}
.partner.close .icon-wrapper{
    display: none;
}
.partner.close .arrow{
    color:  var(--theme-color);
    font-size: 0.8rem;
    background-color: #000;
    margin: 0px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-partner .modal-content{
    background:url(../images/partner-modal-bg-b.svg),#000;
    background-repeat: no-repeat;
    background-position: top;
    background-size: auto 50%;
    width:100%;
    max-width: 600px;
    padding: 15px;
    margin: 0 auto;
    border: 2px solid #1b1b1b;
    border-radius: 15px;
}
#modal-partner .modal-dialog{
    background: none;
    max-width: 600px;
}
.partner-title{
    text-align: center;
    color: var(--theme-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.partner-logo-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.partner-logo-wrapper .partner-logo{
    margin: 5px;
    overflow: hidden;
    width:calc(25% - 10px);
    border: 1px solid #1b1b1b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(56, 56, 56, 0.5);
    transition: all 0.3s ease-in-out;
}
.partner-logo-wrapper .partner-logo:hover{
    transform: translateY(-10px);
}
.partner-logo-wrapper .partner-logo img{
    width: 100%;
}
#modal-partner .btn-close{
    font-size: 1rem;
    position: absolute;
    top:10px;
    right:10px;
    --bs-btn-close-color: #fff;
}
.annbox .cclose{
    top:10px;
    right:10px;
    z-index: 10;
}

/* new referral */

/* referral */
.referral-wrap {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
}
.referral-item {
    margin-bottom: 16px;
}
.referral-item h1 {
    color: var(--refer-color-theme);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}
.referral-item h1 span {
    color: var(--black);
    font-size: 20px;
    padding: 0 8px;
}
.referral-item h2 {
    color: var(--refer-color-theme);
    font-size: 18px;
    text-align: center;
    font-weight: 700;
}
.referral-item h2 span {
    color: var(--refer-black);
    text-transform: uppercase;
}
.referral-item p {
    color: var(--refer-black2);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}
.referral-benefit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    padding-top: 30px;
    position: relative;
}
.referred-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--refer-color-theme);
    color: var(--refer-color-theme);
    background: var(--refer-bgcolor-box);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.benefit-item {
    background: var(--refer-bgcolor-box);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--refer-shadow-box);
    position: relative;
}
.benefit-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.benefit-icon img {
    height: 60px;
}
.benefit-cash {
    padding-top: 30px;
}
.benefit-cash h6 {
    text-transform: uppercase;
    text-align: center;
    color: var(--refer-black);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
}
.benefit-cash h4 { 
    text-align: center;
    color: var(--refer-color-theme);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0;
}
.glow-line {
    height: 2px;
    width: 75%;
    margin: 16px auto;
    background: transparent linear-gradient(90deg, #FFFFFF00 0%, var(--refer-color-theme) 50%, #FFFFFF00 100%);
}
.benefit-item p {
    color: var(--refer-black);
    margin-bottom: 0;
}
.referral-step {
    padding: 16px 0;
}
.step-item {
    margin-bottom: 20px;
}
.step-item:last-child {
    margin-bottom: 0;
}
.step-wrap {
    color: var(--refer-color-theme);
    display: flex;
    align-items: center;
    padding: 0 28px;
    margin-bottom: 6px;
}
.step-wrap img {
    height: 30px;
}
.step-wrap span {
    font-weight: 700;
}
.step-wrap span.dot {
    padding: 0 10px;
    font-size: 20px;
}
.referral-step p {
    color: var(--refer-black);
    font-weight: 500;
    text-align: start;
    padding: 0 10px;
}
.referral-share {
    background: var(--refer-bgcolor-box2);
    box-shadow: var(--refer-shadow-box);
    border-radius: 16px;
    position: relative;
    border-radius: 16px;
    margin-bottom: 12px;
    background-image: var(--refer-bg-img);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
.referral-share img {
    position: absolute;
}
.referral-share img.earn-bg {
    border-radius: 16px 16px 0 0;
}
.referral-share img.earn-arrow {
    left: 10px;
    top: -14px;
}
.referral-share img.earn-rocket {
    right: 10px;
    top: -20px;
}
.referral-share img.earn-arrow,
.referral-share img.earn-rocket {
    height: 50px;
}
.share-earn {
    padding: 32px 16px;
    z-index: 1;
    position: relative;
    border-radius: 16px;
}
.share-earn p {
    color: var(--refer-black);
}
.btn-earn {
    background: var(--refer-color-theme);
    border-radius: 5px;
    color: var(--white);
    padding: 7px 12px;
    box-shadow: inset -2px -2px 4px -1px #00000080;
	width: 100%;
    border: none;
    text-align: center;
}
.referral-wrap button.btn-tnc {
    background: var(--refer-bgcolor-box) !important;
    border: 1px solid var(--refer-color-theme);
    color: var(--refer-color-theme) !important;
    padding: 7px 12px;
    border-radius: 5px;
    text-transform: capitalize;
    font-weight: 500;
	text-align: center;
}
.referral-wrap button.btn-tnc::after {
	display: none;
}
.referral-news {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 0 auto;
}
.referral-news svg,
.referral-news i {
    color: var(--refer-color-theme);
    font-size: 22px;
}
.referral-news p {
    font-weight: 500;
    padding-left: 8px;
}
.referral-copy {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--refer-color-theme);
    margin-bottom: 16px;
}
.copy-info h6 {
    color: var(--refer-color-theme);
    font-weight: 700;
    text-transform: uppercase;
}
.copy-info p {
    text-align: start;
}
.btn-copy .btn-tnc {
    padding: 5px 12px;
    text-transform: uppercase;
    font-size: 12px;
}
.referral-summary {
    background: var(--refer-bg-color);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--refer-shadow-box);
}
.referral-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.referral-head p {
    text-transform: capitalize;
    font-weight: 700;
    font-size: 14px;
    color: var(--refer-color-theme);
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.referral-head p span {
    color: var(--black);
    padding-left: 4px;
    text-transform: capitalize;
}
.referral-head img {
    height: 35px;
}
.referral-body p {
    color: var(--refer-color-theme);
    text-align: start;
    font-weight: 500;
}
.referral-row {
    color: var(--refer-black2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    border-bottom: 1px solid var(--refer-color-theme);
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.referral-row:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}
.referral-summary.record .referral-row {
    border-bottom: 0;
    margin-bottom: 0;
}
#tnc-referral .modal-dialog {
    height: initial;
}
#tnc-referral .modal-header,
#tnc-referral .modal-body {
    background: var(--refer-bg-modal);
}
#tnc-referral .modal-body {
    margin: 0;
    padding: 16px;
    border-radius: 0 0 10px 10px;
}
#tnc-referral .modal-header .btn-close {
    color: var(--refer-color-theme);
    background: none;
    opacity: 1;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#tnc-referral .modal-content {
    background-color: var(--refer-bg-modal);
    box-shadow: 2px 5px 16px 0 var(--refer-black3);
	border-radius: 10px;
}
.tnc-referral {
    font-size: 11px;
    font-weight: 500;
    color: var(--refer-color-text-tnc);
}
.tnc-referral h6 {
    font-weight: 700;
    font-size: 14px;
}
.tnc-referral ol {
    padding-left: 16px;
}
.tnc-referral ol > li {
    list-style: decimal;
    margin-bottom: 10px;
    padding-left: 8px;
}
.tnc-referral ul {
    padding-left: 16px;
}
.tnc-referral ul > li {
    list-style: disc;
    margin-bottom: 10px;
}
ul.dash {
    padding-left: 16px;
}
ul.dash > li {
    list-style: none; 
    margin-bottom: 2px;
}

ul.dash > li::before {
    content: "-";
    margin-right: 8px;
    margin-left: -12px;
}

@media (min-width: 768px) {
    .referral-item h1 {
        font-size: 26px;
    }
    .benefit-cash h4,
    .referral-item h1 span {
        font-size: 24px;
    }
    .referral-item h2 {
        font-size: 22px;
    }
    .tnc-referral h6 {
        font-size: 20px;
    }
    .step-wrap span,
    .benefit-cash h6 {
        font-size: 16px;
    }
    .referral-item p {
        font-size: 14px;
    }
    .tnc-referral {
        font-size: 13px;
    }
    .referral-benefit {
        padding-top: 50px;
    }
    .benefit-icon {
        top: -50px;
    }
    .benefit-icon img {
        height: 80px;
    }
    .glow-line {
        width: 60%;
    }
    .referral-share img.earn-arrow, 
    .referral-share img.earn-rocket {
        height: 70px;
    }
	.referral-share img.earn-arrow {
        top: -18px;
    }
    .referral-share img.earn-rocket {
        top: -30px;
    }
    #tnc-referral .modal-dialog {
        margin: 28px auto;
    }
    #tnc-referral .modal-header {
        height: inherit;
        border-radius: 10px 10px 0 0;
    }
    #tnc-referral .modal-body {
        padding: 0 32px 16px;
    }
}
@media (min-width: 992px) {
    #tnc-referral .modal-dialog {
        max-width: 800px;
    }
}

/* leaderboard */
.leaderboard-wrap {
    /* margin: 0 auto; */
}
.leaderboard-banner {
    position: relative;
}
.leaderboard-trophy {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    padding: 12px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-text h6 {
    white-space: nowrap;
    font-size: 12px;
    margin-bottom: 4px;
}
.banner-text h1 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    color: var(--refer-color-theme);
    margin-bottom: 4px;
}
.banner-text p {
    font-size: 8px;
    margin-bottom: 4px;
	color: #FFFFFF !important;
}
.banner-text p:last-child {
    margin-bottom: 0;
}
.banner-text p.small {
    font-size: 6px;
	white-space: nowrap;
}
.leaderboard-info {
    padding: 16px 0;
}
.leaderboard-info h3 {
    color: var(--refer-color-theme) !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.leaderboard-info > p {
    font-size: 10px;
    font-weight: 500;
    width: 95%;
    margin: 0 auto;
    text-align: center;
    color: var(--refer-black2);
}
.leaderboard-reward {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows: repeat(2, 1fr); */
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    margin-top: 16px;
}
@media (max-width: 360px) {
    .leaderboard-reward {
        grid-template-columns: 1fr;
    }
}
.leaderboard-item {
    display: flex;
    box-shadow: 0 16px 35px 0 var(--shadow-box2);
    background: var(--refer-bgcolor-box2);
    background-image: var(--bg-leaderboard);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    position: relative;
}
.reward-detail {
    width: 75%;
    padding: 16px 12px;
	z-index: 1;
}
.reward-detail h4 {
    color: var(--refer-color-theme);
    font-weight: 700;
    font-size: 12px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    position: relative;
}
.reward-detail h4::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--refer-color-theme);
    height: 1px;
    width: 50%;
}
.reward-detail p {
    font-size: 8px;
    font-weight: 500;
    text-align: start;
    color: var(--refer-black2);
}
.reward-icon {
    display: flex;
    align-items: flex-end;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
}
.reward-icon img {
    height: 80px;
}
a.leaderboard-more,
a.leaderboard-more:hover,
a.leaderboard-more:focus {
    color: var(--refer-color-theme);
}
a.leaderboard-more {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    line-height: 1;
}
.tournament-wrap h3 {
    color: var(--refer-color-theme);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.tornament-head {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 8px;
    padding: 0 12px;
    font-size: 12px;
}
.tornament-head .form-select {
    font-size: 12px;
    border-color: var(--refer-black2);
    padding: 4px 12px;
    background-image: var(--bgform-select) !important;
}
.tornament-head .form-select:focus-visible {
    background-image: var(--bgform-select) !important;
}
.tornament-head .form-select:focus {
    box-shadow: none;
}
.tournament-term {
    background: var(--refer-color-theme);
    color: var(--refer-white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
}
.tornament-body  {
    margin-top: 16px;
}
.tournament-ranking {
    font-size: 12px;
}
.icon-top3 img {
    height: 30px;
	max-width: inherit;
}
.icon-rank {
    background: var(--refer-color-theme);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--refer-white);
    font-size: 10px;
    cursor: pointer;
}
.tournament-ranking table {
    font-size: 10px;
    font-weight: 500;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.tournament-ranking table tr {
    border-bottom: 1px solid var(--border-line);
}
.tournament-ranking table th {
    text-transform: capitalize;
    font-weight: 600;
    color: var(--refer-black2);
    background-color: transparent;
    white-space: nowrap;
    border-bottom: 0;
}
.tournament-ranking table td {
    color: var(--refer-black2);
    font-weight: 500;
    vertical-align: middle;
    background-color: transparent;
}
.tournament-ranking .table>:not(caption)>*>* {
    padding: 4px 8px;
}
.tournament-ranking table tr th:first-child,
.tournament-ranking table tr td:first-child {
    text-align: center;
}
.icon-prize img {
    height: 24px;
	max-width: inherit;
}
.tournament-ranking table tbody tr:nth-child(n+4) .icon-prize img {
    filter: grayscale(100%);
}
.tournament-ranking table tbody tr:first-child,
.tournament-ranking table tbody tr:nth-child(2),
.tournament-ranking table tbody tr:nth-child(3) {
    background: var(--bg-rank);
}
.tournament-ranking table tbody tr:first-child td,
.tournament-ranking table tbody tr:nth-child(2) td,
.tournament-ranking table tbody tr:nth-child(3) td {
    color: var(--refer-white);
}
.tournament-ranking table tbody tr:first-child td:first-child,
.tournament-ranking table tbody tr:nth-child(2) td:first-child,
.tournament-ranking table tbody tr:nth-child(3) td:first-child {
    border-radius: 10px 0 0 10px;
}
.tournament-ranking table tbody tr:first-child td:last-child,
.tournament-ranking table tbody tr:nth-child(2) td:last-child,
.tournament-ranking table tbody tr:nth-child(3) td:last-child {
    border-radius: 0 10px 10px 0;
}
.prize-wrap {
    text-align: center;
    color: var(--refer-color-theme);
}
.prize-wrap h5 {
    margin-top: 16px;
    font-weight: 700;
}
.prize-wrap p {
    font-weight: 500;
    margin-bottom: 0;
}
.modal-tournament .modal-header .btn-close {
    color: var(--refer-color-theme);
    background: none;
    opacity: 1;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-tournament .modal-content {
    background-color: var(--refer-bg-modal);
    box-shadow: 2px 5px 16px 0 var(--black3);
	border-radius: 10px;
}
.tnc-tournament {
    font-size: 11px;
    font-weight: 500;
    color: var(--refer-color-text-tnc);
}
.tnc-tournament h6 {
    font-weight: 700;
    font-size: 14px;
	color: var(--refer-black2);
}
.tnc-tournament ol {
    padding-left: 16px;
}
.tnc-tournament ol > li {
    list-style: decimal;
    margin-bottom: 10px;
    padding-left: 8px;
}

@media (min-width: 768px) {
	.leaderboard-wrap {
		margin: 0 auto;
		max-width: 800px;
	}
    .banner-text {
        padding-left: 24px;
    }
    .banner-text h1 {
        font-size: 36px;
        margin-bottom: 8px;
    }
	.tnc-tournament h6 {
		font-size: 20px;
	}
    .banner-text h6 {
        font-size: 22px;
    }
    .prize-wrap p {
        font-size: 16px;
    }
    .banner-text p,
    .reward-detail p {
        font-size: 14px;
    }
	.tnc-tournament {
        font-size: 13px;
    }
    .banner-text p span {
        display: block;
    }
    .banner-text p.small {
        font-size: 10px;
    }
    .leaderboard-info {
        padding: 32px 0;
    }
    .leaderboard-info h3,
    .tournament-wrap h3 {
        font-size: 26px;
    }
    .leaderboard-info > p {
        font-size: 14px;
        width: 75%;
    }
    .leaderboard-reward {
        grid-column-gap: 16px;
        grid-row-gap: 16px;
        margin-top: 24px;
    }
    .reward-detail h4 {
        font-size: 20px;
        padding-bottom: 12px;
        margin-bottom: 12px;
		width: 85%;
    }
    .reward-detail {
        width: 63%;
        padding: 20px;
    }
    .reward-icon {
        right: 32px
    }
    .reward-icon img {
        height: 140px;
    }
    a.leaderboard-more {
        margin-top: 16px;
        font-size: 14px;
    }
    .tornament-head {
        font-size: 16px;
        margin-top: 16px;
        padding: 0 20px;
    }
    .tornament-head .form-select {
        padding: 6px 12px;
        font-size: 16px;
    }
    .tournament-ranking table {
        font-size: 14px;
    }
    .tournament-ranking .table>:not(caption)>*>* {
        padding: 8px 8px;
    }
    .icon-top3 img {
        height: 40px;
    }
    .icon-rank {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .icon-prize img {
        height: 36px;
    }
}

@media (min-width: 768px) {
	.leaderboard-wrap {
		margin: 0 auto;
		max-width: 800px;
	}
    .banner-text {
        padding-left: 24px;
    }
    .banner-text h1 {
        font-size: 36px;
        margin-bottom: 8px;
    }
	.tnc-tournament h6 {
		font-size: 20px;
	}
    .banner-text h6 {
        font-size: 22px;
    }
    .prize-wrap p {
        font-size: 16px;
    }
    .banner-text p,
    .reward-detail p {
        font-size: 14px;
    }
	.tnc-tournament {
        font-size: 13px;
    }
    .banner-text p span {
        display: block;
    }
    .banner-text p.small {
        font-size: 10px;
    }
    .leaderboard-info {
        padding: 32px 0;
    }
    .leaderboard-info h3,
    .tournament-wrap h3 {
        font-size: 26px;
    }
    .leaderboard-info > p {
        font-size: 14px;
        width: 75%;
    }
    .leaderboard-reward {
        grid-column-gap: 16px;
        grid-row-gap: 16px;
        margin-top: 24px;
    }
    .reward-detail h4 {
        font-size: 20px;
        padding-bottom: 12px;
        margin-bottom: 12px;
		width: 85%;
    }
    .reward-detail {
        width: 63%;
        padding: 20px;
    }
    .reward-icon {
        right: 32px
    }
    .reward-icon img {
        height: 140px;
    }
    a.leaderboard-more {
        margin-top: 16px;
        font-size: 14px;
    }
    .tornament-head {
        font-size: 16px;
        margin-top: 16px;
        padding: 0 20px;
    }
    .tornament-head .form-select {
        padding: 6px 12px;
        font-size: 16px;
    }
    .tournament-ranking table {
        font-size: 14px;
    }
    .tournament-ranking .table>:not(caption)>*>* {
        padding: 8px 8px;
    }
    .icon-top3 img {
        height: 40px;
    }
    .icon-rank {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .icon-prize img {
        height: 36px;
    }
}

@media (min-width: 992px) {
    #tournament-tnc .modal-dialog {
        max-width: 800px;
    }
	.reward-detail h4 {
		width: 80%;
    }
	.modal-tournament .modal-body {
		padding: 0 32px 16px;
	}
}


/* login */
.login-div .custom-forgot-wrapper {
    margin-bottom: 0;
}
.login-div .form-check,
.login-div .custom-forgot-wrapper {
    flex: 1 1 auto;
    text-align: end;
}
.login-div .form-check .form-check-label {
    transform: translateY(1px);
}
.login-div .custom-forgot-wrapper {
    margin: 0 !important;
}
[class*=color21-] .login-div .custom-forgot-wrapper a {
    display: block;
}  
 
#button-addon2{
    padding: 8px;
    max-width: 80px;
    font-size: 12px;
    line-height: 12px;
}

/*lang temp css*/
.ESP .anncon .tab-content h1,
.ESP .anncon .tab-content h2,
.ESP .anncon .tab-content h3,
.ESP .anncon .tab-content h4,
.ESP .anncon .tab-content h5,
.ESP .anncon .tab-content p,
.RUS .anncon .tab-content h1,
.RUS .anncon .tab-content h2,
.RUS .anncon .tab-content h3,
.RUS .anncon .tab-content h4,
.RUS .anncon .tab-content h5,
.RUS .anncon .tab-content p{
    word-break: break-all;   
}