:root {
    --general-text-color: #ffffff;

    --theme-color-1: #326b72;
    --theme-color-2: #193b3f;
    --theme-color-3: #fcf250;
    --theme-color-4: #0f2c31;
    --theme-color-5: #498d93;
    --theme-color-6: #126c74;

}

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
    font-family: "Enfolding Regular";
    src: url('../fonts/enfolding.ttf');
}

body {
    margin: 0;
}

body.theme-1 {
    background: url(../img/bg-main.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Rubik', sans-serif;
    background-position: center top;
    background-size: cover;
}

img {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: var(--theme-color-2); 
    color: var(--general-text-color);
    height: calc(100vh - 72px);
}

.top-header {
    background: var(--theme-color-1);
    position: relative;
}

.site-content {
    position: relative;
    background: var(--theme-color-2) url(../img/bg-element.jpg) no-repeat bottom left;
    height: calc(100vh - 72px);
}

.logo {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--theme-color-3);
}
.logo img {
    max-width: 180px;
}

.btn-default {
    background: var(--theme-color-3);
    border: 0;
    padding: 4px 8px;
    color: var(--theme-color-1);
    cursor: pointer;
}

.call-to-action .btn-login {
    background: linear-gradient(90deg, var(--theme-color-5), var(--theme-color-1));
    border: 0;
    padding: 4px 8px;
    color: var(--general-text-color);
}


.ripple {
    background-position: center;
    transition: background 0.8s;
}

.ripple:hover {
    background: #588990  radial-gradient(circle, transparent 1%, #588990  1%) center/15000%;
}

.ripple:active {
    background-color: #a4e3ed ;
    background-size: 100%;
    transition: background 0s;
}


.btn-register::before {
    background-image: url(../img/icon-register.png);
    background-size: 36px;
    display: inline-block;
    width: 36px;
    height: 36px;
    content: "";
    padding-right: 8px;
    background-repeat: no-repeat;
    top: 9px;
    position: relative;
}

.btn-login::before {
    background-image: url(../img/icon-login.png);
    background-size: 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: "";
    padding-right: 8px;
    background-repeat: no-repeat;
    top: 4px;
    position: relative;
}

.news {
    padding: 12px;
    display: grid;
    grid-template-columns: 36px 1fr;
}

.news .icon,
.news .content {
    background: var(--theme-color-4);
    height: 36px;
}

.news .icon {
    border-radius: 4px 0 0 4px;
}

.news .content {
    border-radius: 0 4px 4px 0;
    padding-right: 10px;
}

.news .icon::before {
    content: '';
    background-image: url(../img/icon-news.png);
    background-size: 18px;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    display: inline-block;
    top: 10px;
    left: 10px;
    position: relative;
}

.news marquee {
    line-height: 2.2em;
}

.categorybtn {
    display: flex;
    height: 68px;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    overflow-x: scroll;
    margin-top: -12px;
}

.categorybtn img.cat-icon {
    width: auto;
    height: 20px;
    position: absolute;
    margin: auto;
    top: 10px;
    left: 0;
    right: 0;
}

.categorybtn button.activecat {
    border: 2px solid var(--theme-color-3);
    background: var(--theme-color-4);
}

.categorybtn button.activecat::before {
    background: var(--theme-color-3);
}

.categorybtn button.activecat img.cat-icon {
    /* filter: invert(0%) sepia(9%) saturate(120%) hue-rotate(180deg) brightness(30%) contrast(100%); */
    filter: invert(0%) sepia(100%) saturate(190%) hue-rotate(115deg) brightness(45%) contrast(100%);
}


.categorybtn button {
    padding: 2px 4px;
    margin: 0 2px;
    width: 100%;
    min-width: 80px;
    position: relative;
    border: 2px solid var(--theme-color-6);
    border-radius: 4px;
    background: var(--theme-color-6);
    overflow: hidden;
}

.categorybtn button::before {
    border-radius: 0 0 55% 55%;
    position: absolute;
    background: var(--theme-color-4);
    right: -20%;
    left: -20%;
    top: -2px;
    content: '';
    bottom: 24px;
}
.categorybtn button > p {
    font-size: 12px;
    color: white;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 4px;
}

