@font-face {
    font-family: Optima-Bold;
    src: url(https://0bspoob66s.cloudcdnetw.com/obv1/fonts/optima-bold.ttf) format("truetype")
}

:root {
    --page-title-bg-color: linear-gradient(to bottom, #E6E6E6, #FFFFFF);
    --page-title-shadow-color: rgba(0, 0, 0, 0.16);
    --game-content-bg-color: #ffffff;
    --game-content-title-color: #212529;
    --game-content-txt-color: #868686;
    --swiper-slide-bg-color: linear-gradient(to bottom, #EFEFEF, #FFFFFF);
    --swiper-slide-box-shadow-color: rgba(0, 0, 0, 0.16);
}

[data-theme=dark] {
    --page-title-bg-color: linear-gradient(to bottom, #000000, #000000);
    --page-title-shadow-color: rgba(255, 255, 255, 0.16);
    --game-content-bg-color: #272727;
    --game-content-title-color: #ffffff;
    --game-content-txt-color: #cccccc;
    --swiper-slide-bg-color: linear-gradient(to bottom, #A09C9C, #646464);
    --swiper-slide-box-shadow-color: rgba(255, 255, 255, 0.45);
}

.game-section {
    width: 100%;
    min-width: fit-content;
}

.game-section .page-title {
    padding: 20px;
    font-family: Acens;
    font-size: 40px;
    background: var(--page-title-bg-color);
    box-shadow: 0px 1px 3px 2px var(--page-title-shadow-color);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
	text-align: center;
}

.game-section .game-container {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: fit-content;
}

.game-section .game-container .games-wrap {
    padding: 70px 0px 120px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.game-section .game-container .games-wrap .game-img-wrap {
    height: 300px;
    cursor: pointer;
}

.game-section .game-container .games-wrap .game-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.game-section .game-content-wrap {
    background-color: var(--game-content-bg-color);
    text-align: justify;
    padding: 50px 0px;
}

.game-section .game-content-wrap a {
    color: var(--game-content-title-color) !important;
}

.game-section .game-content-wrap .content-paragraph {
    margin-bottom: 40px;
}

.game-section .game-content-wrap .content-title {
    font-family: HelveticaBold;
    font-size: 18px;
    color: var(--game-content-title-color);
	padding-top: 0;
}

.game-section .game-content-wrap .content-subtitle {
    font-family: HelveticaMedium;
    font-size: 16px;
    color: var(--game-content-title-color);
    font-style: italic;
    text-decoration: underline;
}

.game-section .game-content-wrap .content-div {
    margin-top: 10px;
    font-size: 14px;
    color: var(--game-content-txt-color);
}

.game-section .game-content-wrap .content-div ul {
    padding-left: 16px;
}

.game-section .game-content-wrap .content-div ul li b {
    font-family: HelveticaBold;
}

.game-section .content-card {
    padding: 20px;
    border-radius: 20px;
    background: var(--swiper-slide-bg-color) !important;
    box-shadow: 0px 3px 3px 0px var(--swiper-slide-box-shadow-color);
    text-align: justify;
}

.game-section .content-card .card-title {
    font-family: HelveticaMedium;
    font-size: 16px;
    font-style: italic;
    color: #212529;
}

.game-section .content-card .card-content {
    font-size: 14px;
    color: var(--game-content-txt-color);
}

.game-section .banner {
    width: 100%;
    height: auto;
}

.game-section .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.game-section .game-container .slot-games-wrap {
    padding: 40px 0px 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.game-section .game-container .slot-games-wrap .slot-game-img-wrap {
    height: auto;
    width: calc(100% / 7);
    padding: 0px 10px 20px;
}

.game-section .game-container .slot-games-wrap .slot-game-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    cursor: pointer;
}

.slot-game-lobby {
    padding-bottom: 100px;
    font-family: HelveticaBold;
}

.slot-game-lobby .tab-group {
    display: none;
    padding-bottom: 20px;
}

.slot-game-lobby ul.nav-tabs {
    width: fit-content;
}

.slot-game-lobby ul.nav-tabs li {
    padding: 8px 20px;
    background: linear-gradient(to bottom, #ffffff, #D5D5D5);
}

.slot-game-lobby ul.nav-tabs li.active {
    background: linear-gradient(to bottom, #980000, #980000);
}

.slot-game-lobby ul.nav-tabs li a {
    color: #212529;
    font-size: 14px;
    text-decoration: none;
}

.slot-game-lobby ul.nav-tabs li.active a {
    color: white;
    font-style: italic;
}

.slot-game-lobby .tab-group .search {
    position: relative;
}

.slot-game-lobby .tab-group .search input {
    border-radius: 30px !important;
    min-width: 250px;
}

.slot-game-lobby .tab-group .search .search-icon {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    right: 0px;
    top: 0px;
}

.slot-game-lobby .slot-tab-content {
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.16);
    background-color: rgba(255, 255, 255, 0.45);
    margin: 20px 0px;
}

.slot-game-lobby .slot-tab-content .tab-pane {
    display: none;
    padding: 20px;
}

.slot-game-lobby .slot-tab-content .tab-pane.active {
    display: block;
}

.slot-game-lobby .slot-tab-content .tab-pane .game-panel {
    margin-bottom: 20px;
	text-align: center;
}

.slot-game-lobby .gm-hd {
    padding: 12px 0px;
    color: black;
    background: linear-gradient(to bottom, #C6C6C6, #EFEFEF);
	height: 40px;
}

.slot-game-lobby .gm-hd h6 {
    margin: 0px;
    font-size: 12px;
}

.slot-game-lobby .gm-bdy {
    position: relative;
    overflow: hidden;
}

.slot-game-lobby .gm-bdy img:first-child {
    width: 100%;
}

.slot-game-lobby .gm-bdy img:nth-child(2) {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 35%;
}

.tt-img-wrap {
    height: 220px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center top;
}

.slot-game-lobby .gm-bdy .mask {
    display: none;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
}

.tt-img-wrap+.mask {
    margin-top: 20%;
}

.slot-game-lobby .gm-bdy .mask a {
    display: inline-block;
    padding: 10px 10px;
    margin: 0px 20px;
    color: #FFFFFF;
    background: #BABABA;
    font-size: 12px;
    text-decoration: none;
}

.slot-game-lobby .gm-bdy .mask a:hover {
    background: #980000;
}

.slot-game-lobby .gm-pnl.hover {
    box-shadow: 0px 1px 20px 1px #840101;
}

.slot-game-lobby .gm-pnl.hover .gm-bdy img:first-child {
    transform: scale(1.1);
}

.slot-game-lobby .gm-pnl.hover .gm-bdy .mask {
    display: block;
}

.game-section .game-container .games-wrap-4d {
    padding: 50px 0px 20px;
}

.lottery-header {
    width: 700px;
    margin: auto;
    padding-bottom: 70px;
}

.lottery-header .row .col-4 {
    font-size: 26px;
    font-family: HelveticaBold;
    cursor: pointer;
	text-align: center;
}

.lottery-header .row .col-4:hover {
    box-shadow: 0px 1px 20px 5px #840101;
}

.lottery-btn {
    background: linear-gradient(to right, #FFFFFF, #B9B5B5, #FFFFFF, #B9B5B5, #FFFFFF, #B9B5B5, #FFFFFF);
    padding: 5px;
    border-radius: 10px;
}

.lottery-btn>div {
    width: 100%;
    height: 100%;
    padding: 12px 0px;color:#212529;
    background: radial-gradient(#C3C3C3, #EBEBEB);
    border-radius: 10px;
}

.bet-btn {
    position: relative;
}

.bet-btn img {
    position: absolute;
    left: -50px;
    top: -40px;
    width: 150%;
    z-index: 2;
}

.bet-btn div {
    width: 100%;
    position: absolute;
    top: 8px;
    color: #980000;
    font-size: 36px;
    z-index: 2;
}

.lottery-popup-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    background-color: rgba(0, 0, 0, .7);
}

.lottery-popup {
    width: 740px;
    max-width: 740px;
    margin: 0 auto;
}

.lottery-popup-header {
    position: relative;
    padding: 15px 50px;
    color: #FFFFFF;
    background: linear-gradient(to bottom, #597EF7, #6495ED);
    font-size: 24px;
    font-family: HelveticaBold;
    text-align: left;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 25px;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
}

.lottery-popup-body {
    padding: 20px 50px;
    color: #868686;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1)0, rgba(213, 213, 213, 1)100%);
    font-size: 16px;
    text-align: left;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.rules-list {
    padding-inline-start: 20px;
}

.lottery-popup-body div {
    margin-bottom: 10px;
}

.lottery-prize-table {
    width: 95%;
    margin: 20px auto;
    font-size: 14px;
    text-align: center;
}

.lottery-prize-table th {
    padding: 8px 0px;
    color: #FFFFFF;
    background-color: #597EF7;
}

.lottery-prize-table td {
    padding: 5px 0px;
    color: #000000;
    background-color: #F9FAFF;
}

/* */
.lottery-result>.row {
    justify-content: center;
}

.lottery-result-box {
    margin-bottom: 50px;
}

.lottery-result-box-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    text-align: left;
    font-size: 14px;
    line-height: 16px;
    font-family: HelveticaBold;
    color: #FFFFFF;
    background-position: top;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.lottery-result-date {
    font-size: 12px;
}

.lottery-result-box-title img {
    height: 35px;
}

.lottery-result-box-content {
    padding: 20px 8px 12px;
    background: linear-gradient(#FFFFFF, #969696);
}

.lottery-result-box-content>div {
    display: flex;
    justify-content: space-between;
}

.lottery-result-box-content>.result-box-top3 {
    margin-bottom: 20px;
}

.lottery-result-box-first,
.lottery-result-box-second,
.lottery-result-box-third {
    width: calc(100%/3);
    margin: 0px 4px;
    margin-bottom: 20px;
	text-align: center;
}

.lottery-result-box-first>div:nth-child(2),
.lottery-result-box-second>div:nth-child(2),
.lottery-result-box-third>div:nth-child(2) {
    padding: 2px 0px;
    color: #E50606;
    background-color: #FCFAFA;
    font-family: HelveticaBold;
    letter-spacing: 3px;
}

.lottery-result-box-special,
.lottery-result-box-consolation {
    width: 50%;
    margin: 0px 4px;
	text-align: center;
}

#mega-win-prize-4,
#mega-win-prize-5 {
    /* display: grid;
    grid-template-columns:  repeat( 2, 1fr );
    row-gap: 8px; */
    padding: 4px 0px;
    color: #000000;
    background-color: #FCFAFA;
    font-family: HelveticaBold;
    letter-spacing: 3px;
}

#mega-win-prize-4>div,
#mega-win-prize-5>div {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 5px 0px;
}

.lottery-result-box-content>div>div>div:first-child {
    padding: 2px 0px;
    color: #FFFFFF;
    font-family: Optima-Bold;
    font-style: italic;
}

.lottery-result-box.lottery-magnum .lottery-result-box-title,
.lottery-result-box.lottery-magnum .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#000000, #777777);
}

.lottery-result-box.lottery-damacai .lottery-result-box-title,
.lottery-result-box.lottery-damacai .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#081445, #2D3E86);
}

.lottery-result-box.lottery-toto .lottery-result-box-title,
.lottery-result-box.lottery-toto .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#740216, #A81831);
}

.lottery-result-box.lottery-sg4d .lottery-result-box-title,
.lottery-result-box.lottery-sg4d .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#11629D, #2E83B1);
}

.lottery-result-box.lottery-sabah4d .lottery-result-box-title,
.lottery-result-box.lottery-sabah4d .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#A80824, #BC122F);
}

.lottery-result-box.lottery-sandakan4d .lottery-result-box-title,
.lottery-result-box.lottery-sandakan4d .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#27580D, #51AF6E);
}

.lottery-result-box.lottery-cashsweep .lottery-result-box-title,
.lottery-result-box.lottery-cashsweep .lottery-result-box-content>div>div>div:first-child {
    background-image: linear-gradient(#0D4318, #0E711D);
}

.tab-group .container .row {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

#readmoreBtn {
    text-decoration: underline !important;
    float: right;
    cursor: pointer;
    color: var(--promo-txt);
    padding: 20px 0;
    margin-top: -40px;
}