.homegamelist {
    padding: 12px;
    margin-top: -12px;
}

.homegamelist .game .homegamepic {
    position: relative;
}

.homegamelist .game .homegamepic > p {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 12px 8px;
    margin: 0;
    font-size: smaller;
    color: white;
}

.homegamepic.hot::before {
    content: '';
    position: absolute;
    background-image: url(../img/icon-hot.png);
    width: 32px;
    height: 32px;
    background-size: 32px;
    background-repeat: no-repeat;
    right: 16px;
    top: 8px;
}

img.banner {
    width: 100%;
}
.call-to-action {
    display: grid;
}

.call-to-action button {
    min-height: 60px;  
    font-size: 2em; 
    font-family: 'Enfolding Regular';
}

.navmenuitem {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background-color: var(--theme-color-4);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 10;
    height: 70px;
}
.form-group {
    margin-bottom: 15px;
}

.btn {
    font-size: 20px;
    padding: 4px 12px;
    min-height: 40px;
    border-radius: 4px;
    border: none;
}

.btn-block {
    width: 100%;
}

/*********************************/
.overlay {
    height: 0;
    width: 100%;
    position: fixed; 
    z-index: 10; 
    left: 0;
    top: 0;
    background-color: #193b3f; /* Black fallback color */
    background-color: #193b3fed; /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.showOverlay {
    overflow: hidden;
}

.password-form,
.login-form {
    width: 90%;
    max-width: 380px;
    background: var(--theme-color-1);
    margin: 0 auto;
    position: absolute;
    z-index: 100;
    top: 80px;
    left: 0;
    right: 0;
    border-radius: 8px;
    border: 2px solid var(--theme-color-3);
}

.password-form .form-content,
.login-form .form-content {
    padding: 12px;
    position: relative;
}

.password-form .title-bar, 
.login-form .title-bar {
    padding: 12px;
    text-align: center;
    background: var(--theme-color-2);
    border-radius: 8px 8px 0 0;
}

.password-form input.form-control,
.login-form input.form-control {
    position: relative;
    padding: 12px;
    width: 90%;
}

/*********************************/

.member-credits {
    display: none;
    /* padding: 12px; */
    position: relative;
}

.credit-info {
    font-size: 2em;
    text-align: center;
    display: block;
    border-radius: 4px;
    font-family: 'Enfolding Regular';
    background: linear-gradient(90deg, var(--theme-color-5), var(--theme-color-1));
    border: 0;
    padding: 4px 8px;
    color: var(--general-text-color);
    line-height: 1.7em;
}

.credit-info .icon > img {
    width: 24px;
    padding-right: 8px;
}

.navmenuitem a {
    border-right: 1px solid #264b51;
    position: relative;
}

.navmenuitem button {
    background: none;
    border: 0;
    width: 100%;
    text-align: center;
}

.navmenuitem p {
    margin: 0;
    color: white;
    line-height: 1.5em;
    font-size: smaller;
}

.navmenuitem button > img {
    width: 22px;
    padding: 16px 14px 0 14px;
    border-radius: 100% 100% 0 0;
    margin-top: -2px;
}

.navmenuitem a.active button > img {
    border-top: 2px solid var(--theme-color-3);
}
.navmenuitem a.active::before {
    border-radius: 100%;
    position: absolute;
    background: #172b30;
    top: -8px;
    content: '';
    width: 90%;
    height: 90%;
    z-index: -1;
    left: 5%;
}

#nav-logout {
    display:none;
}

.profileclassup {
    text-align: center;
    width: 200px;
    margin: 0 auto;
    padding: 30px 0px;
}
.profileinfoclass {
    color: var(--theme-color-3);
    font-size: x-large;
    border: 1px double;
    border-radius: 8px;
    padding: 6px 2px;
    font-weight: bold;
    margin-top: 10px;
    font-family: 'Enfolding Regular';
}
.profileinfoclass .icon {
    width: 18px;
    padding-right: 4px;
}

.profile-container {
    background: url(/wp-content/plugins/front-end-register-login-api/img/bg-profile.jpg) #470103;
    background-position: center top;
    background-repeat: no-repeat;
    text-transform: uppercase;
    background-size: contain;
}

.profileclassup .profilepic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.profilename {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px !important;
}

.profilecontact {
    margin-bottom: 5px !important;
}

.jompointclass {
    border-radius: 25px;
    border: 1px solid black;
    padding: 3px;
    background: linear-gradient(lightgrey, white);
    color: #2e2e2e;
}

.profilelist a {
    color: #ffffff;
}

.profileclass {
    padding-bottom: 60px;
    border-radius: 25px 25px 0px 0px;
    background: var(--theme-color-1);
    min-height: calc(100vh - 450px);
}

.profilelist a {
    cursor: pointer;
    text-decoration: none!important;
}

.profilelist li {
    list-style: none;
    border-bottom: 1px solid;
    padding: 16px 0px;
    position: relative;
    text-transform: uppercase;
}

.profilelist, .profilefavbank>div {
    margin: 0 auto;
    width: 90%;
}

.profilelist li i {
    padding-right: 10px;
    font-size: 15px;
}

.profilelist a {
    cursor: pointer;
    text-decoration: none!important;
}

.profilelist a:hover {
    color: var(--ast-global-color-0);
    text-decoration: underline!important;
}

.profilelist li > img {
    width: 14px;
    padding-right: 2px;
}

.languages {
    position: absolute;
    right: 0;
    z-index: 1;
    top: 8px;
    padding: 18px;
}

.languages img.flag {
    width: 24px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
}


.languageOverlay img.flag {
    width: 70px;
    display: block;
    text-align: center;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid;
    margin-bottom: 6px;
}

.languageOverlay .language-item {
    cursor: pointer;
}

.languageOverlay .title-bar {
    font-size: larger;
    font-weight: bold;
    margin-bottom: 30px;
}

/*********** SLOTS *******************/
.bankhead {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    background: var(--theme-color-3);
    min-height: 50px;
    align-items: center;
}
.bankhead .header-left {
    text-align: left;
    display: contents;
}

.bankhead .header-right {
    display: contents;
}

.bankhead h3{
    margin: 0;
    text-align: center;
    width: 100%;
    padding: 1px;
    color: var(--theme-color-1);
    text-transform: uppercase;

}

.bankhead .header-left i {
    color: var(--theme-color-1);;
    font-size: 20px;
    padding: 5px 5px 5px 20px;
}


.bankhead .header-right {
    display: contents;
}

.bankhead i {
    color: var(--theme-color-1);;
    font-size: 20px;
    padding: 10px;
    /* filter: drop-shadow(0px 0px 1px #e9e9e9) */
}


.bankhead .header-right .action-btn {
    border-radius: 4px;
    background: var(--ast-global-color-0);
    color: white;
    border: 1px solid var(--ast-global-color-0);
    padding: 2px 8px;
    position: absolute;
    right: 10px;
    box-shadow: 1px 1px 3px 0px #999;
}

.filter {
    background: linear-gradient(#326b72,#326b72)!important
}

.filter:hover, .filter.active {
    background: linear-gradient(#588990,#0b0d1a)!important
}



#providerlist {
    background: #193b3fde;
    top: 120px!important;
    height: calc(100vh - 130px);
    width: 100%;
    display: flow-root;
    position: fixed;
    overflow-y: scroll;
    inset: 0;
    padding-bottom: 120px;
    margin: 0 auto;
    max-width: 480px;
}

.gametype-filter .close-search, .gametype-filter .close-search:active, .gametype-filter .close-search:hover {
    background: var(--ast-global-color-0)!important;
    color: var(--ast-global-color-2)!important;
}

#slotgamelist{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 10px;
    text-align: center;
    /* margin: 10px; */
}

.gametype-filter {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-left: 60px;
    height: 50px;
    border-bottom: 1px solid #777777;
}

.gametype-filter::-webkit-scrollbar {
    display: none;
}

.gametype-filter::-moz-scrollbar {
    display: none;
}

.gametype-filter::-o-scrollbar {
    display: none;
}

.gametype-filter::-ms-scrollbar {
    display: none;
}

.gametype-filter::-webkit-scrollbar-thumb {
    display: none;
}

.gametype-filter::-moz-scrollbar-thumb {
    display: none;
}

.gametype-filter::-o-scrollbar-thumb {
    display: none;
}

.gametype-filter::-ms-scrollbar-thumb {
    display: none;
}

.gametype-filter .search {
    position: absolute;
    width: calc(100% - 60px);
    height: 48px;
    background: #2b2b2b;
    right: 0;
    max-width: 100%;
    display:none;
    text-align: right;
    padding: 0;
}

.gametype-filter .search-icon, 
.gametype-filter .search-icon:active,
.gametype-filter .search-icon:hover
 {
    padding: 14px;
    width: 60px;
    text-align: center;
    position: absolute;
    background: #2b2b2b;
    left: 0;
    cursor: pointer;
    color:#ffffff;
}

.gametype-filter .close-search,
.gametype-filter .close-search:active,
.gametype-filter .close-search:hover {
    padding: 8px 12px;
    width: 48px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(to top, var(--ast-global-color-0) 23%, #af0000);
    margin-top: 2px;
}

.search-keyword {    
    /* margin-left: 10px; */
    margin-top: 2px;
    width: calc(100% - 76px);
    font-size: 18px;
    padding: 8px 12px!important;
}


#slotgamelist .game > img {
    display: block;
    width: 100%;
    height: auto;
}
#slotgamelist .game > p {
    display: block;
    height: 40px;
    overflow: hidden;
    margin: 0;
}
.games-wrapper.Joker {
    height: 100%;
    background: var(--theme-color-2);
}
.filter.filter-4 {
    flex: 0 0 calc(100% / 4 - 20px);
}

.filter.filter-3 {
    flex: 0 0 calc(100% / 3);
}

.filter.filter-2 {
    flex: 0 0 calc(100% / 2);
}

.filter {
    padding: 8px 16px;
    text-transform: uppercase;
    border-right: 1px solid #1e1e1e;
    flex: 0 0 calc(100% / 4);
    height: 41px;
    line-height: 2em;
    border: 1px solid #ccc;
    margin-right: 4px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 4px;
}
.filter:hover, .filter.active {
    background: var(--ast-global-color-0);
    font-weight: 600;
}

#slotgamelist img{
    border-radius: 4px;
}

#slotgamelist div{
    cursor: pointer;
}



#slotgamelist{
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
#slotgamelist .game {
    width: 33%;
    /* height: calc(100vw / 3 + 40px) */
}

.Joker .game {
    /* height: calc(100vw / 3 * 0.8 + 40px); */
}
    

.btn-switch-provider {
    cursor: pointer;
    text-align: right;
}

.btn-switch-provider i {
    padding-right: 20px;
}

.btn-switch-provider.active > i {
    color: var(--theme-color-5);
}

.provider {
    display: inline-block;
    padding: 6px;
    width: 29%;
    max-width: 180px!important;
    text-align: center;
    color: lightgray;
    cursor: pointer;
}

.provider:hover {
    border: 1px solid var(--ast-global-color-0);
}

.provider.active {
    background: linear-gradient(#588990,#193b3f)!important;
    color: white;
}

.provider p {
    font-size: x-small;
    text-transform: uppercase;
    margin-top: 0;
}

    /* to the body element */
.noscroll { overflow: hidden; }

[aria-hidden="true"] {    
    transition: opacity 1s, z-index 0s 1s;
    width: 100vw;
    z-index: -1; 
    opacity: 0;  
}

[aria-hidden="false"] {  
    transition: opacity 1s;
    width: 100%; 
    z-index: 1;  
    opacity: 1; 
}

.notifinfo {
    border-bottom: 1px solid grey;
    padding: 10px;
    cursor: pointer;
    background-color: white;
    position: relative;
    font-size: 14px;
}

.notifinfo p {
    margin-top: 3px;
    margin-bottom: 0;
    color: black;
}

.notifinfo .datetime {
    font-size: smaller;
    color: gray;
    margin-top: 8px;
}

.notifinfo.unread {
    /* background-color: #eee; */
    padding-left: 25px;
    background: linear-gradient(136deg, #ffffff, #e8e8e8);
}

.notifinfo.unread:before {
    content: '\2022';
    font-size: 48px;
    top: -14px;
    position: absolute;
    color: red;
    left: 5px;
}
